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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -