I'm embarrassed to say that I don't know much about it :-( Jody refactored my original rough code into the current version in svn which is when the Parameter class was included. As far as I can work out, org.geotools.data.Parameter is a recent addition - it is in trunk (2.5-SNAPSHOT) but not any early versions.
Perhaps if one of the knowledgeable developers is reading this they could enlighten us ? (hope) Sorry I can't be more helpful Michael 2008/7/2 JuanVx <[EMAIL PROTECTED]>: > > Hi Michael, > > Thank you for your help, I have tried to use the classes in the svn > (http://svn.geotools.org/trunk/modules/unsupported/process/src/main/java/org/geotools/process/raster/Raster2VectorFactory. > java) but make use of a class "org.geotools.data.Parameter" does not exist > and that gives me an error in to compiler. > > You know how to solve this error? > > Thanks again > > JuanVx > > > Michael Bedward wrote: >> >> On Tue, Jun 17, 2008 at 3:07 AM, JuanVx <[EMAIL PROTECTED]> wrote: >>> >>> Hi Jody, >>> >>> I try by example but I can not find de "cafeanimal" API. This API is >>> important for the operation. Please help me. >>> >> >> Hi >> >> Sorry - I'm not sure if you're using the code that was on >> www.emilythecamel.com or the new code that Jody has refactored for >> inclusion in geotools 2.5 >> >> If it's the former, and you're in a hurry, you can edit the two >> problem lines as follows: >> >> change: >> lines = CAUtils.newList(); >> to: >> lines = new ArrayList<LineString>(); >> >> change: >> vertLines = CAUtils.newMap(); >> to: >> vertLines = new HashMap<Integer, LineSeg>(); >> >> Then you should be able to compile it. >> >> A better organized, but not yet documented, version of the code has >> been added to geotools (2.5 SNAPSHOT). If you are working with the >> stable (2.4) version of geotools, but want to have a look at the >> raster to vector code you can browse it online at: >> http://svn.geotools.org/trunk/modules/unsupported/process/src/main/java/org/geotools/process/raster/Raster2VectorFactory.java >> >> Hope this helps >> >> Michael >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Geotools-gt2-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >> >> > > -- > View this message in context: > http://www.nabble.com/How-to-create-a-shapefile-from-ascii-raster-with-goetools---tp17521285p18218083.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
