0

I have a GeoPandas dataframe that I can properly plot

f,ax=plt.subplots()
myGdf.boundary.plot(ax=ax)

enter image description here

If I change projection I get, a rotated geometry of 90 degree.

myGdf1 = myGdf.to_crs({'init': 'epsg:3174'})
f,ax=plt.subplots()
myGdf1.boundary.plot(ax=ax)

enter image description here

Am I doing something wrong?

2
  • Depending on what coordinate transformation you are using, this could very well be normal behaviour: You are transforming the data. However, since it is quite a change, please check that your data is in the accepted area of 'epsg:3174' – Gevaert Joep Feb 11 at 10:39
  • Since EPSG:3174 is described as "NAD83 / Great Lakes Albers", an Albers Conic Equal Area centered about 84.456W longitude in North America, and your data is apparently centered on 36.8E, it's not surprising that you're seeing warping at the far edges of the projection. – Vince Feb 11 at 13:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.