crskit 0.8.2__tar.gz → 0.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crskit-0.9.0/.github/workflows/nuget.yml +325 -0
- {crskit-0.8.2 → crskit-0.9.0}/.gitignore +1 -0
- {crskit-0.8.2 → crskit-0.9.0}/CMakeLists.txt +10 -0
- {crskit-0.8.2 → crskit-0.9.0}/PKG-INFO +1 -1
- crskit-0.9.0/capi/CMakeLists.txt +99 -0
- crskit-0.9.0/capi/crskit_c.map +8 -0
- crskit-0.9.0/capi/include/crskit_c.h +293 -0
- crskit-0.9.0/capi/src/CApiInternal.h +239 -0
- crskit-0.9.0/capi/src/Crs.cpp +452 -0
- crskit-0.9.0/capi/src/Geodesic.cpp +107 -0
- crskit-0.9.0/capi/src/Library.cpp +319 -0
- crskit-0.9.0/capi/src/Ntv2Grid.cpp +150 -0
- crskit-0.9.0/capi/src/Projection.cpp +213 -0
- crskit-0.9.0/capi/src/Transformation.cpp +282 -0
- crskit-0.9.0/capi/tests/Ntv2GridBuilder.h +104 -0
- crskit-0.9.0/capi/tests/TestAgainstCppApi.cpp +185 -0
- crskit-0.9.0/capi/tests/TestConcurrency.cpp +582 -0
- crskit-0.9.0/capi/tests/TestCrs.cpp +278 -0
- crskit-0.9.0/capi/tests/TestGeodesic.cpp +82 -0
- crskit-0.9.0/capi/tests/TestHeaderC.c +23 -0
- crskit-0.9.0/capi/tests/TestInputRobustness.cpp +290 -0
- crskit-0.9.0/capi/tests/TestLibrary.cpp +242 -0
- crskit-0.9.0/capi/tests/TestMain.cpp +123 -0
- crskit-0.9.0/capi/tests/TestNtv2.cpp +157 -0
- crskit-0.9.0/capi/tests/TestProjection.cpp +338 -0
- crskit-0.9.0/capi/tests/TestStructSize.cpp +213 -0
- crskit-0.9.0/capi/tests/TestSupport.h +133 -0
- crskit-0.9.0/capi/tests/TestTransformation.cpp +506 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystem.cpp +6 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Ellipsoid.cpp +11 -1
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Ellipsoid.h +4 -0
- crskit-0.9.0/crskit/CoordinateSystems/PointScaleFactor.cpp +37 -0
- crskit-0.9.0/crskit/CoordinateSystems/PointScaleFactor.h +20 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Wkt2.cpp +6 -1
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Affine.cpp +6 -16
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Afine.h +2 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AlbersConicEqualArea.cpp +4 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AlbersConicEqualArea.h +2 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/CoordinateFrameRotation.cpp +63 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/CoordinateFrameRotation.h +33 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/CylindricalProjections.cpp +28 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/CylindricalProjections.h +15 -1
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic2D2Geocentric.cpp +5 -3
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic2D2Geocentric.h +2 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/HotineObliqueMercator.h +2 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Krovak.h +1 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConformalConic1SP.cpp +14 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConformalConic1SP.h +4 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConformalConic2SP.cpp +13 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConformalConic2SP.h +4 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConicConformalVariants.h +4 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/MadridToEd50Polynomial.cpp +158 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/MadridToEd50Polynomial.h +76 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/MapProjectionBase.cpp +5 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/MapProjectionBase.h +17 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Mercator1Sp.cpp +7 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Mercator1Sp.h +4 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Mercator2Sp.cpp +6 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Mercator2Sp.h +4 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/MolodenskyBadekas.cpp +117 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/MolodenskyBadekas.h +37 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/Ntv2.cpp +455 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Ntv2.h +23 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/ObliqueMercator.h +2 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/ObliqueStereographic.cpp +2 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/ObliqueStereographic.h +2 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/OtherProjections.h +1 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/PositionVectorTransformation.cpp +62 -0
- crskit-0.9.0/crskit/CoordinateTransformations/Algorithms/PositionVectorTransformation.h +33 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/TransverseMercator.cpp +47 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/TransverseMercator.h +4 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/TransverseMercatorSouthOrientated.h +1 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ConcatenatedTransform.cpp +3 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ConcatenatedTransform.h +1 -1
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformationAuthorityFactory.cpp +11 -1
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformationFactory.cpp +164 -23
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformFactory.cpp +7 -5
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformRegistry.cpp +24 -4
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CrsKit.h +1 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CrsKitExport.h +5 -2
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Matrix.h +13 -9
- {crskit-0.8.2 → crskit-0.9.0}/crskit/OpenGisException.h +15 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/SqliteProvider.h +71 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/TokenWkt.cpp +30 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/TokenWkt.h +6 -12
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Utilities.cpp +4 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/WktDeserializer.cpp +6 -3
- {crskit-0.8.2 → crskit-0.9.0}/crskit/WktDeserializer.h +6 -1
- {crskit-0.8.2 → crskit-0.9.0}/data/grid-sources.json +10 -0
- crskit-0.9.0/nuget/Digi21.CrsKit.Native.nuspec +25 -0
- crskit-0.9.0/nuget/README.md +38 -0
- crskit-0.9.0/nuget/buildTransitive/Digi21.CrsKit.Native.targets +11 -0
- crskit-0.9.0/nuget/pack.ps1 +200 -0
- crskit-0.9.0/nuget/smoke.ps1 +275 -0
- {crskit-0.8.2 → crskit-0.9.0}/ports/crskit/portfile.cmake +2 -1
- {crskit-0.8.2 → crskit-0.9.0}/ports/crskit/vcpkg.json +1 -1
- {crskit-0.8.2 → crskit-0.9.0}/pyproject.toml +1 -1
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5203Part1.cpp +2 -1
- {crskit-0.8.2 → crskit-0.9.0}/tests/RoundTrip.h +6 -7
- crskit-0.9.0/tests/TestAffineInverse.cpp +168 -0
- crskit-0.9.0/tests/TestExceptions.cpp +115 -0
- crskit-0.9.0/tests/TestGeocentricToCompound.cpp +291 -0
- crskit-0.9.0/tests/TestGuidanceNote7_2v74.cpp +721 -0
- crskit-0.9.0/tests/TestHelmertGeocentricDomain.cpp +327 -0
- crskit-0.9.0/tests/TestHelmertReverse.cpp +168 -0
- crskit-0.9.0/tests/TestInverseComposition.cpp +161 -0
- crskit-0.9.0/tests/TestMadridToEd50Polynomial.cpp +604 -0
- crskit-0.9.0/tests/TestMatrixInverse.cpp +71 -0
- crskit-0.9.0/tests/TestNtv2FromMemory.cpp +677 -0
- crskit-0.9.0/tests/TestPointScaleFactor.cpp +422 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestRoundTripSweep.cpp +25 -3
- crskit-0.9.0/tests/data/PointScaleFactorReference.inc +870 -0
- crskit-0.9.0/tests/data/generate_point_scale_factor_reference.cpp +88 -0
- {crskit-0.8.2 → crskit-0.9.0}/versions/baseline.json +1 -1
- {crskit-0.8.2 → crskit-0.9.0}/versions/c-/crskit.json +5 -0
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/CoordinateFrameRotation.cpp +0 -31
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/CoordinateFrameRotation.h +0 -19
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/MolodenskyBadekas.cpp +0 -90
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/MolodenskyBadekas.h +0 -24
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/Ntv2.cpp +0 -366
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/PositionVectorTransformation.cpp +0 -39
- crskit-0.8.2/crskit/CoordinateTransformations/Algorithms/PositionVectorTransformation.h +0 -19
- crskit-0.8.2/tests/TestExceptions.cpp +0 -42
- {crskit-0.8.2 → crskit-0.9.0}/.gitattributes +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/.github/workflows/ci.yml +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/.github/workflows/epsg.yml +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/.github/workflows/wheels.yml +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/CMakePresets.json +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/LICENSE +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/Readme.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit-logo-128.png +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit-logo-256.png +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit-logo-512.png +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit-logo-64.png +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit-logo.svg +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/branding/crskit.ico +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/cmake/crskit-config.cmake.in +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/AngularUnit.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/AngularUnit.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/AxisInfo.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/AxisOrientationEnum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/BaseInfo.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CompoundCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CompoundCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystemAuthorityFactory.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystemAuthorityFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystemEquivalence.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystemFactory.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/CoordinateSystemFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Datum.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Datum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/DatumType.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/GeocentricCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/GeocentricCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/GeographicCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/GeographicCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/HorizontalCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/HorizontalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/HorizontalDatum.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/HorizontalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ICompoundCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ICoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ICoordinateSystemAuthorityFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IGeocentricCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IGeographicCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IHorizontalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IHorizontalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IInfo.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ILocalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ILocalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IProjectedCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IProjection.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IVerticalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/IVerticalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LinearUnit.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LinearUnit.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LocalCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LocalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LocalDatum.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/LocalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/PrimeMeridian.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/PrimeMeridian.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ProjectedCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/ProjectedCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Projection.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Projection.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Unit.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/VerticalCoordinateSystem.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/VerticalCoordinateSystem.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/VerticalDatum.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/VerticalDatum.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Wgs84ConversionInfo.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateSystems/Wkt2.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformationOptions.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AmericanPolyconic.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AmericanPolyconic.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Authalic.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AzimuthalProjections.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/AzimuthalProjections.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/CassiniSoldner.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/CassiniSoldner.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GeocentricToTopocentric.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GeocentricToTopocentric.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GeocentricTranslations.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GeocentricTranslations.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geodesic.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic2D2Geographic3D.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic2D2Geographic3D.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic3DToGravityRelatedHeightEGM.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic3DToGravityRelatedHeightEGM.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic3DToGravityRelatedHeightEGM2008.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Geographic3DToGravityRelatedHeightEGM2008.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridAusGeoid.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridAusGeoid.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridEGM2008.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridEGM2008.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridEGM2008Rednap.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridEGM2008Rednap.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridGtg.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridGtg.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridGtx.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/GridGtx.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/Inflate.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/GridFiles/Inflate.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/HotineObliqueMercator.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/Krovak.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertAzimuthalEqualArea.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertAzimuthalEqualArea.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LambertConicConformalVariants.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LongitudeRotation.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/LongitudeRotation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/NadCon.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/NadCon.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/ObliqueMercator.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/OtherProjections.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/P6.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/P6.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/PolarStereographic.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/PolarStereographic.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/PopularVisualisationPseudoMercator.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/PopularVisualisationPseudoMercator.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/TransverseMercatorSouthOrientated.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/VerticalOffset.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Algorithms/VerticalOffset.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateOperation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformation.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformationAuthorityFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/CoordinateTransformationFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/DomainFlags.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ICoordinateTransformation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ICoordinateTransformationAuthorityFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ICoordinateTransformationFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/IMathTransform.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/IMathTransformFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformBase.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformBase.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/MathTransformRegistry.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Passthrough.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/Passthrough.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ThreeCoordinateHeightTransform.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/ThreeCoordinateHeightTransform.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/TransformType.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CoordinateTransformations/UnitsOfMeasure.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CrsAliases.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CrsAliases.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/CrsContext.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/EsriProjectionEngine.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/EsriProjectionEngine.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/ExtensionManager.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/ExtensionManager.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Factory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/GridFileNotFoundException.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/GridFiles.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/IAuthorityProvider.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/IUtilities.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Angles.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Concepts.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/GridCell.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/GridInterpolation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Interpolation.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Point.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Mathematics/Window2D.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/OpenGisAttributes.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Parameter.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Positioning/Envelope.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Positioning/GeographicBoundingBox.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/StringUtil.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/Utilities.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/app.ico +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/pch.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/crskit/pch.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/external/sqlite/sqlite3.c +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/external/sqlite/sqlite3.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/CMakeLists.txt +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/README.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/TUTORIAL.de.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/TUTORIAL.es.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/TUTORIAL.fr.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/TUTORIAL.it.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/TUTORIAL.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/crskit/__init__.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/crskit/_crskit.pyi +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/crskit/py.typed +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/01_quickstart.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/02_wkt.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/03_point_cloud.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/04_choosing_the_operation.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/05_orthometric_heights.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/06_global_geoid.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/README.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/examples/_setup.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/src/module.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/tests/test_crskit.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python/tests/test_examples.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python-epsg/README.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python-epsg/crskit_epsg/EPSG-TERMS-OF-USE.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python-epsg/crskit_epsg/__init__.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python-epsg/fetch.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/python-epsg/pyproject.toml +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5101Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5101Part3.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5101Part4.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5102Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5102Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5103Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5103Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5103Part3.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5104Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5105Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5105Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5106Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5107Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5108Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5109Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5110Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5111Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5111Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5112Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5113Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5201Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5204Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5205Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5205Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5207Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5207Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5208Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5209Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part10.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part11.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part12.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part3.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part4.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part5.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part6.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part7.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part8.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5210Part9.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5212Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Gigs/Test5213Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/GigsFactory.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/Test5101Part1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestAmericanPolyconic.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestAntimeridian.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestAreaOfUseBoundingBox.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestAzimuthalProjections.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestBase.h +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestCassiniSoldner.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestCatalogueSweep.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestCompoundFromWkt.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestContextEnvironment.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestCrsAliases.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestCylindricalProjections.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestDatabaseErrors.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestDatumComparison.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestDatumNameNormalization.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestDatumOfCrs.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEllipsoidInFeet.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEnvironment.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEquivalence.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEsriCompound.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEsriTables.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestEsriTowgs84Snap.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeocentricOperations.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeocentricWithoutEpsgCode.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeocentricWkt.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographic2DVertical.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographic3DDatumShift.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographic3DTowgs84.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographicAndGeocentric3DWithoutCodeToHorizontal.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographicAxisOrder.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGeographicToGeocentricDatumShift.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGridCell.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestGridFile.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestHeaderWarnings.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestKrovak.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestLambertAzimuthalEqualArea.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestLambertConicConformalVariants.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestLongitudeRotation.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestMolodenskyBadekas.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestNonAsciiPaths.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestNonNumericAuthority.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestObliqueMercator.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestOperationSelection.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestOtherProjections.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestPolarStereographic.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestPrimeMeridianChange.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestPrimeMeridianGeocentric.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestPrimeMeridianWkt1.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestProjectionEdges.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestProjectionParameters.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestSameGeodeticFrame.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestSexagesimalDms.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestSexagesimalPrimeMeridian.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestThreeCoordinateUnits.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestThreeDimensionalCrsWithLocalHorizontalComponent.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestTowgs84.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestTransformPoints.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestTransformToGeocentric.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestTransformToGeocentricHorizontalTypes.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestTransformationAuthorityCode.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestUnknownCrs.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestUtilitiesContract.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestVerticalRoundTrip.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWestSouthAxes.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWgs84DatumNames.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWithAxes.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWkt2.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWkt2AxisUnits.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWktMalformed.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWktQuoted.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/TestWktUnclosed.cpp +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tests/vcpkg.json +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tools/epsg-sqlite/README.md +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tools/epsg-sqlite/epsg_sql_to_sqlite.py +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/tools/release.sh +0 -0
- {crskit-0.8.2 → crskit-0.9.0}/vcpkg.json +0 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
name: NuGet
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
# Pushes of v* tags trigger this workflow regardless of the paths filter; publication requires successful build,
|
|
7
|
+
# test, packaging and smoke-test jobs.
|
|
8
|
+
tags: ["v*"]
|
|
9
|
+
paths:
|
|
10
|
+
- "capi/**"
|
|
11
|
+
- "crskit/**"
|
|
12
|
+
- "external/**"
|
|
13
|
+
- "nuget/**"
|
|
14
|
+
- "CMakeLists.txt"
|
|
15
|
+
- "pyproject.toml"
|
|
16
|
+
- "python-epsg/crskit_epsg/EPSG-TERMS-OF-USE.md"
|
|
17
|
+
- ".github/workflows/nuget.yml"
|
|
18
|
+
pull_request:
|
|
19
|
+
branches: [main]
|
|
20
|
+
paths:
|
|
21
|
+
- "capi/**"
|
|
22
|
+
- "crskit/**"
|
|
23
|
+
- "external/**"
|
|
24
|
+
- "nuget/**"
|
|
25
|
+
- "CMakeLists.txt"
|
|
26
|
+
- "pyproject.toml"
|
|
27
|
+
- "python-epsg/crskit_epsg/EPSG-TERMS-OF-USE.md"
|
|
28
|
+
- ".github/workflows/nuget.yml"
|
|
29
|
+
workflow_dispatch:
|
|
30
|
+
|
|
31
|
+
# Builds the C API library (crskit_c) for Linux x64 and Windows x64, packs Digi21.CrsKit.Native (nuget/pack.ps1: both
|
|
32
|
+
# libraries, the C header and the EPSG database), restores the package in console projects on both platforms
|
|
33
|
+
# (nuget/smoke.ps1) and, when the run was started by a v* tag, publishes it to the GitHub Packages NuGet feed of the
|
|
34
|
+
# digi21 organisation with the GITHUB_TOKEN of the run.
|
|
35
|
+
#
|
|
36
|
+
# The tests of the libraries and the package both need the EPSG database, which is not versioned:
|
|
37
|
+
# * The tests use the repository variable EPSG_SQLITE_URL, as ci.yml does, and the epsg-data release asset below when
|
|
38
|
+
# the variable is not set, so the libraries that are published have always run their tests.
|
|
39
|
+
# * The package contains the epsg-data release asset below, the file that epsg.yml packs into crskit-epsg on PyPI.
|
|
40
|
+
permissions:
|
|
41
|
+
contents: read
|
|
42
|
+
|
|
43
|
+
env:
|
|
44
|
+
EPSG_DATABASE_URL: https://github.com/digi21/crskit/releases/download/epsg-data/epsg-v12.057.sqlite
|
|
45
|
+
|
|
46
|
+
jobs:
|
|
47
|
+
native-linux:
|
|
48
|
+
name: Library for Linux (manylinux_2_28, GCC 14)
|
|
49
|
+
runs-on: ubuntu-24.04
|
|
50
|
+
# The library must not require a glibc version later than 2.28. The image is the one the Linux Python wheels are built
|
|
51
|
+
# in (wheels.yml); its GCC is the gcc-toolset-14 of AlmaLinux 8, which the "Select GCC 14 and install CMake and Ninja"
|
|
52
|
+
# step enables when g++ does not report major version 14.
|
|
53
|
+
container: quay.io/pypa/manylinux_2_28_x86_64
|
|
54
|
+
defaults:
|
|
55
|
+
run:
|
|
56
|
+
shell: bash
|
|
57
|
+
|
|
58
|
+
steps:
|
|
59
|
+
- uses: actions/checkout@v4
|
|
60
|
+
|
|
61
|
+
- name: Select GCC 14 and install CMake and Ninja
|
|
62
|
+
run: |
|
|
63
|
+
if [ "$(g++ -dumpversion | cut -d. -f1)" != 14 ]; then
|
|
64
|
+
source /opt/rh/gcc-toolset-14/enable
|
|
65
|
+
echo "/opt/rh/gcc-toolset-14/root/usr/bin" >> "$GITHUB_PATH"
|
|
66
|
+
fi
|
|
67
|
+
g++ --version
|
|
68
|
+
if ! command -v cmake > /dev/null || ! command -v ninja > /dev/null; then
|
|
69
|
+
/opt/python/cp312-cp312/bin/python -m pip install --quiet cmake ninja
|
|
70
|
+
echo "/opt/python/cp312-cp312/bin" >> "$GITHUB_PATH"
|
|
71
|
+
fi
|
|
72
|
+
|
|
73
|
+
- name: Fetch EPSG database for the tests
|
|
74
|
+
env:
|
|
75
|
+
TEST_DATABASE_URL: ${{ vars.EPSG_SQLITE_URL || env.EPSG_DATABASE_URL }}
|
|
76
|
+
run: curl -fsSL "$TEST_DATABASE_URL" -o "$PWD/epsg.sqlite"
|
|
77
|
+
|
|
78
|
+
- name: Configure
|
|
79
|
+
run: |
|
|
80
|
+
g++ --version
|
|
81
|
+
cmake --version
|
|
82
|
+
cmake -S . -B build -G Ninja \
|
|
83
|
+
-DCMAKE_BUILD_TYPE=Release \
|
|
84
|
+
-DDIGI21_BUILD_C_API=ON -DDIGI21_BUILD_TESTS=ON -DDIGI21_INSTALL=OFF \
|
|
85
|
+
-DDIGI21_EPSG_SQLITE="$PWD/epsg.sqlite"
|
|
86
|
+
|
|
87
|
+
- name: Build crskit_c and crskit_c_tests
|
|
88
|
+
run: cmake --build build --target crskit_c crskit_c_tests
|
|
89
|
+
|
|
90
|
+
- name: Test crskit_c
|
|
91
|
+
run: ctest --test-dir build -R '^crskit_c$' --output-on-failure
|
|
92
|
+
|
|
93
|
+
- name: Check the library
|
|
94
|
+
run: |
|
|
95
|
+
library_file_path=$(find build -name libcrskit_c.so -print -quit)
|
|
96
|
+
echo "Library: $library_file_path, $(stat -c %s "$library_file_path") bytes (not stripped: Release build, no debug information)"
|
|
97
|
+
|
|
98
|
+
echo "--- Exports other than crskit_*:"
|
|
99
|
+
unexpected_export_symbols=$(nm -D --defined-only "$library_file_path" | grep -v ' crskit_' || true)
|
|
100
|
+
echo "${unexpected_export_symbols:-<none>}"
|
|
101
|
+
echo "Exported crskit_* functions: $(nm -D --defined-only "$library_file_path" | grep -c ' crskit_')"
|
|
102
|
+
if [ -n "$unexpected_export_symbols" ]; then
|
|
103
|
+
echo "::error::$library_file_path exports symbols that do not start with crskit_"
|
|
104
|
+
exit 1
|
|
105
|
+
fi
|
|
106
|
+
|
|
107
|
+
echo "--- ldd:"
|
|
108
|
+
dependencies=$(ldd "$library_file_path")
|
|
109
|
+
echo "$dependencies"
|
|
110
|
+
if grep -q 'libstdc++' <<< "$dependencies"; then
|
|
111
|
+
echo "::error::$library_file_path depends on libstdc++.so; it must be linked statically"
|
|
112
|
+
exit 1
|
|
113
|
+
fi
|
|
114
|
+
|
|
115
|
+
highest_required_glibc_version=$(objdump -T "$library_file_path" | grep -o 'GLIBC_[0-9][0-9.]*' | sed 's/^GLIBC_//' | sort -Vu | tail -n 1)
|
|
116
|
+
echo "Highest GLIBC version required: ${highest_required_glibc_version:-<none>}"
|
|
117
|
+
if [ -z "$highest_required_glibc_version" ] || [ "$(printf '%s\n%s\n' "$highest_required_glibc_version" 2.28 | sort -V | tail -n 1)" != "2.28" ]; then
|
|
118
|
+
echo "::error::$library_file_path requires glibc ${highest_required_glibc_version:-<unknown>}; the maximum allowed is 2.28"
|
|
119
|
+
exit 1
|
|
120
|
+
fi
|
|
121
|
+
|
|
122
|
+
mkdir -p dist
|
|
123
|
+
cp "$library_file_path" dist/
|
|
124
|
+
|
|
125
|
+
- uses: actions/upload-artifact@v4
|
|
126
|
+
with:
|
|
127
|
+
name: native-linux
|
|
128
|
+
path: dist/libcrskit_c.so
|
|
129
|
+
if-no-files-found: error
|
|
130
|
+
|
|
131
|
+
native-windows:
|
|
132
|
+
name: Library for Windows (MSVC, Visual Studio 2026)
|
|
133
|
+
# The windows-2025-vs2026 image provides Visual Studio 2026 (MSVC toolset v145); see
|
|
134
|
+
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-VS2026-Readme.md
|
|
135
|
+
runs-on: windows-2025-vs2026
|
|
136
|
+
defaults:
|
|
137
|
+
run:
|
|
138
|
+
shell: pwsh
|
|
139
|
+
|
|
140
|
+
steps:
|
|
141
|
+
- uses: actions/checkout@v4
|
|
142
|
+
|
|
143
|
+
- uses: ilammy/msvc-dev-cmd@v1
|
|
144
|
+
with:
|
|
145
|
+
arch: x64
|
|
146
|
+
|
|
147
|
+
- name: Show the compiler
|
|
148
|
+
run: |
|
|
149
|
+
$banner = (cmd /c "cl 2>&1" | Select-Object -First 1)
|
|
150
|
+
Write-Host $banner
|
|
151
|
+
# MSVC 19.50 and later is the v145 toolset of Visual Studio 2026; 19.4x is v143.
|
|
152
|
+
if ($banner -match 'Version (\d+)\.(\d+)\.' -and ([int]$Matches[1] -gt 19 -or [int]$Matches[2] -ge 50)) {
|
|
153
|
+
Write-Host "Toolset v145 (cl $($Matches[1]).$($Matches[2]))."
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
Write-Host "::warning::The compiler is not MSVC 19.50 or later (toolset v145); the library is built with the toolset of this image."
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
- name: Fetch EPSG database for the tests
|
|
160
|
+
env:
|
|
161
|
+
TEST_DATABASE_URL: ${{ vars.EPSG_SQLITE_URL || env.EPSG_DATABASE_URL }}
|
|
162
|
+
run: Invoke-WebRequest -Uri $env:TEST_DATABASE_URL -OutFile (Join-Path $env:GITHUB_WORKSPACE 'epsg.sqlite')
|
|
163
|
+
|
|
164
|
+
- name: Configure
|
|
165
|
+
run: |
|
|
166
|
+
$databaseFilePath = (Join-Path $env:GITHUB_WORKSPACE 'epsg.sqlite') -replace '\\', '/'
|
|
167
|
+
cmake -S . -B build -G Ninja `
|
|
168
|
+
-DCMAKE_BUILD_TYPE=Release `
|
|
169
|
+
-DDIGI21_BUILD_C_API=ON -DDIGI21_BUILD_TESTS=ON -DDIGI21_INSTALL=OFF `
|
|
170
|
+
"-DDIGI21_EPSG_SQLITE=$databaseFilePath"
|
|
171
|
+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
|
172
|
+
|
|
173
|
+
- name: Build crskit_c and crskit_c_tests
|
|
174
|
+
run: cmake --build build --target crskit_c crskit_c_tests
|
|
175
|
+
|
|
176
|
+
- name: Test crskit_c
|
|
177
|
+
run: ctest --test-dir build -R '^crskit_c$' --output-on-failure
|
|
178
|
+
|
|
179
|
+
- name: Check the library
|
|
180
|
+
run: |
|
|
181
|
+
$libraryFilePath = (Get-ChildItem -Path build -Recurse -Filter crskit_c.dll | Select-Object -First 1).FullName
|
|
182
|
+
Write-Host "Library: $libraryFilePath, $((Get-Item $libraryFilePath).Length) bytes"
|
|
183
|
+
|
|
184
|
+
$exportLines = & dumpbin /exports $libraryFilePath
|
|
185
|
+
$exportNames = @($exportLines | ForEach-Object { if ($_ -match '^\s+\d+\s+[0-9A-Fa-f]+\s+[0-9A-Fa-f]{8}\s+(\S+)') { $Matches[1] } })
|
|
186
|
+
$unexpectedExportNames = @($exportNames | Where-Object { $_ -notlike 'crskit_*' })
|
|
187
|
+
Write-Host "Exported functions: $($exportNames.Count); not starting with crskit_: $($unexpectedExportNames.Count)"
|
|
188
|
+
if ($exportNames.Count -eq 0) { throw "$libraryFilePath exports no functions (or the output of dumpbin /exports was not recognised)." }
|
|
189
|
+
if ($unexpectedExportNames.Count -gt 0) { throw "$libraryFilePath exports names that do not start with crskit_: $($unexpectedExportNames -join ', ')" }
|
|
190
|
+
|
|
191
|
+
$dependentLines = & dumpbin /dependents $libraryFilePath
|
|
192
|
+
$dependencies = @($dependentLines | ForEach-Object { if ($_ -match '^\s+(\S+\.dll)\s*$') { $Matches[1].ToLowerInvariant() } })
|
|
193
|
+
Write-Host "Dependencies: $($dependencies -join ', ')"
|
|
194
|
+
if ($dependencies.Count -eq 0) { throw "dumpbin /dependents listed no dependencies of $libraryFilePath (output not recognised)." }
|
|
195
|
+
# The static C runtime must leave no dependency on the Visual C++ runtime DLLs or the dynamic C runtime.
|
|
196
|
+
$runtimeDependencies = @($dependencies | Where-Object { $_ -match '^(vcruntime|msvcp|msvcr|concrt|vcomp|ucrtbase|api-ms-win-crt)' })
|
|
197
|
+
if ($runtimeDependencies.Count -gt 0) { throw "$libraryFilePath depends on the C or C++ runtime: $($runtimeDependencies -join ', ')" }
|
|
198
|
+
# Every other dependency must be a Windows system DLL (found in System32, or an API set name).
|
|
199
|
+
$nonSystemDependencies = @($dependencies | Where-Object { $_ -notlike 'api-ms-win-*' -and -not (Test-Path (Join-Path $env:SystemRoot "System32/$_")) })
|
|
200
|
+
if ($nonSystemDependencies.Count -gt 0) { throw "$libraryFilePath depends on DLLs that are not in System32: $($nonSystemDependencies -join ', ')" }
|
|
201
|
+
|
|
202
|
+
New-Item -ItemType Directory -Force -Path dist | Out-Null
|
|
203
|
+
Copy-Item $libraryFilePath dist/
|
|
204
|
+
|
|
205
|
+
- uses: actions/upload-artifact@v4
|
|
206
|
+
with:
|
|
207
|
+
name: native-windows
|
|
208
|
+
path: dist/crskit_c.dll
|
|
209
|
+
if-no-files-found: error
|
|
210
|
+
|
|
211
|
+
pack:
|
|
212
|
+
name: Pack Digi21.CrsKit.Native
|
|
213
|
+
needs: [native-linux, native-windows]
|
|
214
|
+
runs-on: ubuntu-24.04
|
|
215
|
+
outputs:
|
|
216
|
+
version: ${{ steps.version.outputs.version }}
|
|
217
|
+
steps:
|
|
218
|
+
- uses: actions/checkout@v4
|
|
219
|
+
|
|
220
|
+
# The following step installs .NET SDK 10.0.x for nuget/pack.ps1, which runs `dotnet pack` and requires .NET SDK 8
|
|
221
|
+
# or later.
|
|
222
|
+
- uses: actions/setup-dotnet@v5
|
|
223
|
+
with:
|
|
224
|
+
dotnet-version: 10.0.x
|
|
225
|
+
|
|
226
|
+
- name: Compute the package version
|
|
227
|
+
id: version
|
|
228
|
+
shell: bash
|
|
229
|
+
run: |
|
|
230
|
+
project_version=$(sed -n 's/^version = "\([^"]*\)"$/\1/p' pyproject.toml | head -n 1)
|
|
231
|
+
if [ -z "$project_version" ]; then echo "::error::No version line in pyproject.toml"; exit 1; fi
|
|
232
|
+
if [ "$GITHUB_REF_TYPE" = tag ]; then
|
|
233
|
+
version="${GITHUB_REF_NAME#v}"
|
|
234
|
+
if [ "${version%%-*}" != "$project_version" ]; then
|
|
235
|
+
echo "::error::The tag $GITHUB_REF_NAME does not match the version $project_version of pyproject.toml"
|
|
236
|
+
exit 1
|
|
237
|
+
fi
|
|
238
|
+
else
|
|
239
|
+
version="$project_version-ci.$GITHUB_RUN_NUMBER"
|
|
240
|
+
fi
|
|
241
|
+
echo "Package version: $version"
|
|
242
|
+
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
243
|
+
|
|
244
|
+
- uses: actions/download-artifact@v4
|
|
245
|
+
with:
|
|
246
|
+
name: native-linux
|
|
247
|
+
path: artifacts/linux
|
|
248
|
+
|
|
249
|
+
- uses: actions/download-artifact@v4
|
|
250
|
+
with:
|
|
251
|
+
name: native-windows
|
|
252
|
+
path: artifacts/windows
|
|
253
|
+
|
|
254
|
+
# The same file epsg.yml packs into crskit-epsg: the dataset that ships to Python users. The repository variable
|
|
255
|
+
# EPSG_SQLITE_URL is the database of the tests and is not necessarily the dataset to distribute.
|
|
256
|
+
- name: Fetch EPSG database
|
|
257
|
+
run: curl -fsSL "$EPSG_DATABASE_URL" -o epsg.sqlite
|
|
258
|
+
|
|
259
|
+
- name: Pack
|
|
260
|
+
shell: pwsh
|
|
261
|
+
run: >
|
|
262
|
+
./nuget/pack.ps1
|
|
263
|
+
-WindowsLibraryFilePath artifacts/windows/crskit_c.dll
|
|
264
|
+
-LinuxLibraryFilePath artifacts/linux/libcrskit_c.so
|
|
265
|
+
-EpsgDatabaseFilePath epsg.sqlite
|
|
266
|
+
-OutputDirectory nupkg
|
|
267
|
+
-Version '${{ steps.version.outputs.version }}'
|
|
268
|
+
|
|
269
|
+
- uses: actions/upload-artifact@v4
|
|
270
|
+
with:
|
|
271
|
+
name: nupkg
|
|
272
|
+
path: nupkg/*.nupkg
|
|
273
|
+
if-no-files-found: error
|
|
274
|
+
|
|
275
|
+
smoke:
|
|
276
|
+
name: Smoke test on ${{ matrix.os }}
|
|
277
|
+
needs: pack
|
|
278
|
+
runs-on: ${{ matrix.os }}
|
|
279
|
+
strategy:
|
|
280
|
+
fail-fast: false
|
|
281
|
+
matrix:
|
|
282
|
+
# ubuntu-24.04 loads the library built for glibc 2.28; windows-2022 is not the image that built the DLL.
|
|
283
|
+
os: [ubuntu-24.04, windows-2022]
|
|
284
|
+
steps:
|
|
285
|
+
- uses: actions/checkout@v4
|
|
286
|
+
|
|
287
|
+
# smoke.ps1 selects the target framework corresponding to the SDK selected by `dotnet` (the highest installed) and
|
|
288
|
+
# restores only from the package folder, so no package or targeting pack is downloaded.
|
|
289
|
+
- uses: actions/setup-dotnet@v5
|
|
290
|
+
with:
|
|
291
|
+
dotnet-version: 10.0.x
|
|
292
|
+
|
|
293
|
+
- uses: actions/download-artifact@v4
|
|
294
|
+
with:
|
|
295
|
+
name: nupkg
|
|
296
|
+
path: nupkg
|
|
297
|
+
|
|
298
|
+
- name: Smoke test
|
|
299
|
+
shell: pwsh
|
|
300
|
+
run: |
|
|
301
|
+
dotnet --info
|
|
302
|
+
./nuget/smoke.ps1 -PackageDirectory nupkg
|
|
303
|
+
|
|
304
|
+
publish:
|
|
305
|
+
name: Publish to GitHub Packages
|
|
306
|
+
needs: smoke
|
|
307
|
+
if: github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
|
|
308
|
+
runs-on: ubuntu-24.04
|
|
309
|
+
permissions:
|
|
310
|
+
contents: read
|
|
311
|
+
packages: write
|
|
312
|
+
steps:
|
|
313
|
+
- uses: actions/download-artifact@v4
|
|
314
|
+
with:
|
|
315
|
+
name: nupkg
|
|
316
|
+
path: nupkg
|
|
317
|
+
|
|
318
|
+
- name: Push the package
|
|
319
|
+
env:
|
|
320
|
+
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
|
321
|
+
run: >
|
|
322
|
+
dotnet nuget push nupkg/*.nupkg
|
|
323
|
+
--source https://nuget.pkg.github.com/digi21/index.json
|
|
324
|
+
--api-key "$NUGET_API_KEY"
|
|
325
|
+
--skip-duplicate
|
|
@@ -152,3 +152,13 @@ if(DIGI21_BUILD_TESTS)
|
|
|
152
152
|
set_tests_properties(gigs PROPERTIES
|
|
153
153
|
ENVIRONMENT "DIGI21_EPSG_SQLITE=${DIGI21_EPSG_SQLITE}")
|
|
154
154
|
endif()
|
|
155
|
+
|
|
156
|
+
# ---------------------------------------------------------------------------
|
|
157
|
+
# C API (crskit_c, capi/): a self-contained shared library that exports only crskit_* C functions, and its tests
|
|
158
|
+
# (crskit_c_tests) when DIGI21_BUILD_TESTS is on.
|
|
159
|
+
# ---------------------------------------------------------------------------
|
|
160
|
+
option(DIGI21_BUILD_C_API "Build the C API (crskit_c)" ON)
|
|
161
|
+
|
|
162
|
+
if(DIGI21_BUILD_C_API)
|
|
163
|
+
add_subdirectory(capi)
|
|
164
|
+
endif()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crskit
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: Coordinate reference systems and coordinate transformations (OGC Coordinate Transformation Services, EPSG, WKT 1 and WKT 2)
|
|
5
5
|
Keywords: EPSG,CRS,WKT,coordinate,transformation,projection,geodesy,GIS
|
|
6
6
|
Author-Email: José Ángel Martínez Torres <joseangelmt@outlook.com>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# crskit_c: shared library with the C API of crskit (capi/include/crskit_c.h), for consumers that cannot use the C++ ABI
|
|
2
|
+
# (P/Invoke from .NET). Self-contained: it compiles the crskit sources and the SQLite amalgamation and exports only the
|
|
3
|
+
# crskit_* functions.
|
|
4
|
+
|
|
5
|
+
# The crskit version comes from pyproject.toml, the file that the release procedure updates.
|
|
6
|
+
file(STRINGS "${PROJECT_SOURCE_DIR}/pyproject.toml" CRSKIT_C_VERSION_LINE REGEX "^version = \"[^\"]+\"")
|
|
7
|
+
string(REGEX REPLACE "^version = \"([^\"]+)\"$" "\\1" CRSKIT_C_LIBRARY_VERSION "${CRSKIT_C_VERSION_LINE}")
|
|
8
|
+
if(NOT CRSKIT_C_LIBRARY_VERSION)
|
|
9
|
+
message(FATAL_ERROR "crskit_c: no version line found in pyproject.toml")
|
|
10
|
+
endif()
|
|
11
|
+
|
|
12
|
+
find_package(Threads REQUIRED)
|
|
13
|
+
|
|
14
|
+
file(GLOB CRSKIT_C_SOURCES CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
|
|
15
|
+
|
|
16
|
+
add_library(crskit_c SHARED
|
|
17
|
+
${CRSKIT_C_SOURCES}
|
|
18
|
+
${CRSKIT_SOURCES}
|
|
19
|
+
"${PROJECT_SOURCE_DIR}/external/sqlite/sqlite3.c")
|
|
20
|
+
|
|
21
|
+
target_include_directories(crskit_c PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>")
|
|
22
|
+
if(MSVC)
|
|
23
|
+
# Not SYSTEM: MSVC searches /external:I after the include paths of MSBuild, where the vcpkg integration may add an
|
|
24
|
+
# installed copy of the crskit headers.
|
|
25
|
+
target_include_directories(crskit_c PRIVATE "${PROJECT_SOURCE_DIR}/crskit" "${PROJECT_SOURCE_DIR}/external/sqlite")
|
|
26
|
+
else()
|
|
27
|
+
# SYSTEM: the stricter warnings of the C API sources (below) do not apply to the crskit and SQLite headers they include.
|
|
28
|
+
target_include_directories(crskit_c SYSTEM PRIVATE "${PROJECT_SOURCE_DIR}/crskit" "${PROJECT_SOURCE_DIR}/external/sqlite")
|
|
29
|
+
endif()
|
|
30
|
+
|
|
31
|
+
# CRSKIT_STATIC: the crskit classes get no export attribute (CrsKitExport.h); only CRSKIT_C_API exports.
|
|
32
|
+
target_compile_definitions(crskit_c PRIVATE
|
|
33
|
+
CRSKIT_C_BUILDING
|
|
34
|
+
CRSKIT_STATIC
|
|
35
|
+
SQLITE_THREADSAFE=1
|
|
36
|
+
_CRT_SECURE_NO_WARNINGS
|
|
37
|
+
"CRSKIT_C_LIBRARY_VERSION=\"${CRSKIT_C_LIBRARY_VERSION}\"")
|
|
38
|
+
|
|
39
|
+
target_link_libraries(crskit_c PRIVATE Threads::Threads ${CMAKE_DL_LIBS})
|
|
40
|
+
|
|
41
|
+
set_target_properties(crskit_c PROPERTIES
|
|
42
|
+
C_VISIBILITY_PRESET hidden
|
|
43
|
+
CXX_VISIBILITY_PRESET hidden
|
|
44
|
+
VISIBILITY_INLINES_HIDDEN ON
|
|
45
|
+
# Static C runtime: the DLL does not need vcruntime140.dll on the machine of the user.
|
|
46
|
+
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
|
47
|
+
|
|
48
|
+
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
49
|
+
# libstdc++ and libgcc linked in and hidden, only crskit_* exported (crskit_c.map) and every symbol resolved at link time.
|
|
50
|
+
target_link_options(crskit_c PRIVATE -static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL -Wl,-z,defs
|
|
51
|
+
"-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/crskit_c.map")
|
|
52
|
+
set_property(TARGET crskit_c APPEND PROPERTY LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/crskit_c.map")
|
|
53
|
+
target_link_libraries(crskit_c PRIVATE m)
|
|
54
|
+
endif()
|
|
55
|
+
|
|
56
|
+
# Stricter warnings for the C API sources only (the crskit sources keep the flags of the project).
|
|
57
|
+
if(MSVC)
|
|
58
|
+
set_source_files_properties(${CRSKIT_C_SOURCES} PROPERTIES COMPILE_OPTIONS "/W4")
|
|
59
|
+
else()
|
|
60
|
+
set_source_files_properties(${CRSKIT_C_SOURCES} PROPERTIES COMPILE_OPTIONS "-Wall;-Wextra")
|
|
61
|
+
endif()
|
|
62
|
+
|
|
63
|
+
# ---------------------------------------------------------------------------
|
|
64
|
+
# Tests (GoogleTest). They call crskit_c through capi/include/crskit_c.h; TestAgainstCppApi.cpp also links the crskit C++
|
|
65
|
+
# library, as the reference for comparing C API results; on Windows those comparisons allow tolerances, except the
|
|
66
|
+
# geodesic problems, and on Linux they require equal values.
|
|
67
|
+
# ---------------------------------------------------------------------------
|
|
68
|
+
if(DIGI21_BUILD_TESTS)
|
|
69
|
+
file(GLOB CRSKIT_C_TEST_SOURCES CONFIGURE_DEPENDS
|
|
70
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp"
|
|
71
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/tests/*.c")
|
|
72
|
+
|
|
73
|
+
add_executable(crskit_c_tests
|
|
74
|
+
${CRSKIT_C_TEST_SOURCES}
|
|
75
|
+
"${PROJECT_SOURCE_DIR}/external/sqlite/sqlite3.c")
|
|
76
|
+
|
|
77
|
+
target_include_directories(crskit_c_tests PRIVATE "${PROJECT_SOURCE_DIR}/external/sqlite")
|
|
78
|
+
target_compile_definitions(crskit_c_tests PRIVATE _CRT_SECURE_NO_WARNINGS)
|
|
79
|
+
set_target_properties(crskit_c_tests PROPERTIES C_STANDARD 11 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
|
|
80
|
+
|
|
81
|
+
get_target_property(CRSKIT_C_GTEST_LIBRARY_TYPE GTest::gtest TYPE)
|
|
82
|
+
if(CRSKIT_C_GTEST_LIBRARY_TYPE STREQUAL "SHARED_LIBRARY")
|
|
83
|
+
target_compile_definitions(crskit_c_tests PRIVATE GTEST_LINKED_AS_SHARED_LIBRARY=1)
|
|
84
|
+
endif()
|
|
85
|
+
|
|
86
|
+
# CMAKE_DL_LIBS: the SQLite amalgamation calls dlopen, which glibc before 2.34 provides in libdl.
|
|
87
|
+
target_link_libraries(crskit_c_tests PRIVATE crskit_c crskit GTest::gtest Threads::Threads ${CMAKE_DL_LIBS})
|
|
88
|
+
|
|
89
|
+
if(WIN32)
|
|
90
|
+
add_custom_command(TARGET crskit_c_tests POST_BUILD
|
|
91
|
+
COMMAND ${CMAKE_COMMAND} -E copy -t "$<TARGET_FILE_DIR:crskit_c_tests>"
|
|
92
|
+
"$<TARGET_RUNTIME_DLLS:crskit_c_tests>"
|
|
93
|
+
COMMAND_EXPAND_LISTS)
|
|
94
|
+
endif()
|
|
95
|
+
|
|
96
|
+
add_test(NAME crskit_c COMMAND crskit_c_tests)
|
|
97
|
+
set_tests_properties(crskit_c PROPERTIES
|
|
98
|
+
ENVIRONMENT "DIGI21_EPSG_SQLITE=${DIGI21_EPSG_SQLITE}")
|
|
99
|
+
endif()
|