Convert geospatial vector data between file formats.
ogr2ogr -f GPKG {path/to/output}.gpkg {path/to/input}.shp
ogr2ogr -where '{myProperty > 42}' -f {GeoJSON} {path/to/output.geojson} {path/to/input.geojson}
EPSG:4326
to EPSG:3857
:
ogr2ogr -s_srs {EPSG:4326} -t_srs {EPSG:3857} -f GPKG {path/to/output}.gpkg {path/to/input}.gpkg
ogr2ogr -f GPKG {path/to/output}.gpkg {path/to/input}.csv -oo X_POSSIBLE_NAMES={longitude} -oo Y_POSSIBLE_NAMES={latitude} -a_srs {EPSG:4326}
ogr2ogr -f PostgreSQL PG:dbname="{database_name}" {path/to/input}.gpkg
ogr2ogr -spat {min_x} {min_y} {max_x} {max_y} -f GPKG {path/to/output}.gpkg {path/to/input}.gpkg
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB