Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. creating own gps map in vc++

creating own gps map in vc++

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
44 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G gpsmercato

    yes i can..ok if its the time for u to leave thn we will continue the class on monday.. thankyou verymuch

    C Offline
    C Offline
    chandu004
    wrote on last edited by
    #25

    19910639,9104890 19946236,9069257 this would be your town bounds.

    -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

    G 1 Reply Last reply
    0
    • C chandu004

      19910639,9104890 19946236,9069257 this would be your town bounds.

      -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

      G Offline
      G Offline
      gpsmercato
      wrote on last edited by
      #26

      ok thn

      C 1 Reply Last reply
      0
      • G gpsmercato

        ok thn

        C Offline
        C Offline
        chandu004
        wrote on last edited by
        #27

        now, what is themaximum size of a square that you can draw on your screen? that will be your drawing area of the map.

        -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

        G C 2 Replies Last reply
        0
        • C chandu004

          now, what is themaximum size of a square that you can draw on your screen? that will be your drawing area of the map.

          -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

          G Offline
          G Offline
          gpsmercato
          wrote on last edited by
          #28

          any size ..ok let it b (2.5,2.5,0)

          C 1 Reply Last reply
          0
          • C chandu004

            now, what is themaximum size of a square that you can draw on your screen? that will be your drawing area of the map.

            -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

            C Offline
            C Offline
            chandu004
            wrote on last edited by
            #29

            bye for today. try to map the bounds of the town to the bounds of the rectangle on your screen. then take the digital data that is set of longitudes and latitudes from ge for some of the roads, i mean take a sample at each road turning, put them sequentially in a file, convert them into pix data, scale them to the square on your screen, plot lines from one point to other. now u will see the map that u have extracted from ge. now you should be able to plot the value you have received from ur usb gps device. all the best bye.

            -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

            G 1 Reply Last reply
            0
            • G gpsmercato

              any size ..ok let it b (2.5,2.5,0)

              C Offline
              C Offline
              chandu004
              wrote on last edited by
              #30

              what is this 2.5,2.5,0 explain in detail

              -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

              1 Reply Last reply
              0
              • C chandu004

                bye for today. try to map the bounds of the town to the bounds of the rectangle on your screen. then take the digital data that is set of longitudes and latitudes from ge for some of the roads, i mean take a sample at each road turning, put them sequentially in a file, convert them into pix data, scale them to the square on your screen, plot lines from one point to other. now u will see the map that u have extracted from ge. now you should be able to plot the value you have received from ur usb gps device. all the best bye.

                -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                G Offline
                G Offline
                gpsmercato
                wrote on last edited by
                #31

                bye i will b back on monday only..thanku

                R 1 Reply Last reply
                0
                • G gpsmercato

                  bye i will b back on monday only..thanku

                  R Offline
                  R Offline
                  rajapp
                  wrote on last edited by
                  #32

                  hi, can i have the sample code to connect the gps data with the map.

                  C 1 Reply Last reply
                  0
                  • R rajapp

                    hi, can i have the sample code to connect the gps data with the map.

                    C Offline
                    C Offline
                    chandu004
                    wrote on last edited by
                    #33

                    what is the map yo are using? please explain ur requirement in a bit more detail.

                    -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                    R 1 Reply Last reply
                    0
                    • C chandu004

                      what is the map yo are using? please explain ur requirement in a bit more detail.

                      -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                      R Offline
                      R Offline
                      rajapp
                      wrote on last edited by
                      #34

                      the map which i am using is OPEN STEET MAP, i exported the map and want to have it in my application which reads the .gpx files.

                      C 1 Reply Last reply
                      0
                      • R rajapp

                        the map which i am using is OPEN STEET MAP, i exported the map and want to have it in my application which reads the .gpx files.

                        C Offline
                        C Offline
                        chandu004
                        wrote on last edited by
                        #35

                        sorry my friend, i really have no idea on the format, which you are using. here, in this thread, we were discussing on creating our own map format and our own map tool. to solve your, problem, you may have to go through the api provided by the map tool which you are using. first let me know, what tool you are using? good luck.

                        -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                        R 1 Reply Last reply
                        0
                        • C chandu004

                          sorry my friend, i really have no idea on the format, which you are using. here, in this thread, we were discussing on creating our own map format and our own map tool. to solve your, problem, you may have to go through the api provided by the map tool which you are using. first let me know, what tool you are using? good luck.

                          -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                          R Offline
                          R Offline
                          rajapp
                          wrote on last edited by
                          #36

                          its for my class project actually, language is vc++, open street map is a free map provider and i exported the map of our city as png image and converted it into bmp. I know the top left corner latitude , longitude value and bottom right corner latitude longitude value. we got some gpx files of my city and want to plot it in this map. here we stuck dont know wht to do next....

                          C 1 Reply Last reply
                          0
                          • R rajapp

                            its for my class project actually, language is vc++, open street map is a free map provider and i exported the map of our city as png image and converted it into bmp. I know the top left corner latitude , longitude value and bottom right corner latitude longitude value. we got some gpx files of my city and want to plot it in this map. here we stuck dont know wht to do next....

                            C Offline
                            C Offline
                            chandu004
                            wrote on last edited by
                            #37

                            did you try to open the gpx file in either notepad or vc++ binary editor and see the content? if yes, please let me know what it contains. then i can guide you.

                            -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                            R 1 Reply Last reply
                            0
                            • C chandu004

                              did you try to open the gpx file in either notepad or vc++ binary editor and see the content? if yes, please let me know what it contains. then i can guide you.

                              -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                              R Offline
                              R Offline
                              rajapp
                              wrote on last edited by
                              #38

                              hi, the gpx file contains latitude longitude value on every interval gpx xmlns="http://www.topografix.com/GPX/1/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creator="GPSBabel - http://www.gpsbabel.org" version="1.0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> 2009-02-18T17:00:44Z</time> <bounds maxlat="19.269332886" maxlon="73.329920769" minlat="18.897814751" minlon="72.809121609"/> <trk> <trkseg> <trkpt lat="19.044027329" lon="72.839784622"> <ele>0.000000</ele> </trkpt> <trkpt lat="19.044113159" lon="72.839999199"> <ele>0.000000</ele> <time>2007-02-26T20:15:01Z</time> </trkpt> <trkpt lat="19.044220447" lon="72.840363979"> <ele>0.000000</ele> i dont know wht it mean but we just need to plot the latitude and longitude only. :sigh:

                              C 1 Reply Last reply
                              0
                              • R rajapp

                                hi, the gpx file contains latitude longitude value on every interval gpx xmlns="http://www.topografix.com/GPX/1/0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" creator="GPSBabel - http://www.gpsbabel.org" version="1.0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> 2009-02-18T17:00:44Z</time> <bounds maxlat="19.269332886" maxlon="73.329920769" minlat="18.897814751" minlon="72.809121609"/> <trk> <trkseg> <trkpt lat="19.044027329" lon="72.839784622"> <ele>0.000000</ele> </trkpt> <trkpt lat="19.044113159" lon="72.839999199"> <ele>0.000000</ele> <time>2007-02-26T20:15:01Z</time> </trkpt> <trkpt lat="19.044220447" lon="72.840363979"> <ele>0.000000</ele> i dont know wht it mean but we just need to plot the latitude and longitude only. :sigh:

                                C Offline
                                C Offline
                                chandu004
                                wrote on last edited by
                                #39

                                1.does your map tool provide any api or function to plot a latitude or longitude? 2.are you displaying the map on the screen? if so, which control?

                                -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                                R 1 Reply Last reply
                                0
                                • C chandu004

                                  1.does your map tool provide any api or function to plot a latitude or longitude? 2.are you displaying the map on the screen? if so, which control?

                                  -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                                  R Offline
                                  R Offline
                                  rajapp
                                  wrote on last edited by
                                  #40

                                  hi, sorry for this big delay. with the above tutorial we managed to get the map from google earth did the same as u mentioned to gpsmercato and is working fine... :laugh: thanku chandu :-D

                                  R C 2 Replies Last reply
                                  0
                                  • R rajapp

                                    hi, sorry for this big delay. with the above tutorial we managed to get the map from google earth did the same as u mentioned to gpsmercato and is working fine... :laugh: thanku chandu :-D

                                    R Offline
                                    R Offline
                                    rajapp
                                    wrote on last edited by
                                    #41

                                    solved

                                    1 Reply Last reply
                                    0
                                    • R rajapp

                                      hi, sorry for this big delay. with the above tutorial we managed to get the map from google earth did the same as u mentioned to gpsmercato and is working fine... :laugh: thanku chandu :-D

                                      C Offline
                                      C Offline
                                      chandu004
                                      wrote on last edited by
                                      #42

                                      good and congratulations. feel free to ask any more doubts.

                                      -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                                      K 1 Reply Last reply
                                      0
                                      • C chandu004

                                        good and congratulations. feel free to ask any more doubts.

                                        -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                                        K Offline
                                        K Offline
                                        kiterie
                                        wrote on last edited by
                                        #43

                                        [Message Deleted]

                                        C 1 Reply Last reply
                                        0
                                        • K kiterie

                                          [Message Deleted]

                                          C Offline
                                          C Offline
                                          chandu004
                                          wrote on last edited by
                                          #44

                                          your question is clearly not understandable. as far as i understood, you might want to convert x : 1 9 1 1 6 1 to 45°46'47.16" if this is what you want to convert, then, apply a reverse formula you should get it. any problem in getting that, then i can help you.

                                          -------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups