[OSGeo-Discuss] Generating html clickable image maps from polygons

Bob Basques Bob.Basques at ci.stpaul.mn.us
Mon Jan 5 13:23:05 PST 2009

MapServer can do this via Templates.

We use it in our GISmo (GeoMoose) interface quite a bit for Popups.

you can see it action here:

Just zoom in a ways, a couple of blocks, turn on the Address Point
layer, and then switch to the "Visible Layers" tab, and make the Address
layer imagemap active, it should be highlighted in Blue in the right
hand control panel if you have zoomed in enough on the map.  Just toggle
it on and mouse over the Address Points.

If you want the technical peak at things, here is the imagemap output
call from Mapserver (that GeoMoose builds):

The above link generates a Imagemap (only) fragment for use by GeoMoose.
 MapServer builds it based on Templates, as described in the MapServer
docs in someone else's reply.


>>> Alexandre Leroux <alexandre.leroux at ec.gc.ca> 01/05/09 3:07 PM >>>

Hi list,

A rather technical question. I was able to find a potential solution 
with GRASS GIS, but want to know if there are other solutions involving 
FOSS4G software.

Which other FOSS4G software can generate html clickable image maps out 
of polygons? The challenge is simple: a colleague has many polygons that

must be exported to several clickable PNGs like the example on this 
page: http://www.weatheroffice.gc.ca/warnings/sqc_e.html
(A webmap tool such as OpenLayers would be much more powerful, but in 
some cases we do need clickable PNGs.)

I found out it seems GRASS GIS 6.3+ can do it via its HTMLMAP driver:
Can any other OSGeo software do the same?

Thanks for any reply!

Alexandre Leroux, M.Sc., Ing.
Environnement Canada / Environment Canada
Centre météorologique canadien / Canadian Meteorological Centre
Section de la réponse aux urgences environnementales /
Environmental Emergency Response Section
alexandre.leroux at ec.gc.ca
Discuss mailing list
Discuss at lists.osgeo.org

More information about the Discuss mailing list