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