#6396 closed defect (invalid)
GDAL 2.0.2 can not open some Geopackage files
Reported by: | alexbruy | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.1.0 |
Component: | default | Version: | 2.0.2 |
Severity: | normal | Keywords: | geopackage |
Cc: |
Description
GDAL 2.0.2 from OSGeo4W does not recognize attached GeoPackage, geometry column is None. Same file correctly recognized by GDAL 1.11.2 under Ubuntu. In same time official GeoPackage samples correctly recognized by both GDAL versions.
Attached file created with GeoTools
Change History (8)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Trunk version of GDAL on Windows does not have problems:
C:\Users\jrahkonen\Downloads>ogrinfo export.geopkg INFO: Open of `export.geopkg' using driver `GPKG' successful. 1: country (Multi Polygon)
comment:3 by , 8 years ago
I'm not sure how Jukka manages to read the file with the GPKG driver, as it only supportes the ".gpkg" extension, not ".geopkg". Once renamed as .gpkg, I can read it with branches 1.11, 2.0 and trunk.
comment:4 by , 8 years ago
Actually I renamed the file without further thinking to .gpkg because I have registered my Spatialite-gui to open .gpkg files with double click but edited the answer to use the name of the downloaded file. It did not come into my mind that .gpkg and .geopkg could make difference.
I will take this as a lesson for being more careful in testing and reporting.
comment:6 by , 8 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Renaming helps, thanks! Seems this is bug in software which was used to produce this file. Will report them.
comment:7 by , 8 years ago
Milestone: | → 2.1.0 |
---|
Here is the link to file http://wikisend.com/download/127802/export.geopkg (4 Mb)