https://github.com/steiza/pyshapefile
Python library for loading and visualizing GPS shapefiles
https://github.com/steiza/pyshapefile
Last synced: 4 months 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 10 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T22:21:53.000Z (over 4 years ago)
- Last Synced: 2025-01-26T03:44:36.324Z (6 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- 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