Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Extracting GPS Coordinates from a Route

This is a discussion on Extracting GPS Coordinates from a Route within the Development forums, part of the MapPoint Desktop Discussion category; Hello! I know this has been discussed a few times before: http://www.mapforums.com/how-get-gps...int-15120.html http://www.mapforums.com/extracting-...ute-16777.html http://www.mapforums.com/possible-ex...wkt-18727.html but I was just wondering if ...

  1. #1
    ejcarp is offline Junior Member White Belt
    Join Date
    Feb 2012
    Location
    Ann Arbor, MI
    Posts
    6

    Extracting GPS Coordinates from a Route

    Hello! I know this has been discussed a few times before:
    How to get GPS coordinates by interval on the route in mappoint
    Extracting Coordinates of a Route
    Is it possible to Export Mappoint Route as Polyline/WKT?

    but I was just wondering if anyone could point me in the right direction based on my project. I am an engineering student working on a GPS-based project. I am looking for a way to scan a route for grades(hills). I was planning on doing this by extracting the GPS data from points along a route at a fixed interval. I would then use an elevation API (USGS has one, but maybe this is available in MapPoint too?) to scan for grades. I was just wondering if anything like this was possible or if I should be going in a different direction in my attempts to scan for grades. Thanks for the help!

    -Emily

  2. #2
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Red Belt
    Join Date
    Dec 2002
    Posts
    985

    Re: Extracting GPS Coordinates from a Route

    Hi Emily,

    I think that you can do this by using shapes of different colors for different degrees of grade/depths.
    It would require importing the USGS .shp files over the range of the plotted route.
    This sort of project could get rather extensive; If you require further help, I'd need the .shp files.
    Last edited by Mattys Consulting; 02-20-2012 at 08:51 AM.
    Michael R Mattys
    Business Process Developers
    www.mattysconsulting.com

  3. #3
    ejcarp is offline Junior Member White Belt
    Join Date
    Feb 2012
    Location
    Ann Arbor, MI
    Posts
    6

    Re: Extracting GPS Coordinates from a Route

    Quote Originally Posted by Mattys Consulting View Post
    Hi Emily,

    I think that you can do this by using shapes of different colors for different degrees of grade/depths.
    It would require importing the USGS .shp files over the range of the plotted route.
    This sort of project could get rather extensive; If you require further help, I'd need the .shp files.
    Thanks for the reply! Just to let you know I am very much a beginner. I am a third-year student in computer science so I know how to program, but working with map information is new to me. The USGS API I was referencing: http://gisdata.usgs.net/XMLWebServic...on_Service.php will return only the elevation for a given latitude-longitude pair. So I am unsure how to get a .shp file. Also how would using shapes of different color help me scan for these grades? I do not need a visual map for my project, only the GPS information about where the grades will be along the route. For example, I was planning on storing the GPS point of the beginning of the grade (uphill), the GPS point of the end of the grade, the length of the grade, and the total elevation increase. The main things I was hoping to get out of MapPoint are the route data from point A to point B and interval GPS data all along this route.

    I guess the two questions I have for you are 1) How do I get/generate a .shp file? 2) What is a shape in the context of MapPoint and how could it help me find a grade?

    Thanks so much for your help!

    -Emily

  4. #4
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Red Belt
    Join Date
    Dec 2002
    Posts
    985

    Re: Extracting GPS Coordinates from a Route

    Good questions, Emily.

    Where to get the .shp files is a matter of a search.
    I'm fairly certain that I've looked at them in the last 2 years.

    In any case, I am *speculating* that you'll be able to

    - plot a route
    - find the nearest shapes
    - examine the color property of each shape

    I've never heard of this being done in MapPoint, but it just might be possible.
    Michael R Mattys
    Business Process Developers
    www.mattysconsulting.com

  5. #5
    ejcarp is offline Junior Member White Belt
    Join Date
    Feb 2012
    Location
    Ann Arbor, MI
    Posts
    6

    Re: Extracting GPS Coordinates from a Route

    Quote Originally Posted by Mattys Consulting View Post
    Good questions, Emily.

    Where to get the .shp files is a matter of a search.
    I'm fairly certain that I've looked at them in the last 2 years.

    In any case, I am *speculating* that you'll be able to

    - plot a route
    - find the nearest shapes
    - examine the color property of each shape

    I've never heard of this being done in MapPoint, but it just might be possible.
    Ahh okay, I think I know what you are saying. The .shp files of the US exist and are available somewhere on the web and it is just a matter of finding them? Also could you clarify what shapes are?

    Thanks!

  6. #6
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Red Belt
    Join Date
    Dec 2002
    Posts
    985

    Re: Extracting GPS Coordinates from a Route

    Shapes in MapPoint are simply drawing shapes as seen on the drawing toolbar.
    If you are able to find the elevation .shp files and convert them to MapPoint drawings
    (there are tools to do this, in particular, http://www.mapping-tools.com/mpsupershape/index.shtml),
    then you'll be able to make 1-2 ft Red, 3-4 ft Yellow, 5-6 ft green, and so on.

    Get the coordinate of the shape as it meets the route and you'll have a color to tell you your elevation.
    Again, speculation ...
    Last edited by Mattys Consulting; 02-20-2012 at 08:23 PM.
    Michael R Mattys
    Business Process Developers
    www.mattysconsulting.com

  7. #7
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    4,563
    Blog Entries
    4

    Re: Extracting GPS Coordinates from a Route

    I think Emily can get the elevation from the USGS web service, i.e. just pass in a lat/lon and it returns the elevation, so all she really needs is the coordinates along the route?

    Eric
    ~ Order MapPoint MapPoint 2011 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  8. #8
    ejcarp is offline Junior Member White Belt
    Join Date
    Feb 2012
    Location
    Ann Arbor, MI
    Posts
    6

    Re: Extracting GPS Coordinates from a Route

    Quote Originally Posted by Eric Frost View Post
    I think Emily can get the elevation from the USGS web service, i.e. just pass in a lat/lon and it returns the elevation, so all she really needs is the coordinates along the route?

    Eric
    Yes, that is exactly what I meant. Is that possible? Actually I think MapPoint could give me the elevation as well.

    -Emily

  9. #9
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    4,563
    Blog Entries
    4

    Re: Extracting GPS Coordinates from a Route

    It is! Using the articles you referenced above.

    MapPoint has an "altitude" property that might be misleading.

    Altitude refers to how zoomed in or out you are on the map -- i.e. sort of like how high your airplane or hot air balloon is up in the air looking down on the Earth.

    But MapPoint does not have elevation. For elevation, the USGS web service sounds like a good fit.

    hope this helps!
    ~ Order MapPoint MapPoint 2011 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  10. #10
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Red Belt
    Join Date
    Dec 2002
    Posts
    985

    Re: Extracting GPS Coordinates from a Route

    Yes, I think that's correct.
    See this address: Elevation_Service Web Service
    I don't believe that MapPoint is able to return precise elevations, though.
    I would write a program to get the coords from the route and then query the webservice ...
    Michael R Mattys
    Business Process Developers
    www.mattysconsulting.com

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Similar Threads

  1. Extracting Coordinates of a Route
    By Eric Frost in forum MapForums Plus Downloads
    Replies: 12
    Last Post: 01-13-2012, 10:00 AM
  2. Extracting street names from route Instruction
    By Curt in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 06-28-2010, 02:24 AM
  3. Route Display of GPS Coordinates
    By steve.clark@multipart.com in forum Development
    Replies: 0
    Last Post: 12-05-2007, 06:14 PM
  4. Extracting GPS coordinates from MapPoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-28-2005, 12:44 AM
  5. Extracting the route sequence
    By ivtch in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-11-2003, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79