Guillaume Sueur wrote:
Weird to say why it doesn't work when you don't know yourself what it
should really do...
This option (and not function) is designed to extract a specific extent
of your input data when using ogr2ogr.
Actually it SHOULD work as I use it really often. Check your
data/values/result, and provide more precise test case if it doesn't.
Folks,
The only thing I might add is that -spat does not actually clip
the returned geometries. It returns all features whose geometries
touch the selection region but it returns the geometries intact, not
clipped.
Lionel, I think you will need to supply a specific example that
is not working for us to followup. I will say that the spatial
filtering is done by the individual driver and there is always the
chance that some drivers do not do it properly.
Best regards,
GOUBET LIONEL a écrit :
Hi,
How use the options –spat XMIN YMIN XMAX YMAX ?
I try but it doesn’t work … All data layer is returned (same if I add in
a table these columns).
What’s the problem ? What’s the utility of this focntion ?
Thanks you
------------------------------------------------------------------------
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev