On 10/05/2016 02:29 AM, Margherita Di Leo wrote:
Hi,

I need a suggestion on the use of ogr2ogr for clipping vector files (points) in batch. For all them I need to reduce the spatial extent of a certain quantity DX, DY, so it would be

ymax = ymax_current - DY
ymin = ymin_current + DY
xmax = xmax_current - DX
xmin = xmin_current + DX

I could calculate ymax, ymin, xmax, xmin if I could read the current values in a FAST way. Or perhaps is there an option to put directly DX and DY in ogr2ogr which I didn't spot?
You could use ogrinfo to get the extents.

Any hints appreciated  
Thanks

--
Margherita Di Leo


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to