1

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)
2

1 Answer 1

6

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.

1
  • It is EPSG:26986 — NAD83 / Massachusetts Mainland
    – Mike T
    Aug 9, 2015 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.