adktyler
Active member
I'm just cross-posting this from ADK Forum. All the credit for program goes to Jelf, not me!
"My name is Joseph Elfelt and I have a Thanksgiving Day present for you. I’ve written a map viewing program that is similar in concept to the work by colden46 on this site, but with some different features. My viewer is free, full screen, no ads. Here’s Lake Algonquin:
http://www.mappingsupport.com/p/gmap4.php?ll=43.397128,-74.292641
The topos come from MyTopo.
These maps include the USFS updates to the USGS maps. These updates include USFS road numbers and cover many (but certainly not all) national forest areas. The MyTopo maps are also better quality than the Terraserver maps and (I’m told) also better quality than the NG TOPO maps. I believe they include Canada.
The gmap4 map viewer understands these parameters:
q= http: pointer to a kml file anywhere online.
ll= map center. For North America use lat,-lon decimal degrees (same as Google, etc)
z= map zoom
t= map type
I’ve not implemented searching (yet). Use plain old Google maps to search. Point to what you found ==> right click ==> What’s this? ==> copy lat,lon from map search window ==> launch gmap4:
http://www.mappingsupport.com/p/gmap4.php?ll=paste_lat_lon_here
I live near Redmond, WA and here’s a map of a hike I’ve done in the Washington State Cascades
http://www.mappingsupport.com/p/gmap4.php?q=http://www.mappingsupport.com/p/kml_demo/county_line_trail_with_pic.kml
Did you notice the embedded picture link?
You can make similar maps of your trips and post links in your trip reports. There's no cost.
1. Convert your GPS data to a kml file
2. Put your kml file online. Make sure other people have ‘read’ permission for the file.
3. The link to your map is: http://www.mappingsupport.com/p/gmap4.php?q=url_to_your_file
Here are some of the ways you can obtain a kml file containing your GPS and related data:
A. GPSBabel They re-designed their website since I saw it last. Easily convert GPX to KML.
B. GPSVisualizer. The output includes a fair bit of clutter in the form of tags that are used by Google Earth but are ignored by Google maps.
C. By hand. Here is the documentation from Google and there are examples in the tutorial. You must save a kml file with UTF-8 encoding. I use the free Notepad++ for editing kml files. Since kml files are a type of xml file, it really helps a lot to use an editor designed for working with xml files.
See the kml source file I used in the above example map for one approach for organizing the contents of a kml file.
Oh, and anything you include in the <Document><description> tag is treated as a caption and gets welded to the top of the map. See my example source files.
To launch gmap4:
http://www.mappingsupport.com/p/gmap4.php?q=http://_url_pointing_to_kml_file
or
http://www.mappingsupport.com/p/gmap4.php?ll=lat,-lon
or
http://www.mappingsupport.com/p/gmap4.php to see the default map (Google’s campus at Kirkland, WA)
To fully specify a map, use all 4 parameters.
http://www.mappingsupport.com/p/gmap4.php?q=http://www.mappingsupport.com/p/kml_demo/Johnson_Ridge.kml&ll=47.791883,-121.229658&z=14&t=t2
But what if you don’t have your own website for hosting your kml file online? No worries. You can store your kml file in the cloud as a Google Document txt file and read it with the gmap4 map viewer. Since I’ve already given you a bunch to think about in this post, I’ll save those details for later.
Teaser: If several people are working together to make a trail map for an area, everyone in that group can pool their data by directly editing the same file in the Google cloud.
Enjoy and Happy Thanksgiving,
Joseph Elfelt
I just remembered something that may help people that have a GPS unit that produces GPX files. You can use Google Earth to convert a GPX file to a KML file. You can then view your GPS data on 7.5” topo maps (full screen, no ads, free) by using the gmap4 map viewer.
Here’s how to use Google Earth to convert a GPX file to a KML file :
1. Open your GPX file with Google Earth. Your file can be on your local drive.
2. File ==> Save ==> Save Place as ==> Set ‘Save as type’ to KML ==> save the file
All you need to do now is place your KML file online and point to it with the gmap4 map viewer. See my earlier post for details.
Joseph"
"My name is Joseph Elfelt and I have a Thanksgiving Day present for you. I’ve written a map viewing program that is similar in concept to the work by colden46 on this site, but with some different features. My viewer is free, full screen, no ads. Here’s Lake Algonquin:
http://www.mappingsupport.com/p/gmap4.php?ll=43.397128,-74.292641
The topos come from MyTopo.
These maps include the USFS updates to the USGS maps. These updates include USFS road numbers and cover many (but certainly not all) national forest areas. The MyTopo maps are also better quality than the Terraserver maps and (I’m told) also better quality than the NG TOPO maps. I believe they include Canada.
The gmap4 map viewer understands these parameters:
q= http: pointer to a kml file anywhere online.
ll= map center. For North America use lat,-lon decimal degrees (same as Google, etc)
z= map zoom
t= map type
I’ve not implemented searching (yet). Use plain old Google maps to search. Point to what you found ==> right click ==> What’s this? ==> copy lat,lon from map search window ==> launch gmap4:
http://www.mappingsupport.com/p/gmap4.php?ll=paste_lat_lon_here
I live near Redmond, WA and here’s a map of a hike I’ve done in the Washington State Cascades
http://www.mappingsupport.com/p/gmap4.php?q=http://www.mappingsupport.com/p/kml_demo/county_line_trail_with_pic.kml
Did you notice the embedded picture link?
You can make similar maps of your trips and post links in your trip reports. There's no cost.
1. Convert your GPS data to a kml file
2. Put your kml file online. Make sure other people have ‘read’ permission for the file.
3. The link to your map is: http://www.mappingsupport.com/p/gmap4.php?q=url_to_your_file
Here are some of the ways you can obtain a kml file containing your GPS and related data:
A. GPSBabel They re-designed their website since I saw it last. Easily convert GPX to KML.
B. GPSVisualizer. The output includes a fair bit of clutter in the form of tags that are used by Google Earth but are ignored by Google maps.
C. By hand. Here is the documentation from Google and there are examples in the tutorial. You must save a kml file with UTF-8 encoding. I use the free Notepad++ for editing kml files. Since kml files are a type of xml file, it really helps a lot to use an editor designed for working with xml files.
See the kml source file I used in the above example map for one approach for organizing the contents of a kml file.
Oh, and anything you include in the <Document><description> tag is treated as a caption and gets welded to the top of the map. See my example source files.
To launch gmap4:
http://www.mappingsupport.com/p/gmap4.php?q=http://_url_pointing_to_kml_file
or
http://www.mappingsupport.com/p/gmap4.php?ll=lat,-lon
or
http://www.mappingsupport.com/p/gmap4.php to see the default map (Google’s campus at Kirkland, WA)
To fully specify a map, use all 4 parameters.
http://www.mappingsupport.com/p/gmap4.php?q=http://www.mappingsupport.com/p/kml_demo/Johnson_Ridge.kml&ll=47.791883,-121.229658&z=14&t=t2
But what if you don’t have your own website for hosting your kml file online? No worries. You can store your kml file in the cloud as a Google Document txt file and read it with the gmap4 map viewer. Since I’ve already given you a bunch to think about in this post, I’ll save those details for later.
Teaser: If several people are working together to make a trail map for an area, everyone in that group can pool their data by directly editing the same file in the Google cloud.
Enjoy and Happy Thanksgiving,
Joseph Elfelt
I just remembered something that may help people that have a GPS unit that produces GPX files. You can use Google Earth to convert a GPX file to a KML file. You can then view your GPS data on 7.5” topo maps (full screen, no ads, free) by using the gmap4 map viewer.
Here’s how to use Google Earth to convert a GPX file to a KML file :
1. Open your GPX file with Google Earth. Your file can be on your local drive.
2. File ==> Save ==> Save Place as ==> Set ‘Save as type’ to KML ==> save the file
All you need to do now is place your KML file online and point to it with the gmap4 map viewer. See my earlier post for details.
Joseph"
Last edited: