When using Python anad fiona
package to read a shapefile of Boston, I am getting very large values in the tens of thousands. Why is this?
# Import Boston shapefile
shapefilename = 'ZIPCODES_NT_POLY'
shp = fiona.open(shapefilename + '.shp')
coords = shp.bounds
shp.close()
Then running coords
gives the output
(33869.92130000144, 777617.2998000011, 330800.31099999696, 959741.1853)
-
An answer was given here stackoverflow.com/questions/31900600/… The file's original coordinate system was not considereduser681– user6812015年08月09日 04:29:05 +00:00Commented Aug 9, 2015 at 4:29
-
1Cross-posted from stackoverflow.com/q/31900600PolyGeo– PolyGeo ♦2015年08月09日 04:45:01 +00:00Commented Aug 9, 2015 at 4:45
1 Answer 1
On the page you linked to (that describes the data you converted), it says:
MassGIS also projected the data into the Massachusetts State Plane Mainland coordinate system.
Consequently, values in the range that you are observing, are to be expected.
I am assuming that you were expecting latitude and longitude values but this data has been projected.
-
It is EPSG:26986 — NAD83 / Massachusetts MainlandMike T– Mike T2015年08月09日 20:20:52 +00:00Commented Aug 9, 2015 at 20:20