[gdal-dev] Ogr2Ogr convert wih max feature
Ari Jolma
ari.jolma at gmail.com
Tue Mar 13 11:59:32 EDT 2012
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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120313/5b3d969c/attachment.html
More information about the gdal-dev
mailing list