opengeospatial / geoedge-plugfest

Repository for Geospatial to the Edge Interoperability Plugfest
http://www.github.com/opengeospatial/geoedge-plugfest
0 stars 2 forks source link

GeoPackage Vector Apollo uses EWKB instead of the expected WKB for its geometry #11

Open robinhoutmeyers opened 6 years ago

robinhoutmeyers commented 6 years ago

OGC GeoPackage relies on WKB to encode geometry. The GeoPackage Vector Apollo file however seems to use EWKB, an extended version of WKB used by PostGIS and SpatiaLite.

A small hex snapshot from a maritime_limit_c feature's geometry:

47 50 00 01 E6 10 00 00 01 EE

=> E6 10 00 00 refers to 4326, which is the SRID value used by EWKB; this is not part of WKB. See also https://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html.

robinhoutmeyers commented 6 years ago

Still present in the sprint 2 dataset.