From ba9de2e74edb155067dc96a3369305c9ef4ba385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Duch=C3=AAne?= Date: Mon, 17 Jan 2022 16:00:14 +0100 Subject: [PATCH] Updated GEOS/GDAL links in docs and comments. --- django/contrib/gis/gdal/datasource.py | 2 +- django/contrib/gis/geos/libgeos.py | 2 +- docs/ref/contrib/gis/geos.txt | 2 +- docs/ref/contrib/gis/install/geolibs.txt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/django/contrib/gis/gdal/datasource.py b/django/contrib/gis/gdal/datasource.py index 7def6118a8..f2091c864a 100644 --- a/django/contrib/gis/gdal/datasource.py +++ b/django/contrib/gis/gdal/datasource.py @@ -58,7 +58,7 @@ class DataSource(GDALBase): self._write = 1 else: self._write = 0 - # See also https://trac.osgeo.org/gdal/wiki/rfc23_ogr_unicode + # See also https://gdal.org/development/rfc/rfc23_ogr_unicode.html self.encoding = encoding Driver.ensure_registered() diff --git a/django/contrib/gis/geos/libgeos.py b/django/contrib/gis/geos/libgeos.py index 2cdb5d3b20..aa19b3a706 100644 --- a/django/contrib/gis/geos/libgeos.py +++ b/django/contrib/gis/geos/libgeos.py @@ -57,7 +57,7 @@ def load_geos(): # Getting the GEOS C library. The C interface (CDLL) is used for # both *NIX and Windows. # See the GEOS C API source code for more details on the library function calls: - # https://geos.osgeo.org/doxygen/geos__c_8h_source.html + # https://libgeos.org/doxygen/geos__c_8h_source.html _lgeos = CDLL(lib_path) # Here we set up the prototypes for the initGEOS_r and finishGEOS_r # routines. These functions aren't actually called until they are diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index dd71229832..93fe6e9895 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -17,7 +17,7 @@ implements the OpenGIS `Simple Features for SQL`__ spatial predicate functions and spatial operators. GEOS, now an OSGeo project, was initially developed and maintained by `Refractions Research`__ of Victoria, Canada. -__ https://trac.osgeo.org/geos/ +__ https://libgeos.org/ __ https://sourceforge.net/projects/jts-topo-suite/ __ https://www.ogc.org/standards/sfs __ http://www.refractions.net/ diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt index 405681afba..7e0a0d4ee5 100644 --- a/docs/ref/contrib/gis/install/geolibs.txt +++ b/docs/ref/contrib/gis/install/geolibs.txt @@ -213,8 +213,8 @@ Configure, make and install:: If you have any problems, please see the troubleshooting section below for suggestions and solutions. -__ https://trac.osgeo.org/gdal/ -__ https://trac.osgeo.org/gdal/wiki/GdalOgrInPython +__ https://gdal.org/ +__ https://gdal.org/api/python.html .. _gdaltrouble: