[mapserver-users] Including a variable title on a map?

Robert Sanson SansonR at asurequality.com
Mon Sep 29 16:25:20 EDT 2008


Including the entire FEATURE+POINTS+TEXT code as below works, thanks David and Thomas. I don't seem to be able to modify just the TEXT as David discovered. I am using MS4W 2.2.9 
 
http://10.65.192.1/cgi-bin/gsstmpdf.exe?farmid=AS00001&mode=map&layers=nz50ktm+linz_orthos+farm+crs_parcels+crs_road+main_gates+copyright+fid&MINX=1471766&MINY=5119253&MAXX=1475952&MAXY=5123406&mapsize=1200+1200&map.layer[fid]=FEATURE+POINTS+600+20+END+TEXT+AS00001+END&map.outputformat=pdf 
Robert

>>> "Fawcett, David" <David.Fawcett at state.mn.us> 30/09/2008 6:51 a.m. >>>
That approach still gives me an error:

http://localhost/cgi-bin/mapserv.exe?mode=map&map=\ms4w\apps\workshop08\ 
testPoint.map&map.layer[howdy].feature[0]=text%20Goodbye

loadLayer(): Unknown identifier. Parsing error near (text):(line 1) 

This is with a recent ms4w distro.

David.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org 
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of thomas
bonfort
Sent: Monday, September 29, 2008 11:46 AM
To: Robert Sanson
Cc: mapserver-users at lists.osgeo.org 
Subject: Re: [mapserver-users] Including a variable title on a map?


try with
&map.layer[fid].feature[0]=TEXT+AS00001

--
thomas


------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080930/31d7882f/attachment.html


More information about the mapserver-users mailing list