i would like to create a gps application

i have an application i am working on, its gonna be a real hoot when all of the stuff is done, but now i want to impliment the ability to open an OSM (Open street map ) file and display the right tile based on where i am (gps) and then plot onto it the little arrow (location indicator)

what type of wxpython control would i use to display th map?

what would i need to read the file, or what format would the maps need to be in to accomplish this? any help is appreciated… pointers too! i dont want premade programs please.

more about the application >> my daughter has a gokart and i am working on this so that she can get a feel for real vehicle instrumentation, i have been working on it for about a week and so far the program shows a nice UI for Speed,RPM,odometer,4 temp gauges, 8 idiot lights, has a built in MP3 player, will have GPS, and gps telemetry (little screen that plots satillites) has built in interface to show error messages it is comming to gether pretty well i would say i have been working on it for a week. i plan to run it on a raspberry pi, which is what it is formatted for the raspberry pi has a cool little touch screen so the interface is set up for touch buttons. hopefully i can what i have posted to a page so that it can be seen, i think its pretty slick.

You might want to check this project out: Google Code Archive - Long-term storage for Google Code Project Hosting.

It will probably give you some ideas.

  • Mike
···

On Thursday, March 12, 2015 at 5:15:52 AM UTC-5, t gillespie wrote:

i have an application i am working on, its gonna be a real hoot when all of the stuff is done, but now i want to impliment the ability to open an OSM (Open street map ) file and display the right tile based on where i am (gps) and then plot onto it the little arrow (location indicator)

what type of wxpython control would i use to display th map?

what would i need to read the file, or what format would the maps need to be in to accomplish this? any help is appreciated… pointers too! i dont want premade programs please.

more about the application >> my daughter has a gokart and i am working on this so that she can get a feel for real vehicle instrumentation, i have been working on it for about a week and so far the program shows a nice UI for Speed,RPM,odometer,4 temp gauges, 8 idiot lights, has a built in MP3 player, will have GPS, and gps telemetry (little screen that plots satillites) has built in interface to show error messages it is comming to gether pretty well i would say i have been working on it for a week. i plan to run it on a raspberry pi, which is what it is formatted for the raspberry pi has a cool little touch screen so the interface is set up for touch buttons. hopefully i can what i have posted to a page so that it can be seen, i think its pretty slick.

that looks freakin awesome! and imagine that i am downloading north america from the open street maps right now … lol and its a native wxpython widget even cooler. i was looking at mapnik and going about it that way as there is bindings for python, but it wasnt really what i wanted based on it wasnt all the way python, i want to keep all the code as pure as possible without haveing to call too many external programs to feed python.

···

On Thursday, March 12, 2015 at 8:39:46 AM UTC-5, Mike Driscoll wrote:

On Thursday, March 12, 2015 at 5:15:52 AM UTC-5, t gillespie wrote:

i have an application i am working on, its gonna be a real hoot when all of the stuff is done, but now i want to impliment the ability to open an OSM (Open street map ) file and display the right tile based on where i am (gps) and then plot onto it the little arrow (location indicator)

what type of wxpython control would i use to display th map?

what would i need to read the file, or what format would the maps need to be in to accomplish this? any help is appreciated… pointers too! i dont want premade programs please.

more about the application >> my daughter has a gokart and i am working on this so that she can get a feel for real vehicle instrumentation, i have been working on it for about a week and so far the program shows a nice UI for Speed,RPM,odometer,4 temp gauges, 8 idiot lights, has a built in MP3 player, will have GPS, and gps telemetry (little screen that plots satillites) has built in interface to show error messages it is comming to gether pretty well i would say i have been working on it for a week. i plan to run it on a raspberry pi, which is what it is formatted for the raspberry pi has a cool little touch screen so the interface is set up for touch buttons. hopefully i can what i have posted to a page so that it can be seen, i think its pretty slick.

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

It will probably give you some ideas.

  • Mike

more about the application >> my daughter has a gokart and i am working on
this so that she can get a feel for real vehicle instrumentation, i have
been working on it for about a week and so far the program shows a nice UI
for Speed,RPM,odometer,4 temp gauges, 8 idiot lights, has a built in MP3
player, will have GPS, and gps telemetry (little screen that plots
satillites) has built in interface to show error messages it is comming to
gether pretty well i would say i have been working on it for a week. i plan
to run it on a raspberry pi, which is what it is formatted for the
raspberry pi has a cool little touch screen so the interface is set up for
touch buttons. hopefully i can what i have posted to a page so that it can
be seen, i think its pretty slick.

A little OT, but: major cool dad points for you!

I'll second that and ask (perhaps rhetorically) where she will be driving
her go-cart that she needs a GPS receiver? I thought go-carts were
restricted to closed tracks and neighborhood streets.

Rich

···

On Sat, 14 Mar 2015, C M wrote:

A little OT, but: major cool dad points for you!

You might want to check this project out:

https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made
me wonder what other custom widgets might be out there that are not
included with the wxPython download and I don't know about, particularly
since this one looks like a nice contribution.

Thanks,
Che.

···

--

You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

well to answer where she will be driving probably couldn’t tell you but one of the things I plan to put into this is the ability to record points on a map like geocaching and then link this points together creating a custom track if u will. since I began programming in python over a week ago now the 's one of my project has grown, I have changed the interface that is on the cart to be Bluetooth and communicate with the raspberry over Bluetooth comments port the GPS module also communicates over Bluetooth. my idea was I could take the device off the cart this way go out to our yard and walk off 20 or thirty points and then have the program link them then as she drives the computer will tell her right turn ahead, that way she gets the feel for driving, and I can shorten the notice from the computer to simulate her driving with her friends in a real car later in life sharpen her reflexes. lol. in Tennessee as long as a go cart has wheel fenders lights and seat belts it can be registered for road use. if this project is a success I may duplicate it and use it on my sand rail

···

On Mar 14, 2015 1:15 PM, “Rich Shepard” rshepard@appl-ecosys.com wrote:

On Sat, 14 Mar 2015, C M wrote:

A little OT, but: major cool dad points for you!

I’ll second that and ask (perhaps rhetorically) where she will be driving

her go-cart that she needs a GPS receiver? I thought go-carts were

restricted to closed tracks and neighborhood streets.

Rich

Hi Che,

···

On Saturday, March 14, 2015 at 1:15:27 PM UTC-5, Che M wrote:

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made me wonder what other custom widgets might be out there that are not included with the wxPython download and I don’t know about, particularly since this one looks like a nice contribution.

Thanks,

Che.

I remembered someone mentioned it either here or on StackOverflow, but I couldn’t remember what it was called, so I used some Google Fu to find it. I think it would be awesome if the wiki had a page that listed some of these projects, but I don’t think it has that currently. Perhaps we can add one.

Mike

Turns out I was sort of mistaken. There is a page on the wiki:

http://wiki.wxpython.org/wxPythonPit%20Libs

It obviously hasn’t been updated in a while though as it is mostly links to stuff that Andrea created and then ended up getting included in the main wxPython distribution. However, I think this would be a good place to add new widgets.

  • Mike
···

On Monday, March 16, 2015 at 9:04:07 AM UTC-5, Mike Driscoll wrote:

Hi Che,

On Saturday, March 14, 2015 at 1:15:27 PM UTC-5, Che M wrote:

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made me wonder what other custom widgets might be out there that are not included with the wxPython download and I don’t know about, particularly since this one looks like a nice contribution.

Thanks,

Che.

I remembered someone mentioned it either here or on StackOverflow, but I couldn’t remember what it was called, so I used some Google Fu to find it. I think it would be awesome if the wiki had a page that listed some of these projects, but I don’t think it has that currently. Perhaps we can add one.

Mike

so far I’m about a week into the GPS half of this and wow let me tell you I have learned a lot. I hate python a little less now too :slight_smile: so far the conclusion I have come to is that the hardest part of this whole thing is you need all the GPS tiles, whether you use Pyslip or you use basemap. I have also figured a way to use basemap as a slip map. sometime tonight or tomorrow I will open up Pyslip and see what it has as far as features, maybe I will add to it etc and the it can become an active project again to get a good control like that into wxpython as part of a release would be pretty cool since there isn’t a native control that does what it does.

···

On Mar 16, 2015 9:04 AM, “Mike Driscoll” kyosohma@gmail.com wrote:

Hi Che,

On Saturday, March 14, 2015 at 1:15:27 PM UTC-5, Che M wrote:

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made me wonder what other custom widgets might be out there that are not included with the wxPython download and I don’t know about, particularly since this one looks like a nice contribution.

Thanks,

Che.

I remembered someone mentioned it either here or on StackOverflow, but I couldn’t remember what it was called, so I used some Google Fu to find it. I think it would be awesome if the wiki had a page that listed some of these projects, but I don’t think it has that currently. Perhaps we can add one.

Mike

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/0YqexIvVDPU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

just wanted to add some screen shots of what i have so far as far as the gps part. most of this is more telemetry i have a hitsogram that shows the SNR and a constellation view, as well as a basemap with the location pinned on it. the calculation to convert the gps was a pain in the but NMEA you would figure would have a more… convienet way to do it but nope… here that code it takes the lat and long coordinates and converts them to degrees decimal… if yall have any ideas on how to make the code smaller that would be awesome… this code is really readable and really precise, but im not sure its all that needed (precision) .
`N = ‘3521.9479’
W = ‘08854.9803’

Degree_Longitude = W[0:3]
Min_Longitude = W[3:5]
Sec_Longitude = W[6:10]

Degree_Latitude = N[0:2]
Min_Latitude = N[2:4]
Sec_Latitude = N[5:9]

Long_Corrected_Sec = float(Sec_Longitude) / 10000
Long_Corrected_Sec = 60 * Long_Corrected_Sec

Lat_Corrected_Sec = float(Sec_Latitude) / 10000
Lat_Corrected_Sec = 60 * Lat_Corrected_Sec

print(Degree_Latitude,Min_Latitude,Lat_Corrected_Sec,“N”)
print(Degree_Longitude,Min_Longitude,Long_Corrected_Sec,“W”)

Lat_Degrees = float(Degree_Latitude)
Lat_CM = float(Min_Latitude) / 60
Lat_CS = float(Lat_Corrected_Sec) / 3600
Degrees_Lat = Lat_Degrees + Lat_CM + Lat_CS

Long_Degrees = float(Degree_Longitude)
Long_CM = float(Min_Longitude) / 60
Long_CS = float(Long_Corrected_Sec) / 3600
Degrees_Long = Long_Degrees + Long_CM + Long_CS

print (Degrees_Lat,‘N’,Degrees_Long,‘W’)`

···

On Friday, March 20, 2015 at 8:30:42 PM UTC-5, t gillespie wrote:

so far I’m about a week into the GPS half of this and wow let me tell you I have learned a lot. I hate python a little less now too :slight_smile: so far the conclusion I have come to is that the hardest part of this whole thing is you need all the GPS tiles, whether you use Pyslip or you use basemap. I have also figured a way to use basemap as a slip map. sometime tonight or tomorrow I will open up Pyslip and see what it has as far as features, maybe I will add to it etc and the it can become an active project again to get a good control like that into wxpython as part of a release would be pretty cool since there isn’t a native control that does what it does.

On Mar 16, 2015 9:04 AM, “Mike Driscoll” kyosohma@gmail.com wrote:

Hi Che,

On Saturday, March 14, 2015 at 1:15:27 PM UTC-5, Che M wrote:

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made me wonder what other custom widgets might be out there that are not included with the wxPython download and I don’t know about, particularly since this one looks like a nice contribution.

Thanks,

Che.

I remembered someone mentioned it either here or on StackOverflow, but I couldn’t remember what it was called, so I used some Google Fu to find it. I think it would be awesome if the wiki had a page that listed some of these projects, but I don’t think it has that currently. Perhaps we can add one.

Mike

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/0YqexIvVDPU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

here is the rest of the screen shots for the whole program. in case anyone wanted to see. the first is the screen that the program opens up to showing your speed rpm and various tempuratures and of course fuel level, then you have the MIL/menu (MIL: Malfuntion indicator lamp) this shows if you have a check engine light or your seatbelt isnt fastened, etc as well as allowing you access to the rest of the functions of the program, the last one is where i stopped working on the progream in favor of starting development on the GPS half of things and that is the MP3 player, which every gokart should be equipped with :slight_smile:

the menu has 8 buttons
the first button takes you out of the menu and back to the gauge display, the second button will display the GPS map as in turn by turn voic guided directions, routing or in general “TRAV TRAV” (lol… like TOM TOM) the third button takes you to the gps telemetry stuff, which consists of the screen shots i uploaded yesterday, the satellite constellation screen, the SNR histogram, and the plot your location on a blue marble and show if its night or day, as well as other parts of that code which are unfinished like , gps status, accuracy, time, including sunruse and set,first fix time,number of satelites in view, number in use, gps based speed and heading finally altitude. the 4th button will be used to chart out senso r information radings like Spee/time and temp/time acceleration/time fifth button is the mp3 player, the sixth button is for any settings that the program may have, such as serial port speed etc. seventh button is for diagnostic messages that the program may have since the user wont have access to the terminal on the device. and finally the last button powers the whole machine down, which i am going to have to work out in some sort of acpi hard ware as well since i dont want turning the key off in the ignition to just cut power to it since raspberry pi is all file coruption crazy.

···

On Friday, March 20, 2015 at 9:41:08 PM UTC-5, t gillespie wrote:

just wanted to add some screen shots of what i have so far as far as the gps part. most of this is more telemetry i have a hitsogram that shows the SNR and a constellation view, as well as a basemap with the location pinned on it. the calculation to convert the gps was a pain in the but NMEA you would figure would have a more… convienet way to do it but nope… here that code it takes the lat and long coordinates and converts them to degrees decimal… if yall have any ideas on how to make the code smaller that would be awesome… this code is really readable and really precise, but im not sure its all that needed (precision) .
`N = ‘3521.9479’
W = ‘08854.9803’

Degree_Longitude = W[0:3]
Min_Longitude = W[3:5]
Sec_Longitude = W[6:10]

Degree_Latitude = N[0:2]
Min_Latitude = N[2:4]
Sec_Latitude = N[5:9]

Long_Corrected_Sec = float(Sec_Longitude) / 10000
Long_Corrected_Sec = 60 * Long_Corrected_Sec

Lat_Corrected_Sec = float(Sec_Latitude) / 10000
Lat_Corrected_Sec = 60 * Lat_Corrected_Sec

print(Degree_Latitude,Min_Latitude,Lat_Corrected_Sec,“N”)
print(Degree_Longitude,Min_Longitude,Long_Corrected_Sec,“W”)

Lat_Degrees = float(Degree_Latitude)
Lat_CM = float(Min_Latitude) / 60
Lat_CS = float(Lat_Corrected_Sec) / 3600
Degrees_Lat = Lat_Degrees + Lat_CM + Lat_CS

Long_Degrees = float(Degree_Longitude)
Long_CM = float(Min_Longitude) / 60
Long_CS = float(Long_Corrected_Sec) / 3600
Degrees_Long = Long_Degrees + Long_CM + Long_CS

print (Degrees_Lat,‘N’,Degrees_Long,‘W’)`

On Friday, March 20, 2015 at 8:30:42 PM UTC-5, t gillespie wrote:

so far I’m about a week into the GPS half of this and wow let me tell you I have learned a lot. I hate python a little less now too :slight_smile: so far the conclusion I have come to is that the hardest part of this whole thing is you need all the GPS tiles, whether you use Pyslip or you use basemap. I have also figured a way to use basemap as a slip map. sometime tonight or tomorrow I will open up Pyslip and see what it has as far as features, maybe I will add to it etc and the it can become an active project again to get a good control like that into wxpython as part of a release would be pretty cool since there isn’t a native control that does what it does.

On Mar 16, 2015 9:04 AM, “Mike Driscoll” kyosohma@gmail.com wrote:

Hi Che,

On Saturday, March 14, 2015 at 1:15:27 PM UTC-5, Che M wrote:

You might want to check this project out: https://code.google.com/p/pyslip/wiki/Introduction

Hey Mike, how did you know about that pyslip widget? I ask because it made me wonder what other custom widgets might be out there that are not included with the wxPython download and I don’t know about, particularly since this one looks like a nice contribution.

Thanks,

Che.

I remembered someone mentioned it either here or on StackOverflow, but I couldn’t remember what it was called, so I used some Google Fu to find it. I think it would be awesome if the wiki had a page that listed some of these projects, but I don’t think it has that currently. Perhaps we can add one.

Mike

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/0YqexIvVDPU/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.