Re: Map events in space on a django app

2009-03-20 Thread Alessandro
On Fri, Mar 20, 2009 at 11:02 AM, Dougal Matthews wrote: > You might find this useful. It's an app aimed at google map usage with django. > > http://code.google.com/p/django-googlemap/ it seems a bit outdated, I think it's not 1.0 compatible. I'll look into this code, thanks. -- Alessandro Ron

Re: Map events in space on a django app

2009-03-20 Thread Dougal Matthews
You might find this useful. It's an app aimed at google map usage with django. http://code.google.com/p/django-googlemap/ Dougal --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2009/3/20 Alessandro : > > On Fri, Mar 20, 2009 at 3:23 AM, Andy Mckay wrote: >> >> >> You need two

Re: Map events in space on a django app

2009-03-20 Thread Alessandro
On Fri, Mar 20, 2009 at 3:23 AM, Andy Mckay wrote: > > > You need two fields on a model, longitude and latitude. The rest of it > is pure Javascript to place the pin on a map. You can see javascript I > used for my site on http://www.cleartrain.ca, if you really want to > see the code behind the

Re: Map events in space on a django app

2009-03-19 Thread Andy Mckay
On 19-Mar-09, at 5:29 PM, Alessandro wrote: > I'm looking for some documentation, but it seems not too simple. > it should be very easier if someone shared a sample simple app using > django.contrib.gis You need two fields on a model, longitude and latitude. The rest of it is pure Javascript

Re: Map events in space on a django app

2009-03-19 Thread Vasil Vangelovski
If you don't need any spatial related queries (although django people uses something like that) you don't really need a spatial database. You can store geographic coordinates in either FloatFields or CharFields. Your question is more related to GoogleMaps API than django. I'm assuming you

Re: Map events in space on a django app

2009-03-19 Thread Alessandro
On Fri, Mar 20, 2009 at 12:42 AM, Alex Gaynor wrote: >> I thought geo django is too much complex for what I need. I don't need >> to calculate spatial areas, only to store the gps coordinates of a >> point and publish them in a google map, like django people does. >> I'm looking for some docume

Re: Map events in space on a django app

2009-03-19 Thread Alex Gaynor
On Thu, Mar 19, 2009 at 7:41 PM, Alessandro wrote: > > On Thu, Mar 19, 2009 at 9:08 PM, Alex Gaynor > wrote: > > > Geo Django has a lot of tools for working with maps and geographic data, > you might want to look at it: http://geodjango.org/ . > > > > I thought geo django is too much complex for

Re: Map events in space on a django app

2009-03-19 Thread Alessandro
On Thu, Mar 19, 2009 at 9:08 PM, Alex Gaynor wrote: > Geo Django has a lot of tools for working with maps and geographic data, you > might want to look at it: http://geodjango.org/ . > I thought geo django is too much complex for what I need. I don't need to calculate spatial areas, only to st

Re: Map events in space on a django app

2009-03-19 Thread Alex Gaynor
On Thu, Mar 19, 2009 at 4:07 PM, Alessandro Ronchi < alessandro.ron...@soasi.com> wrote: > I need to make a website that permits users to put warnings of dangerous > points in a city map. > > Users should drag a signal on a street map and put text of the warning, and > then send them to the server

Map events in space on a django app

2009-03-19 Thread Alessandro Ronchi
I need to make a website that permits users to put warnings of dangerous points in a city map. Users should drag a signal on a street map and put text of the warning, and then send them to the server. The site should presents them in a navigable map, like it does http://djangopeople.net/ is ther