Hi,
Added a small but powerful new feature so that if the user has Numpy he or she
can set an option to make the shapefile reading about 5.5x faster. This Numpy
support is also useful because then the coordinates are listed in Numpy arrays
and can be manipulated with fast advanced computations/transforms.
This was one of several nifty changes/new features to your (already awesome)
library I made in a new fork at
https://github.com/karimbahgat/pyshp-fork-speedup-and-geojson-write
Hope this can be worked into next version of PyShp, especially because it still
keeps Pyshp as a pure Python library, but just adds optional support for
another quite common module Numpy. It is very useful when it comes to really
large shapefiles like the gigantic GADM province dataset, decreasing load time
from several minutes to a much more managable thirty seconds.
Karim
Original issue reported on code.google.com by karim.ba...@gmail.com on 16 Jan 2014 at 1:50
Original issue reported on code.google.com by
karim.ba...@gmail.com
on 16 Jan 2014 at 1:50