Олег Ефимов wrote:
>> Hi Arturo,
>>
>> The StyledMapPane has been in the migrate package for two major releases 
>> now and is being put out to pasture.
>> IanT has offered to help construct a new one based on the streaming 
>> renderer(s) (used by uDig and GeoServer).
>>
>> The StyledMapPane will come back when its module maintainer has ported 
>> it to "Go-1" interfaces, we have not
>> removed the code from the repository - just from releases as we really 
>> cannot continue to support it.
>>
>> At a technical level it makes use of some very old CRS and has not been 
>> "ported" to the GeoAPI CoordinateReferneceSystem
>> classes.
>>
>> Jody
>>     
> 1. Is it only my impression, or StreamingRenderer is slower than 
> StyledMapRenderer?
>   
Try uDig and let me know what you think. I personally just feel they are 
different - and one is maintained.

Historically the first round of streaming renderer was 2% slower if you 
set up a fair test, aka drag your data into a memory data store. For a 
more normal use (rendering from the data store directly things) it was a 
trade off, large data vs burning memory.

But since that time people have spent a lot of time optimizing the 
streaming renderer, and produced an optimized renderer just for shape 
files. So I am not sure there are any more fair tests to be had.
> 2. If StyledMapPane isn't valid in fact anymore, than the whole GeoTools 
> package doesn't have full-fledged Swing component to use for map 
> visualization at the moment?
>   
No it does not, indeed it was not the purpose of GeoTools to provide 
swing components. We are here to get you your data, and provide you code 
to render it according to standards.  Interaction is up to your application.

If you need a framework to help start you off:
- GeoServer combined with MapBuilder will set you right for the web
- GeoWidgets project is looking for volunteers on the swing side
- uDig is ready to go for Eclipse RCP

In the interests of saving brain cells the GeoWidgets project had wanted 
to back port the uDig rendering system (it has some other benefits such 
as WMS support).

Even when Martin updates the StyledMapPane to support the Go-1 
interfaces the result is still just a renderer. It does support the 
concept of a "Graphic" which is the simplified visual representation of 
a Feature, and may support the concept of selection as well.  But note 
that for normal GIS use you need to stream you graphics onto the screen 
in much the same way streaming renderer streams Java2D shapes onto the 
screen.

Aside: Sorry for the large background story, and I am sure I got some of 
the details wrong. I am working my way up the geotools modules doing QA, 
currently looking at the Feature Module, then comes rendering and 
Styling.  My plan is to have GeoTools 3.0 when I am done this QA run.

Cheers,
Jody
> PS I'm quite sure I cannot make my posts here to get in the right thread. I 
> really hope people will read this :)
>   
We do try and catch up with email :-)




_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to