Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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