Jody Garnett ha scritto:
> I am mostly proposing a different point of integration :-)
> 
> Here is a link to the scalebar code used in udig:
> - 
> http://svn.refractions.net/udig/udig/trunk/plugins/net.refractions.udig.mapgraphic/src/net/refractions/udig/mapgraphic/scalebar/
> 
> What I am actually proposing is picking up this code and making it a
> GeoTools MapLayer; in a manner similar to the WMSLayer demo.
> 
> Compare:
> - 
> http://svn.osgeo.org/geotools/trunk/modules/library/render/src/main/java/org/geotools/map/MapLayer.java
> - 
> http://svn.osgeo.org/geotools/trunk/demo/mappane-use/src/main/java/org/geotools/demo/mappane/WMSMapLayer.java
> 
> Michael and I have talked about this one before...

Mumble, wouldn't this require creating a renderer that can
handling different layers with different code paths,
and having StreamingRenderer work as a slave on the
vector layers (and finally have a separate renderer
for the coverages?).
Oh, I see, you're circumenting the issue by
turning the WMS layer into a grid coverage source.
Which is an OK short term solution, but I don't believe
it's ideal for the long run.

If anybody is interested in working on a new rendering
subsystem that has per layer renderers and can use
streamding renderer as one of the per layer rendering
strategies I'm interested in tagging alone (from
my spare time).

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to