swri-robotics / mapviz

Modular ROS visualization tool for 2D data.
BSD 3-Clause "New" or "Revised" License
370 stars 144 forks source link

Which plugin/companion project for scalable offline multi resolution maps in MapViz? #813

Open avaziri opened 4 months ago

avaziri commented 4 months ago

Hello,

I had been trying to use multires_image and eventually hit a dead end (see https://github.com/swri-robotics/mapviz/issues/814). In any case, multires_image is hard coded for at most five levels of zoom, so I think I would like to consider something more scallable and well supported.

Currently I have a tool that can save a very large architectural PDF drawing into multi resolution layers of images. The building could be up to 500 feet long with the smallest details requiring 32pixels/inch to resolve. So that would be 200k x 200k pixels total.

I am not terribly familiar with the landscape of WMS integrations. Do you have any advice on a good path to use MapViz with this kind of data? It would be used when operating a robot on site so all the data would need to be saved to disk.

From reading other posts it seems that using MapProxy might be good for the caching requirement, but unless I am mistaken I will need to convert my images into something that can be streamed from a WMS. Rather than use a real WMS, perhaps I should just make a new extension for MapProxy of a source that reads multi resolution files from disk? Part of me thinks that cant be the best solution since I am just re inventing multrires_images with extra steps.