00 AllStreets - Getting started

Hoe maak ik een gpx door alle straten van een stad:

AllStreetsAll.html
(c) Code as-is, no commercial use allowed.
(c) If you run a gpx, send us a blogpost with a (strava)link


Een paar opmerkingen om mee te starten:

  1. Het tooltje is een stand alone webpagina met javascript code.  Je kan ze best downloaden op je computer en van daar draaien. Er zitten een paar stukjes code in (wegschrijven van en naar harde schijf) die sommige browsers onveilig vinden als het in een externe site gebeurt.
  2. Er is geen undo functie. Je kan wel 
    • een SNAPSHOT nemen
    • je laatste snapshot terug zetten (ResetSNAP)
    • je toestand bewaren in een file en terug laden (SET/SaVe/LD)

  3. Open de console van je browser met de rechter muisknop te klikken en dan 'Inpecteren' aan te klikken. Rechts kan je dan de console openen. In de console wordt vanalles getoond, vooral als het "Verbose Console Output" vinkje aan staat.
-

De rest van het tooltje bevat vier stappen:
STAP1: verzamel de straten waarvoor je een parcours wilt berekenen
STAP2: pas het netwerk van straten en knopen manueel aan tot wat je wilt lopen
STAP3: zoek een optimale route, dit kan wat tijd kosten
STAP4: zet de optimale route om naar een gpx file, eventueel met bijkomende rustpunten


[gemini translation]

How to generate an optimal gpx path through all the streets of a city:

AllStreetsAll.html
(c) Code as-is, no commercial use allowed.
(c) If you run a gpx, send us a blogpost with a (strava)link


A few notes to get started:

  1. The tool is a standalone webpage with JavaScript code. It is best to download it to your computer and run it from there. There are a few pieces of code (reading and writing to the hard drive) that some browsers consider unsafe when executed from an external site.
  2. There is no undo function. However, you can:
    • take a SNAPSHOT
    • restore your last snapshot (ResetSNAP)
    • save your current state to a file and load it back (SET/SaVe/LD)

  3. Open your browser's console by right-clicking and then clicking 'Inspect'. You can then open the console tab on the right. Various information is displayed in the console, especially if the "Verbose Console Output" checkbox is enabled.
-

The rest of the tool consists of four steps:
STEP 1: collect the streets for which you want to calculate a route
STEP 2: manually adjust the network of streets and nodes to match what you want to run
STEP 3: search for an optimal route; this may take some time
STEP 4: convert the optimal route into a GPX file, possibly with additional rest points

Comments

Popular posts from this blog

All Streets

01 AllStreets - getting Openstreetmap streets