OpenLayers OpenLayers

Ticket #721 (new feature)

Opened 1 year ago

Last modified 2 months ago

Add georss:box support and items agregation

Reported by: openlayers Assigned to: crschmidt
Priority: minor Milestone: 2.8 Release
Component: Layer.GeoRSS Version: 2.4 RC4
Keywords: Cc: fx.prunayre@oieau.fr
State: Needs More Work

Description

Working on the web interface of GeoNetwork (metadata catalog for geospatial information), we added some features to OpenLayers GeoRSS layers.

Changes are :

- added item agregation (if more than one item is located on the same place, the popup is filled with description of all items). The icon size increase according to the number of items

- added support for georss:box element. A point is created on the UL corner of that item. A boxe is added to a boxes layer. You have one layer with markers and one layer with boxes.

- added georss extent property (use to zoom to layer)

- added popup width and height property.

- added trigger event loadend

A demo inside GeoNetwork is available here : http://dev.sandre.eaufrance.fr/gnopenlayers/ (you could search for nitrate or bassin for example)

Francois

Attachments

georsslib.patch (6.8 kB) - added by openlayers on 05/24/07 11:48:00.
georsstest.patch (4.8 kB) - added by openlayers on 05/24/07 11:48:42.

Change History

05/24/07 11:48:00 changed by openlayers

  • attachment georsslib.patch added.

05/24/07 11:48:42 changed by openlayers

  • attachment georsstest.patch added.

10/10/07 00:51:30 changed by crschmidt

  • milestone set to 2.6 Release.

12/19/07 10:32:09 changed by crschmidt

  • state changed from Review to Needs More Work.

I should have responded to this earlier, and I'm sorry about that, but there are a couple problems here:

  • georss parsing has moved entirely into Format.GeoRSS -- all format parsing improvements should be made there. (This has a lot of benefits, although clearly in this case it causes pain.)
  • Using the Boxes Layer is not recommended: instead, when possible a Vector layer should be created and used instead. The benefit of this is that it actually works and is not a dreadful hack -- the downside is that at the moment, tools for registering events on vector layers are slightly more clumsy, so if you are registering events on the boxes, this might need some further work.
  • loadend events put into trunk in another patch/ticket
  • popup width and height sound good to go into the georss layer as is, if the patch is reworked.

Not commenting on this earlier was my poor judgement, and I apologize for the delay. I'd like to help figure out how to get these things to happen in 2.6 if possible, so you have an upgrade path. If someone is still looking to work on this, please feel free to respond to any of these things which you have questions about, and we can work through them.

01/22/08 17:36:13 changed by crschmidt

Mass ticket move to 2.7 post dev meeting. If you are actively working on this task, please update this ticket with information and change the milestone to 2.6. At the time of the next IRC meeting (most likely 1-31-08), this will mean the ticket can *not* be brought back into 2.6 unless there is further feedback.

01/22/08 17:36:18 changed by crschmidt

  • milestone changed from 2.6 Release to 2.7 Release.

07/28/08 14:29:53 changed by euzuro

  • milestone changed from 2.7 Release to 2.8 Release.