Hi

(sorry if it's not the proper forum for this discussion, but I know
there may interested people listening here :-)

I'd like that MapFish rely on GeoAlchemy, to share code and development.

For this, we need that GeoAlchemy reads database geometry values as
objects implementing the __geo_interface__.

The easiest would be to make GeoAlchemy create Shapely geometry
objects. But I don't think it'd be a good idea to make GeoAlchemy
depend on Shapely, because Shapely isn't a pure-Python lib.

So I've been thinking about adding the boolean option "shape" to
GeoAlchemy's TypeEngine (GeometryBase). If this option is true
GeoAlchemy will create a Shapely geometry object using
shapely.wrk.loads() and will add as a property to the
PersistentSpatialElement object.

What do you think?

Thanks,
--
Eric
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to