Isicelo se-HereItIs sithatha idatha ye-GSP yamabhasi / ama-trams adalulwe yi-API ye-Open Data yizifunda zezokuthutha futhi ikhombisa le datha ngesikhathi sangempela nokuhamba kumephu nakwiphaneli lapho singabona khona isikhathi esilinganisiwe sesiteshi ngasinye. . Le datha ingaboniswa nanoma imuphi imvamisa evela ezithuthweni zezifunda (okwamanje yi-30 sec).
Isicelo sinamamephu adingekayo wokusebenza kuwo wonke amadolobha amakhulu ezweni.
Amadolobha asebenza njengamanje anedatha yangempela:
Iasi: uhlelo lokusebenza luthatha idatha kusuka ku-API enjalo e-Iasi, noma kunjalo e-Iasi kunezinkinga ezimbili: kuphela i-90% yezimoto ezidlulisa idatha (ezinye okwamanje zinephutha), kanti inkinga yesibili ukuthi idatha evela kuleyo API evezwe yi-CTP Iasi ayenzi aqukethe inani lendlela imoto eqhubeka kuyo. Kodwa-ke i-HereII isebenzise i-algorithm yokubona umugqa, ngakho-ke e-Iasi, 90% yezimoto ezisendleleni futhi edlulise idatha ye-GPS ibonakala ebalazweni (esikhathini esilandelayo esilandela i-CTP Iasi izokulungisa lezi bese zibonakala ngokuzenzakalelayo ebalazweni) Izimoto ezingafakwa kumephu yabagibeli ngokusebenzisa ukusebenza kwe-preonfigured ethi "Ngibonile / ngishiyile" ukusebenza.
I-Oradea: ngemuva kwezinyanga zokuqapha traffic, silinganisela zonke izimoto e-Oradea ngokunemba okungaphansi komzuzu owodwa.
Kuwo wonke la madolobha uhlelo lokusebenza lungasetshenziswa uma kukhona i-API evulekile nedatha ye-GPS yezindlela zokuhamba noma uma singathola abahlanganyeli ukukhuthaza uhlelo lokusebenza ukuthi lusetshenziswe ngokuhlanganyela kokusebenza kwendawo yebhasi kusuka emphakathini wabahambi: Alba, I-Arad, Brasov, Bucharest, Cluj, Constanta, Craiova, Ploiesti, Sibiu, Timisoara, kungekudala neBacau).
Isimiso sokusebenza sisekelwa kudatha ethathwe ezifundeni zokuhamba nakokufakwa komphakathi kwabagibeli.
Isicelo simahhala, okwamanje asinazikhangiso ezikhathazayo, okuwukuphela kwesimo sokusebenzisa uhlelo lokusebenza ukwesekelana omunye nomunye futhi "nokusebenzisa ulwazi" nge-sharu mayelana nendawo amabhasi.
Isikrini esikhulu sohlelo lokusebenza siqukethe imephu yedolobha lethu, umbuthano we-2km, isakhi sokucinga nenkinobho lapho silawula ngazo zonke izinto esingazenza. Futhi singabona izikhathi zokulinda zeziteshi eziseduzane nendawo yami.
Ngokuyisisekelo silayisha kumephu kuphela izindlela zokuhamba zomphakathi ngaphakathi endaweni engaba 2km ukusuka endaweni engikuyo manje, vele uma sifuna ukubona futhi ngaleli ibanga singasebenzisa isakhi "Sesha", zonke izindlela zokuhamba zomphakathi ezikhethwe yilokho Ingxenye iyabonakala ebalazweni ngaphandle kwebanga ukusuka endaweni yami. Singachaza inombolo ekhawulelwe okwamanje emizileni engu-2 "eyintandokazi", lokhu kuzobonakala kumephu kuwo wonke umhlaba wedolobha lapho kulayishwa uhlelo lokusebenza.
Ukusula indawo yezindlela zokuhamba sinamacala amabili:
1. Uma ibhasi / ithilamu engihlose ukuhamba ngalo lingakahlakazwa ngomunye umuntu emephini, cindezela inkinobho eluhlaza -> "Ngishiyile", bese kusuka ohlwini olukhonjisiwe ngikhetha indlela oyifunayo nesiqondisi sokuhamba nge-slide sobunxele noma kwesokudla.
2. Uma ibhasi selivele lihlungiwe, chofoza kukho bese ucindezela u- "Ngishiyile"
Uhlelo lokusebenza lusebenza futhi aluvumeli ukwabiwa kolwazi ngaphandle kokuthi umsebenzisi usendleleni yezindlela zokuhamba ezifanele.
Lapho sabelana ngendawo yezindlela zokuhamba ngenketho ethi "Ngishiyile", uhlelo lokusebenza luqala ukuphinda luthole indawo yomsebenzisi yamanje, ngokusebenza kwe- "ngabona", ngivumela uhlelo lokusebenza ukuthi luthathe indawo yami kanye.
Isicelo sidinga amalungelo alandelayo wokufinyelela:
- Ukuxhumeka kwi-Intanethi ukuthola idatha bukhoma ngezindlela zokuhamba zomphakathi
- Isitoreji sasendaweni ukusindisa eminye imininingwane encane njengokuthi: igama ledolobha eliyintandokazi nemizila oyithandayo.
Kubuyekezwe ngo-
Sep 21, 2023