[mapserver-users] Help with URL-defined feature data
Ed McNierney
ed at topozone.com
Tue Jul 30 09:04:34 PDT 2002
Folks -
OK - I'm missing something very obvious here, but I can't get URL-defined point features added to a feature layer dynamically. Here's my very simple map file:
NAME Blue
STATUS ON
SYMBOLSET "/MapServer/MapServer/Symbols/symbols.sym"
UNITS DD
IMAGECOLOR 0 153 204
### Annotation Layer ###
LAYER
NAME ANNOLAYER
TYPE POINT
STATUS DEFAULT
CLASS
NAME ANNOLAYER
COLOR 0 0 0
OUTLINECOLOR 0 0 0
SYMBOL 'tent'
SIZE 100
END
END
END
And I would expect this URL:
http://cassini/cgi-bin/mapserv.exe?mode=map&map=\MapServer\maps\blue.map&mapext=10+10+30+30&mapsize=400+400&map_annolayer_feature=new&map_annolayer_feature_points=20+20
to display a big black tent symbol in the middle of the image. It does nothing. If I insert the feature into the LAYER definition:
FEATURE
POINTS
20 20
END
END
It works just fine. What am I missing?
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed at topozone.com
(978) 251-4242
More information about the MapServer-users
mailing list