Re: [mapserver-users] drawing multiple layers from postgis

2013-08-09 Thread thomas bonfort
] On Behalf Of thomas bonfort Sent: Friday, August 09, 2013 10:58 AM To: Michael McInnis Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] drawing multiple layers from postgis third time's a charm :) LAYER NAME business_rd1 CONNECTIONTYPE POSTGIS CONNECTION host=localhost

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-09 Thread thomas bonfort
Joseph, are the images you are posting a direct result of a getmap request (i.e. with width=1007height=454), or are they a screenshot of a javascript client that is doing tiled requests to mapserver? If those are tiled requests, are your layer/class minscale/maxscale settings set to the exact

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-10 Thread thomas bonfort
- From: thomas bonfort thomas.bonf...@gmail.com To: Joseph Marlin jmar...@saucontech.com Cc: MapserverList OSGEO mapserver-users@lists.osgeo.org Sent: Friday, August 9, 2013 1:54:41 PM Subject: Re: [mapserver-users] The Case of the Disappearing Roads Joseph, are the images you are posting

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
try defining the points of your vector symbol such that min(x)=min(y)=0 On 11 August 2013 10:30, Andrea Peri aperi2...@gmail.com wrote: Hi, I'm having trouble try.ing use the anchorpoint with a vector symbol. Is this working with vectors ? This is what I'm try to do: SYMBOL NAME

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
comment the perpendicul segment, the result is a red line exactly on the outline. I show this in the img2 attacched. So mapserver seem move the symbol when there is a perpendicular segment. Is this a bug or I don't understand how work the symbols ? Thx, Andrea. 2013/8/11 thomas bonfort

Re: [mapserver-users] vector Symbol and anchorpoint

2013-08-11 Thread thomas bonfort
is bigger and the polygon is not all in the screen. The problem is that the symbol don't start exactly from the outpline but a little before.as it was moved. Andrea. 2013/8/11 thomas bonfort thomas.bonf...@gmail.com As you're not showing what you would like to obtain, nor the mapfile you

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread thomas bonfort
! Let me know if you need further info. Joseph - Original Message - From: thomas bonfort thomas.bonf...@gmail.com To: Joseph Marlin jmar...@saucontech.com Cc: MapserverList OSGEO mapserver-users@lists.osgeo.org Sent: Saturday, August 10, 2013 3:18:03 AM Subject: Re: [mapserver-users

Re: [mapserver-users] The Case of the Disappearing Roads

2013-08-13 Thread thomas bonfort
I just had a look, and committed a fix that works for me in https://github.com/mapserver/mapserver/issues/4259 (will be in 6.2.2 and 6.4.0) -- thomas On 13 August 2013 10:49, thomas bonfort thomas.bonf...@gmail.com wrote: Joseph, This does indead sound like a bug in tile4ms, and a quick test

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-13 Thread thomas bonfort
there's something strange in your error message... the singleSidedBuffer stuff is in GEOS, and should have nothing to do in msOGRFileNextShape. post your whole mapfile layer. On 13 August 2013 17:42, Andrea Peri aperi2...@gmail.com wrote: Hi, I tested trasforming the multilinestring dataset in

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-13 Thread thomas bonfort
END END 2013/8/13 thomas bonfort thomas.bonf...@gmail.com there's something strange in your error message... the singleSidedBuffer stuff is in GEOS, and should have nothing to do in msOGRFileNextShape. post your whole mapfile layer. On 13 August 2013 17:42, Andrea Peri aperi2

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-13 Thread thomas bonfort
only one lable is active at one scale level. Is this incompatible with follow ? 2013/8/13 thomas bonfort thomas.bonf...@gmail.com why the double label? they seem to be the same, but in any case multiple labels are not supported for FOLLOW. On 13 August 2013 18:08, Andrea Peri aperi2

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-14 Thread thomas bonfort
using two classes. Andrea. 2013/8/13 thomas bonfort thomas.bonf...@gmail.com yes, that's incompatible. use multiple scale-dependant classes for now On 13 August 2013 18:26, Andrea Peri aperi2...@gmail.com wrote: The two label are at different max/min scaledenominator. The goal is to have

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-14 Thread thomas bonfort
with an offset the error trigger immediatly when the box clip will create a multilinestring. However removing the OFFSET setting the error don't trigger. please notice I'm using spatialite 4.1.1 and gdal 1.10. Regards, Andrea. 2013/8/14 thomas bonfort thomas.bonf...@gmail.com Andrea, can

Re: [mapserver-users] Angle Follow will accept only simple linestring don't MultiLinestring ?

2013-08-14 Thread thomas bonfort
POSITION auto PRIORITY 10 MAXOVERLAPANGLE 180.0 BUFFER 1 FORCE OFF PARTIALS FALSE MINDISTANCE 200 END END #CLASS END 2013/8/14 thomas bonfort thomas.bonf...@gmail.com what happens if you use an inline wkt feature of type

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

2013-08-14 Thread thomas bonfort
The MapServer Team is pleased to announce the release of MapServer 6.4.0-beta1. This is the first beta on our way to a final 6.4 release, that we are targeting for mid-September before FOSS4G. This new release introduces a number of new functionalities and a major change to the build system,

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

2013-08-14 Thread thomas bonfort
) regards, thomas On 14 August 2013 16:28, thomas bonfort thomas.bonf...@gmail.com wrote: The MapServer Team is pleased to announce the release of MapServer 6.4.0-beta1. This is the first beta on our way to a final 6.4 release, that we are targeting for mid-September before FOSS4G. This new

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-20 Thread thomas bonfort
try setting your VALIDATIONs to '.*' to see if your problem lies in your regex or elsewhere. For 6.3/4 You can also remove your xxx_validation_pattern metadata entries, and should move the default_xxx ones into the VALIDATION block. -- thomas On 21 August 2013 01:26, Peter Freimuth

[mapserver-users] MapServer 6.4 beta2 released

2013-08-21 Thread thomas bonfort
The MapServer Team is pleased to announce the release of MapServer 6.4.0 beta2. This is the second beta on our way to a final 6.4 release, and contains several fixes that we encourage you to test. Due to a conflict between MapServer's and OGR's usage of the GEOS library, we now require that at

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-22 Thread thomas bonfort
...@gmail.com] puolesta Lähetetty: 21. elokuuta 2013 20:43 Vastaanottaja: thomas bonfort; mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] cgi variable substituition in DATA statement Hi Thomas, thanks for the hints. I compiled 6.4beta2 this morning and applied the proposed changes

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-23 Thread thomas bonfort
Freimuth On 2013-08-22, at 3:17 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Peter, can you email me your full mapfile, with the snippets you provided I can't see anything wrong and would therefore need to see any side-effects from the rest of the mapfile, and/or run it through

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-26 Thread thomas bonfort
this as fcgi to make use of keeping the db connection and GDAL_CACHEMAX i get an error that map param is not set. Which mechanismn should be used in context of fcgi to make the map param in the URL unnecessary? Thanks, Peter On 23/08/2013 12:32 AM, thomas bonfort wrote: yes, that's

Re: [mapserver-users] cgi variable substituition in DATA statement

2013-08-27 Thread thomas bonfort
of keeping the db connection and GDAL_CACHEMAX i get an error that map param is not set. Which mechanismn should be used in context of fcgi to make the map param in the URL unnecessary? Thanks, Peter On 23/08/2013 12:32 AM, thomas bonfort wrote: yes, that's it. the substitutions only work

Re: [mapserver-users] MapServer 6.4 beta2 released

2013-08-27 Thread thomas bonfort
version would be nice to have when the time comes. -Jukka Rahkonen- thomas bonfort wrote: The MapServer Team is pleased to announce the release of MapServer 6.4.0 beta2. This is the second beta on our way to a final 6.4 release, and contains several fixes that we encourage you to test. Due

Re: [mapserver-users] Min/max pixelsize vs. min/max scaledenom

2013-08-27 Thread thomas bonfort
Jukka, I would say that Frank also raised this issue on the mapserver list [1]. Am I mistaken or is your request identical? regards, thomas [1] http://osgeo-org.1560.x6.nabble.com/Scales-and-raster-maps-td5071674.html On 27 August 2013 12:49, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi,

Re: [mapserver-users] overlaysymbol depreciated?

2013-08-28 Thread thomas bonfort
They've been deprecated ages ago... not sure when and if they were actually removed completely... CLASS NAME 'Railroad' STYLE COLOR 0 0 0 WIDTH 1 END STYLE SYMBOL 'railway' COLOR 0 0 0 SIZE 7 GAP -25

Re: [mapserver-users] Orientation of vector symbols on a LINE

2013-08-29 Thread thomas bonfort
Given that there's alot of undefined behavior with vector symbols, the documentation for anchorpoint is pretty clear about what is supported: quote ANCHORPOINT can be used with SYMBOLs of TYPE ellipse, pixmap, svg, truetype and vector. To ensure proper behaviour for vector symbols, the left and

Re: [mapserver-users] Expression segmentation fault

2013-09-04 Thread thomas bonfort
Frank, please supply a backtrace of the crash (`bt` in gdb once it has halted at the segfault) -- thomas On Wed, Sep 4, 2013 at 2:25 PM, Frank Broniewski b...@metrico.lu wrote: Hi, I just updated my mapserver installation to the latest version (6.2.1). I'm running FreeBSD 9.1 and I'm getting

Re: [mapserver-users] Expression segmentation fault

2013-09-05 Thread thomas bonfort
after re-running configure) -- thomas On Wed, Sep 4, 2013 at 2:39 PM, Frank Broniewski b...@metrico.lu wrote: Am 2013-09-04 14:33, schrieb thomas bonfort: Frank, please supply a backtrace of the crash (`bt` in gdb once it has halted at the segfault) -- thomas On Wed, Sep 4, 2013 at 2:25 PM

Re: [mapserver-users] Expression segmentation fault

2013-09-06 Thread thomas bonfort
apparent difference is of course the geometry type: planet_osm_line is linestring, planet_osm_polygon is geometry ... I will investigate the attributes further tomorrow, but now I need to earn some money. It's always the deadlines ... Frank Am 2013-09-05 09:47, schrieb thomas bonfort

Re: [mapserver-users] Expression segmentation fault

2013-09-06 Thread thomas bonfort
difference is of course the geometry type: planet_osm_line is linestring, planet_osm_polygon is geometry ... I will investigate the attributes further tomorrow, but now I need to earn some money. It's always the deadlines ... Frank Am 2013-09-05 09:47, schrieb thomas bonfort: Frank

[mapserver-users] MapServer 6.4 Release Candidate released

2013-09-06 Thread thomas bonfort
The MapServer Team is pleased to announce the release of MapServer 6.4.0 RC1. This is a release candiate for the 6.4 release, and contains only minor fixes compared to beta2. We currently have no blocking issues, so depending on this feedback phase our next release will hopefully be a final

Re: [mapserver-users] Expression segmentation fault

2013-09-06 Thread thomas bonfort
is of course the geometry type: planet_osm_line is linestring, planet_osm_polygon is geometry ... I will investigate the attributes further tomorrow, but now I need to earn some money. It's always the deadlines ... Frank Am 2013-09-05 09:47, schrieb thomas bonfort: Frank

Re: [mapserver-users] Expression segmentation fault

2013-09-06 Thread thomas bonfort
*shape) shape-numvalues = layer-numitems; msComputeBounds(shape); + } else { +shape-type = MS_SHAPE_NULL; } if( layer-debug 2 ) { char *tmp = msShapeToWKT(shape); On Fri, Sep 6, 2013 at 4:40 PM, thomas bonfort thomas.bonf...@gmail.com wrote: Frank, I'm able

Re: [mapserver-users] using MASK in context of WCS 1.0.0 GetCoverage

2013-09-09 Thread thomas bonfort
Peter, The masking is supposed to work with WCS with GDAL outputformats, as can be seen in our test suite: full: https://github.com/mapserver/msautotest/raw/master/wxs/expected/wcs_20_getcov_full.tif masked:

Re: [mapserver-users] mapcache kml--how to use?

2013-09-11 Thread thomas bonfort
Peter, The KML address to use would be http://mrdata.usgs.gov/mapcache/kml/s...@wgs84.kml However there seems to be something very wrong with your setup... Are you piggybacking mapcache onto itself, i.e. does your mapcache.xml point to wms sources who's url also starts with http://mrdata.usgs.gov

[mapserver-users] MapServer 6.4 Released

2013-09-17 Thread thomas bonfort
The MapServer team is pleased to announce the release of MapServer 6.4, along with the joint release of MapCache 1.2. Details of the new features, migration instructions, and download links can be found on the dedicated announcement page at http://www.mapserver.org/development/announce/6-4.html .

Re: [mapserver-users] MapServer 6.4 Released

2013-09-17 Thread thomas bonfort
nope, it just searches for libpq-fe.h and libpq.so, c.f. https://github.com/mapserver/mapserver/blob/master/cmake/FindPostgreSQL.cmake On Tue, Sep 17, 2013 at 9:07 PM, andy a...@squeakycode.net wrote: On 9/17/2013 2:05 PM, thomas bonfort wrote: On Tue, Sep 17, 2013 at 8:48 PM, andy

Re: [mapserver-users] MapServer 6.4 Released

2013-09-17 Thread thomas bonfort
patches/pull-requests welcome ;) On Tue, Sep 17, 2013 at 9:19 PM, andy a...@squeakycode.net wrote: On 9/17/2013 2:11 PM, thomas bonfort wrote: nope, it just searches for libpq-fe.h and libpq.so, c.f. https://github.com/mapserver/mapserver/blob/master/cmake/FindPostgreSQL.cmake On Tue, Sep

Re: [mapserver-users] MapServer 6.4 Released

2013-09-24 Thread thomas bonfort
CUSTOM_PERL_SITEARCH_DIR on the command line if you want to install somewhere else, correct? -- thomas On 17 September 2013 22:55, andy a...@squeakycode.net wrote: On 9/17/2013 3:15 PM, andy wrote: On 9/17/2013 9:09 AM, thomas bonfort wrote: The MapServer team is pleased to announce the release

Re: [mapserver-users] Pseudo-3D buildings

2013-09-25 Thread thomas bonfort
CLASS STYLE COLOR _building_clr OUTLINECOLOR _building_ol_clr WIDTH 1 GEOMTRANSFORM (buffer([shape],2)) END STYLE COLOR 255 0 0 OPACITY 25 END STYLE COLOR _building_clr OUTLINECOLOR

Re: [mapserver-users] Pseudo-3D buildings

2013-09-25 Thread thomas bonfort
. offset) is a relatively easy patch to implement Bobb -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Wednesday, September 25, 2013 8:22 AM To: Rahkonen Jukka Cc: Mapserver-Users

Re: [mapserver-users] harfbuzz dependency

2013-09-30 Thread thomas bonfort
Andrea, the harfbuzz dependency should be picked up automatically if it's installed in a default location (e.g. /usr/local). If you look at our automated builds, this is what is happening given the build platform has no packages for harfbuzz and we therefore compile/install it manually, c.f.

Re: [mapserver-users] Canot get around: WMS server error. Invalid layer(s) given in the LAYERS parameter.r

2013-10-01 Thread thomas bonfort
Paul, please do not create new email threads for issues you have already posted beforehand. If you had followed the instructions Jukka took the time to write down for you in that previous thread, you would have probably noticed that passing LAYER=TestMap is not valid for WMS, you should be using

Re: [mapserver-users] MapCache disk cache issue

2013-10-03 Thread thomas bonfort
post the full cache element. you should be using the layout=template attribute On 3 October 2013 10:10, Eric Sonaron eric.sona...@gmail.com wrote: Hi, I'm using MapCache with a disk cache configuring using a template similar than:

Re: [mapserver-users] Compiling mapserver 6.4

2013-10-03 Thread thomas bonfort
includes and client library # This module defines # POSTGRESQL_INCLUDE_DIR, where to find POSTGRESQL.h # POSTGRESQL_LIBRARY, the libraries needed to use POSTGRESQL. # POSTGRESQL_FOUND, If false, do not try to use PostgreSQL. # # Copyright (c) 2013 Thomas Bonfort # find_path

Re: [mapserver-users] Data for a layer based on zoom level

2013-10-04 Thread thomas bonfort
Jesper, I don't think there would be a reason for two layers group'd together to not receive the TIME substitution. If that is the case it is a bug that should be reported. As for your question, the 6.4 release got a SCALETOKEN enhancement that should do jus what you need:

Re: [mapserver-users] MapCache 1.2.0 and NGNIX 1.5 problem

2013-10-04 Thread thomas bonfort
You might want to check the spawn-fcgi logs. Note that there is no place in the mapcache code that emits a 403 error, i.e. that 403 is coming from something else than mapcache. -- thomas On 4 October 2013 09:38, Pascual Ayats, Victor victor.pasc...@icc.cat wrote: Hi users, I compiled and

[mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread thomas bonfort
Hi MapServer Users and Power-Users, As FrankW pointed out during our FOSS4G presentation, I would like to propose that we add stackexchange as an official support channel for MapServer. You can check and subscribe to mapserver related questions here:

Re: [mapserver-users] State of SLD/SE 1.1 implementations

2013-10-04 Thread thomas bonfort
Olivier, The commit log for SLD support might give you more insight: https://github.com/mapserver/mapserver/commits/master/mapogcsld.c . To be honest, SLD support in mapserver is more or less in limbo, due to there being no dedicated maintainer for it. I think there would be no objection to

Re: [mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread thomas bonfort
On Fri, Oct 4, 2013 at 12:32 PM, thomas bonfort thomas.bonf...@gmail.com mailto:thomas.bonf...@gmail.com wrote: Hi MapServer Users and Power-Users, As FrankW pointed out during our FOSS4G presentation, I would like to propose that we add stackexchange as an official support channel

Re: [mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread thomas bonfort
On Fri, Oct 4, 2013 at 12:32 PM, thomas bonfort thomas.bonf...@gmail.com wrote: Hi MapServer Users and Power-Users, As FrankW pointed out during our FOSS4G presentation, I would like to propose that we add stackexchange as an official support channel for MapServer. You can check and subscribe

Re: [mapserver-users] Adding stackexchange to our support channels

2013-10-04 Thread thomas bonfort
: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Friday, October 04, 2013 5:32 AM To: MapServer Dev Mailing List; MapserverList OSGEO Subject: [mapserver-users] Adding stackexchange to our support channels Hi MapServer

Re: [mapserver-users] MAXSCALEDENOM MAXSCALEDENOM removed from LABEL ?

2013-10-04 Thread thomas bonfort
Andrea, they should clearly still be present. are you sure? -- thomas On 4 October 2013 17:27, Andrea Peri aperi2...@gmail.com wrote: Hi, seem that in the last trunk the ELEMENT MAXSCALEDENOM and the MINSCALEDENOM are not available inside the LABEL element. Is ok this ? --

Re: [mapserver-users] MapCache 1.2.0 and NGNIX 1.5 problem

2013-10-09 Thread thomas bonfort
(or SCRIPT_FILENAME) set and is the script executable? and there's not a clean response or solution. So if you have any clue or idea to continue move forward I'll be very grateful. Thanks in advance Victor De: thomas bonfort [thomas.bonf...@gmail.com

Re: [mapserver-users] Content Dependent Legend Responses

2013-10-10 Thread thomas bonfort
Pedro, On 9 October 2013 12:08, Pedro Costa pedrocostaa...@sapo.pt wrote: Hi guys, I see this new feature of mapserver: http://mapserver.org/development/rfc/ms-rfc-101.html Its great, congratulations to people envolved and to local government of Netherlands for funding this. I have

Re: [mapserver-users] JPEGSetupDecode: Assertion failed

2013-10-11 Thread thomas bonfort
Rich, I believe this is gdal related, not mapserver. regards, thomas On 11 October 2013 03:25, Richard Greenwood richard.greenw...@gmail.com wrote: I think I've botched up my linking on a MapServer 6.2 build but I'm not knowledgeable enough to see what I've done wrong. On Ubuntu 12.04 I built

Re: [mapserver-users] font OUTLINE not working for all fonts in 6.2.0

2013-10-18 Thread thomas bonfort
Charlton, I was going to reply that the agg font outliner does not play well with glyphs that contain invalid glyphs (e.g self-intersections, duplicate control-points, etc...). However I've tested that glyph on a simple test mapfile and the outlining works flawlessly (c.f. attached image). I did

Re: [mapserver-users] The alphacolor setting

2013-10-18 Thread thomas bonfort
Andrea, I believe it was some kind of work in progress and/or private hack to support color alpha values in the parser, to be able to use COLOR r g b a instead of COLOR r g b I would not recommend using this hack, if you need to set an opacity for a specific color, use the hexadecimal syntax:

Re: [mapserver-users] Legend gets cut off at the bottom

2013-10-23 Thread thomas bonfort
please open a bug report, and include the mapserver version you are using and a self-contained mapfile that produces that output. https://github.com/mapserver/mapserver/issues cheers, thomas On 23 October 2013 14:49, Stefan Schwarzer stefan.schwar...@unep.org wrote: Hi there, I am wondering

Re: [mapserver-users] Using MASK to obscure areas

2013-10-28 Thread thomas bonfort
Fabian, For now you should invert your masking features, which is something you can probably do rather easily with a few lines of geos code in your python scripts. To my knowledge, there is no such thing as being able to mask out a pre-exisiting map state, but this is something that would be

Re: [mapserver-users] Perpendicular offset different in Mapfile and SLD

2013-10-28 Thread thomas bonfort
Gertjan, I've opened a pull-request for this issue at https://github.com/mapserver/mapserver/pull/4801 . Could you please comment in that issue if the fix is correct? -- thomas On 28 October 2013 13:43, Gertjan van Oosten gert...@west.nl wrote: Hi all, I've noticed that there's an

Re: [mapserver-users] MapServer 6.4 Released

2013-10-29 Thread thomas bonfort
James, Tamas provides windows builds here: http://www.gisinternals.com/sdk/ regards, thomas On 29 October 2013 04:56, James_in_Utah james.ev...@hill.af.mil wrote: So, are there binaries for Windows available yet? Thanks, James -- View this message in context:

Re: [mapserver-users] MapServer 6.4 Released

2013-10-29 Thread thomas bonfort
Not that I know of, unfortunately... On 29 October 2013 12:29, James_in_Utah james.ev...@hill.af.mil wrote: Thanks! Do you know if there is also a build site for MapCache? James -- View this message in context:

Re: [mapserver-users] MapCache and a transparent layer

2013-11-03 Thread thomas bonfort
James, If you're accessing mapcache through untiled WMS calls (which is probably the case), then the format used by mapcache for returning images is defined in the wms service block (https://github.com/mapserver/mapcache/blob/branch-1-2/mapcache.xml.sample#L819 ,

Re: [mapserver-users] Using a group layer as a mask layer

2013-11-03 Thread thomas bonfort
Tom, Mask layers can only reference layers by name, not by group. You might want to open an issue for this so this doesn't get forgotten, and/or contact me directly if this is a functionality you wanted to fund. cheers, thomas On 1 November 2013 15:53, tellett thomas.ell...@statkart.no wrote:

Re: [mapserver-users] mapcache compression

2013-11-04 Thread thomas bonfort
not sure if that's what you mean, but the example PNG_FAST (https://github.com/mapserver/mapcache/blob/branch-1-2/mapcache.xml.sample#L448) format will apply minimal zlib png compression. -- thomas On 4 November 2013 14:22, stephane stephane@msp.gouv.qc.ca wrote: Hi all, is there a way to

Re: [mapserver-users] mapcache compression

2013-11-04 Thread thomas bonfort
, thomas bonfort thomas.bonf...@gmail.com wrote: not sure if that's what you mean, but the example PNG_FAST (https://github.com/mapserver/mapcache/blob/branch-1-2/mapcache.xml.sample#L448) format will apply minimal zlib png compression. -- thomas On 4 November 2013 14:22, stephane stephane

Re: [mapserver-users] Mapcache error proxy curl with external WMS

2013-11-12 Thread thomas bonfort
The osgeo vmap wms service seems to be down for the time being, so with or without a proxy you won't be able to get anything other than an error. cheers, thomas On 12 November 2013 18:35, samuelm...@gmail.com samuelm...@gmail.com wrote: Hello, I get errors when trying to connect to a WMS

Re: [mapserver-users] Mapcache: Multiple WMS url's in source

2013-11-14 Thread thomas bonfort
Hi Erick, This isn't implemented for mapcache. If you need this, you have two options: - put a load balancer in front of your wms instances, and point mapcache to the load balancer - implement and submit, or contract/contact me to implement, that functionality in mapcache cheers, thomas On 14

Re: [mapserver-users] Mapcache error proxy curl with external WMS

2013-11-14 Thread thomas bonfort
, but it is possible that I can configure the Web Proxy in MapCache XML file? Regards, Samuel Mesa 2013/11/12 thomas bonfort thomas.bonf...@gmail.com The osgeo vmap wms service seems to be down for the time being, so with or without a proxy you won't be able to get anything other than an error

Re: [mapserver-users] MapCache GetMap request requires SERVICE=WMS

2013-11-20 Thread thomas bonfort
James, Please open an issue for this one. SERVICE=WMS is not mandatory for WMS 1.0.0, and mapcache does not obey that rule. A possible workaround for the time-being for you would be to switch your client to use WMS 1.1.0. regards, thomas On 19 November 2013 00:31, EVANS, JAMES R GS-13 USAF ACC

Re: [mapserver-users] FW: problem with legend images

2013-11-20 Thread thomas bonfort
Worth, this is happening because you are using scale-dependant rendering, but the legend requests are scale independant. You should be able to overcome this by adding your wanted scale to a SCALE=xxx url parameter, or you can rewrite your mapfile by playing with your layer's SYMBOLSCALEDENOM and

Re: [mapserver-users] pixmap legend

2013-11-20 Thread thomas bonfort
Fons, could you check wether the fix for #4808 I have just added to the 6.4 branch corrects your issue? -- thomas On 20 November 2013 11:06, thomas bonfort thomas.bonf...@gmail.com wrote: Fons, https://github.com/mapserver/mapserver/issues/4808 may be related and is on my todo list

Re: [mapserver-users] Help install MapCache

2013-11-28 Thread thomas bonfort
You can comment out the mapguide service from your mapcache.xml configuration file. Are you using an older version of mapcache? (the mapguide service was added in 1.2 iirc) regards, thomas On 28 November 2013 20:55, moisessalgado moises.pg...@gmail.com wrote: Hi everyone, I am newbie in

Re: [mapserver-users] postgis layer draws much slower than psql select statement

2013-12-03 Thread thomas bonfort
Paul, if you add a DEBUG 2 to your LAYER definition, you'll also get some debugging info as to what is happening inside mapserver's postgis driver, along with the query that is actually sent by mapserver to postgis (as mapserver adds some spatial filtering to account for the current map view).

Re: [mapserver-users] SVG text

2013-12-31 Thread thomas bonfort
Jefferson, There is currently no way to produce those elements with mapserver, and to my knowledge there are no plans to do so yet. A specific rendering driver would need to be implemented to achieve this, but has not yet been funded or proposed. regards, thomas On 24 December 2013 17:42,

Re: [mapserver-users] SVG text

2013-12-31 Thread thomas bonfort
that this would be a fairly simple task from a programming perspective? On Tue, Dec 31, 2013 at 7:14 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Jefferson, There is currently no way to produce those elements with mapserver, and to my knowledge there are no plans to do so yet. A specific

[mapserver-users] Announcing MapServer 6.4.1, 6.2.2, 6.0.4 and 5.6.9

2014-01-02 Thread thomas bonfort
The MapServer Team is pleased to announce the combined release of versions 6.4.1, 6.2.2, 6.0.4 and 5.6.9. This is a maintenance release that addresses a vulnerability discovered and fixed by Even Rouault leading to potential leakage of information when using TIME filtering on postgis layers. More

[mapserver-users] MapCache 1.2.1 released

2014-01-03 Thread thomas bonfort
The MapServer Team is pleased to announce version 1.2.1 of the MapCache tile caching module. This is a maintenance release that addresses an issue when requesting WMS maps that span beyond the configured cached extents [1], as well as other minor fixes can be found in the full changelog [2]. This

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread thomas bonfort
Astrid, What do you mean by the line is rolling , do you have example outputs? -- thomas On 07 Jan 2014, at 14:50, Astrid Emde astrid.e...@wheregroup.com wrote: Hello, with MapServer 5.x it was possible to set the KEYSIZE 40 1 to get straight lines as legend images. Now with

Re: [mapserver-users] How to deal with (visible) CONNECTION information in .MAP file for WMS purposes

2014-01-07 Thread thomas bonfort
Would there a possibility to juste use …map=my_map… and have the path then get added/understood by some internal configuration (mod_rewrite perhaps?)? Using that with an environment variable as others have pointed out, or other rewrite techniques from

Re: [mapserver-users] MapServer legend image as straight line not as a rolling line with MapServer 6.x

2014-01-07 Thread thomas bonfort
://picpaste.com/pics/MS_5_legend_straight_line_keysize_30_1-xpoVeAbb.1389103182.png rolling Line http://picpaste.com/pics/MS_6_legend_straight_line_keysize_30_1-WwGwsjcX.1389103196.png Astrid Am 07.01.2014 14:52, schrieb thomas bonfort: Astrid, What do you mean by the line is rolling , do you have

Re: [mapserver-users] Can MapCache address a Group on my Mapserver?

2014-01-09 Thread thomas . bonfort
MapCache doesn't actually interpret the layers from your source WMS server, it just splits the returned image data into tiles. So as Peter said, you can easily use multiple WMS layers in a single mapcache tileset by specifying multiple layers in your mapcache source, e.g.: source name=foobar

Re: [mapserver-users] Help with wcs output format

2014-01-17 Thread Thomas Bonfort
Where does your FORMAT=GTiff come from? Try with FORMAT=image/tiff or FORMAT=GEOTIFF_16 -- thomas On 17 janv. 2014, at 11:25, Andrea Peri aperi2...@gmail.com wrote: Hi, I'm try to set a wcs server using mapserver. using mapserver-trunk version. I try to set an output of kind FLOAT 32

Re: [mapserver-users] Mapcache dimensions and Apache module

2014-01-21 Thread Thomas Bonfort
Hi, The gmaps service does not support specifying dimensions. WMTS is iirc the only service that will support that with a x,y,z addressing scheme. The demo/wmts service should get you started as to which url templates you should be using. -- thomas On 21 janv. 2014, at 14:32, Fredéric Ameye

Re: [mapserver-users] How to throttle msProjectPoint() errors?

2014-01-22 Thread Thomas Bonfort
Jukka, please open an issue for this, I'll try to address it for 7.0 -- thomas On 22/01/2014 16:35, Rahkonen Jukka (Tike) wrote: Hi, I get quite a lot of errors into the error log probably because WMS users send requests which are partly or totally outside the area that is valid for the

Re: [mapserver-users] One table with multiple GeometryColumns

2014-01-27 Thread Thomas Bonfort
Namecryosphere_atlas_north/Name TitleAtlas of the Cryosphere: Northern Hemisphere/Title SRSEPSG:32661/SRSSRSEPSG:4326/SRSSRSEPSG:3408/SRSSRSEPSG:3410/SRSSRSEPSG:3411/SRSSRSEPSG:3413/SRSSRSEPSG:3571/SRS .. --Jiri On Mon, Jan 27, 2014 at 12:48 PM, Thomas Bonfort thomas.bonf...@gmail.comwrote

Re: [mapserver-users] Help with expression

2014-01-28 Thread Thomas Bonfort
The expression seems fine as is. You seem to be using the xml mapfile syntax, correct? Try posting the actual EXPRESSION written in the mapfile, maybe the xml to mapfile conversion is failing here. -- thomas On 27/01/2014 22:20, Chrishelring wrote: Hi, I´m struggeling with an expression,

Re: [mapserver-users] really huge maps / MAXSIZE

2014-01-28 Thread Thomas Bonfort
Lars, please have a look and try out https://github.com/mapserver/mapserver/pull/4796 - you can comment directly in that issue with your results. -- thomas On 28/01/2014 10:16, Lars Lingner wrote: Hello MapServer users, with the MAXSIZE parameter I can limit the output size. Does the value

Re: [mapserver-users] Installing mapserver 6.4 with cmake - custom library paths

2014-01-28 Thread Thomas Bonfort
https://github.com/mapserver/mapserver/blob/rel-6-4-1/INSTALL.CMAKE#L174 On 28/01/2014 11:03, Jiří Kadlec wrote: I'm trying to install the latest version of mapserver (6.4) on my Linux webhosting account (webfaction.com). The default libraries such as GDAL, PROJ and Libxml2 on the WebFaction's

Re: [mapserver-users] Help with expression

2014-01-28 Thread Thomas Bonfort
it's worth a try, however = is supposed to work for strings also. On 28/01/2014 11:26, kaipi wrote: I guess for string operations you need eq instead of =: expression ('[status]' eq 'K' AND [komnr] = 175 AND [datoforsl] = 0 AND [datovedt] = 0 AND [datoaflyst] = 0) Harry -- View

Re: [mapserver-users] Publishing International Characters (Hindi) labels in WMS

2014-01-29 Thread Thomas Bonfort
you need to use the development version of mapserver, with harfbuzz support compiled in. All the released 6.x.y versions don't have support for hindi shaping. -- thomas On 29/01/2014 11:48, davequery78 wrote: Sorry for another post with data creation method As I assume some confusion in

Re: [mapserver-users] Mapcache

2014-01-29 Thread Thomas Bonfort
Please be a bit more specific as to what aren't working means -- thomas On 29/01/2014 09:07, TDS wrote: Hello, I have some problems with MapCache projections and grids. First my XML: ?xml version=1.0 encoding=UTF-8? mapcache [...] grid name=EPSG25831 metadata

Re: [mapserver-users] Mapcache

2014-01-29 Thread Thomas Bonfort
? - 42 or RTFM. Am 29.01.2014 14:33, schrieb Thomas Bonfort: Please be a bit more specific as to what aren't working means -- thomas On 29/01/2014 09:07, TDS wrote: Hello, I have some problems with MapCache projections and grids. First my XML: ?xml version=1.0 encoding=UTF-8? mapcache

Re: [mapserver-users] Layer with over 6000 shapefiles

2014-01-29 Thread Thomas Bonfort
Hi, you should use ogrtindex for vector files, not gdaltindex -- thomas On 29/01/2014 17:32, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: Hi, Is there a way to add a layer that points to 6000 some odd shapefiles? I've created a set of contour files for the whole world, and when I had

Re: [mapserver-users] how to map_layer_class_name in 6.4.0?

2014-01-29 Thread thomas bonfort
Try changing/using the class title instead of the class name , I suspect the name properties are identifiers that cannot be updated by url. -- thomas On 29 January 2014 02:47, zach cruise zachc1...@gmail.com wrote: in the past, I could do a runtime substitution of a class name by passing it

Re: [mapserver-users] How to host a MapCache set as static images?

2014-01-30 Thread Thomas Bonfort
you can use a templated disk cache cache type=disk namexyz layout=template template/path/to/tiles/{tileset}/{grid}/{z}/{x}/{y}.png/template /cache note however that unless you are seeding small caches, you will very rapidly hit the maximum number of files allowed per directory by your

Re: [mapserver-users] [mapserver-dev] RFC-108 : heatmap generation

2014-01-31 Thread Thomas Bonfort
Rahkonen- Thomas Bonfort wrote: Devs, please have a look at RFC-108 [1]. The associated code and the RFC are still beta, so there's still plenty of room for modification or remarks. best regards, thomas [1] http://mapserver.org/development/rfc/ms

Re: [mapserver-users] How to make tilecache to mapcache?

2014-02-01 Thread thomas bonfort
Steve, mapcache uses nearly the same disk layout as tilecache, so you can reuse your existing cache directly. You'll have to symlink one directory, as only the leading path differs (once you hit the numeric z directories, the layout is identical) e.g. /mapcache/bathy_contours/WGS84 should point

Re: [mapserver-users] MapServer should not collapse geometries in same layer class

2014-02-07 Thread thomas bonfort
Gregor, It's not possible yet, but shouldn't be very difficult to add with a PROCESSING key to disable the behaviour. Definitely open an enhancement issue for this so we don't forget about it, and eventually contract a developper if you want to guarantee it's added to the coming version. regards,

<    1   2   3   4   5   6   7   8   >