Hi,
Passing a single layer hides the real issue, that is the table “other_relations
(Geometry Collection)”. GDB does not support geometrycollections, therefore the
ERROR 6: Unsupported geometry type.
Fastest way to get all data except geometrycollections into GDB may go through
GeoPackage with
ogr2ogr -f OpenFileGDB -spat 39 30 40 41 -nlt MULTIPOLYGON -ds_transaction
C:\TEMP\TEST5.gdb C:\TEMP\World_8_3.osm multipolygons
You need to just pass the single layer to ogr2ogr
Mike
From: John Oliver
Date: Thursday, February 20, 2025 at 1:31 PM
To: Michael Smith , "gdal-dev@list
Tried the -nlt option and the ERROR did go away, which is promising but output
is still empty
C:\Program Files\QGIS 3.34.1>ogr2ogr -f OpenFileGDB -spat 39 30 40 41 -nlt
MULTIPOLYGON -ds_transaction C:\TEMP\TEST5.gdb C:\TEMP\World_8_3.osm
Warning 1: Input datasource uses random layer reading, bu
Excuse my ignorance. I am not a developer. But I'm trying what should be a
relatively simple task.
I need to extract a subset of OSM to Esri FileGDB format.
My OSM file is valid:
C:\Program Files\QGIS 3.34.1>ogrinfo C:\TEMP\World_8_3.osm
INFO: Open of `C:\TEMP\World_8_3.osm'
using driver `
I believe you need to do this by layer, eg points/lines/etc. One GDB per
geometry class.
Mike
--
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
From: gdal-dev on behalf of John Oliver via
gdal-dev
Reply-To: John Oliver
Date: Thursday, February 20, 2025
-0 Dan
On Wed, Feb 19, 2025 at 5:24 AM Even Rouault via gdal-dev <
gdal-dev@lists.osgeo.org> wrote:
> Motion: adopt RFC 108
>
> +1 Even
>
> Le 18/02/2025 à 18:28, Even Rouault via gdal-dev a écrit :
> > "Formalizing" recent discussions:
> > https://github.com/OSGeo/gdal/pull/11862
> >
> --
> http