[MapServer-users] Mapscript access to ShapeObj of GeomTransform operation

Nicol Hermann mapserver at geoworld.de
Sun May 19 10:05:05 PDT 2024


Hallo all,

I'am using Python MapScript to perform a GeomTransform centerline
operation.
The corresponding line looks like this:
layerObj.setGeomTransform( "simplify((centerline([shape])), 100)" )

How do I get access to the calculated shapeObj of the centerline?
The feature count of
layerObj.numitems
is 0 even if the underlaying data layer has two features.

Interestingly with map.draw() everything look like expected

Thanks for any pointers
Nicol




More information about the MapServer-users mailing list