[mapserver-users] RE: PHP/MapScript - Error - msLayerGetShape() - URGENT
Daniel Morissette
dmorissette at mapgears.com
Mon May 10 07:36:40 PDT 2010
Ian Tidy wrote:
> I have worked out that this happens for layers I am drawing after
> querying them. But I don’t understand why...
Starting with MapServer 5.6, when reading shapes out of a resultset, you
should use the new layer.resultsGetShape() method instead of
layer.getShape() or layer.getFeature().
More info in the 5.6 migration guide at
http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the MapServer-users
mailing list