Project

General

Profile

Actions

Feature #978

closed

Image overlays for maps

Added by Stefan Eichert over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Maps
Target version:
Start date:
2019-01-17
Estimated time:
16.00 h

Description

For detailed digitisation of archaeological and other structures it will be necessary to enable image overlays in the map.
This can be achieved by using the leaflet imageoverlay function: https://leafletjs.com/reference-1.4.0.html#imageoverlay

E.g for the plot of the Stará Kouřim cemetery. Therefore it needs a rectified image file with known bounds. This file can be added to the map by:

var imageUrl = 'plots/Kourim_north_georeferenced.png',
imageBounds = [[49.99800, 14.99246], [49.99747, 14.99328]];
L.imageOverlay(imageUrl, imageBounds).addTo(map);

Update:

  • Information is saved in web schema of database (image_id, place_id, 4 text input for bounding box)
  • Set image as overlay in place (the 'top' one) in the file tab like the profile image
  • Show overlay (default show) if at view, update or insert of this place or a subunit
  • Settings option to use overlays
  • Upload image in place/feature/stratigraphic unit/find view and define it to be a georeferenced map image along with bounding box coordinates in WGS84 (multiple ones per place possible)
  • Display these images on the respective place level per default
  • In leaflet layer control allow these maps to be toggled - name/label is the filename
Actions

Also available in: Atom PDF