hotosm / fmtm

Field Mapping Tasking Manager - coordinated field mapping.
https://fmtm.hotosm.org/
GNU Affero General Public License v3.0
42 stars 45 forks source link

Improve sharpness of mbtiles output from custom TMS source #1668

Closed ramyaragupathy closed 1 month ago

ramyaragupathy commented 1 month ago

Using the 5cm imagery we generated using drones in Amlapura area of Bali, attempted created a mbtiles for offline access in ODK.

However the output was pixelated and did not match the resolution input. Attaching a screenshot of the output mbtile and the actual image

screenshot of the 5cm imagery from oam mbtiles output from fmtm
image image

@spwoodcock @manjitapandey @Sujanadh

spwoodcock commented 1 month ago

Fixed by osm-fieldwork update https://github.com/hotosm/osm-fieldwork/releases/tag/0.13.0

Will be installed before next release but blocked by #1646

manjitapandey commented 1 month ago

Screenshot_2024-07-23-16-42-14-84_171725cd2e369f62c287134214eaed67

This is the resolution of mbtiles for now. I guess this has been significatly improved than previous.

spwoodcock commented 1 month ago

Depends on if this was tested with a satellite provider or a drone TMS provider.

The image above looks reasonably low resolution, so I imagine this is esri or bing. The issue was with drone TMS data that has zoom levels great than 18/19.

I have verified this is fixed though, so all good to close 👍

manjitapandey commented 1 month ago

I have tested it with drone TMS provider copying the same TMS layer ramya was using of Bali. So i think we need to reconsider this issue before closing.

spwoodcock commented 1 month ago

You tested with the TMS provider and the imagery was still blurry?

manjitapandey commented 1 month ago

Yeah the same TMS tile of Bali, The imagery has been improved by still blurry like above.

manjitapandey commented 1 month ago

@spwoodcock , any success around this issue. I can also test on other multiple tms layers to validate.

spwoodcock commented 1 month ago

mbtile output is working nicely:

image

I'm also checking pmtiles, but mbtiles was the main requirement here for ODK Collect, so closing 👍

manjitapandey commented 1 month ago

Yeah, I tested on other mb tiles. The resolution is much higher and satisfactory now.