« Return to Thread: GeoServer HTML ImageMap extension?

Re: GeoServer HTML ImageMap extension?

by Tim Robertson-2 :: Rate this Message:

Reply to Author | View in Thread

Hi w2y4m

This is something that I think would be an excellent plugin.  We for example
have a wish for a HTML/JS country selector based on shape files with the
ability to do client "CSS hover-over" type effects (e.g. hover over UK and
it shows up in RED fill for example) at different zoom levels, as opposed to
getFeatureInfo requests.  

Tim

-----Original Message-----
From: geoserver-devel-bounces@...
[mailto:geoserver-devel-bounces@...] On Behalf Of Andrea
Aime
Sent: Monday, September 03, 2007 7:10 PM
To: w2y4m
Cc: geoserver-devel@...
Subject: Re: [Geoserver-devel] GeoServer HTML ImageMap extension?

w2y4m ha scritto:
> Has anyone yet implemented a GeoServer service that is capable of
producing
> HTML image maps?

Not as far as I know

> The onlyhint on the web I found that mapbender seems to offer such a
service
> which translates GML to an HTML Image Map. However, mabpender talks PHP,
> which I don't.
>
> If no such service has yet been implemented, what would be the best way to
> set it up?

Hum, probably as a WMS output format, a cross between SVGMapProducer
and the default raster output. From the former I would take the approach
to encode stuff directly in a text format (see SVGEncode.java), from the
latter the code needed to compute a transformation (both scale and
eventually reprojection, see StreamingRenderer.java in GeoTools) and to
generalize polygons so that your image map does not get containing
houndreds of thousands of points (see Decimator.java, again in GeoTools).


> Is it reasoable to realize it as a MapProducer, i.e. add a custom
> GetMapProducerFactorySpi entry?

Yep, exactly what I was talking about (and remember to register the
factory into applicationcontext.xml or it won't be picked up).

Hope this helps
Cheers
Andrea


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@...
https://lists.sourceforge.net/lists/listinfo/geoserver-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@...
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

 « Return to Thread: GeoServer HTML ImageMap extension?