Re: [mapserver-users] Maperver upgrade 5.6 - 6.0 - OUTPUTFORMAT ?

2011-12-08 Thread thomas bonfort
antialiasing causes vertical and horizontal lines to appear blurred. switch to gif if you need aliased results. -- thomas On Thu, Dec 8, 2011 at 14:58, tommaso tommas...@googlemail.com wrote: Hallo List, I'm trying to upgrade my app from Mapserver 5.6 to Mapserver 6.0. The Problem is, that

Re: [mapserver-users] GEOMTRANSFORM LABELPNT example

2011-12-11 Thread thomas bonfort
I think this is all expected behavior, although the documentation may be incorrect. LABELPNT draws a marker on the geographic position the label is attached to. This corresponds to the center of the label text only if the label is in position CC. To draw a label at the center of the label text,

Re: [mapserver-users] Why failed to hard wrap labels?

2011-12-14 Thread thomas bonfort
Jackey, I have reproduced your issue and confirm it's a bug. Please open a ticket for this and I will fix it asap. regards, thomas On Wed, Dec 14, 2011 at 11:46, Jackey Cheung cheung.jac...@gmail.com wrote: Hi all, I have met a weird situation while using hard wraps on labels. I haven't

Re: [mapserver-users] Sanitary Sewer Flow Direction Line Symbol

2011-12-16 Thread thomas bonfort
Yes, its possible: STYLE GEOMTRANSFORM END ANGLE AUTO SIZE 15 COLOR 0 0 0 SYMBOL arrow END -- thomas On Fri, Dec 16, 2011 at 14:41, boesiii boes...@yahoo.com wrote: Is it possible to create a line symbol as shown in the picture below, specifically the black arrow, one triangle for

Re: [mapserver-users] Re: Sanitary Sewer Flow Direction Line Symbol

2011-12-16 Thread thomas bonfort
multiple workarounds: - trunk has ANCHORPOINT, which can be used for that. - use a truetype symbol - define a vector symbol that starts at (0,0) On Fri, Dec 16, 2011 at 15:41, boesiii boes...@yahoo.com wrote: Thanks, but it's not quite right, yet.  The arrow is offset (above and below) from the

Re: [mapserver-users] Re: Sanitary Sewer Flow Direction Line Symbol

2011-12-16 Thread thomas bonfort
without trunk anchorpoint, the symbol will always be centered on the last point of the line, that's why we added anchorpoint. So you can must stick with the current version and use a symbol that looks ok when centered on the last point, or upgrade. -- t. On Fri, Dec 16, 2011 at 17:08, Ed

Re: [mapserver-users] Re: Some PointSymbolizer values are being ignored. SLD Syntax problem?

2011-12-20 Thread thomas bonfort
Joanne, I have committed a potential fix in http://trac.osgeo.org/mapserver/changeset/12904 , but I am not setup to test SLD. Please open a ticket for the issue and report your findings there. regards, thomas On Mon, Dec 19, 2011 at 23:30, myOpenLayersUName joanne.mcg...@sympatico.ca wrote:

Re: [mapserver-users] Re: simplify problem

2011-12-29 Thread thomas bonfort
data the_geom from (select st_simplify(the_geom,xxx) as the_geom, gid, attr1,attr2 from table) as foo using unique gid using srid=xxx On Thu, Dec 29, 2011 at 17:07, ahlah ahti.laht...@pp.inet.fi wrote: Hi, Actually I did a view and it works fine, but I thought to use different tolerances

Re: [mapserver-users] MapCache compilation error; ld cannot find libraries

2012-01-02 Thread thomas bonfort
There have been some extensive changes in the build process over the holidays. Please try editing src/Makefile, and replace the two occurences of -Wl,$(LIBS) by $(LIBS). If that fixes it, can you post the output of /usr/share/apr-1.0/build/libtool --version, and your OS distribution and version

Re: [mapserver-users] MapCache compilation error; ld cannot find libraries

2012-01-02 Thread thomas bonfort
, thomas bonfort wrote: There have been some extensive changes in the build process over the holidays. Please try editing src/Makefile, and replace the two occurences of -Wl,$(LIBS) by $(LIBS). If that fixes it, can you post the output of /usr/share/apr-1.0/build/libtool --version, and your OS

Re: [mapserver-users] mapcache of non-jpeg/png formats

2012-01-05 Thread thomas bonfort
On Wed, Jan 4, 2012 at 23:11, Enzmann, Alexander R. xan...@mitre.org wrote: It appears that mapcache has exactly two supported storage formats, JPEG and PNG.  Is there any way to have it store something else (e.g., TIFF, BIL) without adding explicit code like that in imageio_jpeg.c and

Re: [mapserver-users] Troubles masking wmf service via mod_rewrite

2012-01-31 Thread thomas bonfort
there seems to be something wrong in the docs, have a look at http://trac.osgeo.org/mapserver/ticket/3310 for a working rewriterule. -- thomas On Tue, Jan 31, 2012 at 16:22, Nico Alberti n...@langhirano.it wrote: Hi everybody and sorry if my question is both lame and mostly due to my lack of

Re: [mapserver-users] mapcache

2012-02-01 Thread thomas bonfort
On Thu, Jan 26, 2012 at 19:30, John Callahan john.calla...@udel.edu wrote: I'm giving mapcache a try but with no luck.  Well, some luck.  The module loads fine and the demo (vmap0, http://127.0.0.1/mapcache/demo/wms) also works fine.  I see the tiles being generated on disk.  Great.  However,

Re: [mapserver-users] PostGIS Connection String - Thread Issue?

2012-02-03 Thread thomas bonfort
There were some changes to string quoting/escaping in version 6 (I think). Are the errors you are seeing intermittent, or is it reproducible consistently on all requests? What happens if you use CONNECTION dbname=interlocken user=interlocken ... instead of CONNECTION dbname='interlocken'

Re: [mapserver-users] PostGIS Connection String - Thread Issue?

2012-02-03 Thread thomas bonfort
Trent, can you file a ticket for this issue please? regards, thomas On Fri, Feb 3, 2012 at 17:16, Trent Pingenot pi...@hotmail.com wrote: Thomas, That did it! I had tried removing the single quotes from the username, but not the db, but not both, I can't remember. By removing single quotes

Re: [mapserver-users] MapCache: returning blank tiles when outside restricted extents?

2012-02-07 Thread thomas bonfort
If your tileset does not contain a source element, then it is considered read only and the caches will never be updated. In that sense you would have a slightly different mapcache.xml file for your seeder than for your webserver. As for returning blank tiles, you have the errors directive that

Re: [mapserver-users] label and opacity

2012-02-09 Thread thomas bonfort
Open a trac ticket and cc me on it, it shouldn't be very difficult to implement. With a bit of funding it could probably be added rather quickly. -- thomas On Thu, Feb 9, 2012 at 12:02, Ian Walberg ian.walb...@airborne.aero wrote: Label text transparency is  a feature we could also use.

Re: [mapserver-users] RE: type Truetype error for label angle

2012-02-13 Thread thomas bonfort
does /opt/mapping/maps/fonts/tahoma.ttf exist, and is it accessible by your web user ? On Mon, Feb 13, 2012 at 18:39, maddqc qc_...@hotmail.com wrote: Thanks for your quick reply... but no, if I comment the angle line, the error is still there. It really comes from the truetype line. --

Re: [mapserver-users] Mapcache Seed / libpng error?

2012-02-15 Thread thomas bonfort
Is the error always reproducible ? From the logs it seems that the png data received by mapcache from the wms server is corrupt. More investigation would be needed to determine if the network or the wms server is at fault for this. regards, -- thomas On Wed, Feb 15, 2012 at 04:45, Andrew Cowie

Re: [mapserver-users] Mapcache Seed / libpng error?

2012-02-17 Thread thomas bonfort
. regards, thomas On Thu, Feb 16, 2012 at 22:57, Andrew Cowie cow...@landcareresearch.co.nz wrote: Ticket created: http://trac.osgeo.org/mapserver/ticket/4192 -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Wednesday, 15 February 2012 10:43 p.m. To: Andrew

Re: [mapserver-users] Constraining label position

2012-02-20 Thread thomas bonfort
PROCESSING LABEL_NO_CLIP=yes -- thomas On Mon, Feb 20, 2012 at 15:27, Jan Hartmann j.l.h.hartm...@uva.nl wrote: On 02/14/2012 06:17 PM, Stephen Woodbridge wrote: google: mapserver geomtransform this will let you fix the label point to the centroid of the object or some other positions.

Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?

2012-02-22 Thread thomas bonfort
that allocated the initial configuration, and no way of allocating memory for the new configuration that would live across the upcoming requests. On Tue, Dec 6, 2011 at 1:00 PM, thomas bonfort tbonf...@terriscope.fr wrote: AFAIK, this isn't possible. Inside an apache module, the configuration

Re: [mapserver-users] Re: Reloading MapCache configuration file on changes?

2012-02-22 Thread thomas bonfort
, thomas bonfort tbonf...@terriscope.fr wrote: On Wed, Feb 22, 2012 at 11:22, Pavel Iacovlev iacovlev.pa...@gmail.com wrote: apache2ctl -k graceful is not really an option for me because I would have to give root privileges to my apache/php. you can create a sudo rule that only allows a user

Re: [mapserver-users] Re: Mapserv stopped running after upgrade to trunk

2012-02-28 Thread thomas bonfort
Note that the trunk documentation *has* been updated, and reflects the necessary steps to correctly install the mapserv binary: http://mapserver.org/trunk/installation/unix.html#installation On Tue, Feb 28, 2012 at 15:49, Alan Boudreault aboudrea...@mapgears.com wrote: You are right, it is on

Re: [mapserver-users] Base map data for WMS

2012-03-07 Thread thomas bonfort
Here http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu you have detailed instructions for how to setup mapserver as a wms server for openstreetmap imagery. As the basemap rendering isn't specially light on server ressources I would recommend using a tile cache and not expose the wms

Re: [mapserver-users] GetLegendGraphic legend image generated as line for polygon without color

2012-03-07 Thread thomas bonfort
c.f. http://trac.osgeo.org/mapserver/ticket/4104 here's an ugly hack that *should* work (not tested): CLASS STYLE COLOR 0 0 0 OPACITY 0 END STYLE OUTLINECOLOR 255 0 0 WIDTH 3 END END On Wed, Mar 7, 2012 at 13:26, Oliver Christen oliver.chris...@camptocamp.com wrote:

Re: [mapserver-users] Base map data for WMS

2012-03-07 Thread thomas bonfort
On Wed, Mar 7, 2012 at 16:00, Paolo Corti pco...@gmail.com wrote: On Wed, Mar 7, 2012 at 10:16 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Here http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu you have detailed instructions for how to setup mapserver as a wms server

Re: [mapserver-users] RasterLite

2012-03-07 Thread thomas bonfort
the sqlite database generated by mapcache is not a rasterlite database, it's a proprietary schema that allows access to individual tiles. -- thomas On Wed, Mar 7, 2012 at 20:33, scott...@free.fr wrote: Hi, I would like to use rasterlite database (test.db) with mapserver. The rasterlite

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
enclosing your data string with * seems wrong, what happens if you use quotes ? On Sat, Mar 17, 2012 at 12:43, teknocreator teknocrea...@gmail.com wrote: Thomas, Thanks for the suggestion.  And actually, the 'fhour_validation_pattern' should be enclosed in the METADATA area above it.  From

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
as a rule of thumb, you should always use quotes around your strings. the stars I was talking about come from your mapfile snippet: DATA *../grib/ds_vis%fhour%.grb* with RTS, your queries will fail if you do not add a fhour= parameter to your http query, as in that case %fhour% will not

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
the type of layer should not be an issue for RTS. What mapserver version are you using? Can you attach the full unedited mapfile? On Sat, Mar 17, 2012 at 13:58, teknocreator teknocrea...@gmail.com wrote: Thomas, Okay, must be some sort of list editor translation as I don't have * around my

Re: [mapserver-users] Re: Run-time Substitution and Raster file problem

2012-03-17 Thread thomas bonfort
ok, I think I have it... your regex does not allow the . in foo.tif -- thomas On Sat, Mar 17, 2012 at 14:45, teknocreator teknocrea...@gmail.com wrote: Note to list that I replied directly to Thomas with our mapfile as it wasn't really different too much than what I already included in this

Re: [mapserver-users] [SOLVED] Re: Run-time Substitution and Raster file problem

2012-03-18 Thread thomas bonfort
On Sun, Mar 18, 2012 at 00:04, teknocreator teknocrea...@gmail.com wrote: Thomas, THANK YOU VERY MUCH!    I knew the validation was important and I ran into the situation with the points layer where I forgot to include the validation_pattern line.  But, I forgot what the error was when that

Re: [mapserver-users] Show a raster layer with a text string in it.

2012-03-18 Thread thomas bonfort
use a second point layer, with TRANSFORM FALSE and STATUS DEFAULT -- thomas On Sun, Mar 18, 2012 at 20:51, Andrea Peri aperi2...@gmail.com wrote: Hi, I need to add a text string to a raster layer (to report a disclaimer). Is this possible ? I try this:   LAYER     NAME idraster    

Re: [mapserver-users] Image compression/performance

2012-03-22 Thread thomas bonfort
On Thu, Mar 22, 2012 at 09:03, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Stephen Woodbridge wrote: On 3/21/2012 11:18 PM, Ian Walberg wrote: Folks, We are using tif format images and getting good map rendering performance. However the image file size could do with reducing a

Re: [mapserver-users] MapCache cgi

2012-03-23 Thread thomas bonfort
This means there was an error when requesting/setting a metatile, the message you are seeing was created by a parrallel proecess that was waiting for another process to create the metatile. Look in your server logs, the error created by the actual metatile rendering will appear there. -- thomas

Re: [mapserver-users] Avoid labels over particular lines

2012-03-23 Thread thomas bonfort
On Fri, Mar 23, 2012 at 17:24, Lime, Steve D (DNR) steve.l...@state.mn.us wrote: Might the layer masking support described here http://mapserver.org/development/rfc/ms-rfc-79.html be relevant? One could create a mask around features you don’t want covered and reference that in the layers with

Re: [mapserver-users] MapServer CGI 5.6.6 and MapServer CGI 6.0.2 image quality varies.

2012-04-01 Thread thomas bonfort
how are you requesting the image ? you can add this to your mapfile: outputformat name aggjpeg driver AGG/JPEG mimetype image/jpeg imagemode rgb end On Mon, Apr 2, 2012 at 06:47, Chandrakant Dinni chandrakant.di...@edurite.com wrote: Hi, The attached images are from same map files

Re: [mapserver-users] Validation error (but working!)

2012-04-02 Thread thomas bonfort
Ben, if the validation fails, the default_xxx parameter is used instead, which is why no further errors are reported. what are you sending in your url for CCODE ? -- thomas On Mon, Apr 2, 2012 at 08:39, Ben Madin li...@remoteinformation.com.au wrote: G'day all, I've noticed that when I turn

[mapserver-users] [Announce] Change of source code repository and issue tracker

2012-04-07 Thread thomas bonfort
The MapServer team is excited to announce it is migrating its source code repository and bug tracker to github. We believe this move will allow us to work more efficiently on new features and bugfixes, while facilitating exterior contributions. We now have 4 separate repositories for our

Re: [mapserver-users] Turn off anti-alias Mapserver 6.0

2012-04-12 Thread thomas bonfort
On Thu, Apr 12, 2012 at 06:20, Thomas Joseph thomas.jos...@awtwater.com wrote: We have recently upgraded from Mapserver 5.7 to 6.0 and although the AGG anti-alias lines look great the output image size has increased significantly from the previous rendering without anti-alias.  I was just

Re: [mapserver-users] Turn off anti-alias Mapserver 6.0

2012-04-12 Thread thomas bonfort
-Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Thursday, 12 April 2012 7:59 p.m. To: Thomas Joseph Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Turn off anti-alias Mapserver 6.0 On Thu, Apr 12, 2012 at 06:20, Thomas Joseph

Re: [mapserver-users] On-the-fly vertical assembly of disparate tilesets using MapCache?

2012-04-21 Thread thomas bonfort
On Fri, Apr 20, 2012 at 16:02, John Taranu jtar...@firstbasesolutions.com wrote: Hello, Is there any recommended way to do multi-tileset vertical assembly in MapCache? I have the following setup: There are a number (over 30) fully seeded tile caches covering adjacent but spatially

Re: [mapserver-users] Re: pdf vector output in 6.02

2012-04-23 Thread thomas bonfort
Can you provide a backtrace ? -- thomas On Mon, Apr 23, 2012 at 09:17, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, PDF output works for me on Windows (MS4W) but I seem to have problems with Linux and Mapserver 6.0.1 also. This one gives HTTP 500 Internal error message and on the

Re: [mapserver-users] Problem with gif lib when compiling mapserver 6.0.2

2012-04-23 Thread thomas bonfort
try with /usr/local alone -- thomas On Mon, Apr 23, 2012 at 16:05, melanie.poser-hartm...@muenchen.de wrote: Hello, When compiling mapserver 6.0.2 with --with-httpd=/usr/local/apache2/bin/httpd \ --with-fastcgi=/usr/local/fastcgi-2.4.0 \ --with-curl-config=/usr/local/bin/curl-config \

Re: [mapserver-users] Re: Problem with gif lib when compiling mapserver 6.0.2

2012-04-24 Thread thomas bonfort
Thank you for reporting back. What debian version are you running on, I can't find any reference to libungif in any of the recentish releases? -- thomas On Tue, Apr 24, 2012 at 11:03, melanie.poser-hartmann melanie.poser-hartm...@muenchen.de wrote: Hello, I found the answer. The

Re: [mapserver-users] mapcache: labels and symbols getting clipped at tile edges

2012-05-02 Thread thomas bonfort
the mapcache metabuffer setting *must always* match your mapserver labelcache_map_edge_buffer, is that the case ? On Wed, May 2, 2012 at 5:35 PM, Stephen Woodbridge wood...@swoodbridge.com wrote: Hi all, I have setup mapcache which is working great but I amd getting text labels and symbols

Re: [mapserver-users] polygon border artifacts

2012-05-04 Thread thomas bonfort
with a recentish version of mapserver, try setting PROCESSING APPROXIMATION_SCALE=FULL on your ocean layer, to avoid feature simplification (it will slow down the rendering if the resolution of your data is much greater than the resolution of the requested map). -- thomas On Fri, May 4, 2012 at

Re: [mapserver-users] Build error mapserver in shp2img - undefined reference

2012-05-10 Thread thomas bonfort
You're building with a custom libpng and the system libgd (linked to the system libpng),which is bad. try with --with-gd --with-png alone, after maybe apt-installing libpng-dev -- thomas On Thu, May 10, 2012 at 11:21 AM, Peter Maes thx...@gmail.com wrote: I'm getting this error: gcc -c -O2

Re: [mapserver-users] mapcache - problems on install

2012-05-10 Thread thomas bonfort
the instructions for running mapcache as an apache module are on the page you linked, more precisely: http://mapserver.org/trunk/mapcache/install.html#apache-module-specific-instructions -- thomas On Thu, May 10, 2012 at 12:33 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: Hi, I'm

Re: [mapserver-users] mapcache - working with different grids

2012-05-10 Thread thomas bonfort
Hi, On Wed, May 9, 2012 at 9:45 PM, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I started working with Mapcache.  I added a tileset that is in UTM 15 (26915) and it is working fine on the demo page http://localhost/mapcache/demo/wms.  However when I add the layer to ArcView, I get a

Re: [mapserver-users] Re: Mapserver + mapcache + Google Map

2012-05-10 Thread thomas bonfort
what requests are being sent out by mapcache to your wms server? can your wms server correctly create images in 900913 ? -- thomas On Thu, May 10, 2012 at 2:06 PM, mkrassovski krassovsk...@ornl.gov wrote: Jerl, It didn't help, for g/900913 still shows only a single dot. -- View this message

Re: [mapserver-users] mapcache - problems on install

2012-05-10 Thread thomas bonfort
/ service type=tms enabled=true/ service type=kml enabled=true/ service type=gmaps enabled=true/ service type=ve enabled=true/ service type=demo enabled=true/ errorsreport/errors lock_dir/tmp/lock_dir /mapcache El 10/05/12 12:46, thomas bonfort escribió: Sorry, pressed send too fast

Re: [mapserver-users] mapcache - problems on install

2012-05-10 Thread thomas bonfort
--with to enable it? is there any way to activate it? thanks El 10/05/12 14:14, thomas bonfort escribió: please keep replies on the mailing list. On Thu, May 10, 2012 at 2:07 PM, Helen San Segundo Navazo hsansegu...@meteo.cat  wrote: ok thanks, now seems that is really loaded the module. ([Thu

Re: [mapserver-users] polygon border artifacts

2012-05-10 Thread thomas bonfort
you can fiddle with gamma correction in mapserver trunk, c.f. https://twitter.com/#!/tbonfort/status/93284998249066496 OUTPUTFORMAT DRIVER AGG/PNG ... FORMATOPTION GAMMA=0.7 #valid from 0 to 1 END -- thomas On Fri, May 4, 2012 at 12:16 PM, Sven Geggus li...@fuchsschwanzdomain.de wrote:

[mapserver-users] Re: mapcache - working with different grids

2012-05-11 Thread thomas bonfort
reported that it was not even trying to request anything. Let me know if you have any thoughts as to why the WMS service isn’t working. Thanks for all your help Mark Volz GIS Specialist Lyon County, MN -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent

Re: [mapserver-users] mapcache - problems on install

2012-05-11 Thread thomas bonfort
/ service type=tms enabled=true/ service type=kml enabled=true/ service type=gmaps enabled=true/ service type=ve enabled=true/ service type=demo enabled=true/ errorsreport/errors lock_dir/tmp/lock_dir /mapcache Thanks again, Helen El 10/05/12 15:38, thomas bonfort escribió: given

Re: [mapserver-users] nginx/fastcgi/mapserver

2012-05-11 Thread thomas bonfort
You might want to have a look at https://github.com/mapserver/mapserver/issues/3099 tl;dr - mapserver fastcgi calls exit() when running in an error condition, which causes some fastcgi spawning managers to have issues - mapserver 6.2 (current git master) has been refactored to greatly minimize

Re: [mapserver-users] mapcache - problems on install

2012-05-11 Thread thomas bonfort
/12 10:07, thomas bonfort escribió: eDirectory  entry containing the base path to ma ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] nginx/fastcgi/mapserver

2012-05-11 Thread thomas bonfort
of service attacks on my mapserver. We're already using nginx for static file hosting. It would be great if i could get a production ready mapserver environment there as well. 2012/5/11 thomas bonfort thomas.bonf...@gmail.com You might want to have a look at https://github.com/mapserver/mapserver

Re: [mapserver-users] Re: Mapserver + mapcache + Google Map

2012-05-11 Thread thomas bonfort
actually, from your logs: [Mon May 07 13:54:32 2012] [error] [client 160.91.28.61] curl failed to request url

[mapserver-users] Re: mapcache - working with different grids

2012-05-11 Thread thomas bonfort
-Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Thursday, May 10, 2012 6:02 AM To: Mark Volz Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] mapcache - working with different grids Hi, On Wed, May 9, 2012 at 9:45 PM, Mark Volz markv

[mapserver-users] Re: mapcache - working with different grids

2012-05-11 Thread thomas bonfort
         gridLyonCC/grid      formatmyjpeg/format      metatile5 5/metatile      metabuffer10/metabuffer      expires3600/expires   /tileset Mark Volz GIS Specialist Lyon County, MN -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Friday, May 11

Re: [mapserver-users] Re: polygon border artifacts

2012-05-12 Thread thomas bonfort
On Fri, May 11, 2012 at 7:58 PM, Sven Geggus li...@fuchsschwanzdomain.de wrote: thomas bonfort thomas.bonf...@gmail.com wrote: you can fiddle with gamma correction in mapserver trunk, c.f. https://twitter.com/#!/tbonfort/status/93284998249066496 OUTPUTFORMAT DRIVER AGG/PNG

Re: [mapserver-users] Re: Mapserver + mapcache + Google Map

2012-05-14 Thread thomas bonfort
From the requests you first posted, your client is requesting tiles with a negative y, which is invalid. I'd investigate into that as there's no way you're going to get any coherent result while these kind of requests are coming in ( http://cdiac5.ornl.gov/cgi-bin/mapcache/gmaps/test@g/2/-1/2.png

Re: [mapserver-users] mapcache issues with ArcGIS Server. - WMS not working, WMST tiles not lining up, blue tint, projection question

2012-05-16 Thread thomas bonfort
Hi, On Wed, May 16, 2012 at 6:09 PM, Mark Volz markv...@co.lyon.mn.us wrote: Hello, I am trying to use ArcGIS as a client to connect to mapcache.  I am having the following issues. WMS is not working ArcGIS, removes the service portion of the request. QGIS (works) GET

Re: [mapserver-users] variable substitution

2012-05-17 Thread thomas bonfort
Either: - use relative paths - INCLUDE a mapfile snippet that contains only your SHAPEPATH - Use runtime substitutions, eg: DATA %basedir%/rasters/foo.tif (not recommended, unless you carefully validate the %basedir% substitution) - use sed when deploying: DATA %%BASEDIR%%/rasters/foo.tif

Re: [mapserver-users] mapcache_seed and DIM variables - order of folders created

2012-05-23 Thread thomas bonfort
No, it's not possible to do this at the moment. You can contact me directly if you would like a quote on how much it would cost to have this implemented. regards, thomas On Wed, May 23, 2012 at 1:58 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: hi , after some problems installing

Re: [mapserver-users] Postgres/Postgis additonal variable request

2012-05-23 Thread thomas bonfort
try this form: DATA the_geom from (select id,coords as the_geom, *all_other_attributes_used_in_layer* from %farbe% join table2 on foo=bar where blabla) as foo using unique id using srid=xxx On Wed, May 23, 2012 at 2:34 PM, Heiko Schroeter schro...@iup.physik.uni-bremen.de wrote: Hello, i need

Re: [mapserver-users] Re: label problem since MS6

2012-05-26 Thread thomas bonfort
FYI I've just closed this one... thanks for the patch On Thu, Sep 8, 2011 at 11:24 PM, Brad Posthumus posthum...@agr.gc.ca wrote: I logged a bug regarding the issue with PNGs. Oddly enough, when I switch it to GIF it appears to work normally for me, so I'm not sure what's happening in your

Re: [mapserver-users] Border style of polygon

2012-05-29 Thread thomas bonfort
line, but I would like to see underlying layer). On Tue, May 29, 2012 at 3:49 PM, thomas bonfort thomas.bonf...@gmail.com mailto:thomas.bonf...@gmail.com wrote:    something like this should work, with no symbol    style    outlinecolor 255 0 0    width 3    end    style    outlinecolor

Re: [mapserver-users] MapCache - A way to reduce BerkeleyDB Cache size ?

2012-05-29 Thread thomas bonfort
Salut Ludovic, hi Andrew, I've investigated a bit more on the disk space issue with berkeley db backends, and here are some of my findings. To summarize, the space occupancy/efficiency is closely tied to the size of the images stored in the cache, and the configured pagesize of the bdb backend.

Re: [mapserver-users] MapCache - A way to reduce BerkeleyDB Cache size ?

2012-05-29 Thread thomas bonfort
For reference, when the disk cache has symlinking enabled: case 1: 96M case 2: 147M On Tue, May 29, 2012 at 1:06 PM, thomas bonfort thomas.bonf...@gmail.com wrote: Salut Ludovic, hi Andrew, I've investigated a bit more on the disk space issue with berkeley db backends, and here are some

Re: [mapserver-users] Border style of polygon

2012-05-29 Thread thomas bonfort
in docs. On Tue, May 29, 2012 at 4:09 PM, thomas bonfort thomas.bonf...@gmail.com wrote: No, this is currently not possible. http://mapserver.org/fr/development/rfc/ms-rfc-72.html addresses your issue, with that you could do: style   outlinecolor 255 0 0   geomtransform (buffer([shape

Re: [mapserver-users] MapCache - A way to reduce BerkeleyDB Cache size ?

2012-05-30 Thread thomas bonfort
I did not do any extensive testing of the performance overhead induced by the change in cache size. A very unscientific quick test showed that with 1k pages the bdb cache was marginally slower than the disk cache, but the difference wasn't significant enough to be able to come up with any

Re: [mapserver-users] 6.0.2 International Dateline Layer with HATCHED Symbol Causes Hanging Processes

2012-06-11 Thread thomas bonfort
yup, definitely, please provide a testcase where this can be reproduced. -- thomas On Fri, Jun 8, 2012 at 3:12 PM, Lime, Steve D (DNR) steve.l...@state.mn.us wrote: I agree, please create a ticket along with a simple test case. -Steve From:

Re: [mapserver-users] [mapserver-dev] Maps for 16 bit displays

2012-06-11 Thread thomas bonfort
Ian, I don't believe it is currently possible to render 16bit images. However, I'm pretty certain PNG does not support 565 encoding, and couldn't find any reference as to whether jpeg can either. Unless you are accessing the image bytes directly from the mapserver library (which I suspect you are

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
you for all your help! Mark Volz GIS Specialist -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Monday, June 11, 2012 9:47 AM To: Mark Volz Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] mapcache - transparency, surrounding area

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
Mark Volz GIS Specialist -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Tuesday, June 12, 2012 5:27 AM To: Mark Volz Cc: MapserverList OSGEO Subject: Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling

Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink tiles)

2012-06-12 Thread thomas bonfort
Specialist -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Tuesday, June 12, 2012 11:34 AM To: Mark Volz Cc: MapserverList OSGEO Subject: Re: [mapserver-users] mapcache - transparency, surrounding area color, performance when assembling images (pink

Re: [mapserver-users] accessing different band values in the same layer

2012-06-14 Thread thomas bonfort
Helen, have you had a look at http://mapserver.org/trunk/input/vector/vector_field.html (to be released in 6.2, but should be functional already) -- thomas On Thu, Jun 14, 2012 at 3:21 PM, Helen San Segundo Navazo hsansegu...@meteo.cat wrote: ok, thanks Mike. A solution could be to transform

Re: [mapserver-users] mapcache - is it possible to access different styles defined in the mapfile

2012-06-29 Thread thomas bonfort
The WMTS service uses a hardcoded default as the expected style. You can open a enhancement issue in the tracker [1] so that such a style can be forwarded to the WMS source. regards, thomas [1] https://github.com/mapserver/mapcache/issues On Fri, Jun 29, 2012 at 12:18 PM, Helen San Segundo

[mapserver-users] MapServer 6.2.0-beta1 release - Please test!

2012-06-29 Thread thomas bonfort
The MapServer Team is pleased to announce the release of MapServer 6.2.0-beta1. This is the first beta on our way to a final 6.2 release which is planned here: https://github.com/mapserver/mapserver/wiki/MapServer-6.2-Release-Plan After the 6.0 release which introduced important changes in key

Re: [mapserver-users] Pie chart does not show

2012-07-03 Thread thomas bonfort
Hi, Not sure what your're trying to obtain, or how to write mssql queries, but charts work when your data query returns rows that are of the form: [geometry,attribute1,attribute2,attribute3,...] each pie slice is defined with a mapserver CLASS: CLASS NAME attribute1 STYLE SIZE

Re: [mapserver-users] msLoadMSRasterBufferFromFile(): General error message. unable to open file

2012-07-03 Thread thomas bonfort
You're getting this error because the 7383 symbol was not found in the symbolset. I would first check you are actually loading the symbolset that contains the definition for 7383, or even inline the 7383 symbol in your mapfile. If that still fails, try renaming your symbol to something that begins

Re: [mapserver-users] Mapserver docs and i18n

2012-07-04 Thread thomas bonfort
Hi Thomas, I'm all for simplifying the translation workflow. I tend to dislike the current one we have setup because it is difficult for translators to keep track of what has been added/modified in the english version, resulting in outdated translated docs which in my opinion is worse than having

Re: [mapserver-users] php-mapscript problem and symbolname trying to open a file?

2012-07-06 Thread thomas bonfort
c.f. http://osgeo-org.1560.n6.nabble.com/msLoadMSRasterBufferFromFile-General-error-message-unable-to-open-file-tc4984932.html -- thomas On Fri, Jul 6, 2012 at 10:33 AM, Ben Madin li...@remoteinformation.com.au wrote: G'day all, I'm not sure if this is two problems, or the second problem is

Re: [mapserver-users] Specify resolution (or pixel size) in WMS requests

2012-07-18 Thread thomas bonfort
interested to solve this? Is there a ticket already? Astrid thomas bonfort schrieb: cgi controls should do the trick? http://../?SERVICE=WMSMAP.RESOLUTION=144MAP.DEFRESOLUTION=96 -- thomas On Mon, Dec 5, 2011 at 17:43, Peter Hopfgartner peter.hopfgart...@r3-gis.com wrote: Basically

Re: [mapserver-users] Resolution of PDF Output

2012-07-24 Thread thomas bonfort
The pdf is problably generated at 72 dpi, i.e. approx 28 pixels/cm 1000 pixels / (28 pixels/cm) = 35.71 cm, i.e. with rounding occuring close to your 352 mm. reagrds, thomas On Tue, Jul 24, 2012 at 12:06 PM, Sven Geggus li...@fuchsschwanzdomain.de wrote: Hello, for PDF generation I would

[mapserver-users] MapServer 6.2.0 beta2 release

2012-08-01 Thread thomas bonfort
The MapServer Team is pleased to announce the release of MapServer 6.2.0 beta2. This is the second beta on our way to a final 6.2 release, and contains several fixes that we encourage you to test. Our initially planned date of a release beginning of August has slipped a bit, the updated release

Re: [mapserver-users] Mapserver 6: Oracle layerObj.queryByIndex

2012-08-02 Thread thomas bonfort
Hi, Issues https://github.com/mapserver/mapserver/issues/4238 and https://github.com/mapserver/mapserver/issues/4076 seem closely related. I'm not a query expert, but I do know that part of the code has been quite heavily worked on for 6.2, any chance you could try with that version and confirm if

Re: [mapserver-users] Polygon Fill with text in MapServer 6.0.3 [SEC=UNCLASSIFIED]

2012-08-02 Thread thomas bonfort
Hi, Using multiple characters in trutype symbols was a grey area in pre-6.0/5.6 versions of mapserver: it worked for some drivers (Gd) but wasn't documented nor was it even really intended. I do not know of a setting that would allow you to fill a polygon with text, aside from creating a pixmap

Re: [mapserver-users] MapServer 6.2.0 beta2 release

2012-08-07 Thread thomas bonfort
. mapserv-6.0.gif is the desired rendering, mapserv-6.2.gif is the rendering of the same map file with MapServer 6.2 beta2. Any suggestions as to what I'm doing wrong? Thanks, Rich On Wed, Aug 1, 2012 at 3:51 AM, thomas bonfort thomas.bonf...@gmail.com wrote: The MapServer Team is pleased

Re: [mapserver-users] MapCache configuration issue

2012-08-10 Thread thomas bonfort
Hi, you're missing the closing / in default_format = /default_format -- thomas On Fri, Aug 10, 2012 at 8:44 PM, Michael Smith micha...@abag.ca.gov wrote: I have MapServer installed and configured to act as a WMS and it is working fine. The problem I am having comes when I try to enable

Re: [mapserver-users] postgis layer - postgresql table join eror

2012-08-13 Thread thomas bonfort
You're missing a FROM clause, probably something like: DATA 'the_geom FROM (SELECT Pipeline.the_geom AS the_geom, Pipeline.gid AS gid, Pipeline.status AS status, Kondur_block.id_wk AS id_wk FROM Pipeline LEFT JOIN Kondur_block ON Pipeline.id_wk = Kondur_block.id_wk) as subquery USING UNIQUE

Re: [mapserver-users] WCS Geotiff output issue

2012-08-21 Thread thomas bonfort
it be done on a 64-bits Windows? Should I use the current dev 6.2 branch (with your fix, of course) or are other bugs gonna get in my way? This should be an interesting adventure. Yours sincerely, Guillaume 2012/8/20 thomas bonfort thomas.bonf...@gmail.com Guillaume, I have added a fix that I

Re: [mapserver-users] Passing an additional parameter via URL for WMS request - doesn't work anymore with new mapserver?

2012-08-21 Thread thomas bonfort
http://mapserver.org/cgi/runsub.html#validation On Tue, Aug 21, 2012 at 4:07 PM, Stefan Schwarzer stefan.schwar...@unep.org wrote: Hi there, I used to pass a parameter in a WMS request in order to specify which country should be highlighted. The MAPFILE would read that and, via an

Re: [mapserver-users] Passing an additional parameter via URL for WMS request - doesn't work anymore with new mapserver?

2012-08-21 Thread thomas bonfort
You need to validate the substituted variable: LAYER VALIDATION id_country ^[0-9]+$ END DATA ... END On Tue, Aug 21, 2012 at 4:41 PM, Stefan Schwarzer stefan.schwar...@unep.org wrote: Thanks so much for the quick responses! If I understand it correctly, I need to specify

Re: [mapserver-users] validation block

2012-08-21 Thread thomas bonfort
On Tue, Aug 21, 2012 at 5:38 PM, Marc-André Trottier marcandre_trott...@hotmail.com wrote: there is my layer's definition : LAYER VALIDATION ID_BASSIN '[[a-zA-Z0-9]{0,10},??]*' #ID_REG '[[a-zA-Z0-9]{0,10},??]*' END INCLUDE

Re: [mapserver-users] Different image for each point

2012-08-23 Thread thomas bonfort
I was just replying along the same lines... :) On Thu, Aug 23, 2012 at 8:21 PM, Stephen Woodbridge wood...@swoodbridge.com wrote: On 8/23/2012 1:31 PM, Ian Walberg wrote: Hello folks, We need to be able to display a different small image from each point in a data set, say along the lines of

<    1   2   3   4   5   6   7   8   >