Plot points from a kml file in django

399 views
Skip to first unread message

Coulson Thabo Kgathi

unread,
Sep 11, 2012, 6:30:34 AM9/11/12
to django...@googlegroups.com
Plot points from a kml file in django

Cal Leeming [Simplicity Media Ltd]

unread,
Sep 11, 2012, 6:42:29 AM9/11/12
to django...@googlegroups.com
http://stackoverflow.com/questions/8000033/how-to-process-an-uploaded-kml-file-in-geodjango 

Come on man, use Google :)

Cal

On Tue, Sep 11, 2012 at 11:30 AM, Coulson Thabo Kgathi <zeec...@gmail.com> wrote:
Plot points from a kml file in django

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/d1SMT2gK38cJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Coulson Thabo Kgathi

unread,
Sep 11, 2012, 8:49:31 AM9/11/12
to django...@googlegroups.com
I googled, went through the geodjango tutorial, now my problem is ploting points or coordinates on a map on my geodjango project tht i created using this kml file

Cal Leeming [Simplicity Media Ltd]

unread,
Sep 11, 2012, 9:17:46 AM9/11/12
to django...@googlegroups.com
Need a bit more info than that for anyone to help you.

Please tell us exactly what information you have, what you are trying to achieve, and where you are getting stuck.

Cal

On Tue, Sep 11, 2012 at 1:49 PM, Coulson Thabo Kgathi <zeec...@gmail.com> wrote:
I googled, went through the geodjango tutorial, now my problem is ploting points or coordinates on a map on my geodjango project tht i created using this kml file

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/D4KmAQqQOiUJ.

Coulson Thabo Kgathi

unread,
Sep 12, 2012, 2:03:19 AM9/12/12
to django...@googlegroups.com
i have made a geodjango project, and my intension is to make a map application that will will plot points on a map. the points are to be made by using gps coordinates that i that i have in a kml file. so what i did is convert the kml file into shapefile and auto generated the model by using ogrinspect. the pasted the models produced in the models.py file hoping that those points wil be show on the map when opening http://localhost:8000 but it seems the ogrinspect does not even create a field for coordinates on the models. not sure thats because the kml file was not converted correctly or not cos i converted it using an online tool from hear http://www.zonums.com/online/kml2shp.php.

so my intentions is just to plot points on a map with geodjango to show area coverage of a particular location.

How that is clear now

Coulson Thabo Kgathi

unread,
Sep 12, 2012, 2:05:31 AM9/12/12
to django...@googlegroups.com
my interntion is to have somethin like this, but not exactly the same. have points plotted on a map like this.

HoustonCrimeMaps

Coulson Thabo Kgathi

unread,
Sep 12, 2012, 2:43:08 AM9/12/12
to django...@googlegroups.com
eish i am a dead man if i dnt do ths by end of today

Melvyn Sopacua

unread,
Sep 12, 2012, 3:54:50 PM9/12/12
to django...@googlegroups.com

Open your models in the admin. Fwiw, Geodjango uses overlays on externally hosted basemaps using openlayers API.
Rendering maps natively is not supported, as far as I can tell. One a would use mapserver for that.

Reply all
Reply to author
Forward
0 new messages