[mapserver-users] Dynamic map data input for mapserver

2011-09-15 Thread Wim Vanbelle
Hi, When using routeplanners, you often get very detailed results of routes, especially long ones, that need to be drawn by the client. We are considering the option of using mapserver to render these results as tiles. What would be the best way to implement a thing like this? I was thinking

[mapserver-users] Parsing error in LAYER's DATA

2011-09-15 Thread Carlos Ruiz
Hi all, I've noticed that there's a parsing error with the layer's DATA the_geom FROM ( ... ) AS x USING UNIQUE y USING SRID=z. If I wrote USING SRID = z Mapserver throws an error about the query syntax. It looks that it always must be SRID=z to work. I tought it was the version (I was using

[mapserver-users] Runtime Substitution bug

2011-09-15 Thread Nicolas BOUTET
Hello, I'm using MapServer 6.0.1 in conjunction with GDAL 1.8 (Tamas binaries) with IIS 7.5, and I get an issue while using runtime substitution. I have a LAYER where the data source if defined like this : CONNECTIONTYPE OGR

Re: [mapserver-users] Generic template for WMS GetFeatureInfo

2011-09-15 Thread Steve Lime
Hi Julian: You might try the [items] and [values] template tags combined with a little JavaScript. Those tags output a delimited list of items and values for a feature or set of features. You could split the output into arrays and display however you like. The attributes are just slammed

Re: [mapserver-users] Runtime Substitution bug

2011-09-15 Thread Steve Lime
If you take var. substitution out of it by hard coding an idblock value does the space still matter? Steve Sent from my iPad On Sep 15, 2011, at 11:07 AM, Nicolas BOUTET nicolas.bou...@geosys.com wrote: Hello, I’m using MapServer 6.0.1 in conjunction with GDAL 1.8 (Tamas binaries)

Re: [mapserver-users] Yellow lines over generated image

2011-09-15 Thread Steve Lime
Cool effect... Is this AGG output? Do the lines persist if you create the map with shp2img? Steve On Sep 14, 2011, at 12:38 PM, Pete Deffendol p...@mdsc.com wrote: Hi, I'm doing development using Mapserver in the following environment: * Mac OS X Lion * Mapserver 6.0.1 * PHP 5.3.6

[mapserver-users] ogr casting limitations

2011-09-15 Thread Mark Volz
Hello, I am trying to find some documentation on using CAST. I can cast 2 items, but not 3. The following statements with 2 fields that are casted works: DATA Select CAST(NORTHING AS numeric (4,2)), CAST(EASTING AS numeric (4,2)) from MonumentsXYZ DATA Select CAST(NORTHING AS numeric (4,2)),

[mapserver-users] Re: Yellow lines over generated image

2011-09-15 Thread brunovani
Hi, Pete I had this problem when generating a reference map. I could observe that was because the backgroundcolor image was set as transparent. I set background color as white and the problem goes out. -- View this message in context:

Re: [mapserver-users] Yellow lines over generated image (SOLVED)

2011-09-15 Thread Pete Deffendol
On Sep 15, 2011, at 12:56 PM, Steve Lime wrote: Cool effect... Is this AGG output? Do the lines persist if you create the map with shp2img? This is AGG output. I have managed to solve the problem by making some changes to the OUTPUTFORMAT section of the mapfile that has worked fine for us