[Mapserver-users] inline shapes

Matt Doggett mdoggett at coas.oregonstate.edu
Fri Mar 19 14:38:43 EST 2004


Anyone know how to get/set inline shape features via Mapscript?

I have the following layer in my mapfile:

  LAYER
	  NAME copyright
	  TYPE ANNOTATION
	  STATUS DEFAULT
	  TRANSFORM OFF
	  FEATURE
  		POINTS
  		  0 256 
  		END
  		TEXT "Copyright (C) 2003. Spatial Climate Analysis
Service"
	  END
	  CLASS
		***stuff***
	  END
  END

And I am trying to change the location of the point (0,256) to something
else, ie. Move it. But in my Mapscript when I try to get this feature,
the following error is reported:

[MapServer Error]: msLayerGetShape(): Cannot retrieve inline shapes
randomly.

-Matt

Matt Doggett
Spatial Climate Analysis Service
Oregon State University
316 Strand Ag Hall
Corvallis, OR 97331
(541)737-9153
mdoggett at coas.oregonstate.edu
 





More information about the mapserver-users mailing list