Hi Oliver,

I'm afraid I don't have a single good library to suggest to you, and
judging by the lack of replies so far it seems no one else does
either.

Since you've been looking into this you'll be aware that there are
many algorithms and implementations available - although some are GPL
only. One of the most interesting approaches (to me at least) is
described in a thesis by Michael Aramini...
http://mysite.verizon.net/~vze2vrva/thesis.html

The thesis includes code in FORTRAN and C.

A C++ implementation of some of Aramini's approaches is available here...

http://www.codeproject.com/KB/recipes/contour.aspx

There is no license condition specified in the article or source code
so, I guess, it can be treated as public domain.

On a related note: there has been a brief chat elsewhere about adding
a contouring algorithm to the jai-tools library. This library is
already creeping in to GeoTools (e.g. calculating raster statistics).
I'd be interested in seeing that happen because it would be useful for
some of my own real (= paid) work as well as GeoTools generally.
Presently I use the R stats package to generate small contour plots.
If you wanted to help out with coding and/or testing I wouldn't say no
:)

Michael

On 16 November 2010 03:35, Oliver Gottwald <[email protected]> wrote:
>
> I was wondering if anyone has a good java contour engine?  It is something
> I've been looking into for sometime but have really not found any good
> libraries for.  I recently looked at worldwind code but I don't think its
> going to meet my needs.  The following is an example I came across but it
> seems pretty difficult to follow and is not really OO:
> http://www.mactech.com/articles/mactech/Vol.13/13.09/ContourPlottinginJava/
>
> I think it would be cool to potentially contribute to geotools at some
> point.  Really If I could get back z values and have either (List (List of
> LineString (Contour Line))) I could process the drawings.
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to