[mapserver-users] Help with URL-defined feature data

woodbri at swoodbridge.com woodbri at swoodbridge.com
Tue Jul 30 16:06:55 EDT 2002


Steve Lime - got any ideas on this one?

Ed,

It looks like you are going this as documented or at least as I would 
interpret the docs. I get the same behavior on both ms 3.5 and ms 
3.6. So while it might be obvious to some, it isn't obvious to me 
either!

-Steve W.

On 30 Jul 2002 at 12:04, Ed McNierney wrote:

> 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