Adventure Riding NZ

New Zealand's Adventure Riding community, free GPS track downloads, forums, and more!

Map of all unsealed roads in New Zealand

Thanks to @jonibarteam for kicking off this project and @ray_taylor, @frotz, @simon_Kerr and @Isaac_Bain for jumping in and adding their expertise.

Huge thanks to @eric_yu for picking this up and getting it working on a new service after Google discontinued the Fusion Tables service the original map was hosted on.

The map below shows all ‘metal’ roads in NZ over 5km long.

By default the map only shows metal roads longer than 5km. To see all metal roads in New Zealand click “Map & Tool” then the “Layers and Legend” option in the upper-right corner and enable the “nz_metal_roads_all” layer.

If the map is too slow loading on this page, you can access the map directly here.

This map is based off data provided by Land Information New Zealand (LINZ), changes to a roads status since the LINZ data was last updated e.g roads being sealed or temporarily or permanently closed will not be reflected in the map below.

Home Forums TRACKS & GPS Map of every unsealed road in New Zealand

Viewing 15 posts - 31 through 45 (of 92 total)
  • Author
    Posts
  • #10024
    Eddieb
    Keymaster
    • Town/City: Tauranga
    • Bike: BMW R100GS, Ducati Mark 3 250 narrow case
    Rank: Round the World Adventure Globetrotter

    As those ‘Long Roads’ files are relatively smaller than the full extracts I tried embedding them in a Google maps page using the same code as the GPS tracks maps use but for some reason the map just comes up blank, e.g Linky for North Island Longest Roads map

    EDIT: Might have found the reason, the character encoding in the Description field at the start of the document is fudged but I can’t quote it here as it renders correctly in a browser.

    @frotz said:
    Gale force winds in Wellington today, so it’s a good day for coding! I’ve written a Python script that can filter out roads in LINZ KML files (Here, if you’re interested). Currently it drops short roads, but it’s easy to extend it to do other things. Let me know if you have any ideas.

    Here are longest 10% of the unsealed roads in JoniBarTeam’s KML files:

    #10025
    frotz
    Participant
    Rank: 80cc Rider

    It would be cool to get that working. I don’t know much about using KML in Google Maps.

    Can you try these? They’re even smaller (min road length 5 km) and I’ve manually removed the description, which had some encoded HTML in it (from the original LINZ sources), which might have been rejected by Google Maps for security reasons.

    #10028
    Eddieb
    Keymaster
    • Town/City: Tauranga
    • Bike: BMW R100GS, Ducati Mark 3 250 narrow case
    Rank: Round the World Adventure Globetrotter

    I found a pile more encoded HTML for all the brackets in the in the Balloon styles at the end of the document which I updated using find and replace but still no joy.

    I’m using an iFrame which calls an HTML file which sets up various parameters to display the map and calls some Google js.

    <html>
        <head>
         
     <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <style type="text/css">
          html { height: 100% }
          body { height: 100%; margin: 0; padding: 0 }
          #map-canvas { height: 100% }
        </style>
        <script type="text/javascript"
          src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDNnE6d7ugnTKEt5cfYVqL5UngPN63Uvi4&sensor=false">
        </script>
        <script type="text/javascript">
          function initialize() {
            var mapOptions = {
              center: new google.maps.LatLng(-38.0070577,175.414355),
              zoom: 7,
              mapTypeId: google.maps.MapTypeId.HYBRID
            };
            var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
    	var ctaLayer = new google.maps.KmlLayer('https://www.adventureridingnz.co.nz/wp-content/uploads/gpx/20151018_Longest_North_Island_Unsealed_Roads.kml?s=6');
    	ctaLayer.setMap(map);
          }
          google.maps.event.addDomListener(window, 'load', initialize);
        </script>
    
        </head>
        <body align="center" bgcolor="#FFFFFF">
    
    <div id="map-canvas"/>
    
    </body>
    </html>

    [iframe src="https://www.adventureridingnz.co.nz/wp-content/uploads/gpx/unsealed_NI.html" width="100%" height="900"]

    #10032
    Joao
    Keymaster
    • Bike: R1200GS
    Rank: 650cc Rider

    Frotz, thanks for the files. I’ll have a look at them.

    Eddie, can you create one KML file with any road that you can load into your google maps link?
    Maybe we can alter the new ones to match the xml and that would fix the issue.

    Cheers

    #10035
    Eddieb
    Keymaster
    • Town/City: Tauranga
    • Bike: BMW R100GS, Ducati Mark 3 250 narrow case
    Rank: Round the World Adventure Globetrotter

    Just messaged you, I sent the same message to @frotz earlier.

    @JoniBarTeam said:
    Frotz, thanks for the files. I’ll have a look at them.

    Eddie, can you create one KML file with any road that you can load into your google maps link?
    Maybe we can alter the new ones to match the xml and that would fix the issue.

    Cheers

    #10036
    Joao
    Keymaster
    • Bike: R1200GS
    Rank: 650cc Rider

    Hi Frotz,
    I was having a look at the kml generated files and I found at lease one “big” road that was removed.
    Have a look at TE AKAU SOUTH ROAD, it looks to me that it is longer that 5km.

    It is visible on the 10% longest… BTW.

    #10052
    Brad Wright
    Participant
    Rank: 50cc Rider

    Hi All

    What a great site.

    I am coming to NZ on my fourth trip on bikes. This time a mate and I are hiring two DR650’s and have four full days. We have R1200GS’s back here, but they won’t hire them for gravel really anywhere in NZ, so we are going to have 4 days.

    We would really like some advice on routes we could take. This forum is great as is this thread, but we were hoping maybe to find a largely gravel way of getting to Napier from Auckland starting on a Friday and probably keeping to the north and back to Auckland by Monday afternoon. Napier might be unrealistic, but wines.. you know how it is.

    But perhaps there are some thread I can look at ?

    Will come back with more time next time.

    I would really appreciate any help !

    Brad (and Dave)

    #10071
    frotz
    Participant
    Rank: 80cc Rider

    @Brad_Wright said:
    we were hoping maybe to find a largely gravel way of getting to Napier from Auckland starting on a Friday and probably keeping to the north and back to Auckland by Monday afternoon.

    Hi Brad, I haven’t ridden it myself, but SH38 looks like a fun road, so you might be able to incorporate that:

    https://www.adventureridingnz.co.nz/gps-tracks-rides/north-island-tracks/sh38-lake-waikaremoana/

    #10072
    frotz
    Participant
    Rank: 80cc Rider

    I sent an email to WAMS and got a very helpful reply from Steve Lau ([email protected]):

    We do have a proxy legal unformed legal roads dataset that can give you an indication of whether a road is formed or unformed. It is a quick spatial query done to see if a ROAD parcel intersects with the electoral roads data in LDS. It is not definitive (hence the word “proxy”), but it has served the operations team well to get a good indicator when we assess the lay of the land.

    here the links to the roads data we have on WAMS.org.nz

    https://www.dropbox.com/s/vargeeky9b2fl5w/3013.zip?dl=0

    For the fields:
    [SYMBOLOGY] = 1: Formed Road
    [SYMBOLOGY] = 2: Unformed Road (proxy)

    All roads in this dataset are intended to be ”Legal” roads parcels, so there should not be any private roads shown in this dataset.

    I have also created a login for you to the private public access rest end point, if you need a feed.

    [… omitted here … ]

    Please don’t hesitate to contact us again if you have any questions or if there is anything you would like us to help you on. This sounds like a fun a project, so looking forward to see how this develops!

    This sounds like exactly what we’re looking for, although we might want to filter out short roads and split it up into manageable chunks (e.g. to embed in Google Maps).

    The zip file that Steve has provided appears to be “geodatabase”. I don’t have any experience with this database format, but apparently it’s used by ArcGIS and is widely supported. I suspect it won’t be difficult to generate KML (etc.), and if we have any trouble it sounds like we can ask the folks at WAMS for help.

    I haven’t had a chance to dig into the database. I’ll keep you all posted.

    #10073
    Joao
    Keymaster
    • Bike: R1200GS
    Rank: 650cc Rider

    Hi Frotz,
    Great piece of information mate.
    That is exactly what we are looking for… now we just need to build the KML file.

    (working on it)

    Cheers

    #10083
    Brad Wright
    Participant
    Rank: 50cc Rider

    Hi Frotz

    that’s one we will be doing,

    Will update you

    Brad

    <cite> @frotz said:</cite>
    Hi Brad, I haven’t ridden it myself, but SH38 looks like a fun road, so you might be able to incorporate that:

    https://www.adventureridingnz.co.nz/gps-tracks-rides/north-island-tracks/sh38-lake-waikaremoana/

    #10089
    Simon Kerr
    Participant
    Rank: 50cc Rider

    Hi everyone – I was referred here by my bro (@Feral Matt), via FB. Can’t remember my login details for this forum, so I’ve logged in via my FB profile.

    Disclaimer: I don’t ride, but have a bit of amateur experience on the mapping side of things.

    Recently I’ve been building an online map for hunters, but it could also be useful for other outdoor users such as adventure riders. I got pissed off chopping and changing between various different online resources (Google Maps/Earth, data.linz.govt.nz, wams.org.nz, doc.govt.nz) to get the full picture of were I wanted to explore, so I have taken publicly available bits and pieces from each site and fed them into my map.

    It is build on a javascript system called Leaflet, and seems to be reasonably straight-forward to build with. My programming kung-fu is pretty lousy – what I’ve managed to create so far is from plaigarising other people’s examples in Leaflet. Seems to be the thing to do, since it’s open-source and all.

    Let me know if there’s anything I can help with.

    Take a look at my map (not properly hosted yet – just sitting in my Dropbox).

    P.S. Re: https://data.govt.nz/datasetrequest/show/114 mentioned previously in this thread – that was me.

    #10090
    Joao
    Keymaster
    • Bike: R1200GS
    Rank: 650cc Rider

    Hi Simon,
    I had a look at your map, and it it great stuff indeed, all it needs is a way to “remove” merge and only show ROADS, instead of everything, but a very good one though.

    Thanks for sharing.

    Cheers

    #10091
    Simon Kerr
    Participant
    Rank: 50cc Rider

    <cite> @JoniBarTeam said:</cite>
    all it needs is a way to “remove” merge and only show ROADS, instead of everything, but a very good one though.

    Thanks for sharing.

    Cheers

    Like so? https://dl.dropboxusercontent.com/u/7075784/Leaflet/Leaflet2_NZADV.html

    #10092
    Feral Matt
    Participant
    Rank: 50cc Rider

    As a side-bar conversation – I’m going to have a play around with using an android tablet as a nav tool on the bike. I far prefer navigating off a bigger screen, and often I find my Garmin 62s screen is a bit poxy to read ‘on the fly’. With a bit of ruggedisation, and by downloading dataset layers, I think it would be a good contender for a nav device. 3 G enabled then also allows for live tracking etc using Glypse or whatever other app one prefers rather than draining your smart phone. I won’t hijack this thread any further, but my point is that nav data has potential to be integrated into the right hardware platform for a complete Adventure Riding solution. I’ll start a new thread once I’m back in NZ in the coming weeks and report on it there.

Viewing 15 posts - 31 through 45 (of 92 total)
  • You must be logged in to reply to this topic.