On Sat, May 7, 2011 at 8:54 AM, Jody Garnett <jody.garn...@gmail.com> wrote:
> Maybe? The thing is, I never used any of these classes, don't know what
> they
> are up to. I recall it as an experiment of some time ago, but it's
> actually something
>
> The proposal is here:
> - http://docs.codehaus.org/display/GEOTOOLS/MapContext+Refactor
>
>
> that I don't know anything about, so it's difficult for me to comment on
> it.
> What makes the new classes better?
>
> They explicitly represent each kind of content; rather than having MapLayer
> which could do everything (resulting in amazing hacks like wrapping up
> GridCoverage as a Feature and then a FeatureCollection and then a
> FeatureSource).
>
> Are we going to replace the old ones,
> deprecated them?
>
> Yes.
>
> So far I took a "damage control" perspective on this work, just making sure
> it would not break the existing functionality, if you are serious about it
> I guess I'll have to look deeper into it but having some reference would
> sure help fit this into the time I can dedicate to unfunded work, which is,
> bits and pieces of the weekend.
>
> The last steps in the proposal are:
>
>
> - Update internals of GTRenderer implementations to take advantage of
> new classes
> - Waiting on screen map patch
> - Change GTRender interface to expect MapContent (and MapViewport?)
> - Update implementation to use layers() list; it is a
> CopyOnWriteArray so it is safe
> - Delegate to DirectLayer implementation
> - Update gt-swing code to take advantage of new classes
>
> Breaking new core API (and deprecating old one) is proposal material too,
> it also requires a description of how to go from the former to the latter.
>
> Long story short, I have no preconception against the new classes,
> but would like more time to look into it (whether you want to start with
> a proposal right now or wait for a more informed opinion from my part,
> that is up to you)
>
>
> Is the existing proposal sufficient?
>
Yep it is, I just completely forgot it was there to start with
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel