[gdal-dev] Ogr2Ogr convert wih max feature

Paolo Corti pcorti at gmail.com
Tue Mar 13 06:20:03 EDT 2012


>   I want to convert data from a WFS to a FilkeGDB but limit the download of
> feature with a max Feature by layer args :
>
>
>
> Ogr2Ogr –f “FleGDB” toto.gdb http://<url
> WebServer>?request=GetCapabilities&service=WFS  maxFeature=5
>

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"
FiresAll

best regards
P

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the gdal-dev mailing list