[Java-collab] Cubic splines in GML

Andrei Ionita ionita at lat-lon.de
Fri Aug 14 13:14:12 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

I am seeking help on understanding the concept that GML is defining for
cubic splines.

Firstly, I have been looking at the GML definition of cubic splines and
wondering how to interpret it. There, a cubic spline consist of control
points and starting and ending tangent vectors. It appears as the
piecewise cubic polynomials (that are defined mathematically for a cubic
spline) can be deduced from the two tangents, but how does one do that?

Or is the target of the GML type not one of defining a rigorous math object?

Apart from that however, I would also like to ask if some of you has
ever stumbled upon a discrete algorithm for interpolating cubic
splines, or at least can give me some literature references.

In the meantime I found the GeoTools page
http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry#01HowtoCreateaGeometry-Splines(arcswithmathsgalore)

that contains an implementation. I will need to study the algorithm from
there a bit, but it looks good.

Any suggestion on the subject would be appreciated. Thanks!

Regards,
Andrei
- --
Andrei Ionita

l a t / l o n  GmbH
Aennchenstrasse 19               53177 Bonn, Germany
phone ++49 +228 18496-0          fax ++49 +228 18496-29
http://www.lat-lon.de            http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqFm2QACgkQ4pb290eLCNsuVACcCqSG3K6++HixEMe5gphnw3GY
cyIAnia+Rl74HVGQCIzPX4P5MCskNPft
=5uTQ
-----END PGP SIGNATURE-----


More information about the Java-collab mailing list