[mapserver-users] Re: passing values to mapfile

2011-09-21 Thread jjwang
Any one have any idea about this? I tried the simplest example, and it didn't work as well. CLASS CLASSITEM 'SUBURB' EXPRESSION '%expression%' # it will work if I just write 'REDFERN' ... END then ...expression=REDFERN... Help me. -- View this message in context:

[mapserver-users] Re: passing values to mapfile

2011-09-21 Thread jjwang
I think I found out the problem. It seems not see the value in the url at all. Because if I give it a default value. The default value will work. But I still don't know why and how to solve it. -- View this message in context:

[mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-21 Thread anddreas2
Hi I have the same problem. Did you find any solution? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-6-WMS-PostGIS-Problem-tp6387007p6815163.html Sent from the Mapserver - User mailing list archive at Nabble.com.

[mapserver-users] problem with mercator projection

2011-09-21 Thread fred p
Hello ! I am trying to serve an image in Mercator projection (EPSG:3395) with an extent larger than 360° in longitude but I get a truncated and reversed in longitude image. Do I make a mistake somewhere? Thanks for your help The mapfile content and the gdalinfo output on the original image are

RE: [mapserver-users] Re: passing values to mapfile

2011-09-21 Thread Fawcett, David (MPCA)
http://mapserver.org/mapfile/class.html?highlight=validation You need to set up a validation block with an expression that will match the value of the variable that you are passing through the GET request. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org

RE: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-21 Thread Rob McCulley
Unfortunately not. I tried using the debugging tools available, but because the cgi just hangs, there are no errors reported. I tried a fresh install, with the same problem. Beyond that, I haven't had time to look into it any further. I'm still running 5.6 as a result. Rob

Re: [mapserver-users] Looking for information on SHPXY, specifically an example of a LINE IMAGEMAP template.

2011-09-21 Thread Bob Basques
All, Some more info on the topic, I see now that my first question was phrased wrongly, I actaully need more information about how SHPXY works against (POLY)LINE features (vs POLYGONS): Using this slightly modified version of the SHPXY call (removed the px from the end of the buffer

Re: [mapserver-users] efficiently displaying daily changing vector data

2011-09-21 Thread Brent Fraser
Puneet, 1. If the incoming CSV format and content is consistent then using OGR would likely be OK. If you need to modify the values to make it acceptable to Mapserver (e.g. change your angles from Heading (clockwise, north is 0) to standard angles (counter-clockwise, + x axis is 0), the

[mapserver-users] python mapscript error

2011-09-21 Thread Luca Delucchi
Hi everybody, I'm starting to use python mapscript to create web services, but I have a problem when I try to create a new layer. I saw this [0] thread, and I try to apply the patch but it didn't work. I'm running svn version of branches 6 on a Ubuntu OS

Re: [mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-21 Thread Paul Ramsey
Does avoiding the WMS/OWS side and doing a CGI request using 'mode=map' produce a different result? P. On Wed, Sep 21, 2011 at 7:27 AM, Rob McCulley rmccul...@county24.com wrote: Unfortunately not.  I tried using the debugging tools available, but because the cgi just hangs, there are no

[mapserver-users] Re: passing values to mapfile

2011-09-21 Thread jjwang
Exactly right. Thank you so much. I thought it's not compulsory. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/passing-values-to-mapfile-tp6814838p6818235.html Sent from the Mapserver - User mailing list archive at Nabble.com.

Re: [mapserver-users] Limits on CLASS EXPRESSIONS for regular expressions

2011-09-21 Thread thomas bonfort
If I'm not mistaken, mapserver uses regex, which has a smaller featureset than perl's regular expressions. Using pcre instead of regex inside mapserver might solve your problem. -- thomas On Wed, Sep 21, 2011 at 06:29, Stephen Woodbridge wood...@swoodbridge.com wrote: Does anyone know if/what

Re: [mapserver-users] Limits on CLASS EXPRESSIONS for regular expressions

2011-09-21 Thread Stephen Woodbridge
Thanks Thomas, That would explain it. I thought that we had converted to pcre in mapserver, but I must have been mistaken. I solved it by changing the expressions to /word1|word2|.../ style of list. Perl has a very cool module Regexp::List that lets you take a list of words and creates an

Re: [mapserver-users] Text outline not working on line features

2011-09-21 Thread thomas bonfort
The GD driver does not support the OUTLINEWIDTH keyword on labels, but you should see a hard 1-pixel outline be applied to the text. -- thomas On Tue, Sep 20, 2011 at 22:56, Bistrais, Bob bob.bistr...@maine.gov wrote: This is an older version of MapServer, MS4W 2.3.1, MapServer 5.2.1. Using a

[mapserver-users] little whiskers on my arrows

2011-09-21 Thread Mr. Puneet Kishor
I have a simple arrowhead defined like soSTYLE SYMBOL 'horiz-line' ANGLE [Az] SIZE [Rate] COLOR 255 255 255 WIDTH 1ENDSTYLE ANGLE [Az] GEOMTRANSFORM "end" SYMBOL "to" COLOR 255 255 255 WIDTH 8ENDSYMBOL NAME "horiz-line" TYPE vector POINTS0 01 0 ENDENDSYMBOL NAME "to" TYPE

[mapserver-users] Re: Mapserver 6 WMS / PostGIS Problem

2011-09-21 Thread anddreas2
I found the solution: Just set THE wms_extent METADATA in the layer section and it works. Without Layers wms_extent it crashes. (Jesus, I spent three days of my life for this stupid thing. I tested with all versions of postgis (1.5, 1.4) postgresql (8.4,9.0,9.1). I am think it is ms4w problem).