[Mapserver-users] problem getting bounds of poly shape

pkishor_98 pkishor at geoanalytics.com
Sun Sep 21 02:25:49 EDT 2003


I am drawing a shape on a poly layer like so...

my $shpObj = new mapscript::shapeObj($mapscript::MS_SHAPE_POLYGON);
adding a few lines with points (of course) and drawing it. The shape is drawing fine 
and showing up on the graphic, but I can't get its bounds.

The bounds show up as -1 -1 -1 -1 via $shpObj->{bounds}->{minx} etc. I am at my 
wits end here... any idea what is going on?

Tia.




More information about the mapserver-users mailing list