On Fri, Apr 3, 2009 at 2:35 PM, Yarko Tymciurak <yark...@gmail.com> wrote:

> You can use google maps -
> An example output:
>
> https://us.pycon.org/2009/register/default/maps
>
> The code to accomplish (collect coordinates):
>
> def maps():   in
> http://bazaar.launchpad.net/~yarkot1/web2conf/pycon2009site/annotate/head:/applications/register/controllers/default.py
>
> and:
>
>
> http://bazaar.launchpad.net/~yarkot1/web2conf/pycon2009site/annotate/head:/applications/register/views/default/maps.html
>

You'll also find the piece that gets the lattitue and longitude from address
at the top this file, coordinates_by_address():

http://bazaar.launchpad.net/~yarkot1/web2conf/pycon2009site/annotate/head:/applications/register/models/db_utils.py

FYI - Massimo wrote / worked all this out (I just updated launchpad w/ the
latest of everyone's changes from launchpad, including my own).

Regards,
Yarko



>
> <http://bazaar.launchpad.net/~yarkot1/web2conf/pycon2009site/annotate/head:/applications/register/views/default/maps.html>
>
> You can loose a few hours here:
> http://code.google.com/apis/maps/documentation/
>
> Have fun!
>
>
> On Fri, Apr 3, 2009 at 1:35 PM, dbb <debe...@yahoo.com> wrote:
>
>>
>> We know we can get the longtitude and latitude of an address using
>> web2py, what we need here is to make these points map to x,y
>> coordinate and map the points on google map. Can Prof.Massimo directus
>> how to convert lo,la to x,y, and map the points ( x,y) on google map
>> in web2py world.
>>
>> Best regards:
>>
>> dbb
>>
>> On Apr 3, 10:42 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>> > You want to look into this and talk to authors:
>> >
>> >
>> http://trac.sahanapy.org/browser/models/_gis.pyhttp://trac.sahanapy.org/browser/controllers/gis.py
>> >
>> > Massimo
>> >
>> > On Apr 3, 6:06 am, Timmie <timmichel...@gmx-topmail.de> wrote:
>> >
>> >
>> >
>> > > Dear web2py users/developers,
>> > > I am mostly using python for scientific data processing.
>> > > I would like to take my scripts to an internet/intranet site for a
>> > > larger audience to benefit. Therefore I am evaluating python web
>> > > frameworks.
>> > > So far, the web2py approach is apealing most to me. Clean and easy to
>> > > lean and administer.
>> >
>> > > But for a choice it is also important what existing extensions exist.
>> >
>> > > Here my questions:
>> > > * Is there someone working on a site with Geographical data or GIS
>> > > capabilities (e. g.:http://geo.turbogears.org/samplemap)?
>> > >     => I found the following threads:
>> > >         - Validators: IS_LAT & IS_LON [1]
>> > >         - Using stored procedures [2]
>> > >     => I didn't see any appliance (http://mdp.cti.depaul.edu/
>> > > appliances) of
>> > > such nature.
>> > > * How hard would it be port the existing extensions from Turbogears of
>> > > Django over? [3], [4]
>> > > * Is there anyone using web2py for web based number crunching stuff?
>> >
>> > > A statement on the capabilities and activities of web2py regarding the
>> > > above mentioned requirements would be welcome.
>> >
>> > > Regards,
>> > > Timmie
>> >
>> > > [1]
>> http://groups.google.com/group/web2py/browse_thread/thread/9a11b8dfe3...
>> > > [2]
>> http://groups.google.com/group/web2py/browse_thread/thread/699409b6b4...
>> > > [3]http://geo.turbogears.org/
>> > > [4]http://geodjango.org/- Hide quoted text -
>> >
>> > - Show quoted text -
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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