3 ms·
Great work but I cant relate to it because I am not from Istanbul? How do I add it for other cities. Specifically, for San Francisco Bay area or for Hyderabad,
by throwaway425933 2y ago
Great work but I cant relate to it because I am not from Istanbul?
How do I add it for other cities. Specifically, for San Francisco Bay area or for Hyderabad, India.
- unclad5968 2y agoLooks like the file loading for the map data is hard coded into the initialization.
- uysalibov 2y agoYes, I do like that. My istanbul data hard coded. But i want to add data import menu. It's on my todo list.
- gfiorav 2y agoThe files under Maps/*.json seem to be generated via https://wiki.openstreetmap.org/wiki/Overpass_API https://wiki.openstreetmap.org/wiki/Overpass_API You can generate your own and rebuild
- throwaway425933 2y agoThx. Any instructions on how to "generate your own" would be appreciated.
- pvo50555 2y agoYou can try one of the Quickstart guides on that page. Just type in "San Francisco" in the search bar on the map on this page: https://overpass-turbo.eu/ https://overpass-turbo.eu/ and then run your search query (drinking fountains by default). The bounding box should be whatever is in view of the map on the right. Then you can click the Data tab to see exported XML.
- pvo50555 2y agoWhat would be the best way to generate custom maps for use with an algorithm like Dijstra's or A*? I have seen some methods using various game level editors to output to a grid, but is there an easy way to draw custom maps, such as indoors locations, and create your node map with additional JSON data visually?