Each beginning starts with a step
Go To App


What TrailGen offers...

Calories to Distance

Just input the amount of calories you want to burn and TrailGen will find the right track near you. Turning your calories to distance, to time and to speed.

Time-Tailored Trails

If you have limited time, TrailGen will generate a path based on your time criteria, making your daily fitness an enjoyment and a pleasure.

Safety Warnings

Ensuring your safety is a must. Once you begin your track, TrailGen will warn you if you need to take a torch with you, should nightfall come in the middle of your walk.


TrailGen is an app that makes it easier to get out and get active. 
You enter how much time you have free and then from your location it will provide you with a walk that will have you back in time (taking into account the drive time and your walking speed). For safety it keeps an eye on the daylight left and lets you know if you need to turn around or if you need to take a torch because it will be getting dark before you complete the walk. 
An alternative way the application works is to find you a walk that will burn off a specific amount of food or calories. Two burgers for lunch? Need to lose one of them? Let TrailGen give you the local walk to do just that.

Programs Used

Languages and Resources

  • Notepad ++
  • Sublime Text
  • Python 3.x
  • Microsoft Office suite
  • 7-Zip
  • GitKraken
  • Photoshop CC 2017
  • Xamp
  • Internet Explorer
  • Google Chrome
  • Adobe CC
  • Illustrator

  • CSV
  • HTML
  • CSS
  • Java
  • Python

  • Angularjs
  • Boot Strap
  • J Query

Important Features:

  • The app will tell you the driving time and walking time so you can make the best selection, 
  • There is a night-time safety feature warning you to take a torch if you it will get dark while you are out. 
  • There is a calorie calculator so you can say you have consumed this many calories how long should you walk for. Target Audience: 
  • Tourists, anyone visiting different locations or even people with a bit of time to kill. 
  • Pretty much anybody between the ages of 16-90.

What Data sets were used?

  • Doc Track Locations (to determine the start and stop of the doc tracks)
  • Linz Astronomical information (to determine sunset and sunrise times in a given location)
  • Nokia Here (to nicely display maps and work out distances to locations)

The underlying goal:

  • The goal of the application is create a platform that makes it easier for the community and tourists to find walks they can do today. 
  • The quirky food to distance sliders are is really just an engagement tool (the silliness of knowing how many carrots you will burn on your walk). 
  • The broader vision is to add further functions such as local attractions you would like to see (for example wildlife habitats) to add to the reasons people will have for doing a walk. 

The Need for Open Government Data:  

  • The team was limited by the availability of DOC data. We would LOVE to see the publishing of detailed data associated with each asset ID. While we had the track polygons for distance etc. we could not connect the asset ID to other information about the tracks, locations and facilities. It is likely that this would be easy for DOC to do and it could enable very rich tools to be built. 
  • Applications like this are also potential tools for DOC to enrich their own data via structured data feedback on wildlife sightings, pest sightings, damage and risks etc. 

Future Development:

    Activity logging: 

    • Maintaining a log for each user to showing current progress and tracks previously walked
    • Collection of track walking times for improved walk time predictions (based on that users prior history of walk times relative to others)
    • Profiles (To customize your app and search criteria)

    Social Tools:

    • Sharing/posting of tracks walked
    • Popularity ratings for tracks (from other people who have done the walk)
    • Report damage to signs, tracks or DOC equipment.
    • Report and share sightings of birds/pests etc


    • Share your location with Friends and family
    • While playing music also play Mic Sounds so you can be more aware of your surroundings
    • Add weather warnings if the track could be washed out or slippery, or if would be good to take extra warm gear and a rain coat. 

    Point of Interest Information:

    • To make it like you have a private tour guide with you

    Language Packs (to allow for tourists)

    Expand the tracks available to other free walking tracks too.


  • Limited DOC data associated with each asset/asset ID
  • The application was built fully client side which, in hindsight, is a bit limiting in terms handling a large map dataset. We would revise this and do more on the server side given more time.
  • We intended to but didn’t plot the selected walks (time constraints)
  • We intended to but didn’t implement links to further DOC track information (except for a limited set around Whangarei).
  • We intended to, but didn’t add images associated with each track (time constraints).


More information about TrailGen.

  • About

    TrailGen was a GovHack 2017 project made by the team from Whangarei, New Zealand. Learn more about Govhack.

  • Step 1

    Enter your walking speed, how much time have, your weight and how many calories you are looking to burn

  • Step 2

    TrailGen will then direct you to Department Of Conservation trail based on the criteria you have selected (walking speed, time, weight and calories)

Our Amazing Team

Meet the team behind TrailGen...

Kevin Waugh


Kevin was the founder of the group
and the main organiser.

Zac Waugh

Lead Developer

Zac was the main programmer who
coded the map and led the team.

Anna Mason


Anna worked alongside Odette and
created the TrailGen logo.

Jasper Waugh


Jasper did most of the
JavaScript and functions.

Odette Louw


Odette was our main designer and
helped make the TrailGen logo.

Riya Shajumon

Programmer/Website Designer

Riya worked with Alvian with
the website and styling.

Heath Grant


Heath worked on the main program
interface and video.

Alvian Cortez

Programmer/Website Designer

Alvian coded the advertisement website
and helped with styling.

Glyn Fleming-Bone

Media Editor

Glyn helped with the video and
publishing of the site.

Zak Manley

Media Editor

Zak was our audio editor and
led the editing squad.

Jake Weller

Lead Media Director

Jake led the video team and
was the main cameraman.

Josh Clark

Lead Data Analyst

Josh worked alongside Zac and
helped with the map.

Huge thanks to everyone who made TrailGen possible!

Contact Us

Get in touch with the team for any questions or queries

For any questions regarding the project:

Zac Waugh, Lead Developer
• Email:

Josh Clark, Lead Data Analyst
• Email:

Kevin Waugh, Organiser/Mentor
• Email:

Odette Louw, Designer
• Email:

Anna Mason, Designer
• Email:

Riya Shajumon, Website Developer
• Email:

Glyn Fleming-Bone, Website/Media Developer
• Email:

Alvian Cortez, Website Developer
• Email:

Jake Weller, Lead Media Director
• Email:

Zak Manley, Media Editor
• Email:

Jasper Waugh, Programmer
• Email:

Heith Grant, Programmer
• Email: