[gdal-dev] Row count limit in OGR SQL with -dialect=SQLITE
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Thu Sep 27 01:19:12 PDT 2012
Jukka Rahkonen <jukka.rahkonen <at> mmmtike.fi> writes:
>
> Hi,
>
> The following SQL works fine when using Spatialite as source
>
> osm_data>ogrinfo osm.sqlite -dialect SQLITE -sql "select * from lines
> where highway is not null limit 20"
>
> With native OSM data it fails
> OSM_data>ogrinfo -dialect SQLITE finland.osm.pbf -sql "select * from lines
> limit 20"
> Had to open data source read-only.
> INFO: Open of `finland.osm.pbf'
> using driver `OSM' successful.
> ERROR 1: Too many features have accumulated in points layer.
Use OGR_INTERLEAVED
> _READING=YES mode
This seems to work now just fine with GDAL r24984.
-Jukka-
More information about the gdal-dev
mailing list