csv2geojson-0.1.0


توضیحات

Convert csv to geojson
ویژگی مقدار
سیستم عامل -
نام فایل csv2geojson-0.1.0
نام csv2geojson
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده YuChunTsao <tsao84672776@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/csv2geojson/
مجوز MIT License Copyright (c) 2022 Yu Chun Tsao Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# csv2geojson Convert csv to geojson ## Installation ```bash pip install csv2geojson ``` ### Development ```bash git clone https://github.com/YuChunTsao/csv2geojson.git cd csv2geojson pip install -e '.[test]' ``` ## CLI usage ```txt 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) ```


نیازمندی

مقدار نام
- geopandas>=0.10
xtr pytest;
xtr pytest;


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl csv2geojson-0.1.0:

    pip install csv2geojson-0.1.0.whl


نصب پکیج tar.gz csv2geojson-0.1.0:

    pip install csv2geojson-0.1.0.tar.gz