On Sun, Apr 19, 2009 at 11:37 PM, Michael Bayer <mike...@zzzcomputing.com> wrote: > how easily can the SQLAlchemy constructs be used independently of the > Pylons/RESTful stuff ?
By installing the package and only import mapfish.sqlalchemygeom. But a separate python package may make sense, and I guess what we could do that if people are interested. > do you include comparator objects like those > demonstrated in the postgis.py example ? e.g.: No, but I'd be interested in looking into that more closely. > > print > session > .query(Road).filter(Road.road_geom.intersects(r1.road_geom)).all() > session.query(Road).filter(Road.road_geom == 'LINESTRING(189412 > 252431,189631 259122)').one() > > the "GeomFromText" function is called implicitly with the above > examples. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---