[FWTools] ogr2ogr spatial extents

Travis Kirstine GIS Tech tkirstine at jdbarnes.com
Tue Apr 4 12:56:29 EDT 2006


I've been test the ogr2ogr utility program to create shapefiles based on
spatial extents.  The problem I'm having is that the resulting shapefiles
contains features beyound the defined extents.  I've attached a jpeg to
illustrate the problem where the box is the extents purple polygons are the
dst_datasource

Commandline
ogr2ogr -f "ESRI Shapefile" -spat 610400 4819000 610500 4819100 output2.shp
lro_test_3.shp

Travis Kirstine
First Base Solutions Limited
140 Renfrew Dr, Suite 100
Markham ON
L3R 6B3
Phone 905.477.3600
Fax 905.477.3882
tkirstine at jdbarnes.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogr2ogr.jpg
Type: image/jpeg
Size: 49211 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/fwtools/attachments/20060404/b83d1e70/ogr2ogr-0001.jpg


More information about the FWTools mailing list