Basic conversion from Shapefile to GeoPackage: ogr2ogr output.gpkg input.shp Change the coordinate reference system fromEPSG:4326toEPSG:3857: ogr2ogr -s_srs EPSG:4326 -t_srs EPSG:3857 output.gpkg input.gpkg Example appending to an existing layer: ogr2ogr -append -f PostgreSQL PG:dbname=warm...
Document --use-epsg-io Dec 22, 2017 cli.js Undo change spatialreference -> gs Nov 9, 2022 crs-defs.json add EPSG:3857 Jan 8, 2014 index.js Retain Z coordinate if it got lost. Dec 11, 2018 package-lock.json 1.2.7 Nov 9, 2022 ...
mapExtentis critical option. Usually your data would would be inWGS84(World Geodetic System) and unit as degree decimal for latitudes and longitude. Spatial reference system code for this is "EPSG:4326". To show the geographic data on two dimensional plane (paper or HTML page) the coordinates...
Basic conversion from Shapefile to GeoPackage: ogr2ogr \ -f GPKG output.gpkg \ input.shp Change the coordinate reference system from EPSG:4326 to EPSG:3857: ogr2ogr \ -s_srs EPSG:4326 \ -t_srs EPSG:3857 \ -f GPKG output.gpkg \ input.gpkg Example appending to an existing layer (both...
Basic conversion from Shapefile to GeoPackage: ogr2ogr output.gpkg input.shp Change the coordinate reference system from EPSG:4326 to EPSG:3857: ogr2ogr -s_srs EPSG:4326 -t_srs EPSG:3857 output.gpkg input.gpkg Example appending to an existing layer: ogr2ogr -append -f PostgreSQL PG:dbname...
(s). It is generally not necessary to specify it, but it can be used to skip automatic driver detection, when it fails to select the appropriate driver. This option can be repeated several times to specify several candidate drivers. Note that it does not force those drivers to open the ...