Re: [mapserver-users] LAYER CHART

2008-03-12 Thread thomas bonfort
On Wed, Mar 12, 2008 at 1:33 PM, Kai Behncke [EMAIL PROTECTED] wrote: Hello list, I have a questions about LAYER CHART. Is it possible to set a LABLE to the pies or bars so that I can see with value they have? no If not is this maybe planned in future versions? maybe ;) Thank you

Re: [mapserver-users] AGG vs. GD: Label placement problems

2008-03-18 Thread thomas bonfort
Yes, that's exactly the problem, as there's a difference of a few pixels between the size of the label calculated by gd and the size it actually takes when rendered with agg. I realize now that it can cause some quite visible problems in the case you show here (labels to the left), as in that case

[mapserver-users] Re: [mapserver-dev] Build with AGG support at windows

2008-03-27 Thread thomas bonfort
, but others don't: - your question is how to build on a *windows* platform - the version you're trying to build is *trunk* please keep these recommendations in mind for your next messages. cheers, thomas -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57 97 thomas dot bonfort

Re: [mapserver-users] Label Follows streets alignment issue

2008-03-28 Thread thomas bonfort
Steve, I haven't noticed anything special, nor do I really understand what problem you mention. attached is a test image I used to check. do you see anything wrong in it? could you make a minimal test case to reproduce, or attach an image showing the problem? cheers, thomas -- Thomas Bonfort

Re: [MAPSERVER-USERS] agg and line widths

2008-04-02 Thread thomas bonfort
width is larger than what is requested. I don't think there's much you can do about it except preprocess your data to transform it into a line layer with no duplicates. cheers, -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57 97 thomas dot bonfort

Re: [MAPSERVER-USERS] agg and line widths

2008-04-03 Thread thomas bonfort
dashes, the scale of your drawing, and a small dose of black magic, dashes will show up well or not ;) note that this isn't agg specific, the gd renderer has the same limitations when using dashes. -- Thomas Bonfort Camptocamp France SAS Tel : +33 (0)4 79 26 57 97 thomas dot bonfort at camptocamp

Re: [mapserver-users] AGG Anti-alias VECTOR sybmol

2008-04-22 Thread thomas bonfort
try SYMBOL NAME rail_line TYPE SIMPLE PATTERN 8 4 8 END END along with STYLE SYMBOLrail_line WIDTH 3 COLOR250 250 250 END regards, thomas On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung [EMAIL PROTECTED] wrote:

Re: [mapserver-users] AGG Anti-alias VECTOR sybmol

2008-04-22 Thread thomas bonfort
by the way, seeing your output I don't think that you're using agg. have you correctly set IMAGETYPE AGGA in your mapfile (or use format=AGGA in your url if using mapserv) thomas On Wed, Apr 23, 2008 at 5:02 AM, Jackey Cheung [EMAIL PROTECTED] wrote: Greetings! I've generated a map:

Re: [mapserver-users] AGG - FORMATOPTION PALETTE

2008-04-24 Thread thomas bonfort
hi, you can send me your rgb.png, I'll have a look, but gdal does seem to find an rgba file, as shown by the quadruples printed out ( eg: 17,12,12,255) cheers -- Thomas Bonfort Camptocamp France SAS http://www.camptocamp.com On Thu, Apr 24, 2008 at 3:29 PM, Léveillé, James [EMAIL PROTECTED

Re: [mapserver-dev] Re: AW: [mapserver-users] Rendering of Static Text is different usinggd or AGG ?

2008-05-06 Thread thomas bonfort
This should already be fixed in trunk. regards, thomas On Tue, May 6, 2008 at 6:29 PM, Stephen Woodbridge [EMAIL PROTECTED] wrote: Created a bug for this: http://trac.osgeo.org/mapserver/ticket/2607 Schönhammer, Herbert wrote: Hi Steve, Hi Jeff, the workaround of jeff is working.

Re: [mapserver-users] AGG vs. GD: Label placement problems

2008-05-12 Thread thomas bonfort
This issue should now be fixed in trunk, if you have time to confirm that would be great! regards, thomas On Tue, Mar 18, 2008 at 2:10 PM, thomas bonfort [EMAIL PROTECTED] wrote: http://trac.osgeo.org/mapserver/ticket/2357 On Tue, Mar 18, 2008 at 1:05 PM, Doyon, Jean-Francois [EMAIL

Re: [MAPSERVER-USERS] help! agg palette quantize algorithmimperfection

2008-06-10 Thread thomas bonfort
you still need --with-experimental-png thomas On Tue, Jun 10, 2008 at 9:01 AM, Pål Kristensen [EMAIL PROTECTED] wrote: Hi! Is the quantize mechanism for AGG now included as default, or do we still need to build with the --with-experimental_png set? Regards, Pål Kristensen Steve Lime

[mapserver-users] Re: [mapserver-dev] suppress label shown for each tile

2008-07-06 Thread thomas bonfort
you have to use 5.2 and add PROCESSING LABEL_NO_CLIP=1 to the layers where you want this behavior thomas On Sun, Jul 6, 2008 at 1:51 PM, SUSANNE [EMAIL PROTECTED] wrote: Hallo, Please could somenbode tell me how I can suppress labels shown for each tile, when an object extends accross mire

Re: [mapserver-users] Compiling Issues: Ubuntu 8.04 -- libgd and gdFontCacheSetup

2008-07-18 Thread thomas bonfort
hi, have you installed the libgd development packages ? # apt-get install libgd-dev thomas On Sat, Jul 19, 2008 at 1:26 AM, Matthew Pettis [EMAIL PROTECTED] wrote: Hi All, This still fails... below is my configuration parameter setup and the output of configure are below... any suggestions?

Re: [mapserver-users] MapServer Version 5.2.0 Source Released

2008-07-21 Thread thomas bonfort
Yes, that patch won't apply on 5.2 as there have been substantial changes in that code. You'll have to manually merge it (the logic is the same). The function you're looking for is msDrawLineSymbolAGG -- thomas On Mon, Jul 21, 2008 at 5:26 PM, Steve Lime [EMAIL PROTECTED] wrote: As far as I

Re: [mapserver-users] Again: Some Problems with WMS-GetLegendGraphic using aggand pixmaps

2008-07-23 Thread thomas bonfort
Hi, what you mean is that the key image isn't scaled, as it is with GD ? If so, can you open a bug for this issue, and assign it to me (tbonfort) thanks, -- Thomas Bonfort Camptocamp France SAS http://www.camptocamp.com On Wed, Jul 23, 2008 at 1:43 PM, Schönhammer, Herbert [EMAIL PROTECTED

[mapserver-users] [Announce] A webapp for geodata management and dynamic mapping

2008-07-30 Thread thomas bonfort
://geoadminsuite.org with a few documentation and how-to's. The purpose of this publication is mostly for having advice from developpers or potentially interested users. Feel free to post any comment you like to help us go forward on this project. Cheers, The Camptocamp Team -- Thomas Bonfort Camptocamp

[mapserver-users] Re: [Announce] A webapp for geodata management and dynamic mapping

2008-07-30 Thread thomas bonfort
sorry, the url was wrong: http://www.geoadminsuite.org On Wed, Jul 30, 2008 at 4:26 PM, thomas bonfort [EMAIL PROTECTED] wrote: Camptocamp (http://camptocamp.com) has initiated the development of a new project which aims to manage geographic data and assist users to create and export maps

Re: [mapserver-users] Fractional line widths?

2008-08-30 Thread thomas bonfort
Sorry for not hopping into the thread earlier, blame holidays :) For the time being, you can achieve similar output with mapserver 5.2, by using the OPACITY keyword at the style level STYLE COLOR r g b OPACITY 50 # essentially the same as WIDTH 0.5 WIDTH 1 END cheers, thomas On Tue, Aug

Re: [mapserver-users] Spam: odd behaviour with labels using AGG

2008-09-01 Thread thomas bonfort
can you link to a screenshot of the problem please? also could you try with the trunk version, or apply the patch of http://trac.osgeo.org/mapserver/ticket/2756 and report if that fixes the problem cheers, thomas On Mon, Sep 1, 2008 at 5:08 PM, Rodriguez, Heraldo [EMAIL PROTECTED] wrote: Hi

Re: [mapserver-users] rotation of vector symbol

2008-09-17 Thread thomas bonfort
it's a known problem http://trac.osgeo.org/mapserver/ticket/2671 cheers, thomas On Wed, Sep 17, 2008 at 10:26 AM, Alberto Poggi [EMAIL PROTECTED] wrote: Hi. Let me tell you about an issue of rotation of the vector symbols. I found that in mapserver the rotation of these symbols does not

Re: [mapserver-users] Color filled transparent polygons

2008-09-25 Thread thomas bonfort
yes, from version 5.2 AND with AGG output, you can obtain this by setting the OPACITY keyword at the STYLE level. cheers, thomas On Thu, Sep 25, 2008 at 11:20, Reinoud Bokhorst [EMAIL PROTECTED] wrote: Hi, I have a PostGIS table with about 12000 polygons scattered around the globe. The

Re: [mapserver-users] Re: Crispness of road edge

2008-09-28 Thread thomas bonfort
hi, the output you're showing has been rendered with gd, not agg. make sure openlayers is calling your wms server with your agg outputformat, by adding a format: 'agg' to your layer options. ps: the antialias true keywords are not necessary when using agg cheers, thomas On Thu, Sep 11, 2008 at

Re: [mapserver-users] Including a variable title on a map?

2008-09-29 Thread thomas bonfort
try with map.layer[fid].feature[0]=TEXT+AS1 -- thomas On Sun, Sep 28, 2008 at 23:08, Robert Sanson [EMAIL PROTECTED] wrote: OK - thanks for the hints. I can now get a static string on my map as annotation, but I am still struggling to modify this via the URL. My map file snippet is:

Re: [mapserver-users] cartographic lines in mapserver

2008-10-01 Thread thomas bonfort
try this: SYMBOL NAME line_11 TYPE TRUETYPE FONT esri_11 CHARACTER #35; GAP -1 END -- thomas On Wed, Oct 1, 2008 at 15:31, Raivo Alla [EMAIL PROTECTED] wrote: Hi! I'm quite in trouble trying to describe complex symbols. The problem is for example with this kind of line:

Re: [mapserver-users] cartographic lines in mapserver

2008-10-01 Thread thomas bonfort
decently;) I mean, there could be an option to make that polyline transition smoother. Maybe utopian. Raivo On Wed, Oct 1, 2008 at 4:54 PM, thomas bonfort [EMAIL PROTECTED] wrote: try this: SYMBOL NAME line_11 TYPE TRUETYPE FONT esri_11 CHARACTER #35; GAP -1 END -- thomas On Wed

Re: RE : [mapserver-users] Symbol...

2008-10-16 Thread thomas bonfort
this should do it: SYMBOL NAME dash PATTERN 3 3 END TYPE SIMPLE END STYLE COLOR 0 0 0 WIDTH 1 END STYLE SYMBOL dash WIDTH 1 COLOR 0 0 0 OFFSET 3 -99 END -- thomas 2008/10/16 Paul james [EMAIL PROTECTED]: Thanks, but It does not help me in that case... 2008/10/16 Léveillé, James

Re: [mapserver-users] Symbol rendering performance (image x vector xfont)

2008-10-21 Thread thomas bonfort
Note that there's no caching in place for truetype/vector/ellipse symbols with the agg renderer. As always, there's no better way than to try out the different options in your environment to see what suits your needs best, as there's no single answer to your performance requirements (it will

Re: [mapserver-users] Symbol rendering performance (image x vectorxfont)

2008-10-21 Thread thomas bonfort
On Tue, Oct 21, 2008 at 22:01, Steve Lime [EMAIL PROTECTED] wrote: Could we mimic the cache used for GD? It's homegrown... conceptually there's no problem to add the same kind for cache for agg in practice, two points come to mind: * the caching mechanism for agg doesn't fit in smoothly with the

Re: [mapserver-users] Is OUTLINEWIDTH implemented for labels?

2008-10-25 Thread thomas bonfort
yes it's in 5.2, but only for the agg renderer stick with outlinewidths like 3,4 or 5 though -- thomas On Fri, Oct 24, 2008 at 23:00, Roger André [EMAIL PROTECTED] wrote: Hi, Just a quick question about whether this option has been added? I'm trying to use it in a map, and although i's use

Re: [mapserver-users] AGG and cartoline trap

2008-11-04 Thread thomas bonfort
you can get that with a truetype or vector symbol SYMBOL NAME 'rail' TYPE TRUETYPE FONT arial CHARACTER '|' GAP -20 END then STYLE COLOR 0 0 0 WIDTH 1 END STYLE COLOR 0 0 0 SIZE 8 SYMBOL 'rail' END cheers, thomas On Tue, Nov 4, 2008 at 08:45, Raivo Alla [EMAIL PROTECTED] wrote: Hi!

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-10 Thread thomas bonfort
By ordered data you mean the direction in this case is A-B? yes If I wanted to reverse the direction I'd have to write the data to the shapefile in the order B-A? or add a field in your shapefile for that feature, eg reverse=true. you'd then have mapserver draw the symbol for features where

Re: [MAPSERVER-USERS] Pass parameters to mapfile

2008-11-11 Thread thomas bonfort
you'd use something like this: * in your mapfile: DATA the_geom from ( select * from customised_point AS f where user_id='%userid%' AND f.subcat_id IN (select subcat_id from subcat_info where maincat_id =0))AS foo USING UNIQUE gid you can add a regular expression for validating the %userid%

Re: [mapserver-users] Adding symbols on top of polyline elements

2008-11-12 Thread thomas bonfort
Hi, Case 3: displaying both arrows on the same element: CLASS NAME Right EXPRESSION /^FO040314$/ STYLE SYMBOL right SIZE 24 COLOR 51 102 0 END END CLASS NAME Left EXPRESSION /^FO040314$/ STYLE SYMBOL left

Re: [mapserver-users] Mapserver segfaulting

2008-11-18 Thread thomas bonfort
the shipped gcc with 8.10 does not play nice with mapserver and gdal. Try setting your compile optimisation flag to -O0 and -O2 to see if this fixes the segfault. -- thomas On Wed, Nov 19, 2008 at 02:17, Frank Warmerdam [EMAIL PROTECTED] wrote: Sam Ingarfield wrote: G'day; I am having a few

Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-20 Thread thomas bonfort
sure you are building with fribidi2 version 0.19.1+ 2) Since character are generated individually on rotated labels, there may be an issue. Thomas Bonfort would be the person that implemented the AGG. You should probably try doing this with the AGG driver if you have not tried that yet

Re: [mapserver-users] agg support and accents umlauts

2008-12-08 Thread thomas bonfort
On Solaris truetype fonts aren't included by default but have to be installed manually as well. And I didn't find much end user documentation on the internet dealing with installing and configuring mapserver with agg support at all. (I doubt that many users have got it to work or let alone

Re: [mapserver-users] Re: Adding a buffer symbol

2008-12-08 Thread thomas bonfort
At the moment I am just using the CGI mapserver. I was wondering if this can be done or ben achieved using Labels and symbols? but if needs be then I guess either javascript or php would be used to do this. you could do that using a special layer in your mapfile, and using url parameters to

Re: [mapserver-users] AGG renderer and paletted RGBA PNG's

2008-12-08 Thread thomas bonfort
mapserver version, mapfile, screenshots? -- thomas On Mon, Dec 8, 2008 at 23:46, Roger André [EMAIL PROTECTED] wrote: Hi All, I'm seeing a problem in some of my raster data which have graduated color ramps in them. When using the AGG renderer, the data appears to have discreet colors

Re: [mapserver-users] Scalebar vs Numeric scale

2008-12-08 Thread thomas bonfort
and now what happens if you're using a projector ? could you please factor in the distance to the screen and the field of view of the projector :) just to say how scale is meaningless for pixel maps in an uncontrolled environment. nice hack by the way, but I'm not sure even your OS knows how

Re: [MAPSERVER-USERS] Serving jpeg tiles - is there a howto?

2008-12-14 Thread thomas bonfort
hi, the easiest way imho would be to create a custom batch script that creates wld georeferencing files for each of your jpegs: - use grep on the file name to extract the upper left coordinate (minx, maxy) - calculate the size of a single pixel (either from the image size and extent, or hardcoded

Re: [mapserver-users] How to get data based on Date in Postgresql/PostGIS

2008-12-14 Thread thomas bonfort
try DATA the_geom from (select id,the_geom from pointlayer where date='12/2/2008') as foo using unique id using srid= -- thomas On Mon, Dec 15, 2008 at 06:32, Venkat Rao Tammineni vtammin...@roulacglobal.com wrote: Dear All, I want get data based on Date. When I run query select *

[mapserver-users] Re: AGG OUTPUTFORMAT Question

2008-12-17 Thread thomas bonfort
with pngnq: for file in `find tilecache/mylayer -name *.png`; do echo $file; pngnq -e .png.tmp -n 256 $file; mv $file.tmp $file; done On Wed, Dec 17, 2008 at 20:56, thomas bonfort thomas.bonf...@gmail.com wrote: Steve, you have the undocumented FORMATOPTION QUANTIZE_NEW=yes that uses

Re: [mapserver-users] thin lines in SVG format (size 1) (and float size values)

2008-12-17 Thread thomas bonfort
José, the svn version of mapserver (what will be mapserver 5.4) comes with size and widths unrounded in the the style object. Please post your patch to mapsvg.c in the trac bugtracker so it can be incorporated alongside in 5.4 regards, thomas On Wed, Dec 17, 2008 at 20:58, José María Michia

Re: [mapserver-users] Trying to get GeoWebCache to work with MapServer

2008-12-17 Thread thomas bonfort
what are the exact urls called by geowebcache? (from your apache logs) I'd suspect a typo in your wms definition, given the stray ? in your error message. eg: http://server/cgi/mapserv/map=path/to/map instead of http://server/cgi/mapserv?map=path/to/map regards, thomas On Wed, Dec 17, 2008 at

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
hi, On Mon, Dec 29, 2008 at 11:59, Donald Kerr donald.k...@dkerr.co.uk wrote: the maximum number of points that can be used by default it's 100. you can change the MS_MAXVECTORPOINTS constant in mapsymbol.h to change that limit. and the highest positive/negative numbers that can be used. I

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
On Mon, Dec 29, 2008 at 13:58, Donald Kerr donald.k...@dkerr.co.uk wrote: Thomas, Thanks for your prompt reply. If I take just part of the above then it still doesn't work: SYMBOL NAME 'boulderGeometry' TYPE VECTOR FILLED FALSE POINTS -0.154

Re: [mapserver-users] Image not rendered on large monitors.

2008-12-30 Thread thomas bonfort
hi, set maxsize to something bigger, eg 4096 regards, thomas On Tue, Dec 30, 2008 at 11:45, Subha Ramakrishnan su...@gslab.com wrote: Hi, We have built a map based web portal using Openlayers and Mapserver 5.0.2. We have multiple layers being rendered using Mapserver. But we are facing an

Re: [mapserver-users] MapServer Website Migration

2008-12-30 Thread thomas bonfort
On Tue, Dec 30, 2008 at 02:41, Bob Basques bo...@gritechnologies.com wrote: All, Hey, is there a link to the mapfile being used for the OpenStreetMap data in the map. It isn't ready for publication yet. It will be soon though. thomas ___

Re: [mapserver-users] question

2008-12-30 Thread thomas bonfort
hi, add GAP -20 to your symbol definition, for a 20 pixel gap between arrows regards, thomas On Tue, Dec 30, 2008 at 14:03, Valeria Muñoz valemu...@gmail.com wrote: Hi I have problems with symbol, this is my code: #Oneway nivel 4 LAYER NAME 'calle' MAXSCALE 5000 TYPE LINE DATA

Re: [mapserver-users] question

2008-12-30 Thread thomas bonfort
you've probably left an ANGLE in your style block, no ? On Tue, Dec 30, 2008 at 14:51, Valeria Muñoz valemu...@gmail.com wrote: thank thomas, but now i have other problem, the arrow don't follow the line can you help me please? attach image of the map.. 2008/12/30 thomas bonfort thomas.bonf

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-02 Thread thomas bonfort
, is there a workaround meantime? For me just now, I'd be happy if the symbol rotated around its centre - I could live with that as a workaround. In a previous thread that I started about positioning of LABELs, Thomas Bonfort said, I'd be in favor of having a way to specify the anchor point, either

Re: [mapserver-users] FORMATOPTION PALETTE_FORCE=TRUE problem

2009-01-06 Thread thomas bonfort
are you calling this with a transparent=true ?? in that cas, your palette file should be a list of quadruplets (r,g,b,a) (and it would be better to have an outputformat with imagemode rgba, and use that one instead of passing transparent=true) thomas On Tue, Jan 6, 2009 at 15:56, paalkr

Re: [mapserver-users] Color palette for road-like layers

2009-01-07 Thread thomas bonfort
there are also some planned features to simplify that syntax. (this is how the mapfile to generate the map on the mapserver fron page is written). mapserver code: http://svn.osgeo.org/mapserver/sandbox/graphics (sticking with revision 8254 unless you want to feel daring) mapfile excerpt:

Re: [mapserver-users] FORMATOPTION PALETTE_FORCE=TRUE problem

2009-01-07 Thread thomas bonfort
with rgba: * used when a transparent background is needed * references a palette with r,g,b,a quadruplets outputformat with rgb: * used when transparency isn't needed * references a palette with r,g,b triplets regards, thomas Regards, Pål Kristensen thomas bonfort wrote: are you

Re: [mapserver-users] MapServer 5.2.1 and AGG/PNG - too thick lines in the grid

2009-01-07 Thread thomas bonfort
that's what antialiasing is supposed to do, as your 1 pixel wide grid doesn't fall exactly on a pixel. I don't think there is a workaround. regards, thomas On Mon, Jan 5, 2009 at 13:28, Maximsu maxims...@inbox.ru wrote: I have very thick lines in the grid layer when i use agg/png driver. See

Re: [mapserver-users] Map File for Open Street Map symbology

2009-01-07 Thread thomas bonfort
http://code.google.com/p/mapserver-utils/source/browse/trunk/ you'll need the code from the mapserver graphics sandbox (rev 8254 is preferred as it doesn't have the cairo code in it yet) regards, thomas On Thu, Jan 1, 2009 at 20:28, Gregor at HostGIS gre...@hostgis.com wrote:

Re: [mapserver-users] Rotated TrueType Point Symbols - Issue

2009-01-08 Thread thomas bonfort
just backported to the 5.2 branch. Now for some nagging to release 5.2.2 :) thomas On Thu, Jan 8, 2009 at 14:29, Donald Kerr donald.k...@dkerr.co.uk wrote: Sooner rather than later would be better for me :) Regards, Donald -Original Message- From: thomas bonfort

Re: [mapserver-users] SLD and antialiasing

2009-01-23 Thread thomas bonfort
I don't have an answer to your antialiasing keyword with the gd driver you are using, however you could switch to the agg renderer which antialiases by default:

Re: [mapserver-users] mapserver-tilecache DRIVER AGG/PNG

2009-01-28 Thread thomas bonfort
hi, you could try specifically adding the agg outputformat to your wms url: url=http://192.168.51.166/cgi-bin/mapserv.exe?map=c:/ms4w/Apache/htdocs/mapFile/mapas/iv_region_wms_d02.mapformat=aggpng24 cheers, thomas On Fri, Jan 23, 2009 at 14:17, Valeria Muñoz valemu...@gmail.com wrote: hi!

Re: [mapserver-users] Python mapscript, cStringIO, and the AGG renderer

2009-02-01 Thread thomas bonfort
I'm having problems using the AGG renderer with Python mapscript. what version of mapserver, and exactly what problem? regards, thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] Different SIZEUNITS for line width and label fontsize

2009-02-03 Thread thomas bonfort
hi, you can use minsize and maxsize in your label: these are always pixels: size 8 minszie 8 maxsize 8 regards, thomas On Tue, Feb 3, 2009 at 12:17, Vladimir Cvejanovic vladi...@gessolutions.com wrote: Hi All, In the Mapfile, Is it possible to have different SIZEUNTIS for line width and

Re: [mapserver-users] Using IMAGECOLOR to create a transparency mask

2009-02-05 Thread thomas bonfort
On Thu, Feb 5, 2009 at 14:43, Glenn Waldron gwald...@gmail.com wrote: Stephen, However, I am trying to get the pixels in the final composited image to be completely transparent. There's no way you can set pixels to become transparent once the image is saved with the AGG outputformat.

Re: [mapserver-users] Using IMAGECOLOR to create a transparency mask

2009-02-05 Thread thomas bonfort
is it supposed to do, if not make all pixels of the specified color transparent? Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : +1.703.652.4791 On Thu, Feb 5, 2009 at 1:24 PM, thomas bonfort thomas.bonf...@gmail.comwrote: On Thu, Feb 5, 2009 at 14:43, Glenn

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-06 Thread thomas bonfort
I've created a wiki page with (I hope) a step by step tutorial for rendering OSM data with mapserver. enjoy it (or hate it) here: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData best regards, thomas On Thu, Jan 1, 2009 at 17:26, maxphe...@netscape.net wrote: Anyone have a mapfile with

Re: [mapserver-users] Map File for Open Street Map symbology

2009-02-07 Thread thomas bonfort
On Sat, Feb 7, 2009 at 12:57, Lars Lingner m...@lingner.eu wrote: Rahkonen Jukka schrieb: Lars Lingner wrote: I see that you also had to rename the column natural. As this is an reserved name by postgres, is there an way to use such a name in an mapserver expression? Although renaming the

Re: [mapserver-users] Selective Background Transparency with Labels

2009-02-13 Thread thomas bonfort
If I correctly understand what you're trying to do, then no, this is not possible with mapserver, as this would require recovering the pixels that have been overdrawn by the line. regards, thomas On Fri, Feb 13, 2009 at 15:14, Bill Thoen bth...@gisnet.com wrote: Is there a way to set a LABEL

Re: [mapserver-users] Selective Background Transparency with Labels

2009-02-13 Thread thomas bonfort
GeoMoose or openlayers to view the stack though. bobb thomas bonfort thomas.bonf...@gmail.com 02/13/09 8:37 AM If I correctly understand what you're trying to do, then no, this is not possible with mapserver, as this would require recovering the pixels that have been overdrawn by the line

Re: [mapserver-users] Problem with Tiled wms Size

2009-02-18 Thread thomas bonfort
the keyword is MAXSIZE regards, thomas On Wed, Feb 18, 2009 at 17:01, Smith, Michael ERDC-CRREL-NH michael.sm...@usace.army.mil wrote: David, Try adding a MAPSIZE value to your mapfile, eg MAPSIZE 4096 (to allow up to 4096x4096 size image). Mike -- Michael Smith Remote Sensing GIS

Re: [mapserver-users] Pyhton mapscript import error

2009-03-01 Thread thomas bonfort
mapserver version and your outputformat bloc please. -- thomas On Mon, Mar 2, 2009 at 07:19, gautamvs gauta...@gmail.com wrote: Hi Thomas and Chris Thanks for the feedback. I tried with 'MIMETYPE image/png' in AGG output block. Its working now. I am able to get the png antialiase images

Re: [mapserver-users] Pyhton mapscript import error

2009-03-01 Thread thomas bonfort
sorry, saw you're using 5.2.1 in the first post. you must configure mapserver with --with-experimental-png for png8 to work with transparency -- thomas On Mon, Mar 2, 2009 at 07:23, thomas bonfort thomas.bonf...@gmail.com wrote: mapserver version and your outputformat bloc please. -- thomas

Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread thomas bonfort
one : metaTile=true metaSize=3,3 metaBuffer=10 * set a 10 pixel edge buffer in mapserver (so no labels are rendered in the 10 pixels on the edges of the image) : WEB METADATA labelcache_map_edge_buffer -10 END END * use PARTIALS FALSE in all your label blocks -- Thomas Bonfort

Re: [mapserver-users] AGG FORMATOPTION PALETTE_FORCE=TRUE - transparent background

2009-03-05 Thread thomas bonfort
of a quadruplet (should be 0,0,0,0) On a side note, your 230,230,230,0 isn't usefull, as it corresponds to 0,0,0,0 , thus eating up a entry in your generated palette (and palette entries in rgba mode are very expensive :) ) -- Thomas Bonfort CampToCamp On Thu, Mar 5, 2009 at 10:29, Ivan Mincik ivan.min

[mapserver-users] Re: [mapserver-dev] LABEL OUTLINEWIDTH - works or not?

2009-03-06 Thread thomas bonfort
On Fri, Mar 6, 2009 at 15:58, S. Constantinescu sconstatine...@gmail.com wrote: Hi everybody, I need to find out if LABEL OUTLINEWIDTH is implemented or NOT, and if it is, how can I test if it's working. Source files show it is, but using the AGG renderer doesn't appear to modify the 1px width

Re: [mapserver-users] cartographic symbol construction with mapserver

2009-03-12 Thread thomas bonfort
hi. the orientation of the symbol depends on the orientation of the underlying line, so to have all your triangles oriented inwards, you have to ensure that all your polygons are digitized with same orientation (i.e. clockwise or anticlockwise). hope this helps, -- thomas bonfort camptocamp

Re: [mapserver-users] MapServer 5.4 Beta 3 is now available...

2009-03-15 Thread thomas bonfort
Tony, the 5.4 codebase has been branched, and the code in trunk is now milestoned for the 6.0 version, so these kind of changes aren't unexpected given the rendering changes that will come with the new version. as for the the legend issue you raised, could you please show your mapfile legend

Re: [mapserver-users] Hide legend of some layers

2009-03-18 Thread thomas bonfort
only the classes that have a NAME or TITLE will show up in the legend. If you don't put one, they don't show up regards, -- thomas bonfort camptocamp 2009/3/18 Alberto Fernández Sánchez dja...@hotmail.com: Hello friends, I need help because I have a doubt in the redaction of mapfile. How I

[mapserver-users] [announce] Mapfish Studio: online mapfile editor

2009-04-06 Thread Thomas Bonfort
Hi all, CampToCamp is proud to announce the beta release of the Mapfile Editor of Mapfish Studio. You can demo it here http://dev.mapfish.org/studio/demo after having registered on the site (a username and password will suffice), and/or view a screencast of some of the functionality here

Re: [mapserver-users] geotrasnform in MapServer 5.4

2009-04-14 Thread thomas bonfort
the keyword is GEOMTRANSFORM best regards, thomas On Tue, Apr 14, 2009 at 08:07, Raivo Alla snaper...@gmail.com wrote: Hi, I could'nt get working my code that implements GEOMETRYTRANSFORM functionality. I have shapefile layer that contains line features, so I want describe starting

Re: [mapserver-users] MapServer graphics sandbox windows binary packages available

2009-04-19 Thread thomas bonfort
Thank you Tamas for preparing this. It should be noted that while the opengl code compiles, it is not ready for testing yet. the cairo code should be at least able to produce png, pdf and svg output, although not everything is implemented yet. best regards, Thomas On Sun, Apr 19, 2009 at

Re: [mapserver-users] GIF output with AGG renderer

2009-04-21 Thread Thomas Bonfort
patches graciously accepted :) thomas On Tue, Apr 21, 2009 at 12:39 PM, paalkr pal.kristen...@statkart.no wrote: Hi! Got any answers on this issue? I have the exact same problem. As you say, AGG can quantize to 8bits and it should be possible and serve this as a GIF, not only 8bits PNG (my

[mapserver-users] Re: [mapserver-dev] Upper Limit to Number of Layers in Map file

2009-04-21 Thread thomas bonfort
http://mapserver.org/input/raster.html#rasters-and-tile-indexing on a side note, the number of layers isn;'t limited at compile time since version 5.0 -- thomas On Tue, Apr 21, 2009 at 18:41, Peter Willis pet...@borstad.com wrote: Hello, I am attempting to use mapserver as a WMS server for

Re: [mapserver-users] how can I make labels not cover symbols?

2009-04-22 Thread Thomas Bonfort
Yet another idea was to use an annotation layer, but be able to specify static text for the LABEL.  I don't see this option either. you can do that with the TEXT keyword at the CLASS level. CLASS TEXT '' LABEL FONT symbolfont ... END END

Re: [mapserver-users] how to show chinese character?

2009-04-24 Thread Thomas Bonfort
* what renderer are you using (GD or AGG)? the AGG freetype backend doesn't support bitmap planes embedded in some fonts. you could try changing your label size as ususally not all sizes are prerendered inside the font file. * look in your apache logs if there are any messages concering the

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Thomas Bonfort
this isn't currently possible. best regards, thomas On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia nelson...@hotmail.com wrote: Hi, Do you know how to write an outline on the roads label boxes, just like the ones that Google Maps has? In Mapserver docs I only see an outline for the

Re: [mapserver-users] Outline on the roads label boxes

2009-04-28 Thread Thomas Bonfort
...@mail.gmail.com, Thomas Bonfort thomas.bonf...@camptocamp.com wrote: this isn't currently possible. best regards, thomas On Tue, Apr 28, 2009 at 6:50 PM, Nelson Correia nelson...@hotmail.com wrote: Hi, Do you know how to write an outline on the roads label boxes, just like the ones

Re: [mapserver-users] Mapserver rendering with 24 bit colour

2009-05-05 Thread Thomas Bonfort
If your mapserver is compiled with --enable-experimental-png, you can change QUANTIZE_FORCE to QUANTIZE_NEW to use a slower but higher quality quantization algorithm that usually fixes these problems. best regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Wed, May 6, 2009 at 05:52,

Re: [mapserver-users] Mapserver wms duplicate labels

2009-05-06 Thread Thomas Bonfort
add PROCESSING LABEL_NO_CLIP=on to the layer this fixes the label on a geographical point, instead of repeating it on the clipped geometries at the pixel level. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Wed, May 6, 2009 at 08:58, Michael Shishcu mickl...@gmail.com wrote: Hi,

Re: [mapserver-users] Using Geotransform for arrow heads on lines?

2009-05-07 Thread Thomas Bonfort
you add it inside the same layer, eg: class style color 0 0 0 width 1 end style geomtransform 'end' angle auto symbol 'arrowhead' size 8 color 0 0 0 end end regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Thu, May 7, 2009 at 08:00, Ben Madin

[mapserver-users] SVN sandox access

2009-05-12 Thread Thomas Bonfort
Hi all, Hobu has just added a group in our svn repository to allow commit access in the MapServer sandbox. Those interested in commit access, please contact me privately with an osgeo id [1] so I can add them to the group. best regards, thomas [1] http://www.osgeo.org/osgeo_userid

[mapserver-users] Re: [mapserver-dev] How to repair the error display label in mapserver application

2009-05-15 Thread Thomas Bonfort
hi, you probably haven't set the ENCODING keyword in your labels. It should match the encoding of your data. http://mapserver.org/mapfile/label.html regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Fri, May 15, 2009 at 11:29, Huynh Thai Hoc ht...@yahoo.com wrote: Dear list I'm having

Re: [mapserver-users] Transparent PNG

2009-05-26 Thread Thomas Bonfort
OPACITY at the STYLE level as you are doing is only available for the AGG renderer, not the GD one. you should either switch to AGG rendering, or move your OPACITY keyword to the LAYER level. regards, thomas -- www.camptocamp.com +33 4 79 26 57 97 On Tue, May 26, 2009 at 11:29, Balázs Bámer

Re: [mapserver-users] labeling streets

2009-06-09 Thread Thomas Bonfort
Raivo, are you sure that your streets only contain one feature? If you are using 5.4+, you can check by appending a geomtransform style to your street layer, to draw a symbol at the beginning of each feature: style geomtransform start symbol circle color 255 0 0 size 15 end regards,

Re: [mapserver-users] Rendering order of objects in a layer

2009-06-10 Thread Thomas Bonfort
three different layers is not optimal, as the outlines won't join nicely together (of course, if you aren't using outlines, then no problem). You can do this in mapserver with a postgis query: DATA the_geom from (select gid, the_geom, ... from roads order by importance asc )as foo using unique

Re: [mapserver-users] Rendering order of objects in a layer

2009-06-10 Thread Thomas Bonfort
I will try playing with ordering in the DATA property as Thomas suggests. I wasn't aware it would handle order by (but only too aware that while being sql like it isn't exactly sql :-)). it is *exactly sql* : that query string is being sent to your database, so you can do joins, groupby's,

Re: [mapserver-users] R

2009-06-12 Thread Thomas Bonfort
you can have a look at how bridges are done on the wiki page that accompanies the map on the mapserver.org frontpage (there's a bridge right south of the sydney exhibition center when you zoom in to the closest level, not sure why some don't show up on motorways). That, coupled with start/end

Re: [mapserver-users] R

2009-06-12 Thread Thomas Bonfort
Since the wiki is pretty much broken now (moved, unchanged base href and so on), I'm assuming the outline was done with a filled bar symbol with negative gap under the road line since it looks similar to the solution I eventually wound up with to get the borders without closing the ends of the

Re: [mapserver-users] geotransform

2009-06-25 Thread Thomas Bonfort
Most of it is already in 5.4, except for centroids :( I can push those in for 5.4.2 if you're in a hurry, otherwise you'll have to wait for 5.6/6.0 regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Thu, Jun 25, 2009 at 17:04, Charlotte Declercq c.decle...@alkante.comwrote: Hello, Do

Re: [mapserver-users] geotransform

2009-06-25 Thread Thomas Bonfort
Morand 35 510 Cesson-Sévigné Bur: + 33 (0) 2 99 22 25 70 fax : + 33 (0) 2 99 32 12 76 Thomas Bonfort a écrit : Most of it is already in 5.4, except for centroids :( I can push those in for 5.4.2 if you're in a hurry, otherwise you'll have to wait for 5.6/6.0 regards, thomas

Re: [mapserver-users] compiling mapserv 5.4.1 with PNG driver

2009-06-30 Thread Thomas Bonfort
you're apache configuration is probably not calling the mapserv binary you just compiled, but another one on your system. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Tue, Jun 30, 2009 at 22:41, Peter Petersepe...@peterse-uithuizen.com wrote: Hello, I'm trying to compile mapserv

  1   2   3   4   5   6   7   8   >