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

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -