https://github.com/stepankuzmin/to-postgis
Loads files in different spatial formats into PostGIS using ogr2ogr
https://github.com/stepankuzmin/to-postgis
geojson ogr2ogr postgis utility
Last synced: 29 days ago
JSON representation
Loads files in different spatial formats into PostGIS using ogr2ogr
- Host: GitHub
- URL: https://github.com/stepankuzmin/to-postgis
- Owner: stepankuzmin
- License: mit
- Created: 2018-04-04T11:43:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:05:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-30T06:01:49.734Z (about 1 month ago)
- Topics: geojson, ogr2ogr, postgis, utility
- Language: JavaScript
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# to-postgis
Loads files in different spatial formats into PostGIS using ogr2ogr.
## Install
**NOTE**: `to-postgis` depends on `ogr2ogr` from GDAL package.
```shell
npm i -g to-postgis
```## Usage
```shell
to-postgis input.geojson postgres://postgres@localhost:5432/db
```