[sqlalchemy] Re: custom type for PostGIS geometry

2008-07-23 Thread Hans
I just wanted to followup to this thread to report success using the patch provided below. You might want to try experimenting with a simple monkeypatch approach just to see what kind of results you get - this is just a guess based on a particular compiler hook we have that specifically

[sqlalchemy] Re: custom type for PostGIS geometry

2008-06-30 Thread Michael Bayer
On Jun 30, 2008, at 1:04 PM, Hans wrote: The problem is that I'd like to have sqlalchemy return KML for all geometry types by default, but I don't know how to setup my type to specify a SQL function that needs to be applied to the column in the select clause. Is this possible?

[sqlalchemy] Re: custom type for PostGIS geometry

2008-06-30 Thread Hans
On Jun 30, 1:24 pm, Michael Bayer [EMAIL PROTECTED] wrote: On Jun 30, 2008, at 1:04 PM, Hans wrote: The problem is that I'd like to have sqlalchemy return KML for all geometry types by default, but I don't know how to setup my type to specify a SQL function that needs to be applied to