I'm trying to convert Projected bounds to WGS84 using Pyproj but getting strange results.
The Projected Bounds are : 909126.0155, 110626.2880, 1610215.3590, 424498.0529
The corresponding WGS84 Bounds (the target) are: -74.2700, 40.4700, -71.7500, 41.3100
The data is from: http://spatialreference.org/ref/epsg/nad83-new-york-long-island-ftus/
>>> from pyproj import Proj, transform
>>> inProj = Proj("+init=EPSG:2236")
>>> outProj = Proj("+init=EPSG:3857")
>>> x1,y1 = (110626.2880, 909126.0155)
>>> print(transform(inProj,outProj,x1,y1))
(-9122788.926222347, 3833518.013375292)
The outProj is based on my understanding of what Google Maps uses.
inProj
andoutProj
. Not getting: -74.2700, 40.4700 – zadrozny Apr 20 '18 at 22:48outProj = Proj("+init=EPSG:4269")
andoutProj = Proj("+init=EPSG:4326")
give me (-76.53059046753678, 48.30210692217332) That's much closer but still off. – zadrozny Apr 20 '18 at 22:59