Dear JOSM devs, there was Missing Maps hackathon this weekend in Pilsen, Czech Republic. One of the tasks we were working on was click building feature [1] -- building plot based on mouse click to the middle of the building.
I am interested in getting background imagery in effective way. Currently, the following steps are used: 1. Mouse listener knows the coordinates. 2. Coordinates are recomputed to TileXY. 3. New tiles around the mouse click are created in array (9 of them). 4. Based on Tile URL, Images are downloaded and used for algorithm. I feel like downloading Tiles multiple times is not effective. Also, I think that we found a bug in Tile.getUrl() -- for Esri imagery, it returns: https://{switch:services,server}.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}/17/79468/63554.png Instead of proper URL. And I have the same issues with Maxar. [1]: https://gitlab.com/qeef/mapathoner/commits/feature/click-building Thanks, jiri