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] 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Label text always clipped by tiles

2011-01-26 Thread thomas bonfort
labelcache on is the default setting, and will apply for all layers where you have not set FORCE TRUE on your labels. if you don't want overlapping labels, this should be left as is. when tiling, you should *always* set PARTIALS FALSE on all your labels. - the metabuffer tilecache option should

Re: [mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

2011-01-27 Thread thomas bonfort
Before starting to implement something extensive around label BACKGROUNDCOLOR, you should be aware that this keyword will not be supported anymore starting from version 6.0. it is replaced with a STYLE GEOMTRANSFORM LABELPOLY COLOR r g b END which greatly extends the possibilities of

Re: [mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

2011-01-28 Thread thomas bonfort
allow to completely remove the need for ANNOTATION layers. regards, thomas On Fri, Jan 28, 2011 at 09:22, Stephan Holl stephan.h...@intevation.de wrote: Hello thomas, thomas bonfort thomas.bonf...@gmail.com, [20110128 - 08:23:31] Before starting to implement something extensive around label

Re: [mapserver-users] Bug or User error? MINSIZE not working

2011-02-03 Thread thomas bonfort
what are you trying to obtain? * minsize/maxsize and minwidth/maxwidth are only used when doing scale-dependent scaling of symbols (either by using sizeunits different than pixels, or by having the symbolscaledenom activated) * symbol STYLE is deprecated, and dots and caps are now set at the

Re: [mapserver-users] Compiling with opengl support

2011-02-22 Thread thomas bonfort
Felipe, opengl support should compile and run in the trunk version of mapserver, you'll have to do a checkout if you want to try it out. please report back the bugs you see ;) -- thomas On Tue, Feb 22, 2011 at 16:38, Felipe Alcacibar falcaci...@gmail.com wrote: Hi, i am trying to compile

Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!

2011-03-10 Thread thomas bonfort
use AGG/JPEG regards, thomas On Thu, Mar 10, 2011 at 18:33, Andy Colson a...@squeakycode.net wrote: On 3/9/2011 8:47 PM, Daniel Morissette wrote: The MapServer Team is pleased to announce the release of MapServer 6.0.0-beta1. This is the first beta on our way to a final 6.0 release. My

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
Phil, what kind of symbology are you trying to obtain. I suspect you're aiming for a thick line, which now does not require the use of a symbol, but rather: style width 20 color 0 0 255 end regards, thomas On Fri, Mar 11, 2011 at 02:24, Anzel, Phil - Fort Collins, CO phil.an...@ftc.usda.gov

Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!

2011-03-11 Thread thomas bonfort
Andy, yes a (beefy) video card is needed or at least wanted, as you want to offset the calculations to the GPU. If one isn't present, you're going to fall back to a software opengl implementation which will be orders of magnitude slower than what AGG is going to take. cc-ing Toby if he wants to

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
huh, I may have misinterpreted... you can't expect to obtain a point/marker symbology when using a line geometry. if you effectively want to use marker symbols, you can have a look RFC 48 and its GEOMTRANSFORM start|end|vertices transformations. -- thomas On Fri, Mar 11, 2011 at 12:10, thomas

Re: [mapserver-users] Symbol not showing up in MapServer 6.0.0-beta1 release

2011-03-11 Thread thomas bonfort
of MAP The above map file works as desired under 5.6 and demonstrates the problem under 5.7/6.0. - Phil -Original Message- From: Anzel, Phil - Fort Collins, CO Sent: Friday, March 11, 2011 7:08 AM To: thomas bonfort Cc: mapserver-users@lists.osgeo.org; Anzel, Phil - Fort Collins, CO

Re: [mapserver-users] MapServer 6 testing: WMS - invalid layer parameter

2011-03-15 Thread thomas bonfort
Is there anything I am missing? yes, the migration guide ! ;) (the part on OGC Web Services) -- thomas ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Floating point exception agg png

2011-03-21 Thread thomas bonfort
Daniel, any chance you can create a ticket for that with a mapfile and sample data that reproduces it ? the png vs. jpeg should not intervene as at the point the error is occuring the code path has been nearly identical (i.e. no png or jpeg library calls have been made yet). thomas On Mon, Mar

Re: [mapserver-users] Production mapserver

2011-03-21 Thread thomas bonfort
On Mon, Mar 21, 2011 at 18:28, Andy Colson a...@squeakycode.net wrote: On 3/21/2011 11:27 AM, Jeff Dege wrote: What do we need to do to get Mapserver running in a production configuration? I guess that's up to you.  Do you need 100% uptime?  Mirrors and backups and redundancy?  You'll also

Re: [mapserver-users] Production mapserver

2011-03-21 Thread thomas bonfort
Jeff, all the documentation is online, the folks producing the open source software you are intending to use have gone to some trouble to produce it. If that isn't sufficient, I highly doubt that the answers you'll get from a mailing list where people don't know your requirements will get you to

Re: [mapserver-users] showing line direction (without font)

2011-03-24 Thread thomas bonfort
clement, GEOMTRANSFORM END SYMBOL arrowhead ANGLE AUTO does what you want, with the arrowhead symbol being a truetype symbol with character ''. you can also define arrowhead as a vector symbol with the points forming an arrowhead. -- thomas On Thu, Mar 17, 2011 at 15:28, Clément MONIER

Re: [mapserver-users] Negative GAP parameter to rotate vector symbols along line

2011-03-31 Thread thomas bonfort
It's supposed to work. If not, you might want to file a bugreport with a screenshot of what you're getting, but in any case the GD driver in the 5.x brach won't be getting much attention. I'd highly suggest using AGG/PNG for any vector symbology rendering. regards, thomas On Thu, Mar 31, 2011 at

Re: [mapserver-users] Transparency of overlapping PNG-symbols

2011-04-08 Thread thomas bonfort
Given the artifact, I'd say that you are using the GD renderer. Are you sure it's the AGG one that is being selected when you create that image? -- thomas 2011/4/8 Lime, Steve D (DNR) steve.l...@state.mn.us: Can you share the batnight.png file? Any difference if you remove TRANSPARENT 0? It

Re: [mapserver-users] Transparency of overlapping PNG-symbols [solved]

2011-04-11 Thread thomas bonfort
Ok, thanks. could you check the same mapfile with GD on mapserver 6.0 to see if the issue still exists? thomas On Mon, Apr 11, 2011 at 09:39, Stephan Holl stephan.h...@intevation.de wrote: Hello thomas, thomas bonfort thomas.bonf...@gmail.com, [20110408 - 16:52:53] Given the artifact, I'd

Re: [mapserver-users] Tag SYMBOL - CENTER/ORIGIN

2011-04-11 Thread thomas bonfort
No, it was not implemented, and is on hold until someone funds it. regards, thomas On Mon, Apr 11, 2011 at 10:54, tommaso tommas...@googlemail.com wrote: Hallo List, in the Document http://mapserver.org/trunk/development/rfc/ms-rfc-45.html is mentioned the tag CENTER / ORIGIN for SYMBOL:  was

Re: [mapserver-users] fastcgi mode with raster layer?

2011-04-11 Thread thomas bonfort
Martin, fastcgi will essentially give you speedups in these two cases: * with slow-to-open data connections (i.e. oracle, some gdal/ogr datasources?) if you use CLOSE_CONNECTION=DEFER * and/or when the cost of creation of a process becomes non negligible compared to the time that the mapserv

Re: [mapserver-users] MS 6.0 beta4 writes always into ms_errorfile with raster layers

2011-04-12 Thread thomas bonfort
fixed in r11537. regards, thomas On Tue, Apr 12, 2011 at 11:59, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I wonder why Mapserver 6.0 beta seems to write two lines into ms_errorfile even if there is no errors and I do not have degug on. [Tue Apr 12 12:37:59 2011].386000

Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-12 Thread thomas bonfort
I think some browsers do that if the image is corrupt. Try to use curl or wget or view-source to see the actual returned data. -- thomas On Tue, Apr 12, 2011 at 15:47, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I have a pretty basic mapfile without my own OUTPUTFORMAT settings.  MS

Re: [mapserver-users] label placement problem

2011-04-14 Thread thomas bonfort
Raivo, When using mindistance, we check to see if there are labels with the same text from the same layer that are closer than the specified threshold. Modifying that behavior would not be impossible to make them check for a third condition (i.e. same text, same layer, and same attribute), but is

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-18 Thread thomas bonfort
Jukka, please create a ticket and attach your test case, I'll have a look. thanks, thomas On Mon, Apr 18, 2011 at 10:18, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I am sometimes getting images with totally odd colours with MS 6.0 beta 6 (and the previous beta versions) with format

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
please test with trunk and report back if you're still having the error: http://trac.osgeo.org/mapserver/ticket/3848 -- thomas On Tue, Apr 19, 2011 at 09:32, Erik Gustafson gustafson.e...@gmail.com wrote: On Mon, Apr 18, 2011 at 10:18, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, I

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
...@gmail.com wrote: On Tue, Apr 19, 2011 at 9:39 AM, thomas bonfort thomas.bonf...@gmail.com wrote: please test with trunk and report back if you're still having the error: http://trac.osgeo.org/mapserver/ticket/3848 My test case from yesterday has correct colors with trunk of today

Re: [mapserver-users] MS 6.0 beta6 and faulty image/png; mode=8bit output if source image has overviews

2011-04-19 Thread thomas bonfort
19, 2011 at 10:44, Erik Gustafson gustafson.e...@gmail.com wrote: On Tue, Apr 19, 2011 at 10:27 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Erik, the png compression that is applied is now configurable, and defaults to 6. You can set it as it was by default in 5.6 for quantized output

Re: [mapserver-users] Problems with png output when using libpng 1.5

2011-04-20 Thread thomas bonfort
Christy, I suspect this is due to a bug in libpng. see http://sourceforge.net/tracker/index.php?func=detailaid=3288207group_id=5624atid=105624 . On Wed, Apr 20, 2011 at 15:20, Christy Nieman cnie...@dmsolutions.ca wrote: Hi, I compiled MapServer 6.0 beta6 against libpng 1.5.2 and encountered

Re: [mapserver-users] relative path for .map file inside a WMS url

2011-04-20 Thread thomas bonfort
I don't think it is possible o have this yet. You could file an enhancement request, as this would be a nice feature to have. regards, thomas On Wed, Apr 20, 2011 at 16:43, Clément MONIER clement.mon...@v-trafic.com wrote: Hi, I have a CGI MapServer 5.6.0beta5 instance running on Windows.

<    1   2   3   4   5   6   7   8   >