[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [udig-devel] Re: [Geotools-devel] udig trunk on trunk - documentation needed on Decimator, LiteShape2, LiteShape | 
Thanks that Upgrade to 2.4 page helps - next time we need to prep the 
BEFORE/AFTER code examples before doing the work :-)
I am getting *very* stuck fixing the uDig code base ...
Consider the following constructor:
public AbstractRasterService( URL id, GridFormatFactorySpi factory )
And its relationship with its subclass:
    public WorldImageServiceImpl(URL id, WorldImageFormatFactory 
factory) {
        super(id, factory);
    }
I seem to be stuck based on manipulations of the WorldImageFormatFactory 
class heirarchy ...
- org.geotools.coverage.grid.io.GridFormatFactorySpi is a super type
I can see the deprecated one only; and the deprecated one is no longer a 
super of WorldImageFormatFactory ...
So we have two problems:
a) I need to make GridFormatFactorySpi in 
org.geotools.coverage.grid.io.GridFormatFactorySpi visible to my class 
loader
b) you need to make sure that your old GridFormatFactory extends the new 
one (so people have a migration path to follow rather then breaking code)
Cheers,
Jody
Ciao Jody,
I updated the pages
http://docs.codehaus.org/display/GEOTOOLS/Cleaning+up+dependencies+between+various+modules+and+coverage
http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.4
Let me know what you think about it.
Thx,
Simone.
-------------------------------------------------------
Eng. Simone Giannecchini
President/CEO GeoSolutions
http://www.geo-solutions.it
Via Carignoni 51
550141 Camaiore (LU)
Italy
Mobile: +39 333 81 28928
-------------------------------------------------------
----- Original Message ----- 
From: "Jody Garnett" <jgarnett@xxxxxxxxxxxxxxx>
To: "User-friendly Desktop Internet GIS" <udig-devel@xxxxxxxxxxxxxxxxxxxxx>; 
"geotools-devel" <geotools-devel@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, February 27, 2007 11:19 PM
Subject: [Geotools-devel] udig trunk on trunk - documentation needed on 
Decimator, LiteShape2, LiteShape
  
Jody Garnett wrote:
    
Some initial feedback ...
The following packages no longer exist (uDig was explicitly exporting 
them):
- org.geotools.coverage.io
- org.geotools.data.coverage.grid.file
- org.geotools.data.coverage.grid.stream
I suspect these were line items on Simone's greatest hits page:
-
http://docs.codehaus.org/display/GEOTOOLS/Cleaning+up+dependencies+between+various+modules+and+coverage
      
Simone I hope there are update instructions ... on how to change the
imports?
- http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.4
- http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.3
These pages have not been updated (but you committed? why...)
Here are some broken imports:
    
import org.geotools.renderer.lite.Decimator;
import org.geotools.renderer.lite.LiteShape2;
import org.geotools.renderer.lite.LiteShape;
      
Remember the goal is to prep it so the person updating their code base
(in this case me); does not need to think ... only follow
the directions you left behind.
Cheers,
Jody
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/geotools-devel 
    
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/geotools-devel