[mapserver-users] Python MapScript WxS Capabilities XML truncated

2013-06-18 Thread Kralidis,Tom [Ontario]
Hi: using 6.2.1 (Ubuntu) built from source along with the following patch at https://github.com/mapserver/mapserver/commit/937dcb6857501835b5489fa4be a321105412a20b.patch, we have a requirement to implement a WxS MapScript approach for our OWS (we have up until now using the mapserv binary). All w

Re: [mapserver-users] Python MapScript WxS Capabilities XML truncated

2013-06-18 Thread thomas bonfort
Tom, I was able to reproduce a segfault using the CGI, here's the backtrace for the ticket I'm sure you'll open and hopefully fix :) Program received signal SIGSEGV, Segmentation fault. 0x77b140af in msDumpLayer (map=0x604d90, lp=0x60d6b0, nVersion=66304, script_url_encoded=0x616330 "h

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

2013-06-18 Thread duartecarreira
so i finally got to investigate this a bit more and found a solution... i encoded the layers list in the mapfile and it works. Why? I don't know... it seems to me it shouldn't work but it does... Here are my findings: 1) mapfile without encoding the layers list gives the error "layers contains unac

Re: [mapserver-users] Python MapScript WxS Capabilities XML truncated

2013-06-18 Thread Kralidis,Tom [Ontario]
Thomas: thanks for the info. The segfault you indicate below is solved with https://github.com/mapserver/mapserver/commit/937dcb6857501835b5489fa4bea321105412a20b. So my testing below is based on 6.2.1 + https://github.com/mapserver/mapserver/commit/937dcb6857501835b5489fa4bea321105412a20b.patc

[mapserver-users] roads shields, and street name labels

2013-06-18 Thread Mark Volz
Hello, I would like to label my roads layer with a highway shield as well as the street name. What is the best way to accomplish this with MapServer 6.2? If anyone has an example .map file that would be great. Thank You Mark Volz, GISP GIS Specialist ___

Re: [mapserver-users] roads shields, and street name labels

2013-06-18 Thread Basques, Bob (CI-StPaul)
Mark, We haven't gone down this road yet ourselves, but I would suggest taking a look at SVG symbols for this type of work. We're just getting ready to convert our Mapfiles to use the newer versions of MapServer and the SVG symbols are a looking like a good all around solution moving forward.

[mapserver-users] Select the dataset at runtime

2013-06-18 Thread Andrea Peri
Hi, Is possible to change at runtime the datasource of a layer using a parameter of the request to choose the dataset ? I'm explain better. I have two datasource of the same physical phenomenon. The first is at 96dpi and the second at 300dpi. I like to show the first when the user see it on a we

Re: [mapserver-users] Select the dataset at runtime

2013-06-18 Thread Kralidis,Tom [Ontario]
Andrea: you can do something like use runtime substitution (neat example at http://linfiniti.com/2011/09/making-the-most-of-umn-mapserver-runtime-variable-substitution/), or MapScript WxS wrappers (http://mapserver.org/ogc/mapscript.html#python-examples). From: mapserver-users-boun...@lists.o

Re: [mapserver-users] Select the dataset at runtime

2013-06-18 Thread Andrea Peri
Hi, thx for response. I see the example. Its pretty interesting. Also another option I found in the documentation: http://mapserver.org/cgi/runsub.html I see in the MS6.2 should be possible to act on DATA and DATAPATTERN. I guess this could be a good choice, but no other information on this and

[mapserver-users] SDE Query server 500 error

2013-06-18 Thread Weisbender, Eric
Hello List, I'm having some issues query an ArcSDE layer. It draws fine but when I try to query it I get an Internal Server 500 error. I'm wonder if it is like Janos's issue in this post. http://osgeo-org.1560.x6.nabble.com/ArcSDE-connection-tt4265649.html#none The only problem is he's on

Re: [mapserver-users] Select the dataset at runtime

2013-06-18 Thread Rahkonen Jukka
Hi, Try this live example. The sql parameter is feeding a subquery into DATA and the next link selects OpenStreetMap primary highways which do not have maxpeed tag. Change primary into secondary and you will see a different map. http://hip.latuviitta.org/cgi-bin/ms_ows?REQUEST=GetMap&SERVICE=W