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 details)
Built Distribution
File details
Details for the file csv2geojson-0.1.0.tar.gz
.
File metadata
- Download URL: csv2geojson-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041b0f91443bcb11167d9cf7cb047c89da34f223e944f333b386836a59cbf142 |
|
MD5 | 03ac176247eb04652be8286b62a6312d |
|
BLAKE2b-256 | 6b1f009f4d4efd10ce85c3ccadc09af5e6b58f865b9d4d73f48b06dbe03d11d8 |
File details
Details for the file csv2geojson-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: csv2geojson-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0f3f0b5cc6b6e047375c5681acda17a09dda811163ca03e97c49bd6d21e80c |
|
MD5 | a620f0b12a70e098476b5afc9345cfb9 |
|
BLAKE2b-256 | 1b023af1929c205f7d1f31aa62590fca45e44ae2f5eb8dd8ec2d484d7ec781d8 |