Opened 12 years ago

Closed 12 years ago

#4825 closed defect (fixed)

OSM driver does not support row count limit with SQLITE SQL dialect

Reported by: Jukka Rahkonen Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: osm sqlite
Cc:

Description

A trial to create a 20 row long test table from OpenStreetMap data fails with the following command

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

Change History (1)

comment:1 by Even Rouault, 12 years ago

Component: defaultOGR_SF
Keywords: osm sqlite added
Resolution: fixed
Status: newclosed
Version: unspecifiedsvn-trunk

r24969 "OSM: make ExecuteSQL() with SQLite dialect ignore layers that are not consumed (#4825)"

Note: See TracTickets for help on using tickets.