[OpenLayers-Users] Interactive hot spots on a map for large, complex vector geometries
Rob Marjot
robmarjot at gmail.com
Fri Jun 27 08:13:42 PDT 2014
Hi Phil, dear list,
Thank you for your response.
I guess I forgot to mention: the idea is to have geometries highlighting on
hover / mouse-over...
So far, my idea is to indeed use WMS. From there, the map would be
augmented by vector rendering, with vector-detail determined by the users'
"finite pixel viewport" (map extent => clipping; zoom => simplification).
At the min zoomlevel simplifying these complex geometries will allow me to
drop 95% of the vertices by simplification, while at the maximum zoom level
(full detail) I will be able to drop 95% of the vertices by clipping...
My best guess is that internally OpenLayers translates worldly coordinates
to screen coordinates before actual rendering; just like I wish to do
server side. I'm wondering if the API / Object Model allows for plugging
into the rendering stack at that point. If no one on this list has
experience in doing so, I will need to study the API carefully... But as a
next step, I should consult the OpenLayer-dev list first, i think.
Rob
2014-06-27 0:13 GMT+02:00 Phil Scadden <p.scadden at gns.cri.nz>:
> It makes the application more complex, but I really wonder if you shouldnt
> rethink this as an WMS/WFS system.
> DONT supply the pipelines as vector by default, use a WMS server instead.
> When you need the interactive component, fetch the GML as needed with WFS
> query. You get the best of both worlds.
>
> Notice: This email and any attachments are confidential.
> If received in error please destroy and immediately notify us.
> Do not copy or disclose the contents.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140627/63c62c48/attachment.html>
More information about the Users
mailing list