You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:title: Reproject a layer in a GeoPackage to Web Mercator GeoJSON
132
+
133
+
The timezone layer cannot be fully reprojected to Web Mercator as the coordinates at the poles fall outside the extent of the Web Mercator bounding-box causing
134
+
some features to be missing in the output. The following errors are returned:
135
+
136
+
.. code-block:: bash
137
+
138
+
ERROR 1: Full reprojection failed, but partial is possible if you define OGR_ENABLE_PARTIAL_REPROJECTION configuration option to TRUE
139
+
ERROR 1: PROJ: webmerc: Invalid latitude
140
+
ERROR 1: Reprojection failed, err = 2049, further errors will be suppressed on the transform object.
141
+
142
+
You can follow the suggestion above and enable``OGR_ENABLE_PARTIAL_REPROJECTION``.
143
+
Errors from PROJ relating to invalid coordinates (``ERROR 1: PROJ: webmerc: Invalid latitude``) will still be reported, but all features will be written to the output.
.. |about-config-options| replace:::ref:`Configuration options <configoptions>` can be specified in command-line tools using the syntax ``--config <NAME>=<VALUE>`` or using functions such as :cpp:func:`CPLSetConfigOption` (C) or :py:func:`gdal.config_options<osgeo.gdal.config_options>` (Python).
Copy file name to clipboardExpand all lines: doc/source/tutorials/osr_api_tut.rst
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,11 @@ WKT2:2015 and WKT2:2018) for describing coordinate systems.
26
26
References and applicable standards
27
27
-----------------------------------
28
28
29
-
- `PROJ documentation <https://proj4.org>`_: projection methods and coordinate operations
30
-
- `ISO:19111 and WKT standards <https://proj4.org/development/reference/cpp/cpp_general.html#standards>`_
29
+
- |PROJ| documentation: projection methods and coordinate operations
30
+
- `Spatial Reference <https://spatialreference.org>`_: an extensive database of spatial reference systems in standardized formats like Well-Known Text (WKT) or PROJJSON
31
+
- `ISO:19111 and WKT standards <https://proj.org/development/reference/cpp/cpp_general.html#general_doc_1standards>`_
31
32
- `GeoTIFF Projections Transform List <http://geotiff.maptools.org/proj_list>`_: understanding formulations of projections in WKT for GeoTIFF
32
-
- `EPSG Geodesy web page <http://www.epsg.org>`_ is also a useful resource
33
+
- `EPSG Geodesy web page <https://www.epsg.org>`_ is also a useful resource
33
34
34
35
Defining a Geographic Coordinate Reference System
35
36
-------------------------------------------------
@@ -172,6 +173,8 @@ This method with options is available in C as the :cpp:func:`OSRExportToWktEx` f
172
173
The :cpp:func:`OGRSpatialReference::importFromWkt` method can be used to set an
0 commit comments