SAGA 9.6.1 | Tool Library Documentation

Export Polygons to HTML Image Map


Description

Tool to create an HTML ImageMap with polygon dataset and image. The tool requires a polygon dataset and an georeferenced image file. It outputs an html file for possible further editing. The image name in the mapfile html is hard coded to be map.png. How to build the link:

The link will be built with the pattern 'Prefix + Identifier + Suffix'. Take care!: Example for GUI usage:
  1. Load your polygon dataset and open it in a map.
  2. Create an image of this map using the map's menu command 'Save Map to Workspace' and save it to an image file using the file name 'map.png'.
  3. Run this tool and save the output to the same directory as the image.
  4. Open the html file in a browser for preview.
  5. Further editing of the html file is suggested.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsshapes, inputPOLYGONS--
OptionsLinktable fieldLINK--
Titletable fieldTITLE--
Imagegrid systemIMAGEgrid system of georeferenced image-
Filefile pathFILE--
Link PrefixtextLINK_PREFIX-Default: http://www.saga-gis.org/
Link SuffixtextLINK_SUFFIX-Default: index.html

Command Line


Usage: saga_cmd io_shapes 22 [-POLYGONS ] [-LINK ] [-TITLE ] [-IMAGE_D ] [-IMAGE_X ] [-IMAGE_Y ] [-IMAGE_NX ] [-IMAGE_NY ] [-IMAGE_FILE ] [-FILE ] [-LINK_PREFIX ] [-LINK_SUFFIX ]
  -POLYGONS:   	Polygons
	shapes, input
  -LINK:       	Link
	table field
  -TITLE:      	Title
	table field
  -IMAGE_D: 	Cell Size
  -IMAGE_X: 	Lower Left Center Cell X-Coordinate
  -IMAGE_Y: 	Lower Left Center Cell Y-Coordinate
  -IMAGE_NX:   	Number of Columns
  -IMAGE_NY:   	Number of Rows
  -IMAGE_FILE: 	Grid File
  -FILE:       	File
	file path
  -LINK_PREFIX:	Link Prefix
	text
	Default: http://www.saga-gis.org/
  -LINK_SUFFIX:	Link Suffix
	text
	Default: index.html