On Jan 5, 7:35 pm, Timothy Farrell <tfarr...@swgen.com> wrote:
> In the meantime, Massimo allowed me to patch in the ability to use a 
> different DAL/ORM if you so choose.  Just note that if you do, the admin app 
> can't use non-web2py DAL models.
> The API for this is to specify the function to run when the database should 
> be committed or rolled back...like so:
> response.custom_commit=lambda: do_commit()
> response.custom_rollback=lambda: do_rollback()

Could this same approach be taken to do Spatial queries in PostGIS?

I'm not ready to do this yet in my app, but I see it as a very useful
feature later to speed up such queries enormously.
Of course having the DAL spaitally aware would be awesome.
I'm assuming that to get this done, I'd need to be prepared to put in
some work to get suitable patches  preapred but then those patches
would be likely to be accepted?

Am planning to store geographic features as WKT for portability, but
want to be able to do spatial queries where this is DB support for
such:
http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2742021

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to