[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:
http://gis.ci.stpaul.mn.us/gis/gismo_public/html/
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):
http://gis.ci.stpaul.mn.us/datasets/DB/SAINT_PAUL/PUBLIC_WORKS/ADDRESS/STAMP-active_public.map?mapext=587340.1267982177%20162002.83410579615%20588032.8548504771%20162477.73387889678&mapsize=1218%20835&mode=nquery&searchmap=true
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.
bobb
>>> 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:
http://www.phygeo.uni-hannover.de/grass/grass63/manuals/html63_user/htmlmapdriver.html
Can any other OSGeo software do the same?
Thanks for any reply!
Alex
--
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
http://lists.osgeo.org/mailman/listinfo/discuss
More information about the Discuss
mailing list