Python basemap - read shapefile given in map projection coordinates -
i trying read shapefile of san francisco police departments (https://data.sfgov.org/public-safety/sfpd-districts-zipped-shapefile-format-/8yyx-6uur) via basemap
.
when use basemap.readshapefile
method, error
shapefile must have lat/lon vertices - looks 1 has vertices in map projection coordinates. can convert shapefile geographic coordinates using shpproj utility shapelib tools (http://shapelib.maptools.org/shapelib-tools.html)
is there way read or convert map projection coordinates in python (since dont want use c-library given in error)?
Comments
Post a Comment