Interestingly, I just submitted an enhancement request for CopyLayer
method of DataSource, which would make it easy to add max_features
switch to ogr2ogr
http://trac.osgeo.org/gdal/ticket/4564
Ari
On 03/13/2012 01:30 PM, xavier lhomme wrote:
Thanks I succeed to import only 5 features for each layer with the
MAXFEATURES args !
you need to append the MAXFEATURES parameter to the url querystring,
for example:
ogr2ogr -f "FleGDB" mydb.gdb
WFS:"http://geohub.jrc.ec.europa.eu/effis/ows?SERVICE=WFS&MAXFEATURES=3
<http://geohub.jrc.ec.europa.eu/effis/ows?SERVICE=WFS&MAXFEATURES=3>"
FiresAll
best regards
P
--
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev