[mapserver-users] Changing Map File Parameters from a URL

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Nov 11 20:56:56 EST 2010


Hi,

I gave some thoughts on a similar issue a few day ago on this same 
mailing list 
(http://lists.osgeo.org/pipermail/mapserver-users/2010-November/067157.html).

Maybe the documentation needs to improve on this, my fault.

-jeff



On 10-11-12 6:46 AM, Donald Kerr wrote:
> Hi List,
>
> I am trying the change the MAXGEOWIDTH from a url but am getting the error
> "getSymbol(): Symbol definition error. Parsing error near (C):(line 1)".
>
> I'm trying to user "...&MAP.LAYER.CartographicText.MAXGEOWIDTH=5000&..." and
> have tried using various combinations.
>
> CartographicText is a Layer that's included in the main map file
> INCLUDE "CartographicSymbol.map".
>
> The included file is as follows:
>
> ------------------------------------
> LAYER CONNECTIONTYPE postgis
> 	NAME "CartographicText"
> 	CONNECTION "...<private>..."
> 	PROCESSING "CLOSE_CONNECTION=DEFER"
> 	DATA "geom FROM ...<private>... USING UNIQUE toid"
>
> 	METADATA
> 		"IMAGEFORMAT" "AGGA"
> 	END
>
> 	STATUS ON
>
> 	MINGEOWIDTH 1
> 	MAXGEOWIDTH  1300
>
> etc., etc
> ------------------------------------
>
> Con someone please advise me as to how I can do this? I've spent a good
> couple of hours hunting to no avail.
>
>


More information about the mapserver-users mailing list