Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steiza/pyshapefile
Python library for loading and visualizing GPS shapefiles
https://github.com/steiza/pyshapefile
Last synced: 23 days ago
JSON representation
Python library for loading and visualizing GPS shapefiles
- Host: GitHub
- URL: https://github.com/steiza/pyshapefile
- Owner: steiza
- License: mit
- Created: 2015-03-16T03:17:48.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T22:21:53.000Z (over 3 years ago)
- Last Synced: 2023-03-11T11:47:21.245Z (over 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
A python library for loading and visualizing GPS shapefiles.
This library is designed to work with large data sets, where you might not
want to load all information at once. A typical usage might look something
like this:shp = ShapefileData('path/to/your_shapefile_name_without_extension')
shp.load_objects()
shp.dbf_load_objects()shp.view_data()
After calling this methods, you can access data like this:
for each in shp.items.itervalues():
if item['type'] == 'polyline':
print each['points']print each[]
## License
This project is licensed under the [MIT License][1]
[1]: http://opensource.org/licenses/MIT