Tim Swanson a écrit :
> I'm working on converting a code base from GeoTools 2.1M2 to 2.5M2. The
> code that I currently have uses the StyledMapPane
> (org.geotools.gui.swing). 
> 
> This class doesn't exist in the current version, is JMapPane its
> replacement?

Styled MapPane doesn't exists anymore, because we lacked energy for maintaing 
it 
at that time. It was built on top of a renderer ("J2D renderer") which was 
considered - with good reasons - too complex. The renderer which were 
developped 
in GeoTools instead was "streaming renderer".

I'm not familiar with JMapPane, so I don't know how it match the old 
StyledMapPane. However this is not really an evolution of the old 
StyledMapPane; 
it is more like a new implementation using streaming renderer, which was 
originally designed as a demo rather than a full widget.

We started recently (and years late compared to what I originally said) a 
refactoring of "J2D renderer". We are calling it "go renderer" for now, where 
"GO" stands for the OGC "Geospatial Object" specification:

     http://www.opengeospatial.org/standards/go

Some consider this specification as a "dead" one because it had no activity for 
a few years. The actual issue is that the commercial compagny which was pushing 
it (Polexis) as been bought by Sys Technology, and this specification seems to 
be no longer a priority for them. And we (on GeoAPI side) lacked volunter time 
for pushing it.

However this GO specification has good ideas for a rendering engine (actually 
their design was largely inspired from what are done in some commercial 
softwares). And it happen that GO design is pretty close to the legacy "J2D 
renderer" design. Same ideas with a few name changes:

   J2D renderer name                   GO name
   -----------------                   -------
   RenderedLayer                       Graphic
   Renderer                            Canvas

and a few others I'm forgetting right now. We restarted the development of "J2D 
renderer" just a few months ago (actually Johan, alias "Eclesia", has took over 
this renderer - I'm still missing time on my side). SVN is there:

http://svn.geotools.org/trunk/modules/unsupported/go/src/main/java/org/geotools/display/

but this is not yet ready (as a side note, Johan is the guy behind this thing: 
http://puzzle-gis.codehaus.org/). We will need a few months again before we are 
ready to propose a real StyleMapPane successor, but this time the work is under 
for real (I have said many time in the past that I would start the work soon 
but 
never got the time to respect my word).

Regards,

        Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to