pyogrio 0.12.0__cp314-cp314t-macosx_12_0_arm64.whl
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.
- pyogrio/.dylibs/libgdal.37.3.11.4.dylib +0 -0
- pyogrio/__init__.py +57 -0
- pyogrio/_compat.py +54 -0
- pyogrio/_env.py +59 -0
- pyogrio/_err.cpython-314t-darwin.so +0 -0
- pyogrio/_geometry.cpython-314t-darwin.so +0 -0
- pyogrio/_io.cpython-314t-darwin.so +0 -0
- pyogrio/_ogr.cpython-314t-darwin.so +0 -0
- pyogrio/_version.py +21 -0
- pyogrio/_vsi.cpython-314t-darwin.so +0 -0
- pyogrio/core.py +387 -0
- pyogrio/errors.py +25 -0
- pyogrio/gdal_data/GDAL-targets-release.cmake +19 -0
- pyogrio/gdal_data/GDAL-targets.cmake +106 -0
- pyogrio/gdal_data/GDALConfig.cmake +24 -0
- pyogrio/gdal_data/GDALConfigVersion.cmake +65 -0
- pyogrio/gdal_data/GDALLogoBW.svg +138 -0
- pyogrio/gdal_data/GDALLogoColor.svg +126 -0
- pyogrio/gdal_data/GDALLogoGS.svg +126 -0
- pyogrio/gdal_data/LICENSE.TXT +467 -0
- pyogrio/gdal_data/MM_m_idofic.csv +321 -0
- pyogrio/gdal_data/copyright +467 -0
- pyogrio/gdal_data/cubewerx_extra.wkt +48 -0
- pyogrio/gdal_data/default.rsc +0 -0
- pyogrio/gdal_data/ecw_cs.wkt +1453 -0
- pyogrio/gdal_data/eedaconf.json +23 -0
- pyogrio/gdal_data/epsg.wkt +1 -0
- pyogrio/gdal_data/esri_StatePlane_extra.wkt +631 -0
- pyogrio/gdal_data/gdal_algorithm.schema.json +220 -0
- pyogrio/gdal_data/gdalg.schema.json +36 -0
- pyogrio/gdal_data/gdalicon.png +0 -0
- pyogrio/gdal_data/gdalinfo_output.schema.json +390 -0
- pyogrio/gdal_data/gdalmdiminfo_output.schema.json +326 -0
- pyogrio/gdal_data/gdaltileindex.xsd +253 -0
- pyogrio/gdal_data/gdalvrt.xsd +927 -0
- pyogrio/gdal_data/gfs.xsd +246 -0
- pyogrio/gdal_data/gml_registry.xml +117 -0
- pyogrio/gdal_data/gml_registry.xsd +66 -0
- pyogrio/gdal_data/grib2_center.csv +251 -0
- pyogrio/gdal_data/grib2_process.csv +102 -0
- pyogrio/gdal_data/grib2_subcenter.csv +63 -0
- pyogrio/gdal_data/grib2_table_4_2_0_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_13.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_14.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_15.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_16.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_17.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_0_18.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_19.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_190.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_191.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_20.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_21.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_0_7.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_191.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_10_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_1_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_20_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_2_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_3_2.csv +28 -0
- pyogrio/gdal_data/grib2_table_4_2_3_3.csv +8 -0
- pyogrio/gdal_data/grib2_table_4_2_3_4.csv +14 -0
- pyogrio/gdal_data/grib2_table_4_2_3_5.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_3_6.csv +11 -0
- pyogrio/gdal_data/grib2_table_4_2_4_0.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_1.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_10.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_2.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_3.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_4.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_6.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_7.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_8.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_4_9.csv +261 -0
- pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv +5 -0
- pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv +2 -0
- pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv +175 -0
- pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv +401 -0
- pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv +38 -0
- pyogrio/gdal_data/grib2_table_4_2_local_index.csv +7 -0
- pyogrio/gdal_data/grib2_table_4_5.csv +261 -0
- pyogrio/gdal_data/grib2_table_versions.csv +3 -0
- pyogrio/gdal_data/gt_datum.csv +229 -0
- pyogrio/gdal_data/gt_ellips.csv +24 -0
- pyogrio/gdal_data/header.dxf +1124 -0
- pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs +57 -0
- pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs +60 -0
- pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs +81 -0
- pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs +161 -0
- pyogrio/gdal_data/jpfgdgml_AdmArea.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_AdmPt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_BldA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_BldL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_Cntr.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_CommBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_CommPt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_Cstline.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_ElevPt.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_GCP.gfs +94 -0
- pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_RailCL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_RdASL.gfs +44 -0
- pyogrio/gdal_data/jpfgdgml_RdArea.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_RdCompt.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RdEdg.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs +59 -0
- pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_SBAPt.gfs +49 -0
- pyogrio/gdal_data/jpfgdgml_SBArea.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_SBBdry.gfs +44 -0
- pyogrio/gdal_data/jpfgdgml_WA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WL.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WStrA.gfs +54 -0
- pyogrio/gdal_data/jpfgdgml_WStrL.gfs +54 -0
- pyogrio/gdal_data/leaflet_template.html +102 -0
- pyogrio/gdal_data/nitf_spec.xml +3288 -0
- pyogrio/gdal_data/nitf_spec.xsd +171 -0
- pyogrio/gdal_data/ogr_fields_override.schema.json +125 -0
- pyogrio/gdal_data/ogrinfo_output.schema.json +528 -0
- pyogrio/gdal_data/ogrvrt.xsd +528 -0
- pyogrio/gdal_data/osmconf.ini +134 -0
- pyogrio/gdal_data/ozi_datum.csv +131 -0
- pyogrio/gdal_data/ozi_ellips.csv +35 -0
- pyogrio/gdal_data/pci_datum.txt +530 -0
- pyogrio/gdal_data/pci_ellips.txt +129 -0
- pyogrio/gdal_data/pdfcomposition.xsd +703 -0
- pyogrio/gdal_data/pds4_template.xml +65 -0
- pyogrio/gdal_data/plscenesconf.json +1985 -0
- pyogrio/gdal_data/ruian_vf_ob_v1.gfs +1455 -0
- pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs +86 -0
- pyogrio/gdal_data/ruian_vf_st_v1.gfs +1489 -0
- pyogrio/gdal_data/ruian_vf_v1.gfs +2126 -0
- pyogrio/gdal_data/s57agencies.csv +249 -0
- pyogrio/gdal_data/s57attributes.csv +484 -0
- pyogrio/gdal_data/s57expectedinput.csv +1008 -0
- pyogrio/gdal_data/s57objectclasses.csv +287 -0
- pyogrio/gdal_data/seed_2d.dgn +0 -0
- pyogrio/gdal_data/seed_3d.dgn +0 -0
- pyogrio/gdal_data/stateplane.csv +259 -0
- pyogrio/gdal_data/template_tiles.mapml +28 -0
- pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json +190 -0
- pyogrio/gdal_data/tms_MapML_APSTILE.json +268 -0
- pyogrio/gdal_data/tms_MapML_CBMTILE.json +346 -0
- pyogrio/gdal_data/tms_NZTM2000.json +243 -0
- pyogrio/gdal_data/trailer.dxf +434 -0
- pyogrio/gdal_data/usage +4 -0
- pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake +23 -0
- pyogrio/gdal_data/vcpkg.spdx.json +291 -0
- pyogrio/gdal_data/vcpkg_abi_info.txt +45 -0
- pyogrio/gdal_data/vdv452.xml +349 -0
- pyogrio/gdal_data/vdv452.xsd +45 -0
- pyogrio/gdal_data/vicar.json +164 -0
- pyogrio/geopandas.py +978 -0
- pyogrio/proj_data/CH +22 -0
- pyogrio/proj_data/GL27 +23 -0
- pyogrio/proj_data/ITRF2000 +24 -0
- pyogrio/proj_data/ITRF2008 +94 -0
- pyogrio/proj_data/ITRF2014 +55 -0
- pyogrio/proj_data/ITRF2020 +91 -0
- pyogrio/proj_data/copyright +34 -0
- pyogrio/proj_data/deformation_model.schema.json +582 -0
- pyogrio/proj_data/nad.lst +142 -0
- pyogrio/proj_data/nad27 +810 -0
- pyogrio/proj_data/nad83 +745 -0
- pyogrio/proj_data/other.extra +53 -0
- pyogrio/proj_data/proj-config-version.cmake +44 -0
- pyogrio/proj_data/proj-config.cmake +79 -0
- pyogrio/proj_data/proj-targets-release.cmake +19 -0
- pyogrio/proj_data/proj-targets.cmake +107 -0
- pyogrio/proj_data/proj.db +0 -0
- pyogrio/proj_data/proj.ini +59 -0
- pyogrio/proj_data/proj4-targets-release.cmake +19 -0
- pyogrio/proj_data/proj4-targets.cmake +107 -0
- pyogrio/proj_data/projjson.schema.json +1174 -0
- pyogrio/proj_data/triangulation.schema.json +214 -0
- pyogrio/proj_data/usage +9 -0
- pyogrio/proj_data/vcpkg.spdx.json +203 -0
- pyogrio/proj_data/vcpkg_abi_info.txt +28 -0
- pyogrio/proj_data/world +214 -0
- pyogrio/raw.py +897 -0
- pyogrio/tests/__init__.py +0 -0
- pyogrio/tests/conftest.py +588 -0
- pyogrio/tests/fixtures/README.md +108 -0
- pyogrio/tests/fixtures/curve.gpkg +0 -0
- pyogrio/tests/fixtures/curvepolygon.gpkg +0 -0
- pyogrio/tests/fixtures/line_zm.gpkg +0 -0
- pyogrio/tests/fixtures/list_field_values_file.parquet +0 -0
- pyogrio/tests/fixtures/list_nested_struct_file.parquet +0 -0
- pyogrio/tests/fixtures/multisurface.gpkg +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg +1 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj +1 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp +0 -0
- pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx +0 -0
- pyogrio/tests/fixtures/sample.osm.pbf +0 -0
- pyogrio/tests/fixtures/test_gpkg_nulls.gpkg +0 -0
- pyogrio/tests/test_arrow.py +1160 -0
- pyogrio/tests/test_core.py +702 -0
- pyogrio/tests/test_geopandas_io.py +3218 -0
- pyogrio/tests/test_path.py +374 -0
- pyogrio/tests/test_raw_io.py +1473 -0
- pyogrio/tests/test_util.py +56 -0
- pyogrio/util.py +258 -0
- pyogrio-0.12.0.dist-info/METADATA +125 -0
- pyogrio-0.12.0.dist-info/RECORD +231 -0
- pyogrio-0.12.0.dist-info/WHEEL +6 -0
- pyogrio-0.12.0.dist-info/licenses/LICENSE +21 -0
- pyogrio-0.12.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
## NAD83 / BC Albers (this has been superseded but is kept for compatibility)
|
|
2
|
+
<42102> +proj=aea +ellps=GRS80 +lat_0=45 +lon_0=-126.0 +lat_1=50.0 +lat_2=58.5 +x_0=1000000.0 +y_0=0 +datum=NAD83 +units=m no_defs <>
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
#
|
|
6
|
+
# OGC-defined extended codes (41000--41999)
|
|
7
|
+
# see http://www.digitalearth.gov/wmt/auto.html
|
|
8
|
+
#
|
|
9
|
+
# WGS84 / Simple Mercator
|
|
10
|
+
<41001> +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
11
|
+
#
|
|
12
|
+
# CubeWerx-defined extended codes (42100--42199)
|
|
13
|
+
#
|
|
14
|
+
# WGS 84 / LCC Canada
|
|
15
|
+
<42101> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=0 +lon_0=-95 +x_0=0 +y_0=-8000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
16
|
+
#EPSG:42102,"PROJCS[\"NAD83 / BC Albers\",GEOGCS[\"NAD83\",DATUM[\"North_American_Datum_1983\",SPHEROID[\"GRS_1980\",6378137,298.257222101]],PRIMEM[\"Greenwich\",0],UNIT[\"Decimal_Degree\",0.0174532925199433]],PROJECTION[\"Albers_conic_equal_area\"],PARAMETER[\"central_meridian\",-126.0],PARAMETER[\"latitude_of_origin\",45],PARAMETER[\"standard_parallel_1\",50.0],PARAMETER[\"standard_parallel_2\",58.5],PARAMETER[\"false_easting\",1000000.0],PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]"
|
|
17
|
+
# WGS 84 / LCC USA
|
|
18
|
+
<42103> +proj=lcc +lat_1=33 +lat_2=45 +lat_0=0 +lon_0=-100 +x_0=0 +y_0=0 +ellps=WGS72 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
19
|
+
# NAD83 / MTM zone 8 Québec
|
|
20
|
+
<42104> +proj=tmerc +lat_0=0 +lon_0=-73.5 +k=0.999900 +x_0=304800 +y_0=0 +ellps=GRS80 +units=m +no_defs no_defs <>
|
|
21
|
+
# WGS84 / Merc NorthAm
|
|
22
|
+
<42105> +proj=merc +lat_ts=0 +lon_0=-96 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
23
|
+
# WGS84 / Lambert Azim Mozambique
|
|
24
|
+
<42106> +proj=laea +lat_0=5 +lon_0=20 +x_0=0 +y_0=0 +a=6370997 +b=6370997 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
25
|
+
#
|
|
26
|
+
# CubeWerx-customer definitions (42300--42399)
|
|
27
|
+
#
|
|
28
|
+
# NAD27 / Polar Stereographic / CM=-98
|
|
29
|
+
<42301> +proj=stere +lat_0=90 +lon_0=-98 +x_0=0 +y_0=0 +ellps=clrk66 +datum=NAD27 +units=m +no_defs no_defs <>
|
|
30
|
+
# JapanOrtho.09 09
|
|
31
|
+
<42302> +proj=tmerc +lat_0=36 +lon_0=139.833333333333 +k=0.999900 +x_0=0 +y_0=0 +ellps=bessel +units=m +no_defs no_defs <>
|
|
32
|
+
# NAD83 / Albers NorthAm
|
|
33
|
+
<42303> +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <>
|
|
34
|
+
# NAD83 / NRCan LCC Canada
|
|
35
|
+
<42304> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=49 +lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <>
|
|
36
|
+
# France_II
|
|
37
|
+
<42305> +proj=lcc +lat_1=45.898918964419 +lat_2=47.696014502038 +lat_0=46.8 +lon_0=2.337229166666667 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356514.999904194 +pm=2.337229166666667 +units=m +no_defs no_defs <>
|
|
38
|
+
# NAD83/QC_LCC
|
|
39
|
+
<42306> +proj=lcc +lat_1=46 +lat_2=60 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <>
|
|
40
|
+
# NAD83 / Texas Central - feet
|
|
41
|
+
<42307> +proj=lcc +lat_1=31.8833333333333 +lat_2=30.1166666666667 +lat_0=29.6666666666667 +lon_0=-100.333333333333 +x_0=700000.0000000001 +y_0=3000000 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192 +no_defs no_defs <>
|
|
42
|
+
# NAD27 / California Albers
|
|
43
|
+
<42308> +proj=aea +lat_1=34 +lat_2=40.5 +lat_0=0 +lon_0=-120 +x_0=0 +y_0=-4000000 +ellps=clrk66 +datum=NAD27 +units=m +no_defs no_defs <>
|
|
44
|
+
# NAD 83 / LCC Canada AVHRR-2
|
|
45
|
+
<42309> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=0 +lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <>
|
|
46
|
+
# WGS84+GRS80 / Mercator
|
|
47
|
+
<42310> +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=GRS80 +datum=WGS84 +units=m +no_defs no_defs <>
|
|
48
|
+
# NAD83 / LCC Statcan
|
|
49
|
+
<42311> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=63.390675 +lon_0=-91.86666700000001 +x_0=6200000 +y_0=3000000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <>
|
|
50
|
+
#
|
|
51
|
+
# Funny epsgish code for google mercator - you should really use EPSG:3857
|
|
52
|
+
#
|
|
53
|
+
<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Version checking for PROJ
|
|
2
|
+
|
|
3
|
+
set (PACKAGE_VERSION "9.6.2")
|
|
4
|
+
set (PACKAGE_VERSION_MAJOR "9")
|
|
5
|
+
set (PACKAGE_VERSION_MINOR "6")
|
|
6
|
+
set (PACKAGE_VERSION_PATCH "2")
|
|
7
|
+
|
|
8
|
+
# These variable definitions parallel those in PROJ's
|
|
9
|
+
# cmake/CMakeLists.txt.
|
|
10
|
+
if (MSVC)
|
|
11
|
+
# For checking the compatibility of MSVC_TOOLSET_VERSION; see
|
|
12
|
+
# https://docs.microsoft.com/en-us/cpp/porting/overview-of-potential-upgrade-issues-visual-cpp
|
|
13
|
+
# Assume major version number is obtained by dropping the last decimal
|
|
14
|
+
# digit.
|
|
15
|
+
math (EXPR MSVC_TOOLSET_MAJOR "${MSVC_TOOLSET_VERSION}/10")
|
|
16
|
+
endif ()
|
|
17
|
+
|
|
18
|
+
if (NOT PACKAGE_FIND_NAME STREQUAL "PROJ")
|
|
19
|
+
# Check package name (in particular, because of the way cmake finds
|
|
20
|
+
# package config files, the capitalization could easily be "wrong").
|
|
21
|
+
# This is necessary to ensure that the automatically generated
|
|
22
|
+
# variables, e.g., <package>_FOUND, are consistently spelled.
|
|
23
|
+
set (REASON "package = PROJ, NOT ${PACKAGE_FIND_NAME}")
|
|
24
|
+
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
25
|
+
elseif (NOT (APPLE OR (NOT DEFINED CMAKE_SIZEOF_VOID_P) OR
|
|
26
|
+
CMAKE_SIZEOF_VOID_P EQUAL "8"))
|
|
27
|
+
# Reject if there's a 32-bit/64-bit mismatch (not necessary with Apple
|
|
28
|
+
# since a multi-architecture library is built for that platform).
|
|
29
|
+
set (REASON "sizeof(*void) = 8")
|
|
30
|
+
set (PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
31
|
+
elseif (PACKAGE_FIND_VERSION)
|
|
32
|
+
if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
|
|
33
|
+
set (PACKAGE_VERSION_EXACT TRUE)
|
|
34
|
+
elseif (PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION
|
|
35
|
+
AND PACKAGE_FIND_VERSION_MAJOR EQUAL PACKAGE_VERSION_MAJOR)
|
|
36
|
+
set (PACKAGE_VERSION_COMPATIBLE TRUE)
|
|
37
|
+
endif ()
|
|
38
|
+
endif ()
|
|
39
|
+
|
|
40
|
+
# If unsuitable, append the reason to the package version so that it's
|
|
41
|
+
# visible to the user.
|
|
42
|
+
if (PACKAGE_VERSION_UNSUITABLE)
|
|
43
|
+
set (PACKAGE_VERSION "${PACKAGE_VERSION} (${REASON})")
|
|
44
|
+
endif ()
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Configure PROJ
|
|
2
|
+
#
|
|
3
|
+
# Set
|
|
4
|
+
# PROJ_FOUND = 1
|
|
5
|
+
# PROJ_INCLUDE_DIRS = /usr/local/include
|
|
6
|
+
# PROJ_LIBRARIES = PROJ::proj
|
|
7
|
+
# PROJ_LIBRARY_DIRS = /usr/local/lib
|
|
8
|
+
# PROJ_BINARY_DIRS = /usr/local/bin
|
|
9
|
+
# PROJ_VERSION = 4.9.1 (for example)
|
|
10
|
+
if(PROJ STREQUAL "PROJ4")
|
|
11
|
+
message(DEPRECATION "find_package(PROJ4) is deprecated and will be retired soon. Please use find_package(PROJ) instead.")
|
|
12
|
+
endif()
|
|
13
|
+
|
|
14
|
+
include(CMakeFindDependencyMacro)
|
|
15
|
+
|
|
16
|
+
# We cannot have a find_dependency() call between cmake_policy(PUSH)/cmake_policy(POP)
|
|
17
|
+
# because find_dependency() issues a return() on failure, which results in
|
|
18
|
+
# imbalanced push/pop
|
|
19
|
+
# Cf https://gitlab.kitware.com/cmake/cmake/-/issues/17612
|
|
20
|
+
cmake_policy(PUSH)
|
|
21
|
+
cmake_policy(SET CMP0012 NEW)
|
|
22
|
+
if("ON")
|
|
23
|
+
set(PROJ_CONFIG_FIND_TIFF_DEP ON)
|
|
24
|
+
endif()
|
|
25
|
+
if("TRUE")
|
|
26
|
+
set(PROJ_CONFIG_FIND_CURL_DEP ON)
|
|
27
|
+
endif()
|
|
28
|
+
cmake_policy(POP)
|
|
29
|
+
|
|
30
|
+
find_dependency(unofficial-sqlite3)
|
|
31
|
+
|
|
32
|
+
if(DEFINED PROJ_CONFIG_FIND_TIFF_DEP)
|
|
33
|
+
find_dependency(TIFF)
|
|
34
|
+
endif()
|
|
35
|
+
|
|
36
|
+
if(DEFINED PROJ_CONFIG_FIND_CURL_DEP)
|
|
37
|
+
# Chainload CURL usage requirements
|
|
38
|
+
find_dependency(CURL)
|
|
39
|
+
# Target CURL::libcurl only defined since CMake 3.12
|
|
40
|
+
if(NOT TARGET CURL::libcurl)
|
|
41
|
+
add_library(CURL::libcurl INTERFACE IMPORTED)
|
|
42
|
+
set_target_properties(CURL::libcurl PROPERTIES
|
|
43
|
+
INTERFACE_INCLUDE_DIRECTORIES "${CURL_INCLUDE_DIRS}"
|
|
44
|
+
INTERFACE_LINK_LIBRARIES "${CURL_LIBRARIES}"
|
|
45
|
+
)
|
|
46
|
+
endif()
|
|
47
|
+
endif()
|
|
48
|
+
|
|
49
|
+
function(set_variable_from_rel_or_absolute_path var root rel_or_abs_path)
|
|
50
|
+
if(IS_ABSOLUTE "${rel_or_abs_path}")
|
|
51
|
+
set(${var} "${rel_or_abs_path}" PARENT_SCOPE)
|
|
52
|
+
else()
|
|
53
|
+
set(${var} "${root}/${rel_or_abs_path}" PARENT_SCOPE)
|
|
54
|
+
endif()
|
|
55
|
+
endfunction()
|
|
56
|
+
|
|
57
|
+
# Tell the user project where to find our headers and libraries
|
|
58
|
+
get_filename_component (_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
|
59
|
+
get_filename_component (_ROOT "${_DIR}/../../../" ABSOLUTE)
|
|
60
|
+
# Use _ROOT as prefix here for the possibility of relocation after installation.
|
|
61
|
+
set_variable_from_rel_or_absolute_path("PROJ_INCLUDE_DIRS" "${_ROOT}" "include")
|
|
62
|
+
set_variable_from_rel_or_absolute_path("PROJ_LIBRARY_DIRS" "${_ROOT}" "lib")
|
|
63
|
+
set_variable_from_rel_or_absolute_path("PROJ_BINARY_DIRS" "${_ROOT}" "bin")
|
|
64
|
+
|
|
65
|
+
set (PROJ_LIBRARIES PROJ::proj)
|
|
66
|
+
# Read in the exported definition of the library
|
|
67
|
+
include ("${_DIR}/proj-targets.cmake")
|
|
68
|
+
if (ON)
|
|
69
|
+
include ("${_DIR}/proj4-targets.cmake")
|
|
70
|
+
endif()
|
|
71
|
+
|
|
72
|
+
unset (_ROOT)
|
|
73
|
+
unset (_DIR)
|
|
74
|
+
|
|
75
|
+
if ("PROJ" STREQUAL "PROJ4")
|
|
76
|
+
# For backward compatibility with old releases of libgeotiff
|
|
77
|
+
set (PROJ_INCLUDE_DIR
|
|
78
|
+
${PROJ_INCLUDE_DIRS})
|
|
79
|
+
endif ()
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#----------------------------------------------------------------
|
|
2
|
+
# Generated CMake target import file for configuration "Release".
|
|
3
|
+
#----------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
# Commands may need to know the format version.
|
|
6
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
7
|
+
|
|
8
|
+
# Import target "PROJ::proj" for configuration "Release"
|
|
9
|
+
set_property(TARGET PROJ::proj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
10
|
+
set_target_properties(PROJ::proj PROPERTIES
|
|
11
|
+
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C;CXX"
|
|
12
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libproj.a"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
list(APPEND _cmake_import_check_targets PROJ::proj )
|
|
16
|
+
list(APPEND _cmake_import_check_files_for_PROJ::proj "${_IMPORT_PREFIX}/lib/libproj.a" )
|
|
17
|
+
|
|
18
|
+
# Commands beyond this point should not need to know the version.
|
|
19
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Generated by CMake
|
|
2
|
+
|
|
3
|
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
4
|
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
|
5
|
+
endif()
|
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "2.8.12")
|
|
7
|
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
|
8
|
+
endif()
|
|
9
|
+
cmake_policy(PUSH)
|
|
10
|
+
cmake_policy(VERSION 2.8.12...3.31)
|
|
11
|
+
#----------------------------------------------------------------
|
|
12
|
+
# Generated CMake target import file.
|
|
13
|
+
#----------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
# Commands may need to know the format version.
|
|
16
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
17
|
+
|
|
18
|
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
19
|
+
set(_cmake_targets_defined "")
|
|
20
|
+
set(_cmake_targets_not_defined "")
|
|
21
|
+
set(_cmake_expected_targets "")
|
|
22
|
+
foreach(_cmake_expected_target IN ITEMS PROJ::proj)
|
|
23
|
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
|
24
|
+
if(TARGET "${_cmake_expected_target}")
|
|
25
|
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
|
26
|
+
else()
|
|
27
|
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
|
28
|
+
endif()
|
|
29
|
+
endforeach()
|
|
30
|
+
unset(_cmake_expected_target)
|
|
31
|
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
|
32
|
+
unset(_cmake_targets_defined)
|
|
33
|
+
unset(_cmake_targets_not_defined)
|
|
34
|
+
unset(_cmake_expected_targets)
|
|
35
|
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
|
36
|
+
cmake_policy(POP)
|
|
37
|
+
return()
|
|
38
|
+
endif()
|
|
39
|
+
if(NOT _cmake_targets_defined STREQUAL "")
|
|
40
|
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
|
41
|
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
|
42
|
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
|
43
|
+
endif()
|
|
44
|
+
unset(_cmake_targets_defined)
|
|
45
|
+
unset(_cmake_targets_not_defined)
|
|
46
|
+
unset(_cmake_expected_targets)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# Compute the installation prefix relative to this file.
|
|
50
|
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
51
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
52
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
53
|
+
if(_IMPORT_PREFIX STREQUAL "/")
|
|
54
|
+
set(_IMPORT_PREFIX "")
|
|
55
|
+
endif()
|
|
56
|
+
|
|
57
|
+
# Create imported target PROJ::proj
|
|
58
|
+
add_library(PROJ::proj STATIC IMPORTED)
|
|
59
|
+
|
|
60
|
+
set_target_properties(PROJ::proj PROPERTIES
|
|
61
|
+
INTERFACE_COMPILE_DEFINITIONS "PROJ_DLL="
|
|
62
|
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
|
63
|
+
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:-lm>;\$<LINK_ONLY:-ldl>;\$<LINK_ONLY:unofficial::sqlite3::sqlite3>;\$<LINK_ONLY:>;\$<LINK_ONLY:TIFF::TIFF>;\$<LINK_ONLY:CURL::libcurl_static>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:ws2_32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:wldap32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:advapi32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:crypt32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:normaliz>>"
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
# Load information for each installed configuration.
|
|
67
|
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/proj-targets-*.cmake")
|
|
68
|
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
69
|
+
include("${_cmake_config_file}")
|
|
70
|
+
endforeach()
|
|
71
|
+
unset(_cmake_config_file)
|
|
72
|
+
unset(_cmake_config_files)
|
|
73
|
+
|
|
74
|
+
# Cleanup temporary variables.
|
|
75
|
+
set(_IMPORT_PREFIX)
|
|
76
|
+
|
|
77
|
+
# Loop over all imported files and verify that they actually exist
|
|
78
|
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
79
|
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
80
|
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
81
|
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
82
|
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
83
|
+
if(NOT EXISTS "${_cmake_file}")
|
|
84
|
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
85
|
+
\"${_cmake_file}\"
|
|
86
|
+
but this file does not exist. Possible reasons include:
|
|
87
|
+
* The file was deleted, renamed, or moved to another location.
|
|
88
|
+
* An install or uninstall procedure did not complete successfully.
|
|
89
|
+
* The installation package was faulty and contained
|
|
90
|
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
91
|
+
but not all the files it references.
|
|
92
|
+
")
|
|
93
|
+
endif()
|
|
94
|
+
endforeach()
|
|
95
|
+
endif()
|
|
96
|
+
unset(_cmake_file)
|
|
97
|
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
98
|
+
endforeach()
|
|
99
|
+
unset(_cmake_target)
|
|
100
|
+
unset(_cmake_import_check_targets)
|
|
101
|
+
|
|
102
|
+
# This file does not depend on other imported targets which have
|
|
103
|
+
# been exported from the same project but in a separate export set.
|
|
104
|
+
|
|
105
|
+
# Commands beyond this point should not need to know the version.
|
|
106
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
|
107
|
+
cmake_policy(POP)
|
|
Binary file
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[general]
|
|
2
|
+
; Lines starting by ; are commented lines.
|
|
3
|
+
;
|
|
4
|
+
|
|
5
|
+
; Network capabilities disabled by default.
|
|
6
|
+
; Can be overridden with the PROJ_NETWORK=ON environment variable.
|
|
7
|
+
; Cf https://proj.org/en/latest/usage/network.html
|
|
8
|
+
; Valid values = on, off
|
|
9
|
+
network = off
|
|
10
|
+
|
|
11
|
+
; Endpoint of the Content Delivery Network where remote resources might
|
|
12
|
+
; be accessed. Only used if network access is allowed (cf above "network"
|
|
13
|
+
; option)
|
|
14
|
+
; Can be overridden with the PROJ_NETWORK_ENDPOINT environment variable.
|
|
15
|
+
cdn_endpoint = https://cdn.proj.org
|
|
16
|
+
|
|
17
|
+
; Whether to enable a cache of remote resources that are accessed, on the
|
|
18
|
+
; local file system
|
|
19
|
+
; Valid values = on, off
|
|
20
|
+
cache_enabled = on
|
|
21
|
+
|
|
22
|
+
; Size of the cache in megabytes
|
|
23
|
+
cache_size_MB = 300
|
|
24
|
+
|
|
25
|
+
; Time-to-live delay in seconds before already accessed remote resources are
|
|
26
|
+
; accessed again to check if they have been updated.
|
|
27
|
+
cache_ttl_sec = 86400
|
|
28
|
+
|
|
29
|
+
; Can be set to on so that by default the lack of a known resource files needed
|
|
30
|
+
; for the best transformation PROJ would normally use causes an error, or off
|
|
31
|
+
; to accept missing resource files without errors or warnings.
|
|
32
|
+
; This default value itself is overridden by the PROJ_ONLY_BEST_DEFAULT environment
|
|
33
|
+
; variable if set, and then by the ONLY_BEST setting that can be
|
|
34
|
+
; passed to the proj_create_crs_to_crs() method, or with the --only-best
|
|
35
|
+
; option of the cs2cs program.
|
|
36
|
+
; (added in PROJ 9.2)
|
|
37
|
+
; Valid values = on, off
|
|
38
|
+
only_best_default = off
|
|
39
|
+
|
|
40
|
+
; Filename of the Certificate Authority (CA) bundle.
|
|
41
|
+
; Can be overridden with the PROJ_CURL_CA_BUNDLE / CURL_CA_BUNDLE environment variable.
|
|
42
|
+
; (added in PROJ 9.0)
|
|
43
|
+
; ca_bundle_path = /path/to/cabundle.pem
|
|
44
|
+
|
|
45
|
+
; When this is set to on, the operating systems native CA store will be used for certificate verification
|
|
46
|
+
; If you set this option to on and also set ca_bundle_path then during verification those certificates are
|
|
47
|
+
; searched in addition to the native CA store.
|
|
48
|
+
; (added in PROJ 9.6)
|
|
49
|
+
; Valid values = on, off
|
|
50
|
+
;native_ca = on
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
; Transverse Mercator (and UTM) default algorithm: auto, evenden_snyder or poder_engsager
|
|
54
|
+
; * evenden_snyder is the fastest, but less accurate far from central meridian
|
|
55
|
+
; * poder_engsager is slower, but more accurate far from central meridian
|
|
56
|
+
; * default will auto-select between the two above depending on the coordinate
|
|
57
|
+
; to transform and will use evenden_snyder if the error in doing so is below
|
|
58
|
+
; 0.1 mm (for an ellipsoid of the size of Earth)
|
|
59
|
+
tmerc_default_algo = poder_engsager
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#----------------------------------------------------------------
|
|
2
|
+
# Generated CMake target import file for configuration "Release".
|
|
3
|
+
#----------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
# Commands may need to know the format version.
|
|
6
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
7
|
+
|
|
8
|
+
# Import target "PROJ4::proj" for configuration "Release"
|
|
9
|
+
set_property(TARGET PROJ4::proj APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
10
|
+
set_target_properties(PROJ4::proj PROPERTIES
|
|
11
|
+
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C;CXX"
|
|
12
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libproj.a"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
list(APPEND _cmake_import_check_targets PROJ4::proj )
|
|
16
|
+
list(APPEND _cmake_import_check_files_for_PROJ4::proj "${_IMPORT_PREFIX}/lib/libproj.a" )
|
|
17
|
+
|
|
18
|
+
# Commands beyond this point should not need to know the version.
|
|
19
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Generated by CMake
|
|
2
|
+
|
|
3
|
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
4
|
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
|
5
|
+
endif()
|
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "2.8.12")
|
|
7
|
+
message(FATAL_ERROR "CMake >= 2.8.12 required")
|
|
8
|
+
endif()
|
|
9
|
+
cmake_policy(PUSH)
|
|
10
|
+
cmake_policy(VERSION 2.8.12...3.31)
|
|
11
|
+
#----------------------------------------------------------------
|
|
12
|
+
# Generated CMake target import file.
|
|
13
|
+
#----------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
# Commands may need to know the format version.
|
|
16
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
17
|
+
|
|
18
|
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
19
|
+
set(_cmake_targets_defined "")
|
|
20
|
+
set(_cmake_targets_not_defined "")
|
|
21
|
+
set(_cmake_expected_targets "")
|
|
22
|
+
foreach(_cmake_expected_target IN ITEMS PROJ4::proj)
|
|
23
|
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
|
24
|
+
if(TARGET "${_cmake_expected_target}")
|
|
25
|
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
|
26
|
+
else()
|
|
27
|
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
|
28
|
+
endif()
|
|
29
|
+
endforeach()
|
|
30
|
+
unset(_cmake_expected_target)
|
|
31
|
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
|
32
|
+
unset(_cmake_targets_defined)
|
|
33
|
+
unset(_cmake_targets_not_defined)
|
|
34
|
+
unset(_cmake_expected_targets)
|
|
35
|
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
|
36
|
+
cmake_policy(POP)
|
|
37
|
+
return()
|
|
38
|
+
endif()
|
|
39
|
+
if(NOT _cmake_targets_defined STREQUAL "")
|
|
40
|
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
|
41
|
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
|
42
|
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
|
43
|
+
endif()
|
|
44
|
+
unset(_cmake_targets_defined)
|
|
45
|
+
unset(_cmake_targets_not_defined)
|
|
46
|
+
unset(_cmake_expected_targets)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# Compute the installation prefix relative to this file.
|
|
50
|
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
51
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
52
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
53
|
+
if(_IMPORT_PREFIX STREQUAL "/")
|
|
54
|
+
set(_IMPORT_PREFIX "")
|
|
55
|
+
endif()
|
|
56
|
+
|
|
57
|
+
# Create imported target PROJ4::proj
|
|
58
|
+
add_library(PROJ4::proj STATIC IMPORTED)
|
|
59
|
+
|
|
60
|
+
set_target_properties(PROJ4::proj PROPERTIES
|
|
61
|
+
INTERFACE_COMPILE_DEFINITIONS "PROJ_DLL="
|
|
62
|
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
|
63
|
+
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:-lm>;\$<LINK_ONLY:-ldl>;\$<LINK_ONLY:unofficial::sqlite3::sqlite3>;\$<LINK_ONLY:>;\$<LINK_ONLY:TIFF::TIFF>;\$<LINK_ONLY:CURL::libcurl_static>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:ws2_32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:wldap32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:advapi32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:crypt32>>;\$<LINK_ONLY:\$<\$<CXX_COMPILER_ID:MSVC>:normaliz>>"
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
# Load information for each installed configuration.
|
|
67
|
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/proj4-targets-*.cmake")
|
|
68
|
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
|
69
|
+
include("${_cmake_config_file}")
|
|
70
|
+
endforeach()
|
|
71
|
+
unset(_cmake_config_file)
|
|
72
|
+
unset(_cmake_config_files)
|
|
73
|
+
|
|
74
|
+
# Cleanup temporary variables.
|
|
75
|
+
set(_IMPORT_PREFIX)
|
|
76
|
+
|
|
77
|
+
# Loop over all imported files and verify that they actually exist
|
|
78
|
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
|
79
|
+
if(CMAKE_VERSION VERSION_LESS "3.28"
|
|
80
|
+
OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
|
|
81
|
+
OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
|
|
82
|
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
|
83
|
+
if(NOT EXISTS "${_cmake_file}")
|
|
84
|
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
|
85
|
+
\"${_cmake_file}\"
|
|
86
|
+
but this file does not exist. Possible reasons include:
|
|
87
|
+
* The file was deleted, renamed, or moved to another location.
|
|
88
|
+
* An install or uninstall procedure did not complete successfully.
|
|
89
|
+
* The installation package was faulty and contained
|
|
90
|
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
|
91
|
+
but not all the files it references.
|
|
92
|
+
")
|
|
93
|
+
endif()
|
|
94
|
+
endforeach()
|
|
95
|
+
endif()
|
|
96
|
+
unset(_cmake_file)
|
|
97
|
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
|
98
|
+
endforeach()
|
|
99
|
+
unset(_cmake_target)
|
|
100
|
+
unset(_cmake_import_check_targets)
|
|
101
|
+
|
|
102
|
+
# This file does not depend on other imported targets which have
|
|
103
|
+
# been exported from the same project but in a separate export set.
|
|
104
|
+
|
|
105
|
+
# Commands beyond this point should not need to know the version.
|
|
106
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
|
107
|
+
cmake_policy(POP)
|