bobosm/TODO.md

90 lines
2.8 KiB
Markdown

# TODO & Goals
- [x] 2024-06-07: Afficher un point avec raylib dans une fenêtre
- [x] 2024-06-24: Basic navigation
- [x] 2024-06-24: Keyboard navigations, location presets
- [x] 2024-06-25: Afficher les quartiers d'Aubevoye, afficher les rues
- [x] 2024-06-26: handle change in screen def
- [x] 2024-06-26: download and merge osm data in current bbox
- [x] 2024-06-27: basic name display
- [x] 2024-06-27: OSM download in a separated thread
- [ ] 2024-06-27: Show basic POI
- [ ] 2024-06-27: basic tag editing with help of external file
- fix bug: when chaing screen def, then zooming does not work
- fix carthesian projection
- External tags.osm.txt file
- write initial file
- automagically open default editor in a terminal emulator
- then watch for change with inotify
- on file write, update the tags struct of that node and mark that node as changed
- [ ] 2024-06-27: basic edit of POI
- [ ] 2024-06-27: oauth2 authorize and OSM session management
- [ ] 2024-06-27: basic edit of existing way
- add edit toggle button / keybinding
- draw node handles
- on left click, check if we are near a node handle
- move the data, mark the way and node as being modified.
- [ ] 2024-06-27: reimplement JOSM W mode (improve way accuracy module)
- [ ] 2024-06-27: setup basic sqlite DB
- Edit ways
- Load GPS trace
- Pouvoir afficher les grandes villes mondiale
- Pouvoir se déplacer de façon basique
- Pouvoir afficher les limites lands/sea
- Pouvoir load et naviguer dans du raster
- Se connecter en OAuth2 à OSM
- Pouvoir ajouter un POI basique, upload un changeset sur le serveur de dev OSM
- Ajouter un chemin basique
- Killers features:
- work on wayland with no issues
- useful shortcuts
- work with relations
- panoramax viewer
- explore diverse databases
- wikidata
- explore commons picture
- explore panoramax
- adapted for:
- mapping with specials tags
- learn contributor habits with frequent tag
- Créer une base de données Sqlite avec index géo?
- Sqlite a déjà un RTree de base
- Tags edit on `/tmp/tags.txt`, open a dynamic editor like vim on another windows and allow to edit tags this way
- Distances de deux points sur une sphère avec la formule de Haversine
- https://fr.wikipedia.org/wiki/Formule_de_haversine
- `bobosm account login`
- `bobosm account status`
- `bobosm push --comment "Hello world"`
- `bobosm account logout`
## Tile
https://a.tile.openstreetmap.org/15/16511/11224.png
## Get bbox
https://norbertrenner.de/osm/bbox.html
## Get nodes on a area
curl -v https://api.openstreetmap.org/api/0.6/map.json -G -d "bbox=1.32495,49.16409,1.34585,49.18485" > map.json
## issues
- the `RTree` external struct does not support Debug trait
## Mercator projection
https://wiki.openstreetmap.org/wiki/Web_Mercator EPSG:3857