Create a Trip Length Calculator
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- backend-api-design, data
Direzione di ricerca
Inizia individuando l’entry point di tripLengthCalculator o tripListProcessor e verifica come Address List Editor, il geocoder batch e BC Route Planner rappresentano gli elenchi di indirizzi. Conferma come i viaggi con più fermate e le modalità più veloce/più breve si inseriscono nelle interfacce esistenti. Il lavoro è completato quando viene accettato lo schema dell’elenco dei viaggi specificato e vengono prodotti tripName, driveTime e distance, mantenendo le colonne definite dall’utente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
tripLengthCalculator takes a list of one or more trips and returns the shortest time/distance of each one.
The trip list can specify multiple trips and each trip can have a sequence of two or more addresses.
The trip list has two required columns: addressString and tripName.
addressString is a physical address in Single Line Address Format.
tripName is the name of a given trip or is empty. When it is not empty, it means the address is the starting place of a new trip; When it is empty, the address is a stop along the way in an existing trip.
Here’s an example trip list containing three trips with one start and one stop each:
addressString,tripName
“375 2nd Ave, Campbell River, BC”,“11 -> 12”
“2137 Comox Ave, Comox, BC”,
“375 2nd Ave, Campbell River, BC”,“11 -> 14”
“49 School Rd, Alert Bay, BC”,
“13750 96th Ave, Surrey, BC”,” 13 -> 15”
“600 W 10th Ave,Vancouver, BC”,
The first address in the list is always treated as a new trip even if tripName is empty. You can add more columns (e.g., fromPlace, fromType, toPlace, toType) and they will be preserved on output.
This trip list format has the following advantages:
- A trip can have more than one stop.
- If tripName is empty for every address, the list is treated as a single trip which is what most users would expect.
- The same list can be fed into the Address List Editor or batch geocoder for QA before the tripListProcessor sees it.
An alternative trip list input format is one trip per record with start and stops columns. The stops column contains one or more addresses separated by an address separator (e.g., "|"). It has the disadvantage that the list can't be fed into the ALE or batch geocoder.
The trip list output format contains a list of trips with the following schema:
tripName,driveTime,distance[, user-defined columns]
Trip List Processor Parameters
mode = fastest | shortest
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 7
- Fork
- 6
- Merge medio
- 7g 6h
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bcgov/ols-devkit
-
It's Been a While Since This Repository has Been UpdatedForse di nuovo libera @cmhodgson l’ha presa 1182 giorni fa e non c’è nessuna pull request aperta. Aperta
bcgov/ols-devkit#217 · 2 assegnatari ·
-
address list editor
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
bcgov/ols-devkit#203 ·
-
enhancement location services demo app
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
bcgov/ols-devkit#200 ·
-
In demo app, route tab, add a way to grab and drag any turning point along a displayed routeForse di nuovo libera @mraross l’ha presa 1972 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement location services demo app rpng
bcgov/ols-devkit#196 · 1 assegnatario ·
-
In location services in action, add a Basemap Comparison tabForse di nuovo libera @mraross l’ha presa 1978 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
bcgov/ols-devkit#195 · 1 assegnatario ·
Tutte le issue di bcgov/ols-devkit
Issue simili
-
bug llm translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jellyfin/jellyfin-mpv-shim#800 ·
I maintainer di solito rispondono entro 1 giorno
-
Michigan 2025 senior interest, dividends and capital gains deduction limits are uprated, not the published amountsForse già presa @PavelMakarchuk l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PolicyEngine/policyengine-us#9826 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
P4: low query
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jeffknupp/association#336 ·