Re: [mapserver-users] Use of wms_style_default_legendurl_href parameter

2013-06-12 Thread Pierre GIRAUD
Hi all, I'm encountering the same problem. What happens actually is that the capabilities tell that the online resource for the legend points to the url I set in wms_style_[style’s_name]_legendurl_href. [...] Style NameMyStyle/Name TitleMyStyle/Title LegendURL

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-12 Thread duartecarreira
I'm using qgis 1.9 from a while back (before the vector branch merge). It shows wms layer names in the maplegend (toc). As to arcgis server it now has an option to use layer names as they appear in the map project, effectively making names equal to the titles, even if illegal. But seriously, I

[mapserver-users] WMS layer filtering

2013-06-12 Thread Kralidis,Tom [Ontario]
Hi: we have a MapServer OWS instance which we use to disseminate observations via WMS and WFS/SOS. One of our layers has 1 million records (PostGIS backend). The layer has CLASS level EXPRESSION objects for WMS visualization/classification. We initially implemented a LAYER level FILTER, however

Re: [mapserver-users] RE WMS layer filtering

2013-06-12 Thread Kralidis,Tom [Ontario]
Steve: thanks for the info. Good point. It would help, however the client would require apriori knowledge, which won't help in our case because we want things more generic. Of course, there's always MapScript (i.e. set LAYER.FILTER only if it's a WMS GetMap/GetFeatureInfo request), but I was

[mapserver-users] RE WMS layer filtering

2013-06-12 Thread Steve . Toutant
Does runtime substitution can help? You could post latest_observation=1 when calling the wms and 0 and 1 when using the wfs the filter would be latest_observation in (%param%) Kralidis,Tom [Ontario] tom.krali...@ec.gc.ca@lists.osgeo.org Envoyé par : mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] RE WMS layer filtering (UNCLASSIFIED)

2013-06-12 Thread Smith, Michael ERDC-CRREL-NH
Classification: UNCLASSIFIED Caveats: NONE Could you use script wrappers to set different environment variables Eg a wms file and a wfs file Your WMS file #!/bin/sh MS_MAPFILE=/path/to/mapfile export MS_MAPFILE export LATEST_OBS=1 /cgi-bin/mapserv WFS File #!/bin/sh

Re: [mapserver-users] RE WMS layer filtering (UNCLASSIFIED)

2013-06-12 Thread Kralidis,Tom [Ontario]
Hi Michael: thanks. That definitely works, thanks (although that means managing two endpoints downstream, but I'm starting to think I'm asking too much here :) Thanks ..Tom -Original Message- From: Smith, Michael ERDC-CRREL-NH [mailto:michael.sm...@usace.army.mil] Sent: June

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-12 Thread Eichner, Andreas - SID-NLKM
As to arcgis server it now has an option to use layer names as they appear in the map project, effectively making names equal to the titles, even if illegal. But seriously, I can't imagine why this restriction is in the wms spec... seems archaic to me... Seems you never read it... It's

Re: [mapserver-users] WMS layer filtering

2013-06-12 Thread Julien Cigar
On 06/12/2013 14:23, Kralidis,Tom [Ontario] wrote: Hi: we have a MapServer OWS instance which we use to disseminate observations via WMS and WFS/SOS. One of our layers has 1 million records (PostGIS backend). The layer has CLASS level EXPRESSION objects for WMS visualization/classification. We

Re: [mapserver-users] cascading wms and layer names encoding

2013-06-12 Thread duartecarreira
Andreas, Very informative. Thanks. I've never read the spec in its entirety, just some parts as need arises. The concept of having strings for humans and strings for machines does not resonate well for me... but I'm not bashing the spec just airing some perplexity. Your answer really presented

[mapserver-users] Services abstraction, what's the status of this?

2013-06-12 Thread Basques, Bob (CI-StPaul)
All, So, I'm setting up a new install of GeoMoose (among other things, read on) and wondering about where the services abstraction ideas are currently at? While I know PHP is popular, I much prefer PERL for the services side of things. I would like to use PERL in place of PHP for example. I

Re: [mapserver-users] Services abstraction, what's the status of this?

2013-06-12 Thread Basques, Bob (CI-StPaul)
Oops, wrong list. Can I blame in on Outlook?? Sorry all. Bobb ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] LABEL/LEADER experiences and questions.

2013-06-12 Thread Basques, Bob (CI-StPaul)
All (and Tb), Ok, I got the Leaders to work. But now have a few other questions/comments . . . mostly related to label/leader/feature stacking order and how to control it. I know that most of the examples are against polygons and my questions are related to Points (and probably some line

[mapserver-users] RFC 74 DBINCLUDE

2013-06-12 Thread Robert Hollingsworth
I'm looking at implementing RFC 74 Includes from non-file connections, i.e., using a database query to bring in a section of mapfile, as an alternative to the INCLUDE filename that's in there already. Some interesting and powerful capabilities hinted at in the RFC, such as,  A common use case

Re: [mapserver-users] RFC 74 DBINCLUDE

2013-06-12 Thread Stephen Woodbridge
On 6/12/2013 5:20 PM, Robert Hollingsworth wrote: I'm looking at implementing RFC 74 Includes from non-file connections, i.e., using a database query to bring in a section of mapfile, as an alternative to the INCLUDE /filename/ that's in there already. Some interesting and powerful capabilities

Re: [mapserver-users] RFC 74 DBINCLUDE

2013-06-12 Thread Basques, Bob (CI-StPaul)
Robert, I've commented on this one in the past here in the list. My thought was to add in the capability of passing a URL through the INCLUDE, the URL(could be limited to the same domain, but wouldn't need to be) would simply hand back a Mapfile fragment. An example would be something like: