<div dir="ltr"><div><br><br>On Thu, Aug 24, 2017 at 11:15 AM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br>><br>>  <br>><br>> > You can use v.in.ogr directly for OSM PBF files (<br>><br>> > <a href="http://gdal.org/drv_osm.html">http://gdal.org/drv_osm.html</a>).<br>><br>> ><br>><br>> > BTW, with GDAL 2.2.1, using OGR_INTERLEAVED_READING=YES does not work for<br>><br>> > me (empty vector).<br>><br>>  <br>><br>> Caution: you cannot just specify OGR_INTERLEAVED_READING=YES and loop over layers as usual. See the "Interleaved reading" section of <a href="http://gdal.org/drv_osm.html">http://gdal.org/drv_osm.html</a><br><br></div>I see, thanks for the hint. That means v.in.ogr must be changed to use the special reading mode, or OGR_INTERLEAVED_READING must be unset in v.in.ogr, together with a warning.<br><div><br></div><div>Markus M<br></div><div><br></div></div>