[Mapserver-users] R: Url-defined symbol
Ballini Yvain
Ballini.Yvain at seat.it
Sun Mar 28 23:29:44 PST 2004
Hi Steve,
I had already tried to add points to the feature but it doesn't change anything and I can't see my symbol.
Maybe I should change the definition in the mapfile ( I'm not sure that defining so the feature in the url, the symbol "pallino" is automatically taken...).
Currently, I'm defining the symbol "pallino" with this way in the mapfile:
SYMBOL
NAME "pallino"
TYPE POINT
FILLED TRUE
FONT arial-bold
CHARACTER 'X'
END
Thanks again.
Yvain
-----Messaggio originale-----
Da: Steve Lime [mailto:steve.lime at dnr.state.mn.us]
Inviato: giovedì 25 marzo 2004 18.21
A: Ballini Yvain
Oggetto: Re: Url-defined symbol
You're trying to add points to a class which is not correct. You can ditch the empty feature too. Try changing your URL to read:
".../scripts/mapserv.exe?mode=map&layer=vie_navtech&layer=pallino&zoomdi
r=0&imgxy=415+390&imgext=515305+5036405+516270+5037259&imgsize=630+580&m
ap_pallino_feature=new&map_pallino_feature_points=515800+5036800&map=e%3A%5C
mapserver%5Citasca%5Cdemo.map"
Steve
>>> "Ballini Yvain" <Ballini.Yvain at seat.it> 03/25/04 9:04 AM >>>
Hi List,
I would like to add some feature on my url in order to show dynamically a symbol on my map : tipically, I would like to show a crosshair, setting its ccordinates in the url.
For doing it I've added in my map file a layer definition like that:
LAYER
NAME pallino
TYPE POINT
STATUS ON
FEATURE
POINTS END
END
CLASS
NAME "pallino"
SYMBOL "pallino"
END
END
And I call this layer like this in the Url:
".../scripts/mapserv.exe?mode=map&layer=vie_navtech&layer=pallino&zoomdi
r=0&imgxy=415+390&imgext=515305+5036405+516270+5037259&imgsize=630+580&m
ap_pallino_class=new&map_pallino_class_points=515800+5036800&map=e%3A%5C
mapserver%5Citasca%5Cdemo.map"
With this url, I'm expecting to see a symbol "pallino" quite in the center of my map but I don't see anything execpt the other layer (vie_navtech).
Could someone tell me where I'm wrong, and how I should do in order to show correctly my symbol?
Thanks a lot !
Yvain.
More information about the MapServer-users
mailing list