Skip to content

Commit

Permalink
added assets; setup modules and re-arranged some; complete json reade…
Browse files Browse the repository at this point in the history
…r; complete wkt reader; setup proj4; complete osm reader; complete shapefile but not its helper functions; improved util and gzip
  • Loading branch information
Mr Martian committed Sep 13, 2024
1 parent bb4f050 commit 9f4c24f
Show file tree
Hide file tree
Showing 404 changed files with 15,989 additions and 4,089 deletions.
42 changes: 42 additions & 0 deletions assets/proj4/projections/adams_hemi.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.. _adams_hemi:

********************************************************************************
Adams Hemisphere in a Square
********************************************************************************

+---------------------+----------------------------------------------------------+
| **Classification** | Miscellaneous |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward spherical projection |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | adams_hemi |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/adams_hemi.png
:width: 500 px
:align: center
:alt: Adams Hemisphere in a Square

proj-string: ``+proj=adams_hemi``

Parameters
################################################################################

.. note:: All parameters are optional.

.. include:: ../options/lon_0.rst

.. include:: ../options/R.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst
42 changes: 42 additions & 0 deletions assets/proj4/projections/adams_ws1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.. _adams_ws1:

********************************************************************************
Adams World in a Square I
********************************************************************************

+---------------------+----------------------------------------------------------+
| **Classification** | Miscellaneous |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward spherical projection |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | adams_ws1 |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/adams_ws1.png
:width: 500 px
:align: center
:alt: Adams World in a Square I

proj-string: ``+proj=adams_ws1``

Parameters
################################################################################

.. note:: All parameters are optional.

.. include:: ../options/lon_0.rst

.. include:: ../options/R.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst
42 changes: 42 additions & 0 deletions assets/proj4/projections/adams_ws2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.. _adams_ws2:

********************************************************************************
Adams World in a Square II
********************************************************************************

+---------------------+----------------------------------------------------------+
| **Classification** | Miscellaneous |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | adams_ws2 |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/adams_ws2.png
:width: 500 px
:align: center
:alt: Adams World in a Square II

proj-string: ``+proj=adams_ws2``

Parameters
################################################################################

.. note:: All parameters are optional.

.. include:: ../options/lon_0.rst

.. include:: ../options/R.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst
52 changes: 52 additions & 0 deletions assets/proj4/projections/aea.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.. _aea:

********************************************************************************
Albers Equal Area
********************************************************************************
+---------------------+----------------------------------------------------------+
| **Classification** | Conic |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical and ellipsoidal |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | aea |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/aea.png
:width: 500 px
:align: center
:alt: Albers Equal Area

proj-string: ``+proj=aea +lat_1=29.5 +lat_2=42.5``

Options
################################################################################

Required
--------------------------------------------------------------------------------

.. include:: ../options/lat_1.rst

.. include:: ../options/lat_2.rst

Optional
--------------------------------------------------------------------------------

.. include:: ../options/lon_0.rst

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

.. include:: ../options/R.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst

51 changes: 51 additions & 0 deletions assets/proj4/projections/aeqd.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
.. _aeqd:

********************************************************************************
Azimuthal Equidistant
********************************************************************************
+---------------------+----------------------------------------------------------+
| **Classification** | Azimuthal |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical and ellipsoidal |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | aeqd |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/aeqd.png
:width: 500 px
:align: center
:alt: Azimuthal Equidistant

proj-string: ``+proj=aeqd``


Options
################################################################################

.. note:: All options are optional for the Azimuthal Equidistant projection.

.. option:: +guam

Use Guam ellipsoidal formulas. Only accurate near the Island of Guam
(:math:`\lambda\approx 144.5^{\circ}`, :math:`\phi\approx 13.5^{\circ}`)

.. include:: ../options/lat_0.rst

.. include:: ../options/lon_0.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst

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

.. include:: ../options/R.rst
58 changes: 58 additions & 0 deletions assets/proj4/projections/airy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.. _airy:

********************************************************************************
Airy
********************************************************************************

The Airy projection is an azimuthal minimum error projection for the region
within the small or great circle defined by an angular distance,
:math:`\phi_b`, from the tangency point of the plane :math:`( \lambda_0, \phi_0 )`.

+---------------------+----------------------------------------------------------+
| **Classification** | Azimuthal |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward spherical projection |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | airy |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+



.. figure:: ./images/airy.png
:width: 500 px
:align: center
:alt: Airy

proj-string: ``+proj=airy``

Options
################################################################################

.. option:: +lat_b

Angular distance from tangency point of the plane :math:`( \lambda_0, \phi_0 )`
where the error is kept at minimum.

*Defaults to 90° (suitable for hemispherical maps).*

.. option:: +no_cut

Do not cut at hemisphere limit

.. include:: ../options/lat_0.rst

.. include:: ../options/lon_0.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst

.. include:: ../options/R.rst
40 changes: 40 additions & 0 deletions assets/proj4/projections/aitoff.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.. _aitoff:

********************************************************************************
Aitoff
********************************************************************************
+---------------------+----------------------------------------------------------+
| **Classification** | Miscellaneous |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse spherical projection |
+---------------------+----------------------------------------------------------+
| **Defined area** | Global |
+---------------------+----------------------------------------------------------+
| **Alias** | aitoff |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+

.. figure:: ./images/aitoff.png
:width: 500 px
:align: center
:alt: Aitoff

proj-string: ``+proj=aitoff``

Parameters
################################################################################

.. note:: All parameters for the projection are optional.

.. include:: ../options/lon_0.rst

.. include:: ../options/R.rst

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst
39 changes: 39 additions & 0 deletions assets/proj4/projections/alsk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.. _alsk:

********************************************************************************
Modified Stereographic of Alaska
********************************************************************************
+---------------------+----------------------------------------------------------+
| **Classification** | Modified azimuthal |
+---------------------+----------------------------------------------------------+
| **Available forms** | Forward and inverse, spherical and ellipsoidal |
+---------------------+----------------------------------------------------------+
| **Defined area** | Alaska |
+---------------------+----------------------------------------------------------+
| **Alsk** | alsk |
+---------------------+----------------------------------------------------------+
| **Domain** | 2D |
+---------------------+----------------------------------------------------------+
| **Input type** | Geodetic coordinates |
+---------------------+----------------------------------------------------------+
| **Output type** | Projected coordinates |
+---------------------+----------------------------------------------------------+


.. figure:: ./images/alsk.png
:width: 500 px
:align: center
:alt: Modified Stereographic of Alaska

proj-string: ``+proj=alsk``

Options
################################################################################

.. note:: All options are optional for the projection.

.. include:: ../options/x_0.rst

.. include:: ../options/y_0.rst

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

0 comments on commit 9f4c24f

Please sign in to comment.