ngageoint / geopackage-android

GeoPackage Android Library
http://ngageoint.github.io/geopackage-android
MIT License
94 stars 32 forks source link

Does the GeoPackage Native Library support converting vector data to GPKG vector features? #63

Closed geospatialmapmashup closed 4 years ago

geospatialmapmashup commented 4 years ago

State your question Does the GeoPackage Native Library support converting vector data to GPKG vector features?

Additional context I've been reviewing the classes and methods and I am having issues finding if the GeoPackage-Android supports converting SHP or GeoJSON or data into GPKG vector features like GeoPackage-JS can do.

bosborn commented 4 years ago

Conversions can be done with the Simple Features library dependencies ( WKB, GeoJSON, Projection, OGC API Features JSON ). As long as features can be converted to WKB, this library can add the GeoPackage header bytes. There is currently no included SHP conversion.

See ngageoint/geopackage-android-map#16 for some examples including GeoJSON.