HTML Image Map Creator QGIS Plugin

Aus Geoinformation HSR
Version vom 14. Juni 2017, 09:31 Uhr von Stefan (Diskussion | Beiträge) (Stefan verschob die Seite SVG Image Map QGIS Plugin nach HTML Image Map Creator QGIS Plugin: SVG funktioniert nicht auf allen Browsern...)

Wechseln zu: Navigation, Suche

The SVG Image Map plugin is a Python plugin for QGIS which generates an SVG image map with a background map given an active point or polygon layer and a current project and map view.

  • 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:

Install plugin by downloading from github in path "%userprofile%/.qgis2/python/plugins" under the name "svg_image_map".

tbd.

About

This plugin is based on the nice 'Html Image Map Plugin' from Richard Duivenvoorde and it uses SVG instead the of HTML5 map tag.

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/

The resulting files can be edited and since a template file is used users who know Jinja2 template syntax can modify the plugin output. For learning the Jinja2 template syntax see the official Template Designer Documentation and a tutorial.

tbc.