[mapserver-users] How to get some part extents in polygon within complete polygon

venkat ven.tammineni at gmail.com
Thu Sep 30 05:49:45 PDT 2010


Dear All,

  How can I get certain part boundary extents from polygon.I am using below
code to get full extents of the polygon.


Code to get bounds extents  :-

 shapeObj shape = layer.getFeature(shapeInd, -1);

 lab.Text = "Min X :" + shape.bounds.minx +","+"Max X :" + shape.bounds.maxx
+"," + " Min Y :" + shape.bounds.maxy +","+ "Max Y :" + shape.bounds.maxy;


Please anyone can guide me.I am waiting for your great response.

Thanks and Regards,

Ven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100930/473e9bfc/attachment.htm>


More information about the MapServer-users mailing list