Problems getting inline features to work as part of URL request

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Nov 9 17:30:23 EST 2005


Bill: The syntax you describe is only available via the straight CGI application. You're calling python MapScript I assume. You'd need to add adhoc point plotting to your script. That's easy to do. You just need to parse the contents of a variable and add them to a layer. On the bright side you can shorten the syntax necessary to pass the points.

Steve

>>> William Hudspeth <bhudspeth at EDAC.UNM.EDU> 11/08/05 3:18 PM >>>
Hello,

I am having problems getting inline features to appear in my map images.

My generic mapfile definition for the layer looks like this:

LAYER
 NAME inlinepoints
 TYPE POINT
 STATUS DEFAULT
 CLASS
   COLOR 255 0 0
   SYMBOL 'circle'
   SIZE 8
 END
END

My URL request looks like this:

http://falstaff.unm.edu/cgi-bin/reason/branching_client.py?
layer=inlinepoints&map_inlinepoints_feature=new&map_inlinepoints_feature_points=-106+34

My projection params are set to latlong, wgs84. I am running Mapserver
4.6 on Linux Red Hat Enterprise Advanced Server 3.0. I have tried
reversing the order of the lat and long values in the URL, with no
effect.

Any suggestions appreciated.

Bill



More information about the mapserver-users mailing list