0

I have geoalchemy2 on my machine. If I import geoalchemy2 and run geoalchemy2.shape, I got: AttributeError: module 'geoalchemy2' has no attribute 'shape'. But if I run geoalchemy2.shape.to_shape(), it can find the method... I am confused on the differences between the two usage of geoalchemy2.shape. Why the differences happen?

Quan Zhou
  • 307
  • 1
  • 12

1 Answers1

0

For me this happened if shapely is not installed in the environment, got it when dockerizing an app.

Cristian Garcia
  • 9,630
  • 6
  • 54
  • 75