DBeaver Spatial Viewer showing geometries without OSMI'm using DBeaver (which is a universal database manager) to connect to a Postgis database on a offline computer (not connected to internet).

The spatial viewer of DBeaver uses Leaflet to display spatial geometries and is very very useful for debugging purposes. It features the geometries on top of a background OSM map.

My problem: As the computer is not connected to the internet, I have no background map (as there is no connection to OSM).

My Question: Is there a way to config a local background map ? Is there a way I can "make" leaflet go to a local map? (As it is a program, I have no code I can adjust, as far as I can tell).

(I'm using DBeaver version 6.1.5 and Postgis 2.5.2)

  • If you want to have OSM offline, you have to download the tiles/vectors. One possiblity is OpenMapTiles at openmaptiles.com/downloads/planet for download of complete map (by regions). You could also use SASPlanet program (openhub.net/p/sasplanet) for downloading addhoc selected tiles. – TomazicM Nov 17 at 10:23
  • @TomazicM, I don't mind if the local background map will be OSM, a local raster or a local WMS - I don't know if it's even possible to configure it in DBeaver\Leaflet , and if it is ,I don't know how to configure it, and that's what I'm asking... – jonatr Nov 17 at 11:23
  • I'm not familiar with DBeaver, just with Leaflet. Since DBeaver seems to be only database, only Leaflet deals with OSM or any other map. Seen relevant part of your code would help in understanding what you want/need. – TomazicM Nov 17 at 12:05
  • @TomazicM, thanks. As DBeaver is a program I download as a exe, I don't know its sourcecode. As I don't know leaflet as well, I have no idea what to look for, in order to "tweak" it... – jonatr Nov 17 at 14:06
  • 1
    From what I could gather from internet, Leaflet is bundled/integrated into DBeaver and I couldn't find any info about tweaking this, so I'm afraid I can't be of help here. – TomazicM Nov 17 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.