Page 1 of 1

Simple Australia topo map viewer

PostPosted: Fri 02 Oct, 2020 3:37 pm
by ken333
The link below is to a free program that displays online topo maps for Queensland, NSW, Victoria, South Australia, and Tasmania, as well as a world wide topo map.
The maps are the Queensland Qtopo maps, NSW SIX maps, Victorian Mapshare maps, Location SA maps, Tasmanian TasMap maps, and Open Topo Maps world wide maps.
Download the file to a local disk drive, and double-click it. It will open in a browser. It is written in Html and Javascript, and the source code can viewed (and altered) in a text or Html editor, such as Notepad.
It has been tested on a Windows 10 computer with Google Chrome browser, but may work in other modern browsers. It is written for a 1366x768 pixel screen size.
It can load and display a gps gpx file, and allows tracks and waypoints to be drawn, and saved as a file, which can be downloaded to a gps.
The user is responsible for ensuring that use of the maps is allowed under copyright rules. Copy-Paste the web addresses to read the terms and Conditions for each map.
Click the Help button for more information.
https://drive.google.com/drive/folders/ ... sp=sharing

Edit 3-10-20: SA map added.

Re: Simple Australia topo map viewer

PostPosted: Tue 06 Oct, 2020 11:44 am
by ken333
I've added another version that allows a gps sensor (or location services) in a device to be used to show the current location. Javascript support for a gps sensor is very basic, so it is not reliable.
If the file doesnt open properly in Android, it may be because Android is not using the Chrome browser to open it. Try opening it with the Chrome browser by typing file:///sdcard into the Chrome address bar. This will show the folders in the Android Internal Storage. Tap Downloads, and then the file (assuming you have downloaded it). It should open and work in Android.
I also fixed the Magnify and Wpt display bugs. Testing is so tedious!

Re: Simple Australia topo map viewer

PostPosted: Tue 06 Oct, 2020 12:03 pm
by tastrax
You might be better off using the following for Tasmania as it has various scale tasmaps as you zoom in and out

Code: Select all
https://services.thelist.tas.gov.au/arcgis/rest/services/Basemaps/TasmapRaster/MapServer

Re: Simple Australia topo map viewer

PostPosted: Tue 06 Oct, 2020 1:03 pm
by tom_brennan
It's great that you've written the code from scratch. If you're looking to learn stuff, that's fantastic. If you're just after the end results, you'd get a lot more speed and in-built functionality with a purpose built library like Leaflet.

I've used that for my NSW mapping tool (https://maps.ozultimate.com/)

I've also knocked up a similar tool for TAS
https://maps.ozultimate.com/archive/tas/
I think they do the same things as you're looking to implement (load GPX files, create tracks/waypoints, save to file etc), but also include things like scroll button to zoom, click to drag, drag-and-drop GPX files etc.

My code is licensed under MIT Licence, so anyone is welcome to pick it up and use it somewhere else. It's pretty easy to add a new source - eg another state, if the tile service(s) are available.

Re: Simple Australia topo map viewer

PostPosted: Wed 07 Oct, 2020 11:33 am
by ken333
Thanks. I'll have a look at them.

Re: Simple Australia topo map viewer

PostPosted: Wed 07 Oct, 2020 3:03 pm
by ggorgeman
Thanks Ken, I've had a bit of a play with the Vicco mapping. Seemed to work well, thanks for going to the effort.
Cheers GG

Re: Simple Australia topo map viewer

PostPosted: Sat 06 Feb, 2021 12:59 pm
by ken333
There's a new version 1-3 of the online topo map viewer in the link below. Changes include: Drag map to move it (or use the arrows), better NSW and Tas maps, save gpx or text files of drawn tracks and waypoints directly to local disk, plus bug fixes.
The mobile version 2-3 is not draggable. Tap the map to move it. See the post on 16 Oct above on how to use it.
https://drive.google.com/drive/folders/ ... sp=sharing

Re: Simple Australia topo map viewer

PostPosted: Sun 07 Feb, 2021 10:32 am
by Kickinghorse
Thanks for the link Tom B. In the planning stages of a round walk back from Jenolan to Katoomba after completing the SFT.
Good to be able to see both the Jenolan and Katoomba sheets on one screen as opposed to the Six Maps views.

Phil

Re: Simple Australia topo map viewer

PostPosted: Wed 02 Aug, 2023 11:37 am
by ken333
Here is an update to my Simple Australia Topo Map Viewer.
Changes include:
- New Vic SA and Satellite map links
- Allows multiple tracks to be viewed from one or more gpx files.
- Shows Elevation and Average Speed profiles of gpx tracks. Click the 'Elev Profile' button.
- Shows kml linestrings from a kml file, including 2m 5m etc contours made using the process shown here:
https://bushwalk.com/forum/viewtopic.ph ... 14#p440569

Download the html file and double click it. It will open in a browser. Its only tested on a Windows 10 computer with 1366 x 768 screen size, and Chrome browser.
Click the Help button for more info, and see more about it in posts above. The 2nd link is a screenshot of 5m contours.

https://www.dropbox.com/scl/fi/1n1grm68 ... qt3pt&dl=0
https://www.dropbox.com/scl/fi/8yi1lwhb ... ptczs&dl=0

PS Dropbox didnt download the file properly when Rt-clk > 'Save link as' is used. Instead open the file in a new tab and click Download.

Re: Simple Australia topo map viewer

PostPosted: Fri 05 Apr, 2024 12:54 pm
by ken333
Heres a new version of my simple Australia Topo Map Viewer. Changes include a new 'Track Options' button that displays a number of new options. Click Help to see details. It also shows UTM grid coordinates, which are approximately equal to GDA MGA grid coords.
Download the html file and double click it. It will open in a browser. Its only tested on a Windows 10 computer with 1366 x 768 screen size, and Chrome browser.
If you find any bugs let me know.

https://www.dropbox.com/scl/fi/epc5fxpf ... 03h9p&dl=0

PS Dropbox didnt download the file properly when Rt-clk > 'Save link as' is used. Instead open the file in a new tab and click Download.