https://github.com/binnette/tree-extract
Extract trees from OSM and import them in OsmAnd
https://github.com/binnette/tree-extract
extract osm osmand tree
Last synced: 2 months ago
JSON representation
Extract trees from OSM and import them in OsmAnd
- Host: GitHub
- URL: https://github.com/binnette/tree-extract
- Owner: Binnette
- License: mit
- Created: 2023-05-02T11:23:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T06:09:58.000Z (9 months ago)
- Last Synced: 2025-01-30T16:47:30.227Z (4 months ago)
- Topics: extract, osm, osmand, tree
- Language: TypeScript
- Homepage: https://binnette.github.io/tree-extract/
- Size: 981 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-extract
Extract trees from OSM and import them into OsmAnd.Online app: https://binnette.github.io/tree-extract/
## How to use
1. Geolocate yourself by clicking on the ↗️ button.
1. Click on the 🌲 button to select a tree.
1. For example, click on "Common", then "Apple", then the "Search" button.
1. Zoom in until you reach level 13 (current level is displayed on the top right).
1. Wait for the Overpass query result.
1. A popup will show the number of trees found and trees will be displayed on the map.
1. Click on the 💾 button to export trees to an OsmAnd GPX favorite file.
1. Import this file into OsmAnd.
1. You are now ready to visit those trees!## Build and run
Prerequisites:
- NodeJSSteps:
1. `git clone https://github.com/Binnette/tree-extract.git`
1. `cd tree-extract`
1. `npm i`
1. `npm run start`
1. Open http://localhost:9000/## Deploy on GitHub-Pages
1. `npm i -g gh-pages`
1. `npm run deploy`## Update datalist
Run `npm run datalist` to update the datalist.
These datalists are used for autocompletion when typing in the genus and species inputs.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.