From 888d25feb767d3607371f82a87bb5946ea30f6e2 Mon Sep 17 00:00:00 2001 From: Erwan Bocher Date: Mon, 23 May 2016 10:02:04 +0200 Subject: [PATCH] Change CTS license --- README.md | 17 +++-- pom.xml | 33 ++++----- src/main/java/org/cts/CRSFactory.java | 21 ++---- src/main/java/org/cts/CRSHelper.java | 21 ++---- .../org/cts/CoordinateDimensionException.java | 55 +++++++-------- src/main/java/org/cts/Identifiable.java | 55 +++++++-------- .../java/org/cts/IdentifiableComponent.java | 55 +++++++-------- src/main/java/org/cts/Identifier.java | 55 +++++++-------- .../org/cts/IllegalCoordinateException.java | 55 +++++++-------- src/main/java/org/cts/Parameter.java | 21 ++---- src/main/java/org/cts/crs/CRSException.java | 21 ++---- src/main/java/org/cts/crs/CompoundCRS.java | 57 +++++++-------- .../cts/crs/CoordinateReferenceSystem.java | 55 +++++++-------- src/main/java/org/cts/crs/GeocentricCRS.java | 55 +++++++-------- src/main/java/org/cts/crs/GeodeticCRS.java | 57 +++++++-------- .../java/org/cts/crs/Geographic2DCRS.java | 55 +++++++-------- .../java/org/cts/crs/Geographic3DCRS.java | 55 +++++++-------- src/main/java/org/cts/crs/ProjectedCRS.java | 55 +++++++-------- src/main/java/org/cts/crs/VerticalCRS.java | 57 +++++++-------- src/main/java/org/cts/cs/Axis.java | 55 +++++++-------- .../java/org/cts/cs/CoordinateSystem.java | 55 +++++++-------- src/main/java/org/cts/cs/Extent.java | 55 +++++++-------- .../java/org/cts/cs/GeographicExtent.java | 55 +++++++-------- .../java/org/cts/cs/OutOfExtentException.java | 55 +++++++-------- .../java/org/cts/datum/AbstractDatum.java | 55 +++++++-------- src/main/java/org/cts/datum/Datum.java | 57 +++++++-------- src/main/java/org/cts/datum/Ellipsoid.java | 55 +++++++-------- .../java/org/cts/datum/GeodeticDatum.java | 55 +++++++-------- .../java/org/cts/datum/PrimeMeridian.java | 55 +++++++-------- .../java/org/cts/datum/VerticalDatum.java | 55 +++++++-------- .../cts/op/AbstractCoordinateOperation.java | 57 +++++++-------- .../org/cts/op/ChangeCoordinateDimension.java | 55 +++++++-------- .../java/org/cts/op/CoordinateOperation.java | 57 +++++++-------- .../cts/op/CoordinateOperationFactory.java | 55 +++++++-------- .../cts/op/CoordinateOperationSequence.java | 55 +++++++-------- .../java/org/cts/op/CoordinateRounding.java | 21 ++---- .../java/org/cts/op/CoordinateSwitch.java | 57 +++++++-------- .../org/cts/op/Geocentric2Geographic.java | 55 +++++++-------- .../org/cts/op/Geographic2Geocentric.java | 55 +++++++-------- src/main/java/org/cts/op/Identity.java | 55 +++++++-------- .../org/cts/op/IterativeTransformation.java | 23 +++---- .../org/cts/op/LoadMemorizeCoordinate.java | 55 +++++++-------- .../java/org/cts/op/LongitudeRotation.java | 55 +++++++-------- .../java/org/cts/op/MemorizeCoordinate.java | 55 +++++++-------- .../op/NonInvertibleOperationException.java | 55 +++++++-------- .../java/org/cts/op/OppositeCoordinate.java | 21 ++---- src/main/java/org/cts/op/UnitConversion.java | 55 +++++++-------- .../cts/op/projection/AlbersEqualArea.java | 23 +++---- .../org/cts/op/projection/CassiniSoldner.java | 23 +++---- .../op/projection/CylindricalEqualArea.java | 23 +++---- .../op/projection/EquidistantCylindrical.java | 23 +++---- .../GaussSchreiberTransverseMercator.java | 23 +++---- .../java/org/cts/op/projection/Krovak.java | 23 +++---- .../projection/LambertAzimuthalEqualArea.java | 23 +++---- .../projection/LambertConicConformal1SP.java | 55 +++++++-------- .../projection/LambertConicConformal2SP.java | 58 +++++++--------- .../org/cts/op/projection/Mercator1SP.java | 23 +++---- .../cts/op/projection/MillerCylindrical.java | 23 +++---- .../cts/op/projection/NewZealandMapGrid.java | 23 +++---- .../cts/op/projection/ObliqueMercator.java | 23 +++---- .../ObliqueStereographicAlternative.java | 23 +++---- .../java/org/cts/op/projection/Polyconic.java | 23 +++---- .../org/cts/op/projection/Projection.java | 55 +++++++-------- .../org/cts/op/projection/Stereographic.java | 23 +++---- .../op/projection/SwissObliqueMercator.java | 23 +++---- .../cts/op/projection/TransverseMercator.java | 55 +++++++-------- .../UniversalTransverseMercator.java | 55 +++++++-------- .../UniversalTransverseMercatorAuto.java | 55 +++++++-------- .../Altitude2EllipsoidalHeight.java | 23 +++---- .../FrenchGeocentricNTF2RGF.java | 23 +++---- .../op/transformation/GeoTransformation.java | 21 ++---- .../transformation/GeocentricTranslation.java | 55 +++++++-------- .../NTv2GridShiftTransformation.java | 21 ++---- .../SevenParameterTransformation.java | 55 +++++++-------- .../cts/op/transformation/grid/GridShift.java | 26 ++++++- .../op/transformation/grid/GridShiftFile.java | 24 ++++++- .../cts/op/transformation/grid/SubGrid.java | 26 ++++++- .../org/cts/op/transformation/grid/Util.java | 24 ++++++- .../grids/BleggGeographicGrid.java | 23 +++---- .../transformation/grids/GeographicGrid.java | 23 +++---- .../org/cts/op/transformation/grids/Grid.java | 23 +++---- .../grids/IGNGeographicGrid.java | 23 +++---- .../transformation/grids/IGNVerticalGrid.java | 23 +++---- .../grids/InterpolationMethodException.java | 23 +++---- .../cts/parser/prj/AbstractPrjElement.java | 21 ++---- .../java/org/cts/parser/prj/PrjElement.java | 21 ++---- .../org/cts/parser/prj/PrjKeyParameters.java | 21 ++---- .../java/org/cts/parser/prj/PrjMatcher.java | 23 +++---- .../org/cts/parser/prj/PrjNodeElement.java | 21 ++---- .../org/cts/parser/prj/PrjNodeMatcher.java | 21 ++---- .../org/cts/parser/prj/PrjNumberElement.java | 21 ++---- .../java/org/cts/parser/prj/PrjParser.java | 21 ++---- .../cts/parser/prj/PrjParserException.java | 21 ++---- .../org/cts/parser/prj/PrjStringElement.java | 23 +++---- .../cts/parser/prj/PrjValueParameters.java | 23 +++---- .../java/org/cts/parser/prj/PrjWriter.java | 37 ++++++---- .../cts/parser/proj/ParameterException.java | 21 ++---- .../cts/parser/proj/ProjKeyParameters.java | 21 ++---- .../java/org/cts/parser/proj/ProjParser.java | 21 ++---- .../cts/parser/proj/ProjValueParameters.java | 21 ++---- .../cts/registry/AbstractProjRegistry.java | 21 ++---- .../java/org/cts/registry/EPSGRegistry.java | 21 ++---- .../java/org/cts/registry/ESRIRegistry.java | 21 ++---- .../java/org/cts/registry/IGNFRegistry.java | 21 ++---- .../java/org/cts/registry/Nad27Registry.java | 21 ++---- .../java/org/cts/registry/Nad83Registry.java | 21 ++---- src/main/java/org/cts/registry/Registry.java | 21 ++---- .../org/cts/registry/RegistryException.java | 21 ++---- .../org/cts/registry/RegistryManager.java | 21 ++---- .../cts/registry/RegistryManagerListener.java | 21 ++---- .../java/org/cts/registry/WorldRegistry.java | 69 +++++++++++++++++++ .../java/org/cts/registry/worldRegistry.java | 21 ++---- src/main/java/org/cts/units/Measure.java | 55 +++++++-------- src/main/java/org/cts/units/Quantity.java | 55 +++++++-------- src/main/java/org/cts/units/Unit.java | 55 +++++++-------- src/main/java/org/cts/util/AngleFormat.java | 55 +++++++-------- src/main/java/org/cts/util/Complex.java | 55 +++++++-------- src/test/java/org/cts/CRSFactoryTest.java | 21 ++---- src/test/java/org/cts/CRSIdentifierTest.java | 21 ++---- src/test/java/org/cts/CTSTestCase.java | 21 ++---- .../java/org/cts/datum/EllipsoidTest.java | 21 ++---- .../java/org/cts/datum/GeodeticDatumTest.java | 21 ++---- .../java/org/cts/datum/TestPrimeMeridian.java | 21 ++---- .../cts/op/BaseCoordinateTransformTest.java | 21 ++---- .../cts/op/BatchCoordinateTransformTest.java | 21 ++---- src/test/java/org/cts/op/EPSGTransform.java | 21 ++---- src/test/java/org/cts/op/FrenchGridsTest.java | 21 ++---- .../op/FrenchProjectionsRobustnessTest.java | 23 +++---- .../op/PRJCoordinateTransformationTest.java | 21 ++---- .../op/SpecialCoordinateTransformTest.java | 21 ++---- .../java/org/cts/op/UserDefinedTransform.java | 21 ++---- .../org/cts/op/VerticalTransformTest.java | 21 ++---- .../java/org/cts/parser/prj/IOPrjTest.java | 23 +++---- .../org/cts/parser/prj/PrjParserTest.java | 21 ++---- .../org/cts/registry/RegistryParserTest.java | 21 ++---- src/test/java/org/cts/util/TestComplex.java | 55 +++++++-------- 136 files changed, 2020 insertions(+), 2767 deletions(-) create mode 100644 src/main/java/org/cts/registry/WorldRegistry.java diff --git a/README.md b/README.md index 444112c6..72cfc920 100644 --- a/README.md +++ b/README.md @@ -5,26 +5,29 @@ perform coordinate transformations using well known geodetic algorithms and parameter sets. It strives to be simple, flexible and interoperable, in this order. +#### History + Originally developed by Michaël Michaud under the name of JGeod, the library was -renamed to CTS in 2009. Today CTS is maintained by the Atelier SIG team in +renamed to CTS in 2009. Today CTS is maintained by the OrbisGIS team in collaboration with Michaël Michaud. -The new CTS is funded by the French *Agence Nationale de la Recherche* (ANR) under +The new CTS has been funded by the French *Agence Nationale de la Recherche* (ANR) under research contract ANR-08-VILL-0005-01 and the regional council of the *Région Pays de La Loire* under the *Système d'Orbservation Géographique de la Ville* (SOGVILLE) project. + #### License CTS is free software; you can redistribute it and/or modify it under the terms -of the GNU General Public License as published by the Free Software Foundation, -either version 3 of the License, or (at your option) any later version. +of the GNU Lesser General Public License as published by the Free Software Foundation, +either version 3 of the License. CTS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU General Public License for more details. +PURPOSE. See the GNU Lesser General Public License for more details. -You should have received a copy of the GNU General Public License along with +You should have received a copy of the GNU Lesser General Public License along with CTS. If not, see . #### Declaring project dependencies @@ -35,7 +38,7 @@ CTS. If not, see . org.orbisgis cts - 1.3.3 + 1.3.4 ``` diff --git a/pom.xml b/pom.xml index 8c35d767..33a56ad0 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.orbisgis cts - 1.3.4-SNAPSHOT + 1.4.0-SNAPSHOT bundle Coordinate Transformation Suite (abridged CTS) is a library developed to perform coordinate transformations using well known geodetic algorithms and parameter sets. It strives to be simple, flexible and @@ -14,33 +14,24 @@ 1 - IRSTV CNRS-FR-2488 - http://www.irstv.fr/ - - http://www.orbisgis.org/projects/CTS/ - - scm:git:https://github.com/irstv/CTS.git - scm:git:https://github.com/irstv/CTS.git - git@github.com:irstv/CTS.git - - - - GNU General Public License (GPLV3+) - http://www.gnu.org/licenses/gpl-3.0.html - - + CNRS + http://www.orbisgis.org + + http://github.com/orbisgis/cts + + + GNU Lesser General Public License (LGPLV3+) + http://www.gnu.org/licenses/lgpl-3.0.html + + Michaël Michaud OpenJUMP Community - - Jules Party - IRSTV CNRS-FR-2488 - Erwan Bocher - IRSTV CNRS-FR-2488 + Lab-STICC – CNRS UMR 6285 diff --git a/src/main/java/org/cts/CRSFactory.java b/src/main/java/org/cts/CRSFactory.java index f22eff42..027ee91d 100644 --- a/src/main/java/org/cts/CRSFactory.java +++ b/src/main/java/org/cts/CRSFactory.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import java.io.*; diff --git a/src/main/java/org/cts/CRSHelper.java b/src/main/java/org/cts/CRSHelper.java index 0fd016ba..eeae9d9e 100644 --- a/src/main/java/org/cts/CRSHelper.java +++ b/src/main/java/org/cts/CRSHelper.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import java.util.HashMap; diff --git a/src/main/java/org/cts/CoordinateDimensionException.java b/src/main/java/org/cts/CoordinateDimensionException.java index 45bd1137..01d129ea 100644 --- a/src/main/java/org/cts/CoordinateDimensionException.java +++ b/src/main/java/org/cts/CoordinateDimensionException.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts; /** diff --git a/src/main/java/org/cts/Identifiable.java b/src/main/java/org/cts/Identifiable.java index 27f2ddc7..3d4d7748 100644 --- a/src/main/java/org/cts/Identifiable.java +++ b/src/main/java/org/cts/Identifiable.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts; import java.util.List; diff --git a/src/main/java/org/cts/IdentifiableComponent.java b/src/main/java/org/cts/IdentifiableComponent.java index cefaa9f8..0d1dffef 100644 --- a/src/main/java/org/cts/IdentifiableComponent.java +++ b/src/main/java/org/cts/IdentifiableComponent.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts; import org.slf4j.Logger; diff --git a/src/main/java/org/cts/Identifier.java b/src/main/java/org/cts/Identifier.java index b50fe9d4..81bf0029 100644 --- a/src/main/java/org/cts/Identifier.java +++ b/src/main/java/org/cts/Identifier.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts; import java.util.ArrayList; diff --git a/src/main/java/org/cts/IllegalCoordinateException.java b/src/main/java/org/cts/IllegalCoordinateException.java index 0a911b60..ae3f1a78 100644 --- a/src/main/java/org/cts/IllegalCoordinateException.java +++ b/src/main/java/org/cts/IllegalCoordinateException.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts; /** diff --git a/src/main/java/org/cts/Parameter.java b/src/main/java/org/cts/Parameter.java index 197f3c94..a909c8a8 100644 --- a/src/main/java/org/cts/Parameter.java +++ b/src/main/java/org/cts/Parameter.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import org.cts.units.Measure; diff --git a/src/main/java/org/cts/crs/CRSException.java b/src/main/java/org/cts/crs/CRSException.java index 9b65e347..58aa206b 100644 --- a/src/main/java/org/cts/crs/CRSException.java +++ b/src/main/java/org/cts/crs/CRSException.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.crs; /** diff --git a/src/main/java/org/cts/crs/CompoundCRS.java b/src/main/java/org/cts/crs/CompoundCRS.java index 1f42c142..19c0b5d7 100644 --- a/src/main/java/org/cts/crs/CompoundCRS.java +++ b/src/main/java/org/cts/crs/CompoundCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; @@ -373,4 +366,4 @@ public String toString() { return "[" + getAuthorityName() + ":" + getAuthorityKey() + "] " + getName() + " (" + getShortName() + ")"; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/crs/CoordinateReferenceSystem.java b/src/main/java/org/cts/crs/CoordinateReferenceSystem.java index ea615949..9dd496f6 100644 --- a/src/main/java/org/cts/crs/CoordinateReferenceSystem.java +++ b/src/main/java/org/cts/crs/CoordinateReferenceSystem.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import org.cts.Identifiable; diff --git a/src/main/java/org/cts/crs/GeocentricCRS.java b/src/main/java/org/cts/crs/GeocentricCRS.java index a2b71f38..01c097cb 100644 --- a/src/main/java/org/cts/crs/GeocentricCRS.java +++ b/src/main/java/org/cts/crs/GeocentricCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; diff --git a/src/main/java/org/cts/crs/GeodeticCRS.java b/src/main/java/org/cts/crs/GeodeticCRS.java index 6e926e1e..f159f18d 100644 --- a/src/main/java/org/cts/crs/GeodeticCRS.java +++ b/src/main/java/org/cts/crs/GeodeticCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; @@ -292,4 +285,4 @@ public int hashCode() { hash = 29 * hash + (this.coordinateSystem != null ? this.coordinateSystem.hashCode() : 0); return hash; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/crs/Geographic2DCRS.java b/src/main/java/org/cts/crs/Geographic2DCRS.java index 14b1fbce..671eaf0f 100644 --- a/src/main/java/org/cts/crs/Geographic2DCRS.java +++ b/src/main/java/org/cts/crs/Geographic2DCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; diff --git a/src/main/java/org/cts/crs/Geographic3DCRS.java b/src/main/java/org/cts/crs/Geographic3DCRS.java index ba08b228..57c64f4b 100644 --- a/src/main/java/org/cts/crs/Geographic3DCRS.java +++ b/src/main/java/org/cts/crs/Geographic3DCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; diff --git a/src/main/java/org/cts/crs/ProjectedCRS.java b/src/main/java/org/cts/crs/ProjectedCRS.java index d4716f37..338140e8 100644 --- a/src/main/java/org/cts/crs/ProjectedCRS.java +++ b/src/main/java/org/cts/crs/ProjectedCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; diff --git a/src/main/java/org/cts/crs/VerticalCRS.java b/src/main/java/org/cts/crs/VerticalCRS.java index 3ba585f2..313cf86a 100644 --- a/src/main/java/org/cts/crs/VerticalCRS.java +++ b/src/main/java/org/cts/crs/VerticalCRS.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.crs; import java.util.ArrayList; @@ -226,4 +219,4 @@ public String toString() { return "[" + getAuthorityName() + ":" + getAuthorityKey() + "] " + getName() + " (" + getShortName() + ")"; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/cs/Axis.java b/src/main/java/org/cts/cs/Axis.java index dca689a6..c214d08e 100644 --- a/src/main/java/org/cts/cs/Axis.java +++ b/src/main/java/org/cts/cs/Axis.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.cs; import java.util.EnumMap; diff --git a/src/main/java/org/cts/cs/CoordinateSystem.java b/src/main/java/org/cts/cs/CoordinateSystem.java index 5480aa30..d9fe5ab5 100644 --- a/src/main/java/org/cts/cs/CoordinateSystem.java +++ b/src/main/java/org/cts/cs/CoordinateSystem.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.cs; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/cs/Extent.java b/src/main/java/org/cts/cs/Extent.java index 57cb781e..221d325d 100644 --- a/src/main/java/org/cts/cs/Extent.java +++ b/src/main/java/org/cts/cs/Extent.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.cs; /** diff --git a/src/main/java/org/cts/cs/GeographicExtent.java b/src/main/java/org/cts/cs/GeographicExtent.java index c606eb16..83fd32f4 100644 --- a/src/main/java/org/cts/cs/GeographicExtent.java +++ b/src/main/java/org/cts/cs/GeographicExtent.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.cs; /** diff --git a/src/main/java/org/cts/cs/OutOfExtentException.java b/src/main/java/org/cts/cs/OutOfExtentException.java index bf6f4069..fe76d22a 100644 --- a/src/main/java/org/cts/cs/OutOfExtentException.java +++ b/src/main/java/org/cts/cs/OutOfExtentException.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.cs; import java.util.Arrays; diff --git a/src/main/java/org/cts/datum/AbstractDatum.java b/src/main/java/org/cts/datum/AbstractDatum.java index df3eaac5..9fd79d40 100644 --- a/src/main/java/org/cts/datum/AbstractDatum.java +++ b/src/main/java/org/cts/datum/AbstractDatum.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import org.cts.IdentifiableComponent; diff --git a/src/main/java/org/cts/datum/Datum.java b/src/main/java/org/cts/datum/Datum.java index dd31098e..0fded3f5 100644 --- a/src/main/java/org/cts/datum/Datum.java +++ b/src/main/java/org/cts/datum/Datum.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import org.cts.Identifiable; @@ -74,4 +67,4 @@ public interface Datum extends Identifiable { * Returns the primemeridian of this datum. */ public PrimeMeridian getPrimeMeridian(); -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/datum/Ellipsoid.java b/src/main/java/org/cts/datum/Ellipsoid.java index bdb1436c..25af1b97 100644 --- a/src/main/java/org/cts/datum/Ellipsoid.java +++ b/src/main/java/org/cts/datum/Ellipsoid.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import static java.lang.Math.abs; diff --git a/src/main/java/org/cts/datum/GeodeticDatum.java b/src/main/java/org/cts/datum/GeodeticDatum.java index 97cfc47d..f164e24e 100644 --- a/src/main/java/org/cts/datum/GeodeticDatum.java +++ b/src/main/java/org/cts/datum/GeodeticDatum.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import java.util.ArrayList; diff --git a/src/main/java/org/cts/datum/PrimeMeridian.java b/src/main/java/org/cts/datum/PrimeMeridian.java index e736e580..743b3d03 100644 --- a/src/main/java/org/cts/datum/PrimeMeridian.java +++ b/src/main/java/org/cts/datum/PrimeMeridian.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import java.util.HashMap; diff --git a/src/main/java/org/cts/datum/VerticalDatum.java b/src/main/java/org/cts/datum/VerticalDatum.java index d4ea56d7..888fc9c1 100644 --- a/src/main/java/org/cts/datum/VerticalDatum.java +++ b/src/main/java/org/cts/datum/VerticalDatum.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.datum; import java.util.HashMap; diff --git a/src/main/java/org/cts/op/AbstractCoordinateOperation.java b/src/main/java/org/cts/op/AbstractCoordinateOperation.java index 102bfa5f..d20ee785 100644 --- a/src/main/java/org/cts/op/AbstractCoordinateOperation.java +++ b/src/main/java/org/cts/op/AbstractCoordinateOperation.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.IdentifiableComponent; @@ -96,4 +89,4 @@ public CoordinateOperation inverse() public double getPrecision() { return precision; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/ChangeCoordinateDimension.java b/src/main/java/org/cts/op/ChangeCoordinateDimension.java index 4bdb7a04..692b674f 100644 --- a/src/main/java/org/cts/op/ChangeCoordinateDimension.java +++ b/src/main/java/org/cts/op/ChangeCoordinateDimension.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.Identifier; diff --git a/src/main/java/org/cts/op/CoordinateOperation.java b/src/main/java/org/cts/op/CoordinateOperation.java index e65321fd..a30e8ca0 100644 --- a/src/main/java/org/cts/op/CoordinateOperation.java +++ b/src/main/java/org/cts/op/CoordinateOperation.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.Identifiable; @@ -77,4 +70,4 @@ public interface CoordinateOperation extends Identifiable { * 6378137.0 (Earth semi-major axis). */ public double getPrecision(); -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/CoordinateOperationFactory.java b/src/main/java/org/cts/op/CoordinateOperationFactory.java index 23cde3c9..c21311e1 100644 --- a/src/main/java/org/cts/op/CoordinateOperationFactory.java +++ b/src/main/java/org/cts/op/CoordinateOperationFactory.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import java.util.ArrayList; diff --git a/src/main/java/org/cts/op/CoordinateOperationSequence.java b/src/main/java/org/cts/op/CoordinateOperationSequence.java index ff738023..c210294b 100644 --- a/src/main/java/org/cts/op/CoordinateOperationSequence.java +++ b/src/main/java/org/cts/op/CoordinateOperationSequence.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import java.util.ArrayList; diff --git a/src/main/java/org/cts/op/CoordinateRounding.java b/src/main/java/org/cts/op/CoordinateRounding.java index d1605b4f..89fe0b33 100644 --- a/src/main/java/org/cts/op/CoordinateRounding.java +++ b/src/main/java/org/cts/op/CoordinateRounding.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/op/CoordinateSwitch.java b/src/main/java/org/cts/op/CoordinateSwitch.java index ce06d1c4..eb003d96 100644 --- a/src/main/java/org/cts/op/CoordinateSwitch.java +++ b/src/main/java/org/cts/op/CoordinateSwitch.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.CoordinateDimensionException; @@ -90,4 +83,4 @@ public CoordinateSwitch(int pos1, int pos2) { this.pos1 = pos1; this.pos2 = pos2; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/Geocentric2Geographic.java b/src/main/java/org/cts/op/Geocentric2Geographic.java index d97b4284..82176f2d 100644 --- a/src/main/java/org/cts/op/Geocentric2Geographic.java +++ b/src/main/java/org/cts/op/Geocentric2Geographic.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import static java.lang.Math.abs; diff --git a/src/main/java/org/cts/op/Geographic2Geocentric.java b/src/main/java/org/cts/op/Geographic2Geocentric.java index 2891f2dc..b5e82d2a 100644 --- a/src/main/java/org/cts/op/Geographic2Geocentric.java +++ b/src/main/java/org/cts/op/Geographic2Geocentric.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import static java.lang.Math.cos; diff --git a/src/main/java/org/cts/op/Identity.java b/src/main/java/org/cts/op/Identity.java index b122cca6..d817087c 100644 --- a/src/main/java/org/cts/op/Identity.java +++ b/src/main/java/org/cts/op/Identity.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.Identifier; diff --git a/src/main/java/org/cts/op/IterativeTransformation.java b/src/main/java/org/cts/op/IterativeTransformation.java index 6bb29649..6c9b3c89 100644 --- a/src/main/java/org/cts/op/IterativeTransformation.java +++ b/src/main/java/org/cts/op/IterativeTransformation.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.Identifier; @@ -91,4 +84,4 @@ public double[] transform(double[] coord) throws IllegalCoordinateException { } return coord; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/LoadMemorizeCoordinate.java b/src/main/java/org/cts/op/LoadMemorizeCoordinate.java index 2d9b54e9..ef80bad9 100644 --- a/src/main/java/org/cts/op/LoadMemorizeCoordinate.java +++ b/src/main/java/org/cts/op/LoadMemorizeCoordinate.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.Identifier; diff --git a/src/main/java/org/cts/op/LongitudeRotation.java b/src/main/java/org/cts/op/LongitudeRotation.java index 3fa9c926..5863a36b 100644 --- a/src/main/java/org/cts/op/LongitudeRotation.java +++ b/src/main/java/org/cts/op/LongitudeRotation.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/op/MemorizeCoordinate.java b/src/main/java/org/cts/op/MemorizeCoordinate.java index 792510d5..9bbdaaf6 100644 --- a/src/main/java/org/cts/op/MemorizeCoordinate.java +++ b/src/main/java/org/cts/op/MemorizeCoordinate.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.Identifier; diff --git a/src/main/java/org/cts/op/NonInvertibleOperationException.java b/src/main/java/org/cts/op/NonInvertibleOperationException.java index 99120b5c..652d6846 100644 --- a/src/main/java/org/cts/op/NonInvertibleOperationException.java +++ b/src/main/java/org/cts/op/NonInvertibleOperationException.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; /** diff --git a/src/main/java/org/cts/op/OppositeCoordinate.java b/src/main/java/org/cts/op/OppositeCoordinate.java index b7bc0d1e..44f5e6f6 100644 --- a/src/main/java/org/cts/op/OppositeCoordinate.java +++ b/src/main/java/org/cts/op/OppositeCoordinate.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/op/UnitConversion.java b/src/main/java/org/cts/op/UnitConversion.java index 316e3070..8a4666a3 100644 --- a/src/main/java/org/cts/op/UnitConversion.java +++ b/src/main/java/org/cts/op/UnitConversion.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/op/projection/AlbersEqualArea.java b/src/main/java/org/cts/op/projection/AlbersEqualArea.java index f1961164..99ec2eec 100644 --- a/src/main/java/org/cts/op/projection/AlbersEqualArea.java +++ b/src/main/java/org/cts/op/projection/AlbersEqualArea.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -189,4 +182,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/CassiniSoldner.java b/src/main/java/org/cts/op/projection/CassiniSoldner.java index 041a5f1a..732068dd 100644 --- a/src/main/java/org/cts/op/projection/CassiniSoldner.java +++ b/src/main/java/org/cts/op/projection/CassiniSoldner.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -171,4 +164,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/CylindricalEqualArea.java b/src/main/java/org/cts/op/projection/CylindricalEqualArea.java index c2a8903e..1e177a62 100644 --- a/src/main/java/org/cts/op/projection/CylindricalEqualArea.java +++ b/src/main/java/org/cts/op/projection/CylindricalEqualArea.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -192,4 +185,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/EquidistantCylindrical.java b/src/main/java/org/cts/op/projection/EquidistantCylindrical.java index e8bcb6de..c86eac2c 100644 --- a/src/main/java/org/cts/op/projection/EquidistantCylindrical.java +++ b/src/main/java/org/cts/op/projection/EquidistantCylindrical.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -158,4 +151,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/GaussSchreiberTransverseMercator.java b/src/main/java/org/cts/op/projection/GaussSchreiberTransverseMercator.java index 94eefdc7..7b4ff54b 100644 --- a/src/main/java/org/cts/op/projection/GaussSchreiberTransverseMercator.java +++ b/src/main/java/org/cts/op/projection/GaussSchreiberTransverseMercator.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -169,4 +162,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/Krovak.java b/src/main/java/org/cts/op/projection/Krovak.java index 72f64d4c..0ac8ae9d 100644 --- a/src/main/java/org/cts/op/projection/Krovak.java +++ b/src/main/java/org/cts/op/projection/Krovak.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -201,4 +194,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/LambertAzimuthalEqualArea.java b/src/main/java/org/cts/op/projection/LambertAzimuthalEqualArea.java index 845a7526..a2a4d8bf 100644 --- a/src/main/java/org/cts/op/projection/LambertAzimuthalEqualArea.java +++ b/src/main/java/org/cts/op/projection/LambertAzimuthalEqualArea.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -187,4 +180,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/LambertConicConformal1SP.java b/src/main/java/org/cts/op/projection/LambertConicConformal1SP.java index 0500b108..7ae4ca2e 100644 --- a/src/main/java/org/cts/op/projection/LambertConicConformal1SP.java +++ b/src/main/java/org/cts/op/projection/LambertConicConformal1SP.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.HashMap; diff --git a/src/main/java/org/cts/op/projection/LambertConicConformal2SP.java b/src/main/java/org/cts/op/projection/LambertConicConformal2SP.java index 3e2abe33..81b5ac56 100644 --- a/src/main/java/org/cts/op/projection/LambertConicConformal2SP.java +++ b/src/main/java/org/cts/op/projection/LambertConicConformal2SP.java @@ -1,37 +1,27 @@ -/* - * Library name : geodesy - * (C) 2009 Michael Michaud - /* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.HashMap; diff --git a/src/main/java/org/cts/op/projection/Mercator1SP.java b/src/main/java/org/cts/op/projection/Mercator1SP.java index 05c6e7ae..0392f6ac 100644 --- a/src/main/java/org/cts/op/projection/Mercator1SP.java +++ b/src/main/java/org/cts/op/projection/Mercator1SP.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -193,4 +186,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/MillerCylindrical.java b/src/main/java/org/cts/op/projection/MillerCylindrical.java index 5c640fff..6e97e685 100644 --- a/src/main/java/org/cts/op/projection/MillerCylindrical.java +++ b/src/main/java/org/cts/op/projection/MillerCylindrical.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -164,4 +157,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/NewZealandMapGrid.java b/src/main/java/org/cts/op/projection/NewZealandMapGrid.java index b5f08d79..a81e7dad 100644 --- a/src/main/java/org/cts/op/projection/NewZealandMapGrid.java +++ b/src/main/java/org/cts/op/projection/NewZealandMapGrid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -173,4 +166,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/ObliqueMercator.java b/src/main/java/org/cts/op/projection/ObliqueMercator.java index 838705f7..1639cae2 100644 --- a/src/main/java/org/cts/op/projection/ObliqueMercator.java +++ b/src/main/java/org/cts/op/projection/ObliqueMercator.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -204,4 +197,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/ObliqueStereographicAlternative.java b/src/main/java/org/cts/op/projection/ObliqueStereographicAlternative.java index 90b273a3..6e3e88d0 100644 --- a/src/main/java/org/cts/op/projection/ObliqueStereographicAlternative.java +++ b/src/main/java/org/cts/op/projection/ObliqueStereographicAlternative.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -192,4 +185,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/Polyconic.java b/src/main/java/org/cts/op/projection/Polyconic.java index c0300d96..3f00b186 100644 --- a/src/main/java/org/cts/op/projection/Polyconic.java +++ b/src/main/java/org/cts/op/projection/Polyconic.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -194,4 +187,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/Projection.java b/src/main/java/org/cts/op/projection/Projection.java index 349e3ca1..fa71e128 100644 --- a/src/main/java/org/cts/op/projection/Projection.java +++ b/src/main/java/org/cts/op/projection/Projection.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.Collections; diff --git a/src/main/java/org/cts/op/projection/Stereographic.java b/src/main/java/org/cts/op/projection/Stereographic.java index 8d1e8423..1e7fe63b 100644 --- a/src/main/java/org/cts/op/projection/Stereographic.java +++ b/src/main/java/org/cts/op/projection/Stereographic.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -202,4 +195,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/SwissObliqueMercator.java b/src/main/java/org/cts/op/projection/SwissObliqueMercator.java index 94a11d08..395078a7 100644 --- a/src/main/java/org/cts/op/projection/SwissObliqueMercator.java +++ b/src/main/java/org/cts/op/projection/SwissObliqueMercator.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.projection; import java.util.Map; @@ -202,4 +195,4 @@ public double[] transform(double[] coord) throws CoordinateDimensionException { } }; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/projection/TransverseMercator.java b/src/main/java/org/cts/op/projection/TransverseMercator.java index ffaeef7f..94a565e2 100644 --- a/src/main/java/org/cts/op/projection/TransverseMercator.java +++ b/src/main/java/org/cts/op/projection/TransverseMercator.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.Map; diff --git a/src/main/java/org/cts/op/projection/UniversalTransverseMercator.java b/src/main/java/org/cts/op/projection/UniversalTransverseMercator.java index 01aad2eb..7302fa7f 100644 --- a/src/main/java/org/cts/op/projection/UniversalTransverseMercator.java +++ b/src/main/java/org/cts/op/projection/UniversalTransverseMercator.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.Map; diff --git a/src/main/java/org/cts/op/projection/UniversalTransverseMercatorAuto.java b/src/main/java/org/cts/op/projection/UniversalTransverseMercatorAuto.java index 2049495d..bd2514f2 100644 --- a/src/main/java/org/cts/op/projection/UniversalTransverseMercatorAuto.java +++ b/src/main/java/org/cts/op/projection/UniversalTransverseMercatorAuto.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.projection; import java.util.Map; diff --git a/src/main/java/org/cts/op/transformation/Altitude2EllipsoidalHeight.java b/src/main/java/org/cts/op/transformation/Altitude2EllipsoidalHeight.java index bfa7dac8..3eb00e61 100644 --- a/src/main/java/org/cts/op/transformation/Altitude2EllipsoidalHeight.java +++ b/src/main/java/org/cts/op/transformation/Altitude2EllipsoidalHeight.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation; import java.io.InputStream; @@ -170,4 +163,4 @@ public CoordinateOperation inverse() throw new NonInvertibleOperationException(e.getMessage()); } } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/FrenchGeocentricNTF2RGF.java b/src/main/java/org/cts/op/transformation/FrenchGeocentricNTF2RGF.java index 004fa2d9..0d91891e 100644 --- a/src/main/java/org/cts/op/transformation/FrenchGeocentricNTF2RGF.java +++ b/src/main/java/org/cts/op/transformation/FrenchGeocentricNTF2RGF.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation; import java.io.FileInputStream; @@ -228,4 +221,4 @@ public CoordinateOperation inverse() public String toString() { return "French Geocentric transformation from NTF to RGF93"; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/GeoTransformation.java b/src/main/java/org/cts/op/transformation/GeoTransformation.java index 3738902b..fbc82d43 100644 --- a/src/main/java/org/cts/op/transformation/GeoTransformation.java +++ b/src/main/java/org/cts/op/transformation/GeoTransformation.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation; /** diff --git a/src/main/java/org/cts/op/transformation/GeocentricTranslation.java b/src/main/java/org/cts/op/transformation/GeocentricTranslation.java index 64bcc34e..e0425984 100644 --- a/src/main/java/org/cts/op/transformation/GeocentricTranslation.java +++ b/src/main/java/org/cts/op/transformation/GeocentricTranslation.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.transformation; import org.cts.CoordinateDimensionException; diff --git a/src/main/java/org/cts/op/transformation/NTv2GridShiftTransformation.java b/src/main/java/org/cts/op/transformation/NTv2GridShiftTransformation.java index e07d8938..e665c8d8 100644 --- a/src/main/java/org/cts/op/transformation/NTv2GridShiftTransformation.java +++ b/src/main/java/org/cts/op/transformation/NTv2GridShiftTransformation.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation; import java.io.BufferedInputStream; diff --git a/src/main/java/org/cts/op/transformation/SevenParameterTransformation.java b/src/main/java/org/cts/op/transformation/SevenParameterTransformation.java index bd66d353..5d03b0b4 100644 --- a/src/main/java/org/cts/op/transformation/SevenParameterTransformation.java +++ b/src/main/java/org/cts/op/transformation/SevenParameterTransformation.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.op.transformation; import static java.lang.Math.sin; diff --git a/src/main/java/org/cts/op/transformation/grid/GridShift.java b/src/main/java/org/cts/op/transformation/grid/GridShift.java index 8763cdc8..e7920356 100644 --- a/src/main/java/org/cts/op/transformation/grid/GridShift.java +++ b/src/main/java/org/cts/op/transformation/grid/GridShift.java @@ -1,7 +1,27 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: */ + package org.cts.op.transformation.grid; import java.io.Serializable; @@ -181,4 +201,4 @@ public void copy(GridShift gs) { this.lonAccuracyAvailable = gs.lonAccuracyAvailable; this.subGridName = gs.subGridName; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grid/GridShiftFile.java b/src/main/java/org/cts/op/transformation/grid/GridShiftFile.java index a0d384d0..3d65d113 100644 --- a/src/main/java/org/cts/op/transformation/grid/GridShiftFile.java +++ b/src/main/java/org/cts/op/transformation/grid/GridShiftFile.java @@ -1,7 +1,27 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: */ + package org.cts.op.transformation.grid; import java.io.IOException; diff --git a/src/main/java/org/cts/op/transformation/grid/SubGrid.java b/src/main/java/org/cts/op/transformation/grid/SubGrid.java index 8de62dc0..2e6ed7a2 100644 --- a/src/main/java/org/cts/op/transformation/grid/SubGrid.java +++ b/src/main/java/org/cts/op/transformation/grid/SubGrid.java @@ -1,7 +1,27 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: */ + package org.cts.op.transformation.grid; import java.io.IOException; @@ -353,4 +373,4 @@ public double getMinLat() { public double getMinLon() { return this.minLon; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grid/Util.java b/src/main/java/org/cts/op/transformation/grid/Util.java index ee8a771d..f9d97321 100644 --- a/src/main/java/org/cts/op/transformation/grid/Util.java +++ b/src/main/java/org/cts/op/transformation/grid/Util.java @@ -1,7 +1,27 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: */ + package org.cts.op.transformation.grid; public class Util { diff --git a/src/main/java/org/cts/op/transformation/grids/BleggGeographicGrid.java b/src/main/java/org/cts/op/transformation/grids/BleggGeographicGrid.java index a9135cdb..0ab1a4bf 100644 --- a/src/main/java/org/cts/op/transformation/grids/BleggGeographicGrid.java +++ b/src/main/java/org/cts/op/transformation/grids/BleggGeographicGrid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; import java.io.DataInputStream; @@ -470,4 +463,4 @@ public String toString() { + bitSet.toString(); } } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grids/GeographicGrid.java b/src/main/java/org/cts/op/transformation/grids/GeographicGrid.java index 4c58e1af..626b2670 100644 --- a/src/main/java/org/cts/op/transformation/grids/GeographicGrid.java +++ b/src/main/java/org/cts/op/transformation/grids/GeographicGrid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; import org.cts.cs.GeographicExtent; @@ -335,4 +328,4 @@ public String toStringAll() { } return sb.toString(); } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grids/Grid.java b/src/main/java/org/cts/op/transformation/grids/Grid.java index 52e0ddbc..9b469ac1 100644 --- a/src/main/java/org/cts/op/transformation/grids/Grid.java +++ b/src/main/java/org/cts/op/transformation/grids/Grid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; import org.cts.cs.OutOfExtentException; @@ -129,4 +122,4 @@ public static enum InterpolationMethod { */ public double[] getValue(double x, double y, InterpolationMethod method) throws OutOfExtentException, InterpolationMethodException; -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grids/IGNGeographicGrid.java b/src/main/java/org/cts/op/transformation/grids/IGNGeographicGrid.java index 96d4d897..4c10b864 100644 --- a/src/main/java/org/cts/op/transformation/grids/IGNGeographicGrid.java +++ b/src/main/java/org/cts/op/transformation/grids/IGNGeographicGrid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; import java.io.BufferedReader; @@ -252,4 +245,4 @@ public IGNGeographicGrid(InputStream is) throws Exception { } } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grids/IGNVerticalGrid.java b/src/main/java/org/cts/op/transformation/grids/IGNVerticalGrid.java index 70b109db..581876e3 100644 --- a/src/main/java/org/cts/op/transformation/grids/IGNVerticalGrid.java +++ b/src/main/java/org/cts/op/transformation/grids/IGNVerticalGrid.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; import java.io.BufferedInputStream; @@ -322,4 +315,4 @@ private int[] increment(int i, int j) { } return incr; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/op/transformation/grids/InterpolationMethodException.java b/src/main/java/org/cts/op/transformation/grids/InterpolationMethodException.java index 54519e7c..49b14062 100644 --- a/src/main/java/org/cts/op/transformation/grids/InterpolationMethodException.java +++ b/src/main/java/org/cts/op/transformation/grids/InterpolationMethodException.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op.transformation.grids; /** @@ -66,4 +59,4 @@ public InterpolationMethodException(Grid.InterpolationMethod method) { public InterpolationMethodException(Grid.InterpolationMethod method, Class gridClass) { super("" + method + " is not a valid interpolation method for " + gridClass.getName()); } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/parser/prj/AbstractPrjElement.java b/src/main/java/org/cts/parser/prj/AbstractPrjElement.java index 5340ce63..c84eb8ca 100644 --- a/src/main/java/org/cts/parser/prj/AbstractPrjElement.java +++ b/src/main/java/org/cts/parser/prj/AbstractPrjElement.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.Collections; diff --git a/src/main/java/org/cts/parser/prj/PrjElement.java b/src/main/java/org/cts/parser/prj/PrjElement.java index 6b54a750..d89b5744 100644 --- a/src/main/java/org/cts/parser/prj/PrjElement.java +++ b/src/main/java/org/cts/parser/prj/PrjElement.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.List; diff --git a/src/main/java/org/cts/parser/prj/PrjKeyParameters.java b/src/main/java/org/cts/parser/prj/PrjKeyParameters.java index a737f07d..f5f80125 100644 --- a/src/main/java/org/cts/parser/prj/PrjKeyParameters.java +++ b/src/main/java/org/cts/parser/prj/PrjKeyParameters.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; /** diff --git a/src/main/java/org/cts/parser/prj/PrjMatcher.java b/src/main/java/org/cts/parser/prj/PrjMatcher.java index 909995f8..c278bb18 100644 --- a/src/main/java/org/cts/parser/prj/PrjMatcher.java +++ b/src/main/java/org/cts/parser/prj/PrjMatcher.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.ArrayList; @@ -1124,4 +1117,4 @@ private double getNumber(PrjElement e) { throw new PrjParserException("Failed to parse PRJ. Found '" + e + "', expected PrjNumberElement."); } } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/parser/prj/PrjNodeElement.java b/src/main/java/org/cts/parser/prj/PrjNodeElement.java index cdf34da6..d995a5f4 100644 --- a/src/main/java/org/cts/parser/prj/PrjNodeElement.java +++ b/src/main/java/org/cts/parser/prj/PrjNodeElement.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.List; diff --git a/src/main/java/org/cts/parser/prj/PrjNodeMatcher.java b/src/main/java/org/cts/parser/prj/PrjNodeMatcher.java index 01095500..293d2285 100644 --- a/src/main/java/org/cts/parser/prj/PrjNodeMatcher.java +++ b/src/main/java/org/cts/parser/prj/PrjNodeMatcher.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.List; diff --git a/src/main/java/org/cts/parser/prj/PrjNumberElement.java b/src/main/java/org/cts/parser/prj/PrjNumberElement.java index 1134bd4b..0763c2c4 100644 --- a/src/main/java/org/cts/parser/prj/PrjNumberElement.java +++ b/src/main/java/org/cts/parser/prj/PrjNumberElement.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; /** diff --git a/src/main/java/org/cts/parser/prj/PrjParser.java b/src/main/java/org/cts/parser/prj/PrjParser.java index bb96de6e..86c58907 100644 --- a/src/main/java/org/cts/parser/prj/PrjParser.java +++ b/src/main/java/org/cts/parser/prj/PrjParser.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.nio.BufferUnderflowException; diff --git a/src/main/java/org/cts/parser/prj/PrjParserException.java b/src/main/java/org/cts/parser/prj/PrjParserException.java index e92ebd05..48650719 100644 --- a/src/main/java/org/cts/parser/prj/PrjParserException.java +++ b/src/main/java/org/cts/parser/prj/PrjParserException.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; /** diff --git a/src/main/java/org/cts/parser/prj/PrjStringElement.java b/src/main/java/org/cts/parser/prj/PrjStringElement.java index 1e563152..755ca9f7 100644 --- a/src/main/java/org/cts/parser/prj/PrjStringElement.java +++ b/src/main/java/org/cts/parser/prj/PrjStringElement.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; /** @@ -67,4 +60,4 @@ public String getValue() { public String toString() { return "PrjStringElement[" + value + "]"; } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/parser/prj/PrjValueParameters.java b/src/main/java/org/cts/parser/prj/PrjValueParameters.java index 2b007bd5..af7b52d2 100644 --- a/src/main/java/org/cts/parser/prj/PrjValueParameters.java +++ b/src/main/java/org/cts/parser/prj/PrjValueParameters.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.util.HashMap; @@ -291,4 +284,4 @@ public class PrjValueParameters { AXISNAMES.put("geodeticlongitude", "longitude"); AXISNAMES.put("gravityrelatedheight", "altitude"); } -} \ No newline at end of file +} diff --git a/src/main/java/org/cts/parser/prj/PrjWriter.java b/src/main/java/org/cts/parser/prj/PrjWriter.java index 3feb10a0..e3eb86a6 100644 --- a/src/main/java/org/cts/parser/prj/PrjWriter.java +++ b/src/main/java/org/cts/parser/prj/PrjWriter.java @@ -1,18 +1,27 @@ -/* - Copyright 2012 Antoine Gourlay - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: */ + package org.cts.parser.prj; /** diff --git a/src/main/java/org/cts/parser/proj/ParameterException.java b/src/main/java/org/cts/parser/proj/ParameterException.java index c09bb72c..385c02a9 100644 --- a/src/main/java/org/cts/parser/proj/ParameterException.java +++ b/src/main/java/org/cts/parser/proj/ParameterException.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.proj; /** diff --git a/src/main/java/org/cts/parser/proj/ProjKeyParameters.java b/src/main/java/org/cts/parser/proj/ProjKeyParameters.java index ac7e2451..de78d7fa 100644 --- a/src/main/java/org/cts/parser/proj/ProjKeyParameters.java +++ b/src/main/java/org/cts/parser/proj/ProjKeyParameters.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.proj; import java.util.Set; diff --git a/src/main/java/org/cts/parser/proj/ProjParser.java b/src/main/java/org/cts/parser/proj/ProjParser.java index 277187f9..30a2bb59 100644 --- a/src/main/java/org/cts/parser/proj/ProjParser.java +++ b/src/main/java/org/cts/parser/proj/ProjParser.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.proj; import java.io.BufferedReader; diff --git a/src/main/java/org/cts/parser/proj/ProjValueParameters.java b/src/main/java/org/cts/parser/proj/ProjValueParameters.java index 44da08be..33a5f027 100644 --- a/src/main/java/org/cts/parser/proj/ProjValueParameters.java +++ b/src/main/java/org/cts/parser/proj/ProjValueParameters.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.proj; /** diff --git a/src/main/java/org/cts/registry/AbstractProjRegistry.java b/src/main/java/org/cts/registry/AbstractProjRegistry.java index e215d27a..d5470e1d 100644 --- a/src/main/java/org/cts/registry/AbstractProjRegistry.java +++ b/src/main/java/org/cts/registry/AbstractProjRegistry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; diff --git a/src/main/java/org/cts/registry/EPSGRegistry.java b/src/main/java/org/cts/registry/EPSGRegistry.java index 7e602525..256a554c 100644 --- a/src/main/java/org/cts/registry/EPSGRegistry.java +++ b/src/main/java/org/cts/registry/EPSGRegistry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/registry/ESRIRegistry.java b/src/main/java/org/cts/registry/ESRIRegistry.java index d0ba061e..e14df973 100644 --- a/src/main/java/org/cts/registry/ESRIRegistry.java +++ b/src/main/java/org/cts/registry/ESRIRegistry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/registry/IGNFRegistry.java b/src/main/java/org/cts/registry/IGNFRegistry.java index 27d4f164..e00c34a4 100644 --- a/src/main/java/org/cts/registry/IGNFRegistry.java +++ b/src/main/java/org/cts/registry/IGNFRegistry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/registry/Nad27Registry.java b/src/main/java/org/cts/registry/Nad27Registry.java index 758d4a91..3c2116d2 100644 --- a/src/main/java/org/cts/registry/Nad27Registry.java +++ b/src/main/java/org/cts/registry/Nad27Registry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/registry/Nad83Registry.java b/src/main/java/org/cts/registry/Nad83Registry.java index b1430ec4..db48d133 100644 --- a/src/main/java/org/cts/registry/Nad83Registry.java +++ b/src/main/java/org/cts/registry/Nad83Registry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/registry/Registry.java b/src/main/java/org/cts/registry/Registry.java index 00f50a5c..bbbac56f 100644 --- a/src/main/java/org/cts/registry/Registry.java +++ b/src/main/java/org/cts/registry/Registry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.util.Map; diff --git a/src/main/java/org/cts/registry/RegistryException.java b/src/main/java/org/cts/registry/RegistryException.java index 8e5c1f7d..1e14448c 100644 --- a/src/main/java/org/cts/registry/RegistryException.java +++ b/src/main/java/org/cts/registry/RegistryException.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; /** diff --git a/src/main/java/org/cts/registry/RegistryManager.java b/src/main/java/org/cts/registry/RegistryManager.java index d1ad9af5..56c09c15 100644 --- a/src/main/java/org/cts/registry/RegistryManager.java +++ b/src/main/java/org/cts/registry/RegistryManager.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.util.*; diff --git a/src/main/java/org/cts/registry/RegistryManagerListener.java b/src/main/java/org/cts/registry/RegistryManagerListener.java index 4cdea534..5b27fd61 100644 --- a/src/main/java/org/cts/registry/RegistryManagerListener.java +++ b/src/main/java/org/cts/registry/RegistryManagerListener.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; /** diff --git a/src/main/java/org/cts/registry/WorldRegistry.java b/src/main/java/org/cts/registry/WorldRegistry.java new file mode 100644 index 00000000..1ae4ed6a --- /dev/null +++ b/src/main/java/org/cts/registry/WorldRegistry.java @@ -0,0 +1,69 @@ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + +package org.cts.registry; + +import java.io.IOException; +import java.util.Map; +import java.util.Set; +import java.util.regex.Pattern; + +/** + * This class parses the world file available in the resources package. + * For a given code, it returns a map of parameters required by + * {@link org.cts.CRSHelper} to build a {@link org.cts.crs.CoordinateReferenceSystem}. + * + * @author Jules Party + */ +public class WorldRegistry extends AbstractProjRegistry { + + /** + * The regex that must be used to parse world registry. + */ + static final Pattern WORLD_REGEX = Pattern.compile("\\s+"); + + @Override + public String getRegistryName() { + return "world"; + } + + @Override + public Map getParameters(String code) throws RegistryException { + try { + Map crsParameters = projParser.readParameters(code, WORLD_REGEX); + return crsParameters; + } catch (IOException ex) { + throw new RegistryException("Cannot load the world registry", ex); + } + } + + @Override + public Set getSupportedCodes() throws RegistryException { + try { + return projParser.getSupportedCodes(WORLD_REGEX); + } catch (IOException ex) { + throw new RegistryException("Cannot load the world registry", ex); + } + } +} diff --git a/src/main/java/org/cts/registry/worldRegistry.java b/src/main/java/org/cts/registry/worldRegistry.java index e0a673c5..2bbe4df5 100644 --- a/src/main/java/org/cts/registry/worldRegistry.java +++ b/src/main/java/org/cts/registry/worldRegistry.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.io.IOException; diff --git a/src/main/java/org/cts/units/Measure.java b/src/main/java/org/cts/units/Measure.java index bd1d4b06..cbf4fcb0 100644 --- a/src/main/java/org/cts/units/Measure.java +++ b/src/main/java/org/cts/units/Measure.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.units; /** diff --git a/src/main/java/org/cts/units/Quantity.java b/src/main/java/org/cts/units/Quantity.java index 5eea36ab..c15b08c1 100644 --- a/src/main/java/org/cts/units/Quantity.java +++ b/src/main/java/org/cts/units/Quantity.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.units; /** diff --git a/src/main/java/org/cts/units/Unit.java b/src/main/java/org/cts/units/Unit.java index bf7c2a08..f627edb4 100644 --- a/src/main/java/org/cts/units/Unit.java +++ b/src/main/java/org/cts/units/Unit.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.units; import java.util.ArrayList; diff --git a/src/main/java/org/cts/util/AngleFormat.java b/src/main/java/org/cts/util/AngleFormat.java index f6de20c0..d52987c7 100644 --- a/src/main/java/org/cts/util/AngleFormat.java +++ b/src/main/java/org/cts/util/AngleFormat.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.util; import static java.lang.Math.PI; diff --git a/src/main/java/org/cts/util/Complex.java b/src/main/java/org/cts/util/Complex.java index 909f5f12..48d9aeff 100644 --- a/src/main/java/org/cts/util/Complex.java +++ b/src/main/java/org/cts/util/Complex.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.util; /** diff --git a/src/test/java/org/cts/CRSFactoryTest.java b/src/test/java/org/cts/CRSFactoryTest.java index 5c972430..6f3e1463 100644 --- a/src/test/java/org/cts/CRSFactoryTest.java +++ b/src/test/java/org/cts/CRSFactoryTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import org.cts.crs.CoordinateReferenceSystem; diff --git a/src/test/java/org/cts/CRSIdentifierTest.java b/src/test/java/org/cts/CRSIdentifierTest.java index c637e2f7..5cda3ebc 100644 --- a/src/test/java/org/cts/CRSIdentifierTest.java +++ b/src/test/java/org/cts/CRSIdentifierTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import org.junit.Test; diff --git a/src/test/java/org/cts/CTSTestCase.java b/src/test/java/org/cts/CTSTestCase.java index c08b31aa..28e757e1 100644 --- a/src/test/java/org/cts/CTSTestCase.java +++ b/src/test/java/org/cts/CTSTestCase.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts; import java.util.Arrays; diff --git a/src/test/java/org/cts/datum/EllipsoidTest.java b/src/test/java/org/cts/datum/EllipsoidTest.java index 7dc5e1cf..ab899165 100644 --- a/src/test/java/org/cts/datum/EllipsoidTest.java +++ b/src/test/java/org/cts/datum/EllipsoidTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.datum; import org.cts.CTSTestCase; diff --git a/src/test/java/org/cts/datum/GeodeticDatumTest.java b/src/test/java/org/cts/datum/GeodeticDatumTest.java index 9692b325..31ab32f4 100644 --- a/src/test/java/org/cts/datum/GeodeticDatumTest.java +++ b/src/test/java/org/cts/datum/GeodeticDatumTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.datum; import org.cts.CTSTestCase; diff --git a/src/test/java/org/cts/datum/TestPrimeMeridian.java b/src/test/java/org/cts/datum/TestPrimeMeridian.java index b90b4960..e5284dbe 100644 --- a/src/test/java/org/cts/datum/TestPrimeMeridian.java +++ b/src/test/java/org/cts/datum/TestPrimeMeridian.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.datum; import org.cts.CTSTestCase; diff --git a/src/test/java/org/cts/op/BaseCoordinateTransformTest.java b/src/test/java/org/cts/op/BaseCoordinateTransformTest.java index 8cb07082..33b5cbca 100644 --- a/src/test/java/org/cts/op/BaseCoordinateTransformTest.java +++ b/src/test/java/org/cts/op/BaseCoordinateTransformTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.CTSTestCase; diff --git a/src/test/java/org/cts/op/BatchCoordinateTransformTest.java b/src/test/java/org/cts/op/BatchCoordinateTransformTest.java index d3434f9f..6f87d456 100644 --- a/src/test/java/org/cts/op/BatchCoordinateTransformTest.java +++ b/src/test/java/org/cts/op/BatchCoordinateTransformTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import java.io.FileReader; diff --git a/src/test/java/org/cts/op/EPSGTransform.java b/src/test/java/org/cts/op/EPSGTransform.java index e8925adf..7e4bf3d3 100644 --- a/src/test/java/org/cts/op/EPSGTransform.java +++ b/src/test/java/org/cts/op/EPSGTransform.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.crs.CoordinateReferenceSystem; diff --git a/src/test/java/org/cts/op/FrenchGridsTest.java b/src/test/java/org/cts/op/FrenchGridsTest.java index f87d40ae..e38e218f 100644 --- a/src/test/java/org/cts/op/FrenchGridsTest.java +++ b/src/test/java/org/cts/op/FrenchGridsTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.IllegalCoordinateException; diff --git a/src/test/java/org/cts/op/FrenchProjectionsRobustnessTest.java b/src/test/java/org/cts/op/FrenchProjectionsRobustnessTest.java index 4c735c0f..dbe5e75c 100644 --- a/src/test/java/org/cts/op/FrenchProjectionsRobustnessTest.java +++ b/src/test/java/org/cts/op/FrenchProjectionsRobustnessTest.java @@ -4,31 +4,24 @@ * and parameter sets. * Its main focus are simplicity, flexibility, interoperability, in this order. * - * This library has been originaled developed by Michael Michaud under the JGeod + * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michael - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.crs.CoordinateReferenceSystem; diff --git a/src/test/java/org/cts/op/PRJCoordinateTransformationTest.java b/src/test/java/org/cts/op/PRJCoordinateTransformationTest.java index 4fabc9c7..28abb00d 100644 --- a/src/test/java/org/cts/op/PRJCoordinateTransformationTest.java +++ b/src/test/java/org/cts/op/PRJCoordinateTransformationTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import org.cts.crs.CoordinateReferenceSystem; diff --git a/src/test/java/org/cts/op/SpecialCoordinateTransformTest.java b/src/test/java/org/cts/op/SpecialCoordinateTransformTest.java index 048b6750..6483bde2 100644 --- a/src/test/java/org/cts/op/SpecialCoordinateTransformTest.java +++ b/src/test/java/org/cts/op/SpecialCoordinateTransformTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import java.util.HashMap; diff --git a/src/test/java/org/cts/op/UserDefinedTransform.java b/src/test/java/org/cts/op/UserDefinedTransform.java index 0cc65bae..18a0a0fc 100644 --- a/src/test/java/org/cts/op/UserDefinedTransform.java +++ b/src/test/java/org/cts/op/UserDefinedTransform.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import java.util.Arrays; diff --git a/src/test/java/org/cts/op/VerticalTransformTest.java b/src/test/java/org/cts/op/VerticalTransformTest.java index 65a295a5..67ba8f9a 100644 --- a/src/test/java/org/cts/op/VerticalTransformTest.java +++ b/src/test/java/org/cts/op/VerticalTransformTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.op; import static java.lang.Math.PI; diff --git a/src/test/java/org/cts/parser/prj/IOPrjTest.java b/src/test/java/org/cts/parser/prj/IOPrjTest.java index 8b5bd015..485c360b 100644 --- a/src/test/java/org/cts/parser/prj/IOPrjTest.java +++ b/src/test/java/org/cts/parser/prj/IOPrjTest.java @@ -4,31 +4,24 @@ * and parameter sets. * Its main focus are simplicity, flexibility, interoperability, in this order. * - * This library has been originaly developed by Michaël Michaud under the JGeod + * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.io.File; diff --git a/src/test/java/org/cts/parser/prj/PrjParserTest.java b/src/test/java/org/cts/parser/prj/PrjParserTest.java index db535581..032c8ea0 100644 --- a/src/test/java/org/cts/parser/prj/PrjParserTest.java +++ b/src/test/java/org/cts/parser/prj/PrjParserTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.parser.prj; import java.nio.CharBuffer; diff --git a/src/test/java/org/cts/registry/RegistryParserTest.java b/src/test/java/org/cts/registry/RegistryParserTest.java index c4e4372a..5367525d 100644 --- a/src/test/java/org/cts/registry/RegistryParserTest.java +++ b/src/test/java/org/cts/registry/RegistryParserTest.java @@ -6,29 +6,22 @@ * * This library has been originally developed by Michaël Michaud under the JGeod * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). + * the OrbisGIS code repository. * * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. * * CTS is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License along with + * You should have received a copy of the GNU Lesser General Public License along with * CTS. If not, see . * - * For more information, please consult: + * For more information, please consult: */ + package org.cts.registry; import java.util.Map; diff --git a/src/test/java/org/cts/util/TestComplex.java b/src/test/java/org/cts/util/TestComplex.java index 0487b9ec..4d4a2c83 100644 --- a/src/test/java/org/cts/util/TestComplex.java +++ b/src/test/java/org/cts/util/TestComplex.java @@ -1,34 +1,27 @@ -/* - * Coordinate Transformations Suite (abridged CTS) is a library developped to - * perform Coordinate Transformations using well known geodetic algorithms - * and parameter sets. - * Its main focus are simplicity, flexibility, interoperability, in this order. - * - * This library has been originally developed by Michaël Michaud under the JGeod - * name. It has been renamed CTS in 2009 and shared to the community from - * the Atelier SIG code repository. - * - * Since them, CTS is supported by the Atelier SIG team in collaboration with Michaël - * Michaud. - * The new CTS has been funded by the French Agence Nationale de la Recherche - * (ANR) under contract ANR-08-VILL-0005-01 and the regional council - * "Région Pays de La Loire" under the projet SOGVILLE (Système d'Orbservation - * Géographique de la Ville). - * - * CTS is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software - * Foundation, either version 3 of the License, or (at your option) any later - * version. - * - * CTS is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - * A PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * CTS. If not, see . - * - * For more information, please consult: - */ +/* + * Coordinate Transformations Suite (abridged CTS) is a library developped to + * perform Coordinate Transformations using well known geodetic algorithms + * and parameter sets. + * Its main focus are simplicity, flexibility, interoperability, in this order. + * + * This library has been originally developed by Michaël Michaud under the JGeod + * name. It has been renamed CTS in 2009 and shared to the community from + * the OrbisGIS code repository. + * + * CTS is free software: you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free Software + * Foundation, either version 3 of the License. + * + * CTS is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with + * CTS. If not, see . + * + * For more information, please consult: + */ + package org.cts.util; import org.cts.CTSTestCase;