Convert csv to geojson
Project description
csv2geojson
Convert csv to geojson
Installation
pip install csv2geojson
Development
git clone https://github.com/YuChunTsao/csv2geojson.git
cd csv2geojson
pip install -e '.[test]'
CLI usage
usage: csv2geojson [-h] [-v] [-lat lat] [-long long] [-exclude_columns [column_name ...] | -include_columns [column_name ...]]
input output
Convert csv to geojson
positional arguments:
input Input csv file path
output Output geojson file path
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-lat lat Specify the latitude column in csv (default: latitude)
-long long Specify the longitude column in csv (default: longitude)
-exclude_columns [column_name ...]
Exclude columns from geojson properties (default: None)
-include_columns [column_name ...]
Include only these columns in the geojson properties (default: None)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
csv2geojson-0.1.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for csv2geojson-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0f3f0b5cc6b6e047375c5681acda17a09dda811163ca03e97c49bd6d21e80c |
|
MD5 | a620f0b12a70e098476b5afc9345cfb9 |
|
BLAKE2b-256 | 1b023af1929c205f7d1f31aa62590fca45e44ae2f5eb8dd8ec2d484d7ec781d8 |