https://github.com/gmalt/cli
Download, extract and import HGT data into a SQL database
https://github.com/gmalt/cli
cli gis hgt postgis postgresql python srtm
Last synced: 10 months ago
JSON representation
Download, extract and import HGT data into a SQL database
- Host: GitHub
- URL: https://github.com/gmalt/cli
- Owner: gmalt
- License: mit
- Created: 2016-09-23T18:57:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T21:04:34.000Z (almost 9 years ago)
- Last Synced: 2024-11-17T04:12:24.313Z (over 1 year ago)
- Topics: cli, gis, hgt, postgis, postgresql, python, srtm
- Language: Python
- Size: 29.6 MB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
gmalt CLI
=========
.. image:: https://travis-ci.org/gmalt/cli.svg?branch=master
:target: https://travis-ci.org/gmalt/cli
Introduction
------------
This project provides a few CLI commands to download, extract and import HGT data into a SQL database.
It has been tested on python 2.7, 3.4, 3.5 and 3.6 and works with PostgreSQL with and without PostGIS extension.
Documentation
-------------
- `Installation `_
- The CLI commands :
- ``gmalt-hgtget`` : `download and extract HGT zip files `_
- ``gmalt-hgtread`` : `read an elevation value in a HGT file `_
- ``gmalt-hgtload`` : `load the HGT data in a SQL database `_
Roadmap
-------
Feel free to make a pull request for any of the items in this list :
* Provide a bash script in case the executable ``raster2pgsql`` is present
* Improve interface with parser using ``namedtuple``
* Support MySQL without GIS extension
* Support MySQL with GIS extension
* ``gmalt-hgtload`` should support importing a single file instead of the content of a folder