HTML Image Map Creator QGIS Plugin

Aus Geoinformation HSR
Version vom 1. September 2017, 16:12 Uhr von Stefan (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

The HTML Image Map Creator plugin is a Python plugin for QGIS which generates a static background map (HTML5/CSS/JavaScript plus raster file) with interactive markers (.svg, .png, .jpg). Input is an active point or polygon layer and a current map view in QGIS.

  • A project by Geometa Lab HSR based on the famous 'Html Image Map Plugin' from Richard Duivenvoorde
  • Project Lead: Stefan Keller
  • Developed by: Severin Fritschi and Emil Sivro
 >> This is experimental work in progress! Expected an early release as QGIS plugin around 2nd quarter of 2017 << 

Important websites:

Download the zip file from the Github repo, unpack it into this directory "%userprofile%/.qgis2/python/plugins" using the plugin folder name "html_image_map_creator".

Note that experiments with pure SVG approach (using e.g. SVG object tag) failed due to incompatibility of evene the most modern common web browsers.

tbd.

About

This plugin is based on the nice 'Html Image Map Plugin' from Richard Duivenvoorde and it uses updated HTML5.

The output can be embedded by using the object tag like this:

 <object data="my_first_svg_image_map.svg" type="image/svg+xml" id="eventmap" width="1024" height="768">
   <img src="my_first_svg_image_map.png" width="1024" height="768" alt="Alternate to SVG image">
 </object>

Note to self: https://www.mediaevent.de/svg-in-html-seiten/

tbc.