Re: [mapserver-users] RE Can variables be used in "PROCESSING"?

2013-09-25 Thread thomas bonfort
Steve (or Jukka), If you want to make this happen, contract your favorite MapServer provider to add it in for you. best regards, thomas On 25 September 2013 18:07, wrote: > > I needed that for CHARTS as well > https://github.com/mapserver/mapserver/issues/4569 > > See the last comment: "substi

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. https:

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 LA

Re: [mapserver-users] MapCache disk cache issue

2013-10-03 Thread thomas bonfort
post the full element. you should be using the layout="template" attribute On 3 October 2013 10:10, Eric Sonaron wrote: > Hi, > I'm using MapCache with a disk cache configuring using a template similar > than: > > /tmp/template-test/{tileset}#{grid}#{dim}/{z}/{x}/{y}.{ext} > > Problem is on disc

Re: [mapserver-users] Compiling mapserver 6.4

2013-10-03 Thread thomas bonfort
.cmake > > Not all of us use Ubuntu :) > > # - Find PostgreSQL > # Find the PostgreSQL includes and client library > # This module defines > # POSTGRESQL_INCLUDE_DIR, where to find POSTGRESQL.h > # POSTGRESQL_LIBRARY, the libraries needed to use POSTGRESQL. >

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: http://mapserver.org/deve

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 wrote: > Hi users, > > > > I compiled and installed MapServer

[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: http://stackexchange.com/filters/90617/mapser

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 accepti

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

2013-10-04 Thread thomas bonfort
nformation and sample data and >> mapfiles for repeating the problem. >> >> -Jukka Rahkonen- >> >> Umberto Nicoletti wrote: >> >> +1 >> >> I already have a mapserver filter in place on gis.stackexchange.com >> <http://gis.stackexchan

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

2013-10-04 Thread thomas bonfort
> > I already have a mapserver filter in place on gis.stackexchange.com > > > > So should it be gis or all stackexchange sites? > > I am for gis, as it more relevant to the mapserver community and mapserver > is already listed in the ads: > > > > http://m

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

2013-10-04 Thread thomas bonfort
Original Message- > From: 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 st

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 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
= 0 > 22415 select(4, [3], NULL, NULL, {2, 0}) = 1 (in [3], left {1, 97}) > 22415 read(3, "", 1024) = 0 > 22415 close(3) = 0 > 22415 accept(0, > > > I Google the error "Cannot get script name, are DOCUME

Re: [mapserver-users] Content Dependent Legend Responses

2013-10-09 Thread thomas bonfort
Pedro, On 9 October 2013 12:08, Pedro Costa 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 upgraded two 6.4 becaus

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 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 > gdal 1.10 from source an

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 te

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: COLO

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 wrote: > Hi there, > > I am wondering why, as I would have sa

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 poss

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 wrote: > Hi all, > > I've noticed that there's an implementation differenc

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 wrote: > So, are there binaries for Windows available yet? > Thanks, > James > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Map

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 wrote: > Thanks! Do you know if there is also a build site for MapCache? > James > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/MapServer-6-4-Released-tp5078278p5086321.html > Sent f

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 , https://github.com/mapserver/mapcac

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 wrote: > Hi all, > > I was hoping s

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 wrote: > Hi all, > is there a way to completely disable the com

Re: [mapserver-users] mapcache compression

2013-11-04 Thread thomas bonfort
14:41, thomas bonfort 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,

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 wrote: > Hello, I get errors when trying to connect to a WMS through a proxy server. >

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 Nov

Re: [mapserver-users] How to build MapCache with MemCache support?

2013-11-14 Thread thomas bonfort
Jesper, You need an apr-util library compiled with memcache support. I'm not sure rhel has that by default, it seems to be packaged by third parties though: http://www.t2-project.org/packages/apr_memcache.html -- thomas On 14 November 2013 15:52, Kihlberg, Jesper wrote: > Hi list. > > > > We are

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

2013-11-14 Thread thomas bonfort
h know, but it is possible that I can configure the Web Proxy in > MapCache XML file? > > Regards, > > Samuel Mesa > > > 2013/11/12 thomas bonfort >> >> The osgeo vmap wms service seems to be down for the time being, so >> with or without a proxy you won'

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 84

Re: [mapserver-users] White background in MapCache

2013-11-20 Thread thomas bonfort
Donald, You should add true to your source getmap params, so that mapserver returns transparent images. Note that you'll have to purge your existing mapcache caches so the tiles get regenerated with transparency. regards, thomas On 20 November 2013 01:03, Brown, Donald wrote: > I am having troub

Re: [mapserver-users] pixmap legend

2013-11-20 Thread thomas bonfort
Fons, https://github.com/mapserver/mapserver/issues/4808 may be related and is on my todo list for 6.4.1 regards, thomas On 19 November 2013 14:19, Fons Arts wrote: > Hi list, > > I trying to overrule a hardcoded legendicon Az (annotation) with a pixmap > in the class section. > > > > map fi

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 se

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 wrote: > Fons, > https://github.com/mapserver/mapserver/issues/4808 may be related and is > on my todo list for 6.4.1 &g

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 wrote: > Hi everyone, > > I am newbie in MapServer, but I was succ

Re: [mapserver-users] MapCahe question -- Caching the first couple of zoom levels

2013-12-02 Thread thomas bonfort
James and others, I have also had requests for this off-list, but am somewhat weary to implement this. Firstly, this goes against the concept that mapcache is a *cache*, although I do clearly understand why/when this could be needed. Secondly, there's a whole lot of logic that treats the "metatile"

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). Kn

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, Jeffers

Re: [mapserver-users] SVG text

2013-12-31 Thread thomas bonfort
this > would be a fairly simple task from a programming perspective? > > > On Tue, Dec 31, 2013 at 7:14 AM, thomas bonfort > wrote: >> >> Jefferson, >> There is currently no way to produce those elements with mapserver, >> and to my knowledge there are no

Re: [mapserver-users] Automatic simplification based on resolution

2013-12-31 Thread thomas bonfort
Jukka, IIRC this has already surfaced a few times on the mailing list or the bugtracker. MapServer already simplifies geometries at the pixel level before sending them to the renderers, and from my testing at the time was more efficient at doing so than using st_simplify(), with the added bonus tha

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

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

Re: [mapserver-users] Displaying a line between objet and label

2014-01-07 Thread thomas bonfort
Thomas, Label leaders were introduced in 6.2 so you should be fine. Have a look at our examples to see how the mapfile syntax to use activate them: https://github.com/mapserver/msautotest/blob/master/renderers/labels-leader.map However given your requirements I'm not sure label leaders will resu

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 wrote: > Hello, > > with MapServer 5.x it was possible to set the KEYSIZE 40 1 to get > straight lines as legend images. > > Now with MapServer 6.x the line is r

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 http://mapserver.org/ogc/wms_server.h

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

2014-01-07 Thread thomas bonfort
5.x > http://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: >

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.: http

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 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 GDAL/Tiff > >

Re: [mapserver-users] Source Code

2014-01-20 Thread Thomas Bonfort
it's all in mapresample.c iirc -- thomas On 20 janv. 2014, at 11:37, Bianca Peter wrote: > Hello everybody, > > I am searching for the source code of the interpolation method "Average". Can > someone tell me where I can find it? > > Thanks, > > Bianca > _

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 wr

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 >

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

2014-01-27 Thread Thomas Bonfort
AFAIK, creating 3 distinct layers is currently the only solution available, which has the inconvenience that the client must explicitely request the correct layer in order to avoid the overhead of reprojection. You can use INCLUDEs inside those layers in order to avoid duplicating the rest of the L

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

2014-01-27 Thread Thomas Bonfort
s and I don't > mind the reprojection overhead. > > Regards, > Jiri > > > On Mon, Jan 27, 2014 at 12:38 PM, Thomas Bonfort > wrote: > >> AFAIK, creating 3 distinct layers is currently the only solution >> available, which has the inconvenience that

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

2014-01-27 Thread Thomas Bonfort
too slow. > > -Jiří > > > On Mon, Jan 27, 2014 at 1:02 PM, Thomas Bonfort > wrote: > >> the list of available projections is defined for all layers of the >> mapfile, not at the individual level. they are set with the >> wms_srs metadata entry. >>

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

2014-01-27 Thread Thomas Bonfort
or each > layer. Something like: > > > cryosphere_atlas_north > Atlas of the Cryosphere: Northern Hemisphere > EPSG:32661EPSG:4326EPSG:3408EPSG:3410EPSG:3411EPSG:3413EPSG:3571 > .. > > --Jiri > > > On Mon, Jan 27, 2014 at 12:48 PM, Thomas Bonfort > wrote: > >> (p

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, h

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

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

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 fo

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: > > > > [...] > > > ETRS89 / UTM zone 31N >

Re: [mapserver-users] Mapcache

2014-01-29 Thread Thomas Bonfort
.de > -------- > 1+1=10 > You have a question? - 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 >> >> -- >>

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 ha

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 wrote: > in the past, I could do a runtime substitution of a class name by > passing it like so: > > ..&map

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

2014-01-30 Thread Thomas Bonfort
olves changing class expressions on-the-fly. > VALIDATION is used to control run-time substition. Try it out." > > This could be understood that all substitutions via URL would require > validation but fortunately that is not true or otherwise changing styles with > this

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 /path/to/tiles/{tileset}/{grid}/{z}/{x}/{y}.png note however that unless you are seeding small caches, you will very rapidly hit the maximum number of files allowed per directory by your filesystem. -- thomas On 30/01/2014 13:06, Eduardo Kanegae wrote: >

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

2014-01-31 Thread Thomas Bonfort
" will handle that. I'm not sure I understand what you're looking for here, can you be a bit more precise? -- thomas > > -Jukka Rahkonen- > > > Thomas Bonfort wrote: > >> Devs, > >> please have a look at RFC-108

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,

Re: [mapserver-users] mapfile for OpenStreetMap

2014-02-07 Thread thomas bonfort
> > That one looks good: > http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/mapserver/osm-google.map That's actually generated from the github basemaps project. I would very strongly recommend basing any serious mapfile off the basemaps project rather than this generated one, as that one is,

Re: [mapserver-users] Dual role of LAYER is confusing

2014-02-10 Thread thomas bonfort
On 10 February 2014 15:13, Rahkonen Jukka (Tike) wrote: > Hi, > > In most cases in Mapfile LAYER is defining the output of the service. > However, it looks like the original way to use DATA has not been flexible > enough to suit new sources of data and as a workaround one layer is used as > an

Re: [mapserver-users] runtime variable substitution in layer class expression

2014-02-11 Thread thomas bonfort
try something like: layer validation "YEAR" "^[12][09][0-9][0-9]$" end class expression ([%YEAR%]<100) -- thomas On 11 February 2014 20:15, gorank wrote: > Is there is somebody to help me? > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/runtime-variable-

Re: [mapserver-users] Problem using WMS GetFeatureInfo in OpenLayers with different projections

2014-02-14 Thread thomas bonfort
I believe this was fixed in https://github.com/mapserver/mapserver/pull/4403 https://github.com/mapserver/mapserver/pull/4778 might also be relevant. On 14 February 2014 10:24, Dejan Gambin wrote: > I've upgraded to 6.4 and seems fine now > > > On 13. vel. 2014., at 16:09, Rahkonen Jukka (Tike) w

Re: [mapserver-users] layer mask without clipping

2014-02-25 Thread thomas bonfort
Lars, I don't understand what you're trying to obtain. Can you clarify and/or post a couple screenshots? -- thomas On 25 February 2014 09:58, Lars Lingner wrote: > Hello, > > I really like the MapServer layer mask feature. Is there a way that > MapServer doesn't clip the mask, instead just setti

Re: [mapserver-users] WMS image display

2014-02-25 Thread thomas bonfort
Do your tiffs have overviews? Changing the image size affects the map scale and thus potentially which overview is being used... -- thomas On 25 February 2014 16:52, Dash wrote: > Thanks for the response. The images are in a tif format and we used GDAL to > create the tiling index (gdaltindex c

Re: [mapserver-users] Upgrading to 6.4.x

2014-02-26 Thread thomas bonfort
How are you drawing those lines? Using a "circle" symbol as was required in pre-5 version is not supported anymore. -- thomas On 25 February 2014 22:08, Basques, Bob (CI-StPaul) wrote: > All, > > > > Has anyone experienced a problem with MapServer not drawing short segments > correct in the newe

Re: [mapserver-users] Force label rendering without overlapping

2014-03-04 Thread thomas bonfort
we don't render an offseted label if its leader line would intersect an existing label or an existing leader line. Try removing you label BUFFER so that there is more room for the leader lines to be drawn without intersecting the existing label's bbox. -- thomas On 4 March 2014 17:09, aborruso w

Re: [mapserver-users] Need help with RFC109: Refactor Runtime Substitution

2014-03-08 Thread Thomas Bonfort
Andrea, it's a bug, I've just pushed a fix. thanks for reporting! -- thomas On 08/03/2014 16:08, Andrea Peri wrote: > Hi, I'm try to check if the new RFC109 is compatible with my mapfile. > > I try a fast check and seem that my mapfile dont work with RFC109. > But reading the documentation I do

Re: [mapserver-users] Complex Multi Label/Symbol Symbology

2014-03-11 Thread thomas bonfort
Jorg, It is not available as it relies on a proprietary (esri) font (that you can however find on the internet, but we are not licensed to use it in the autotests). There's nothing complicated about it, and it is very similar to https://github.com/mapserver/msautotest/blob/branch-6-2/renderers/mult

Re: [mapserver-users] modify symbol size using expression

2014-03-31 Thread thomas bonfort
Travis, short answer: no long answer: you can do it indirectly if using a rdbms backend: select ..., myattribute+1 as myattribute from table regards, thomas On 31 March 2014 16:16, Travis Kirstine wrote: > Is it possible to change the symbol size (point feature) using a expression > or dynamic

Re: [mapserver-users] MapServer : Problem shifting TrueType symbols on rotation

2014-04-01 Thread thomas bonfort
http://mapserver.org/mapfile/symbol.html => anchorpoint https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png available from version 6.2 onwards. -- thomas On 1 April 201

Re: [mapserver-users] Can't get a raster to display... projection issue?

2014-04-01 Thread thomas bonfort
typo: epsg:3857 instead of 3587? -- thomas On 1 April 2014 23:53, Peter Gustafson wrote: > Hi all, I'm brand new to mapserver. > (The itasca workshop map works) > > I can't get a raster to display. I've tried various extents and projections > but suspect these are the cause. The mapfile is as be

Re: [mapserver-users] mapcache wmts offset

2014-04-04 Thread thomas bonfort
Hi, mapcache by default aligns its tiles starting from the lower-left corner whereas WMTS expects them to start from the upper-left. While the generated capabilities doc correctly identifies this behavior, most WMTS clients will not support this if they don't do the capabilities parsing themselves.

Re: [mapserver-users] layer grid intersection points symbol

2014-04-24 Thread thomas bonfort
Mario, To my knowledge this isn't possible. I or another dev would be available for contracting if this is something you would want to fund. Best regards, Thomas On 24 April 2014 17:16, Mario Jurcevic wrote: > Hi, > any idea of how to represent in a GRID layer only the intersecting points > of

Re: [mapserver-users] mapcache check cache before testing source data?

2014-04-24 Thread thomas bonfort
Jerry, I'm not sure I follow your issue. Mapcache itself won't hit your source data, it will only be accessed through by the configured wms server if a tile was not found in the local cache. The seeder will only hit the wms if a given tile was not present in the cache (or if you have passed --force

Re: [mapserver-users] layer grid intersection points symbol

2014-04-24 Thread thomas bonfort
a dashed line with the appropriate > spacing. Would end up as a cross tic instead of a point though. > > Bobb > > > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonf

Re: [mapserver-users] mapcache check cache before testing source data?

2014-04-24 Thread thomas bonfort
Jerry, mapcache has no knowledge of where there's data or not. If it has the requested tile in its cache it will serve it, otherwise it will ask the wms to render it, then cache it, then serve it. Wether the wms hit actual data or not is not mapcache's problem. -- thomas On 24 April 2014 21:58, j

Re: [mapserver-users] MapServer Errors in APACHE logs.

2014-04-30 Thread thomas bonfort
http://mapserver.org/optimization/debugging.html if you set the error file to "stderr" then the logs will go to the apache error log, as others have pointed out. -- thomas On 29 April 2014 20:55, Basques, Bob (CI-StPaul) wrote: > All, > > > > Has anyone done any work with capturing MapServer er

Re: [mapserver-users] MapCache and GetLegendGraphic

2014-05-07 Thread thomas bonfort
LegendGraphic is not supported. You can however setup a forwarding rule so that those requests get sent to an upstream WMS server. -- thomas On 6 May 2014 22:04, wrote: > > Is it possible to make a getLegendGraphic Request via MapCache? > I Tried but can't make it work > > Thanks > Steve > > __

Re: [mapserver-users] Rendering Maperative Tiles via UMN Mapserver with mod-mapcache

2014-05-10 Thread thomas bonfort
You've got something wrong with your entry. Does the http://mapserver/osmmap url have a rewrite defined to append a map= parameter or a MS_MAPFILE envirronment variable? if not, you should at least add a /path/to/mapfile.map to the source params (at the same level as ) -- thomas On 9 May 2014 11

Re: [mapserver-users] mapcache issue2

2014-07-07 Thread thomas bonfort
You're getting this message because the upstream WMS server isn't returning an image given the getmap request that mapcache is sending to it. The error message should contain a bit more info, or you can manually replay the request mapcache has sent by looking into your mapserver's access logs and c

Re: [mapserver-users] How set a NOT IN clause in new expression class clause

2014-08-01 Thread thomas bonfort
not tested, but I suspect EXPRESSION ("[roadtype]" NOT IN "motorway,trunk") should work ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] [mapserver-dev] Multiline string error

2014-08-14 Thread thomas bonfort
Ian, Could you open a github issue for this one, and include a minimal mapfile that would allow me to reproduce the issue locally. thanks, thomas On 14 August 2014 18:09, Ian Walberg wrote: > Steve, > > I used points for the feature data rather than the WKT string but seem to > have got the sam

Re: [mapserver-users] emacs mapserver-mode (refreshed)

2014-08-18 Thread thomas bonfort
Axel, we provide a vim syntax highlighting file on the mapserver.org website. You might want to submit a pull-request to the doc site to include your contribution at the same level. http://mapserver.org/fr/development/editing/vim.html http://mapserver.org/fr/_static/map.vim https://github.com/maps

Re: [mapserver-users] Parens making GetFeature crash with Mapserver 7

2014-09-25 Thread thomas bonfort
Hi Âlex, I've tried your testcase (or at least the closest I could reproduce) in the msautotest/wxs directory with export REQUEST_METHOD=POST export QUERY_STRING=map=wfs_filter.map echo 'http://www.opengis.net/wfs"; service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http

Re: [mapserver-users] Installing MapServer with FastCGI

2014-09-25 Thread thomas bonfort
You need to install the fastcgi-devel package (I'm not sure what it's called on centos, libfcgi-devel, libfastcgi-devel, fcgi-devel, ...) regards, thomas On 25 September 2014 16:55, jdmorgan wrote: > Hello, > > I am trying to compile a version of MapServer 6.4.1. on CentOS 6. > > > > I am at the

Re: [mapserver-users] LAYER example for kernerdensity wanted

2014-09-29 Thread thomas bonfort
Jukka, The msautotest suite has some heatmap examples you can work from: https://github.com/mapserver/msautotest/blob/master/gdal/heat.map -- thomas On 29 September 2014 10:17, Rahkonen Jukka (Tike) wrote: > Hi Thomas, > > > > I have the newest MS4W on the bottom. Then I have downloaded 32-bit

Re: [mapserver-users] Fwd: All map services display pink tiles

2014-10-01 Thread thomas bonfort
Sithila, try right clicking on one of the pink tiles to open it in a new browser window, or alternately look in your apache access/error logs. You should get an error message that should give you a head start. 502 errors are usually a sign that the source wms server is producing an error instead of

<    1   2   3   4   5   6   7   8   9   >