From c85af9a4699e432bc6edc90391123908f5397c02 Mon Sep 17 00:00:00 2001 From: Andrea Antonello Date: Thu, 13 Apr 2017 10:40:59 +0200 Subject: [PATCH] added ogr part as of pull request https://github.com/geopaparazzi/usermanual/pull/3 --- userguide/maps_handling.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/userguide/maps_handling.adoc b/userguide/maps_handling.adoc index c3fb8ac..e3e78d8 100644 --- a/userguide/maps_handling.adoc +++ b/userguide/maps_handling.adoc @@ -154,6 +154,21 @@ Once this result appears to you, you are good to go. Move the spatialite database to your device, fire up geopaparazzi and go directly to the <> and load the database. + +=== OGR + +http://www.gdal.org/ogr2ogr.html[OGR2OGR] can be used to create Spatialite databases supported by geopaparazzi using different datasources. + +The command that can be used is similar to: + +[source,bash] +---- +ogr2ogr -f "SQLite" -t_srs "EPSG:3857" -dsco SPATIALITE=YES output_ortrans.sqlite ORTrans_public.gdb +---- + +NOTE: More info available https://trac.osgeo.org/gdal/changeset/37715[here] + + === GDAL Geopaparazzi does not support reprojecting raster data sources on-the-fly, so the file must be warped to the proper projection before using it. To do it you can use