Re: [mapserver-users] Is --with-experimental-png still experimental ?

2011-01-17 Thread thomas bonfort
Ivan, for the 5.x branches, it will stay like that. for the 6.0 and subsequent releases, the flag is removed and the functionality is native. regards, thomas On Mon, Jan 17, 2011 at 12:54, Ivan Mincik ivan.min...@gmail.com wrote: Hi, I am using compile option  --with-experimental-png for some

Re: [mapserver-users] Z_BEST_COMPRESSION undeclared Error on MapServer 5.6.5 make.

2011-01-17 Thread thomas bonfort
add --with-png, and make sure the png development headers are available. regards, thomas On Mon, Jan 17, 2011 at 18:07, Passmore, James H. jp...@bgs.ac.uk wrote: I'm trying to compile MapServer 5.6.5 on Ubuntu 10.10, the ultimate aim is to add a patch to support the INSPIRE language

Re: [mapserver-users] Symbol for striped polygons

2011-01-14 Thread thomas bonfort
lookup HATCH in docs. regards, thomas On Fri, Jan 14, 2011 at 14:17, Simone Frigerio simone.frige...@univie.ac.at wrote: Hi! I need to pubblish a polygon with different styles and classes. Especially I am trying to define a SYMBOL to fill polygon shapes whit stripes and trasparent background

Re: [mapserver-users] Stacked bar charts with mapserver?

2011-01-13 Thread thomas bonfort
, den 13.01.2011, 01:15 +0100 schrieb thomas bonfort: Nicol, you have the *vbar examples in msautotest that show how to obtain stacked vertical bar graphs, I assume that's what your looking for? regards, thomas On Wed, Jan 12, 2011 at 22:35, Nicol Hermann mapser...@geoworld.de wrote: Hello

Re: [mapserver-users] WARNING: Mandatory metadata '..._GROUP_TITLE' was missing in this

2011-01-12 Thread thomas bonfort
Ralf, not really related to your problem at hand, but the image you provided is exhibiting a bug in the mapserv-utils mapfile. You should change it locally, in two places: UNITS meters must be UNITS dd and the wms_srs metadata key should be capitalized. as for your original request, have a look

Re: [mapserver-users] mapserver defunct

2011-01-12 Thread thomas bonfort
http://trac.osgeo.org/mapserver/ticket/3099 might be related. I don't know how fastcgi in lighty works, but mapserver in fastcgi definitely does not play nicely with fastcgi implementations that don't expect child processes to ever exit(). As Stpehen pointed out, I'd try with apache/fastcgi , if

Re: [mapserver-users] Stacked bar charts with mapserver?

2011-01-12 Thread thomas bonfort
Nicol, you have the *vbar examples in msautotest that show how to obtain stacked vertical bar graphs, I assume that's what your looking for? regards, thomas On Wed, Jan 12, 2011 at 22:35, Nicol Hermann mapser...@geoworld.de wrote: Hello list, I wonder if MapServer is able to build stacked bar

Re: [mapserver-users] Labels are cut at the borders of the tiles

2011-01-10 Thread thomas bonfort
it does not seem to be documented. when set to ON, what happens is that labels are fixed to a geographical location on the feature, instead of being adjusted to fit in the pixel range of the created map. this is essentially used for tiling, as in that case each feature will be labeled exactly

Re: [mapserver-users] Is it posible to draw variable feature points

2011-01-05 Thread thomas bonfort
Luis, have a look at the mailing list archives and/or the mapserver documentation. http://lists.osgeo.org/pipermail/mapserver-users/2010-November/067350.html http://mapserver.org/cgi/controls.html -- thomas On Tue, Jan 4, 2011 at 22:54, Luis Treviño ltrevi...@gmail.com wrote: Hi list. I would

Re: [mapserver-users] draw hatch pattern with image file (ex. gif, etc)

2010-12-16 Thread thomas bonfort
if your image contains a hatch, yes, it's possible, although you can't change the color. if you want to create a hatch, use: symbol name hatch type hatch end layer ... style symbol hatch color 0 0 0 angle 45 #hatch orientation width 1 #line width size 10 #spacing between

Re: [mapserver-users] PNG Optimization

2010-12-10 Thread thomas bonfort
Cedric, Mapserver currently doesn't support png options, although this souldn't be to difficult to add as a FORMATOPTION (at least for the non GD renderers). You should note that the quality of the compression you apply to pngs has a non trivial effect on the overall rendering time, so we can't

Re: [mapserver-users] Compiling Trunk - problems with gifs

2010-11-28 Thread thomas bonfort
you have to install the gif header files, ie the giflib-dev package of your system. the configure script is looking for gif_lib.h. regards, thomas On Sun, Nov 28, 2010 at 19:10, Fawcett, David (MPCA) david.fawc...@state.mn.us wrote: I am working on compiling a pretty stripped down mapserv

Re: [mapserver-users] Label backgroundcolor

2010-11-19 Thread thomas bonfort
BUFFER used to also expand the size of the billboard, but that's not the case anymore. I don't think it's currently possible to expand the billboard, although it should soon be possible to do so in the near future (we can also imagine rounded rectangle billboards to). (the following is slightly

Re: [mapserver-users] Polygon hatch mismatch at tile borders.

2010-10-28 Thread thomas bonfort
Yes, the problem is known and hasn't been addressed yet. This one would be a candidate for 6.2. cheers, thomas On Thu, Oct 28, 2010 at 15:19, Stephen Woodbridge wood...@swoodbridge.com wrote: On 10/28/2010 9:00 AM, Ausderau Larissa LT wrote: Thanks Alex, The gutter solution gives something

Re: [mapserver-users] Problems with AGG rendering

2010-10-26 Thread thomas bonfort
Rendering thick lines is done without symbols with agg (and GD with recent versions of mapserver to, I believe) for an outlined line, you use: CLASS STYLE COLOR outlinecolor WIDTH 5 END STYLE COLOR fillcolor WIDTH 3 #width of the first style minus 2 times the desired outline

Re: [mapserver-users] mapfile annotation underlined text

2010-10-14 Thread thomas bonfort
Hi, Mapserver currently does not support underlining text. regards, thomas On Thu, Oct 14, 2010 at 08:33, Büttner, Diana (LVG) diana.buett...@lvg.bayern.de wrote: Hi, for a getMap-response I want underlined text. I haven't found any settings for this problem in the Mapfile Reference. Can I

Re: [mapserver-users] WMS Request for a single point?

2010-10-08 Thread thomas bonfort
have a look at http://www.mail-archive.com/mapserver-us...@lists.umn.edu/msg05881.html the syntax for cgi commands has changed since then, you'd have to use something like map.layer[site]=feature+points+582248.23+4841497.11+end+end or map.layer[site].feature.points=582248.23+4841497.11 (I cant

Re: [mapserver-users] WMS Request for a single point?

2010-10-08 Thread thomas bonfort
. On Fri, Oct 8, 2010 at 12:03 PM, thomas bonfort thomas.bonf...@gmail.com wrote: have a look at http://www.mail-archive.com/mapserver-us...@lists.umn.edu/msg05881.html the syntax for cgi commands has changed since then, you'd have to use something like map.layer[site]=feature+points

Re: [mapserver-users] WMS Request for a single point?

2010-10-08 Thread thomas bonfort
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Hicks Sent: Friday, October 08, 2010 11:07 AM To: thomas bonfort Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS Request for a single point? Ok, that looks extremely promising. I'm going to go ahead and try

Re: [mapserver-users] Display performance

2010-09-03 Thread thomas bonfort
That would be the fastest yes. Even more so if you order the classes inside your layer by order of occurences, i.e. the most common classes first, and the least common ones last. -- thomas On Fri, Sep 3, 2010 at 11:54, Chris Jackson webturt...@gmail.com wrote: Jukka Thank you for the code I

Re: [mapserver-users] Display performance

2010-09-03 Thread thomas bonfort
On Fri, Sep 3, 2010 at 11:12, Chris Jackson webturt...@gmail.com wrote: Hi Jukka Thanks for the response and the great investigative work! My log entry for drawing the layer is - [Fri Sep 03 10:01:25 2010].658000 msDrawMap(): Layer 1 (meanspringpeakflow), 24.500s. :o( I do wonder if my

Re: [mapserver-users] Re: How to appear Graph?

2010-08-26 Thread thomas bonfort
What version of MapServer are you using? Charting appeared in 5.0. Regards, Thomas On Aug 26, 2010 9:02 PM, elisabeth theresia dbee_ka...@yahoo.com wrote: Hi Mr. Sumit, Thanks for your advice. when i tried to apply step by step from: http://mapserver.org/output/dynamic_charting.html then

Re: [mapserver-users] Point/annotation labels and tiles

2010-08-13 Thread thomas bonfort
You must use PARTIALS false in this case. regards, thomas On Fri, Aug 13, 2010 at 11:39, Ludovic Gnemmi lgne...@rgd73-74.fr wrote: Hi list, I'm a bit lost.I'm creating tiles with a php batch script and i have some issues regarding points labels. End of label don't appear on neighbouring

Re: [mapserver-users] Offset values from database

2010-08-12 Thread thomas bonfort
the -99 is a special offset value that shifts the line as you are looking for. style color 255 0 0 offset -2 -99 width 2 end style color 0 255 0 offset 2 -99 width 2 end not perfect as there are artifacts on sharp angles, but worth a try. regards, thomas On Thu, Aug 12, 2010 at

Re: [mapserver-users] Maximum width of line - setting is ignored

2010-07-01 Thread thomas bonfort
there's a default limit of 32 on the max width. you can override it with the MAXWIDTH keyword. regards, thomas On Thu, Jul 1, 2010 at 09:53, Frank Broniewski b...@metrico.lu wrote: Hello, we just noticed that our width settings for a line above 40px is ignored. Whatever size we set, it is no

Re: [mapserver-users] WMS layers order and copyright

2010-06-07 Thread thomas bonfort
POSTLABELCACHE at the layer level is the keyword you are looking for. regards, thomas On Mon, Jun 7, 2010 at 19:52, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, This is what I have been using: LAYER   NAME copyright   METADATA     wms_title copyright   END   STATUS

Re: [mapserver-users] Difference in GD vs AGG PNG output -- seams in my shape files.

2010-05-04 Thread thomas bonfort
see http://trac.osgeo.org/mapserver/ticket/3165 for an explanation and a patch. regards, thomas On Tue, May 4, 2010 at 08:37, Dane Springmeyer bl...@hailmail.net wrote: You might try setting a map background color the same as your ocean color used for the polygons. Dane On May 3, 2010, at

Re: [mapserver-users] Re: WMS and tiles cutting off

2010-04-30 Thread thomas bonfort
I usually find that an untiled openlayers wms layer with transitionEffect:resize has a pretty similar effect that that of a tiled layer, as the map isn't hidden as soon as the user stops panning, but is replaced with the new image once that one arrives. YMMV. regards, thomas On Thu, Apr 29,

Re: [mapserver-users] Help

2010-04-23 Thread thomas bonfort
I'm not a mapscript expert, but I seem to remember you must use the setBinding methods in that case. -- thomas On Tue, Apr 20, 2010 at 02:57, Ing. Romanuel Ramon Antunez rra...@uci.cu wrote: Hi I am trying to create a dynamic layer of type chart with php-mapscript but when I try to change the

Re: [mapserver-users] Weird multi-line label

2010-04-14 Thread thomas bonfort
are you sure they come from the same class/layer ? try changing the label color to make sure regards, thomas On Wed, Apr 14, 2010 at 11:02, Jackey Cheung cheung.jac...@gmail.com wrote: Hi all, I am playing around with labels and meet weird situations. Here's the class I use to generate the

Re: [mapserver-users] cartolines in AGG?

2010-04-09 Thread thomas bonfort
what's in the plain AGG rendering that's missing compared to cartolines? -- thomas On Fri, Apr 9, 2010 at 15:45, Mark Volz markv...@co.lyon.mn.us wrote: Hello I received a warning on one of my maps that I had an AGG library error due to Cartoline drawings being depreciated with AGG.  Is

Re: [mapserver-users] cartolines in AGG?

2010-04-09 Thread thomas bonfort
               TYPE cartoline                LINECAP butt                LINEJOIN bevel                LINEJOINMAXSIZE 1                STYLE 2 20 END        END # Symbol Mark Volz GIS Specialist Lyon County, MN -Original Message- From: thomas bonfort [mailto:thomas.bonf

Re: [mapserver-users] cartolines in AGG?

2010-04-09 Thread thomas bonfort
of type simple.  See http://research.dmsolutions.ca/?p=168 Christy On 04/09/2010 10:00 AM, thomas bonfort wrote: please keep your replies on list... you can replace that with no symbol, and STYLE   WIDTH xxx   LINECAP butt   PATTERN 2 20 END   COLOR r g b END the only missing

Re: [mapserver-users] Re: Adjacent letter problem [Bayesian]

2010-04-06 Thread thomas bonfort
try switching to the AGG outputformat in mapserver, it shouldn't suffer from these kind of bugs. -- thomas On Tue, Apr 6, 2010 at 15:25, Ibrahim Saricicek ibrahimsarici...@gmail.com wrote: Hi all; Is this a BUG? Anyone faced with this situation? Small fonts shouldn't result with adjacent

Re: [mapserver-users] Re: Adjacent letter problem [Bayesian]

2010-04-06 Thread thomas bonfort
please post an image with the AGG renderer On Tue, Apr 6, 2010 at 15:49, Ibrahim Saricicek ibrahimsarici...@gmail.com wrote: Hi all, Different output methods and formats give the same result including AGG rendering. The problem occurs while rendering the labels. Whatever the output is,

Re: [mapserver-users] MapServer, OpenStreetMap, OpenLayers + Reprojection from Latlong to Mercator: a real nightmare

2010-03-18 Thread thomas bonfort
the projection blocks in your layer should be the projection of the actual data, i.e. 4326 if you've run osm2pgsql with the -l switch. it should *not* be 3785 as you have put it. -- thomas On Wed, Mar 17, 2010 at 22:39, Mulone mul...@rome.com wrote: (apologies for cross-posting) Hi

Re: [mapserver-users] OSM Renderer using mapfile. A Projection Problem?

2010-03-04 Thread thomas bonfort
what's the url that is requested for the left image ? On Tue, Mar 2, 2010 at 15:17, Ali_ ali_informat...@yahoo.com wrote: Hi, I have used the tutorial to render OSM from the url: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData The problem is the output image I get seemed to be in the

Re: [mapserver-users] Re: OSM Renderer using mapfile. A Projection Problem?

2010-03-04 Thread thomas bonfort
no, the url of the actual image (right click on it, the properties) On Thu, Mar 4, 2010 at 19:45, Ali_ ali_informat...@yahoo.com wrote: Hi Thomas, Thanks. Its just: http://localhost I have my index.html file under c:\ms4w\Apache\htdocs cheers, Ali. --- On Thu, 3/4/10, thomas bonfort

Re: [mapserver-users] line width unit ignored after mapserver upgrade

2010-03-01 Thread thomas bonfort
if you're aiming for webmapping and screen display, you should probably not be setting those to a value other than the default value. resolution is used for high-res print output, eg passing from http://server/mapserv/?[]width=300height=300 to

Re: [mapserver-users] ALIGN Label option

2010-02-24 Thread thomas bonfort
the label block in http://code.google.com/p/mapserver-utils/source/browse/trunk/places.map is how the wrapping is done on city names on the map shown on the mapserver front page. as for your label block: * center must not be quoted, it's a keyword * maxlength 12 will not wrap many labels, unless

Re: [mapserver-users] vertical alignment of symbols along a line

2010-02-23 Thread thomas bonfort
OFFSET 2 -99 would be the way to go, but isn't the most optimal solution Havard, we're paving the road right now for the ORIGIN to happen, just have to be patient ;) -- thomas On Tue, Feb 23, 2010 at 08:47, Havard Tveite havard.tve...@umb.no wrote: Perhaps you could use OFFSET (with -99) - I

Re: [mapserver-users] Symbol problem (trunked) using tiled OpenLayers...

2010-02-22 Thread thomas bonfort
google for labelcache_map_edge_buffer -- thomas On Mon, Feb 22, 2010 at 13:29, Paul james paulj...@gmail.com wrote: Yes... Is there any way to fix that ? Because openlayers without tiles is pretty useless for me... Thanks On Mon, Feb 22, 2010 at 3:08 PM, Stephen Woodbridge

Re: [mapserver-users] How to define a transparent background for a raster layer?

2010-02-01 Thread thomas bonfort
the keyword you're looking for is OFFSITE -- thomas On Mon, Feb 1, 2010 at 15:32, David Martinez Morata dama...@gmail.com wrote: I have a WMS service with a re¡aster layer, and I try to filter the white value of the background, but I don't know how...I search in the Mapserver Documentation

Re: [mapserver-users] Build Mapserver with OpenGL

2010-01-28 Thread thomas bonfort
don't enable opengl, it's not ready -- thomas On Thu, Jan 28, 2010 at 14:51, Eduardo Almeida Costa eud...@gmail.com wrote: Hi! =) I'm trying (and trying, and trying) to build Mapserver with OpenGL but I got this errors: mapogl.cpp: In function ‘int

Re: [mapserver-users] symbol at start and end of polyline ?

2010-01-19 Thread thomas bonfort
hi, class expression ([id]=321) style geomtransform end ... end end class style ... #all the others end end On Tue, Jan 19, 2010 at 10:14, Oliver Christen oliver.chris...@camptocamp.com wrote: hello I would like to add a symbol at the start and end of a polyline. I

Re: [mapserver-users] symbol at start and end of polyline ?

2010-01-19 Thread thomas bonfort
? - Original Message - *From:* thomas bonfort thomas.bonf...@gmail.com *To:* Oliver Christen oliver.chris...@camptocamp.com *Cc:* mapserver-users@lists.osgeo.org *Sent:* Tuesday, January 19, 2010 10:30 AM *Subject:* Re: [mapserver-users] symbol at start and end of polyline ? hi

Re: [mapserver-users] symbol at start and end of polyline ?

2010-01-19 Thread thomas bonfort
matches only one geometry ? why is there more than 2 stars ? does the geomtransform 'end' only work for line features consisting of only 2 points ? - Original Message - *From:* thomas bonfort thomas.bonf...@gmail.com *To:* Oliver Christen oliver.chris...@camptocamp.com *Cc:* mapserver

Re: [mapserver-users] symbol circle (ellipse) rendered not roundbut oval

2010-01-15 Thread thomas bonfort
can see, Mapserver doesnt like none-integer value for gap. what should I do? :( 2010/1/12 thomas bonfort thomas.bonf...@gmail.com mailto:thomas.bonf...@gmail.com gap in pixels = symbol-gap * style-size On Tue, Jan 12, 2010 at 16:52, Oliver Christen

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-12 Thread thomas bonfort
hi Oliver :) try with GAP 20 instead of STYLE 1 20 END (which is deprecated btw, use PATTERN now) cheers, thomas On Tue, Jan 12, 2010 at 15:04, Oliver Christen oliver.chris...@camptocamp.com wrote: hello I have a weird problem with symbology. Im rendering a line with dots, but the dots

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-12 Thread thomas bonfort
://dev.camptocamp.com/~ochriste/tilecache3_bothcircle.pnghttp://dev.camptocamp.com/%7Eochriste/tilecache3_bothcircle.png ) any other idea? ^_^ - Original Message - *From:* thomas bonfort thomas.bonf...@gmail.com *To:* Oliver Christen oliver.chris...@camptocamp.com *Cc:* mapserver-users

Re: [mapserver-users] symbol circle (ellipse) rendered not round but oval

2010-01-12 Thread thomas bonfort
, with GAP 4, I had ~26px between dots whats the logic ? - Original Message - *From:* thomas bonfort thomas.bonf...@gmail.com *To:* Oliver Christen oliver.chris...@camptocamp.com *Cc:* mapserver-users@lists.osgeo.org *Sent:* Tuesday, January 12, 2010 4:36 PM *Subject:* Re

Re: [mapserver-users] Can I set class name in mapfile to Chinese?

2010-01-10 Thread thomas bonfort
* make sure your mapfile itself is encoded in utf8 * in your legend's label block, add ENCODING utf8. make sure your label are of type truetype and not bitmap, as the included bitmap fonts definitely do not contain more than ascii characters. regards, thomas this should do the trick. I don't

Re: [mapserver-users] entities one upon the other

2009-11-13 Thread Thomas Bonfort
if you're using the AGG rendering backend, you can set an opacity on your polygon styles, in which case you should see varying opacity the more features are piled one upon another. STYLE COLOR r g b OPACITY 50 END regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Thu, Nov 12, 2009

Re: [mapserver-users] Problems with agg and character definition in symbol File

2009-11-11 Thread Thomas Bonfort
please open a bug for this and assign it to me (tbonfort). I'll try to get the fix in for the 5.6 release. regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Wed, Nov 11, 2009 at 08:54, Michael Pfeiffer michael.pfeif...@bd.so.ch wrote: Hi list, I have a problem with our True Type

Re: [mapserver-users] Re: Use of palette file: Problems with changingcolors when tiling

2009-11-07 Thread Thomas Bonfort
people :-) So forget our testing, we have only put the colors we use in the mapfile once in the palette file(attached in the first mail), and the error in the color is like on the map I attached(first mail). Espen 2009/11/6 Thomas Bonfort thomas.bonf...@camptocamp.com: Stephen Woodbridge

Re: [mapserver-users] AGG Rendering problem

2009-10-28 Thread Thomas Bonfort
Tony, could you post the symbol definition and how you used it in your mapfile? thanks, thomas www.camptocamp.com +33 5 16 57 01 02 On Tue, Oct 27, 2009 at 22:34, Tony Baylis tony.bay...@resexmap.com.au wrote: Thanks to Rahkonon and and Paul for their responses but neither solved the problem.

Re: [mapserver-users] Use of palette file: Problems with changing colors when tiling

2009-10-28 Thread Thomas Bonfort
is the blue of your lake inside your palette.txt ? if so, you shouldn't be getting those discrepancies. regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Wed, Oct 28, 2009 at 11:25, Espen Isaksen espen.isak...@gmail.com wrote: Hi! We are testing out using a palette file in our

Re: [mapserver-users] Use of palette file: Problems with changingcolors when tiling

2009-10-28 Thread Thomas Bonfort
even if it was used in the mapfile, the exact value of the water color should have been chosen given it was present in the initial palette. On Wed, Oct 28, 2009 at 22:16, Steve Lime steve.l...@dnr.state.mn.us wrote: Is the color 125,202,228 (the water value in the image on the left) used in

Re: [mapserver-users] label encoding problem

2009-10-21 Thread Thomas Bonfort
name is a reserved keyword in mapserver mapfiles, you should use LABELITEM NAME instead of LABELITEM NAME regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Wed, Oct 21, 2009 at 14:33, 王连波 happyfor...@gmail.com wrote: I use mapserver5.4.0 on FreeBSD Release7.1. In my mapfile I get data

Re: [mapserver-users] AGG renderer: Is there a way to disable the antialias feature with pattern brushes?

2009-10-19 Thread Thomas Bonfort
Is there a way to disable antialias support with the agg renderer when drawing vector symbol based pattern fills? Not that I know of. I've just wanted to construct some of the pre-defined mapinfo fill patterns (see image attached) but it seems the results are quite different by using the

Re: [mapserver-users] Shapefiles with islands

2009-10-19 Thread Thomas Bonfort
Hi, last time I tested, osm2pgsql didn't treat relations for multipolygons correctly if not run in slim mode. are you running your osm2pgsql with -s ? regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Mon, Oct 19, 2009 at 11:43, Lars Westerlind lars.westerl...@enera.se wrote: Hi, I

Re: [mapserver-users] Making labels appear less often on adjacent tiles

2009-10-14 Thread Thomas Bonfort
yes you can do that, by adding a PROCESSING LABEL_NO_CLIP=ON to the layers where you don't want repeated labels. regards, thomas www.camptocamp.com +33 5 16 57 01 02 On Wed, Oct 14, 2009 at 13:29, Adrian Popa adrian_gh.p...@romtelecom.ro wrote: Hello everyone, I'm sure this subject has

Re: [mapserver-users] Making labels appear less often on adjacent tiles

2009-10-14 Thread Thomas Bonfort
on the server telling him some request are part of a larger request. So, how can it know on which tile to show the label and on which tile not to show the label? Thanks Thomas Bonfort wrote: yes you can do that, by adding a PROCESSING LABEL_NO_CLIP=ON to the layers where you don't want

Re: [mapserver-users] Applying a hatch over a line layer

2009-07-27 Thread Thomas Bonfort
hi, hatches only apply to polygon layers. what you are probably looking for is the PATTERN keyword: symbol type simple pattern 2 2 end name dashes end regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Mon, Jul 27, 2009 at 11:37, Adrian Popaadrian_gh.p...@romtelecom.ro wrote:

Re: [mapserver-users] Applying a hatch over a line layer

2009-07-27 Thread Thomas Bonfort
with a simple symbol - would it be possible with a graphical symbol (picture)? And if yes, should I expect a high performance penalty? Thanks again, Adrian Thomas Bonfort wrote: hi, hatches only apply to polygon layers. what you are probably looking for is the PATTERN keyword: symbol type

Re: [mapserver-users] loadOutputFormat(): error AGG/PNG driver isn't configured.

2009-07-24 Thread Thomas Bonfort
what's the output of mapserv -v it should include the AGG key somewhere for agg to be supported. regards, thomas www.camptocamp.com +33 4 79 26 57 97 On Fri, Jul 24, 2009 at 09:58, Galigeog...@galigeo.com wrote: Hi kapilmanoj I do have actually the same problem (exept I use Ubuntu

Re: [mapserver-users] Building Mapserver with Mapscript and AGG

2009-07-16 Thread Thomas Bonfort
Yes, version 5.6 or 6.0, whatever it's called, will include the agg tree, in a hope to cut down on the multiple problems that folks were having with compiling agg correctly. you can already try it out by using a trunk version of mapserver and report back to us if any problems arise. regards,

Re: [mapserver-users] Smaller polygon sizes when usingmapserver 5.4.1compare to 5.2.0

2009-07-14 Thread Thomas Bonfort
the previous versions of mapserver (incorrectly I think) used the value of the label buffer to expand the background billboard. You'd get nice results whith a 1 or 2 px buffer like in your case, but unusable ones when you added larger buffers. I hope we can work around this for 5.6 with the

Re: [mapserver-users] Raster layer with png legend

2009-07-10 Thread Thomas Bonfort
http://mapserver.org/mapfile/class.html - KEYIMAGE regards, thomas www.camptocamp.com +33 4 79 26 57 97 2009/7/10 Luis Almería Trenco trencol...@gmail.com: Hi, anybody knows how to associate an image legend (.png) to a raster layer? I’m trying to do so with this .map, but it doesn’t

Re: [mapserver-users] Oracle native / Oracle OGR

2009-07-10 Thread Thomas Bonfort
some of our clients have come up with a few quirks in the native oracle driver that should be taken into account: * the strings storing the fields returned by the database have a fixed length in mapserver, so that might have to be overridden at compile time if you are planning to return data

Re: [mapserver-users] Oracle native / Oracle OGR

2009-07-10 Thread Thomas Bonfort
a view. Mike -- Michael Smith Remote Sensing GIS Center CRREL - ERDC US Army Corps of Engineers Hanover, NH On 7/10/09 2:38 PM, Thomas Bonfort thomas.bonf...@camptocamp.com wrote: some of our clients have come up with a few quirks in the native oracle driver that should be taken

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

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] 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] 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] 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] 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

[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

[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

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

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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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

[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] 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

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

<    2   3   4   5   6   7   8   >