Fran, if you start working on a spatially aware DAL, please let me
know so we could join forces or at least avoid code duplication. I
have some spatial projects (none of them web2py at the moment) that
I'm considering on migrating, but more serious spatial support would
be needed for that, maybe even an additional module (like what
geodjango is to django) to avoid bloating the base of web2py
unnecessarily for the majority of users who don't need spatial
functionality.

On Jan 5, 10:31 pm, Fran <francisb...@googlemail.com> wrote:
> 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#id2...
>
> 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