What is it?
Pandas2Shp module create shape file using latitude and longitude information from pandas columns or python list. Shape file are needed for geo-spatial data analysis.
Input parameters
- longitude Pandas series or dataframe column or numpy array or python list.
- latitude Pandas series or dataframe column or numpy array or python list.
- output_path Directory where you want to save the shape file.
- file_name File name to be kept for shape file in the given output path.
How to use is it?
from Pandas2Shp import Pandas2Shp
long=[-14.394,-9.03,-25.171,-6.712000000000001,-7.932,-8.445,-8.47,-9.355,-7.48,-7.888999999999999,-31.131,-7.966,-28.03,-28.715999999999998,-27.093000000000004,-8.887,-9.036,-25.698,-28.44,-8.584]
lat=[-7.968999999999999,38.883,36.971,41.868,38.079,41.586999999999996,40.157,38.725,40.265,38.533,39.455,37.014,39.092,38.52,38.764,39.830999999999996,38.704,37.741,38.554,37.149]
output_path='/home/user/airport/'
file_name='airports'
myObj=Pandas2Shp(longitude,latitude,output_path,file_name)
myObj.getShp()
Where to get it?
pip install Pandas2Shp
Dependencies
Release files for Pandas2Shp 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Pandas2Shp-0.0.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Pandas2Shp-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / Pandas2Shp-0.0.2.tar.gz
| Download URL | Pandas2Shp-0.0.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ab01b4d454095661d86456ba9bf00ab081463908046b4b26c2fce30088436fb
|
|
BLAKE2b-256 checksum How to use checksums |
cbed5295802f922c252bf2503124e7eb696ad46d35794895b2c14edb01cc19b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|
Release files / Pandas2Shp-0.0.2-py3-none-any.whl
| Download URL | Pandas2Shp-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c00cbb6fd33804a1d8d29bcde92747acc3aa6b9df8ddc30e0a852c12bbb51da
|
|
BLAKE2b-256 checksum How to use checksums |
a32cd7fb67034ce5d2c75ed55ec6b41eb7d7cc0ed69296814a367f78803ff67d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
|