nobleo / rviz_satellite

Display internet satellite imagery in RViz
Apache License 2.0
569 stars 238 forks source link

Load images from computer #98

Open proflim123 opened 3 years ago

proflim123 commented 3 years ago

Hi, is it possible to load geotiffs currently stored on the computer as opposed to getting them from a URI?

Thank you. Regards, Andres

beetleskin commented 3 years ago

I'm afraid not. I recommend setting up a local WM(T)S server to provide the images. There are several open source solutions out there. Using WM(T)S as interface is pretty common for raster map renderers; and I think hacking some code into the plugin to work a rather special use-case of geotiff would not benefit the code or feature-set.

If this is jut for offline-visualization, you might want to go the other way: export your robot trajectory as geojson or kml or whatever, and use e.g. plotly or mapbox; Both support direct image rendering als WMS replacement.

Checkout e.g. http://geoserver.org/

You might also be able to set it up without code via QGIS (https://docs.qgis.org/3.4/en/docs/training_manual/qgis_server/wms.html)