Hi Andrew,

No such option exists in GDAL's DXF driver. Extents are calculated
according to the overall bounding envelope of the geometries.

DXF files are not difficult to manipulate as plain text, so if you
wish to modify the extent values (which are conveniently stored very
close to the beginning of the file in the $EXTMIN and $EXTMAX
variables) it should not be terribly difficult to write a simple
Python (etc) script to do this.

Alan


On Thu, 31 Jan 2019 at 01:19, andrew terry
<[email protected]> wrote:
>
> Hi,
>
> Using ogr2ogr -f DXF, is there a dsco (or other) variable to set the initial
> zoom extents when the resulting cad file is opened?
>
> Thanks
>
> Andy
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev



--
Alan Thomas
Software Developer
ThinkSpatial
http://www.thinkspatial.com.au
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to