Skip to content

Commit

Permalink
Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
a0x8o committed Jan 11, 2024
1 parent 62b57a8 commit 545531f
Show file tree
Hide file tree
Showing 28 changed files with 422 additions and 9 deletions.
6 changes: 6 additions & 0 deletions docs/source/apps/geod.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ geod
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -277,6 +278,8 @@ geod
>>>>>>> 6f78b76c12 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 26891e6f2b (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
.. _invgeod:

================================================================================
Expand Down Expand Up @@ -313,6 +316,7 @@ invgeod
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 938d194c93 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
Expand Down Expand Up @@ -743,6 +747,8 @@ invgeod
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
Synopsis
********

Expand Down
6 changes: 6 additions & 0 deletions docs/source/apps/proj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ proj
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -277,6 +278,8 @@ proj
>>>>>>> 6f78b76c12 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 26891e6f2b (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
.. _invproj:

================================================================================
Expand Down Expand Up @@ -313,6 +316,7 @@ invproj
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 938d194c93 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
Expand Down Expand Up @@ -743,6 +747,8 @@ invproj
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
.. only:: html

Cartographic projection filter.
Expand Down
4 changes: 4 additions & 0 deletions docs/source/apps/projinfo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ It can also be used to query coordinate operations available between two CRS.
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -899,6 +900,9 @@ The program is named with some reference to the GDAL :program:`gdalsrsinfo` that
=======
The program is named with some reference to the GDAL :program:`gdalsrsinfo` that offers
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
The program is named with some reference to the GDAL `gdalsrsinfo <https://gdal.org/programs/gdalsrsinfo.html>`__ utility that offers
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
partly similar services.


Expand Down
12 changes: 12 additions & 0 deletions docs/source/community/code_contributions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Preliminary step: install clang. For example:
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -724,6 +725,9 @@ Configure PROJ with the :program:`scan-build` utility of clang:
=======
Configure PROJ with the :program:`scan-build` utility of clang:
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
Configure PROJ with the `scan-build <https://clang-analyzer.llvm.org/scan-build.html>`__ utility of clang:
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

::
mkdir csa_build
Expand Down Expand Up @@ -773,6 +777,7 @@ Configure PROJ with the :program:`scan-build` utility of clang:
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -1329,6 +1334,9 @@ Build using :program:`scan-build`:
=======
Build using :program:`scan-build`:
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
Build using ``scan-build``:
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

::

Expand Down Expand Up @@ -1378,6 +1386,7 @@ If CSA finds errors, they will be emitted during the build. And in which case,
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -1934,6 +1943,9 @@ at the end of the build process, :program:`scan-build` will emit a warning messa
=======
at the end of the build process, :program:`scan-build` will emit a warning message
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
at the end of the build process, ``scan-build`` will emit a warning message
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
indicating errors have been found and how to display the error report. This
is with something like

Expand Down
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -605,6 +606,9 @@
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
'program_with_link',
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
8 changes: 8 additions & 0 deletions docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ separate column.
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -622,6 +623,9 @@ separate column.
=======
:program:`ogr2ogr` application.
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
`ogr2ogr <https://gdal.org/programs/ogr2ogr.html>`__ application.
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

Can I transform from *abc* to *xyz*?
--------------------------------------------------------------------------------
Expand Down Expand Up @@ -690,6 +694,7 @@ ETRS89/UTM32N (EPSG:25832) and ETRS89/DKTM1 (EPSG:4093):
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -1275,6 +1280,9 @@ how to use it.
See the :program:`projinfo` :ref:`documentation <projinfo>` for more info on
how to use it.
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
See the :program:`projinfo` documentation for more info on how to use it.
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

Coordinate reference system *xyz* is not in the EPSG registry, what do I do?
--------------------------------------------------------------------------------
Expand Down
8 changes: 8 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Fedora
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -701,6 +702,9 @@ On Fedora the :program:`dnf` package manager is used::
=======
On Fedora the :program:`dnf` package manager is used::
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
On Fedora the ``dnf`` package manager is used::
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

sudo dnf install proj

Expand Down Expand Up @@ -750,6 +754,7 @@ Red Hat
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -1306,6 +1311,9 @@ On Red Hat based system packages are installed with :program:`yum`::
=======
On Red Hat based system packages are installed with :program:`yum`::
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
On Red Hat based system packages are installed with ``yum``::
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

sudo yum install proj

Expand Down
5 changes: 5 additions & 0 deletions docs/source/operations/projections/aeqd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Azimuthal Equidistant
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -615,6 +616,10 @@ Azimuthal Equidistant
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
| **Alias** | aeqd |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
Expand Down
27 changes: 25 additions & 2 deletions docs/source/operations/projections/gnom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Gnomonic
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -277,6 +278,8 @@ Gnomonic
>>>>>>> 6f78b76c12 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 26891e6f2b (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
For a sphere, the gnomonic projection is a projection from the center of
the sphere onto a plane tangent to the center point of the projection.
This projects great circles to straight lines. For an ellipsoid, it is
Expand Down Expand Up @@ -309,6 +312,7 @@ point). For details, see Section 8 of :cite:`Karney2013`.
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 26891e6f2b (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
Expand Down Expand Up @@ -1052,17 +1056,23 @@ point). For details, see Section 8 of :cite:`Karney2013`.
=======
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
+---------------------+----------------------------------------------------------+
| **Classification** | Pseudocylindrical |
| **Classification** | Azimuthal |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical projection |
| **Available forms** | Forward and inverse, spherical and ellipsoidal |
+---------------------+----------------------------------------------------------+
<<<<<<< HEAD
| **Defined area** | Global |
<<<<<<< HEAD
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
| **Defined area** | Within a quarter circumference of the center point |
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
+---------------------+----------------------------------------------------------+
| **Alias** | gnom |
+---------------------+----------------------------------------------------------+
Expand Down Expand Up @@ -1122,6 +1132,7 @@ point). For details, see Section 8 of :cite:`Karney2013`.
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
Expand Down Expand Up @@ -1678,6 +1689,9 @@ point). For details, see Section 8 of :cite:`Karney2013`.
=======
proj-string: ``+proj=gnom +lat_0=90 +lon_0=-50``
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
proj-string: ``+proj=gnom +lat_0=90 +lon_0=-50 +R=6.4e6``
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

Parameters
################################################################################
Expand Down Expand Up @@ -1731,6 +1745,7 @@ Parameters
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
>>>>>>> locationtech-main
Expand Down Expand Up @@ -2224,6 +2239,11 @@ Parameters
=======
>>>>>>> 9b68b76b81 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
>>>>>>> 26891e6f2b (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)

.. include:: ../options/ellps.rst

Expand All @@ -2241,6 +2261,7 @@ Parameters
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> 9b68b76b81 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
=======
Expand Down Expand Up @@ -2634,3 +2655,5 @@ Parameters
>>>>>>> 885e4882b8 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 0a2f6458d1 (Merge pull request #3524 from cffk/merid-update-fix)
=======
>>>>>>> 9df6fd0323 (Fix build with -DPROJ_INTERNAL_CPP_NAMESPACE)
Loading

0 comments on commit 545531f

Please sign in to comment.