For longer tours, such as driving tours where a KML file has been uploaded, you might find the map page taking very long to load, or not loading at all. This is due to the amount of points in the route line. In this case, you’ll need to reduce the number points in the route line. This will enable the map to load properly.
There are two ways to go about this. For shorter routes, it’s sometimes easier to just redraw over the existing route using Google Earth, and exporting that as a KML file. The other way is more involved but makes sense for longer routes where it is less efficient to redraw over the existing route. Below are instructions on both ways. If you’re unsure about how to do this or need assistance, just get in touch with your editor.
Reducing nodes by redrawing a route in Google Earth #
- Search for the tour under Routes via Admin and click the i icon.
- Scroll down to KML and right-click the KML file to download it.
- Open the file in Google Earth
- It will zoom on to the path of the KML
- Click the Add Path icon at the top of the screen. It’s the one with the three dots and lines in between.
- A screen will pop up saying Untitled Path. Drag it out of the way for now. You’ll come back to it.
- Your mouse will turn into a target icon. Click on the start of the route.
- Now trace of the route line by clicking on it and following it. Try make the spaces between each node as large as possible. This is how you are reducing the amount of nodes.
9. Use the arrow keys on the keyboard to move around the map as you trace. If you make a mistake, press and hold the control key, then click a node to delete it.
10. When you’re done. bring back the New Path box, name your path and click Ok.
11. Untick the box next to the original KML file.
12. Right click on your new path, click Save place as.., select .KML and name it.
13. Upload the new KML file via Mapmaker
Reducing nodes with GPS Visualiser #
1. Search for the tour under Routes via Admin and click the i icon.
2. Scroll down to KML and right-click the KML file to download it.
3. Open the file in Google Earth
4. Click to dropdown menu arrow to display the trackpoints and placemarks
5. Right click the track and choose Save to My Places
6. In the My Places folder, right click the track and Save place as – in KML format
7, Go to link for GPS visualiser – https://www.gpsvisualizer.com/map_input?form=googleearth
8. Choose File #1 and import it.
9. Rename Google earth doc name
10. Set Tracepoint distance threshold: set to 25
11. Set Max points for track: This might require some experimenting – but 1 hour usually works out to 650- 800 points
12. Create the KML file and download it
13. Add the file in Google Earth
14. Click the dropdown menu arrow by the name and save the track to My places or drag it up. It needs to be out of the folder.
15. Choose Get info – then delete info in Description
17. Then choose Save places and save to desktop as – KML format
18. Upload that KML on the front end of the tour.
How can we make this more useful?
Was this part of the tutorial not detailed or clear enough? What questions do you still have that could have been answered here?