[mapserver-users] rotate and fit based on polygon

Travis Kirstine traviskirstine at gmail.com
Thu Sep 7 11:26:59 PDT 2017


I have a bunch of polygons that represent 8.5 x 11 printed map sheets.  I'd
like to produce images for each sheet that best fits the polygon within the
outputted image.  We've tried using mapscript by setting the map extent
based on the bbox of the source polygon and rotation but results aren't
great depending on the orientation of the source polygon.  Is there a way
to set the "extent" based on a polygon?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170907/4088b9d4/attachment.htm>


More information about the MapServer-users mailing list