ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
[wxpython-users] Live map widget
by Alex Garbino other posts by this author
Jul 19 2008 12:32PM messages near this date
Re: [wxpython-users] Distutils | Re: [wxpython-users] Live map widget
Hello,

I'm just starting with python, and I'm trying develop a widget that
shows my position on a map, and updates it as new position information
comes in.
I found some examples with tk (pyGPS), but I want to use wxPython.
Furthermore, this is to use in a racecar (track the car position as it
goes around the circuit), so I don't need to use some big database of
the world (like basemap in the matlibplot module); I can draw the map
form aerial pictures (from Google earth) as a vector graphic, or I
could also do a few laps and use that data to draw the map.

Can someone give me some pointers on how to do this?
Specifically, I don't know:
- How I should build the window that draws the map: is it a picture
display? (I've gone through the simple text editor example, and looked
at demos)

- How do I update the position on the track? Do I draw a dot, delete
it, and then redraw it? (I get GPS position data every second)

- I found some examples (in the pyGPS/basemap examples) on how to
convert the lat/long to x,y coords, but how do I draw a dot on the map
with this (hopefully an example is out there..)


Thanks!
Alex
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Alex Garbino
Christopher Barker
Alex Garbino
Christopher Barker
Robin Dunn
Alec Bennett

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved