Skip to content

Commit

Permalink
Fixed broken links and redirects to OGR library in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm committed Aug 19, 2019
1 parent ac34fcc commit 49aeabb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/ref/contrib/gis/gdal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ to raster (image) data.
capabilities of OGR and GDAL's raster features at this time.

__ https://www.gdal.org/
__ https://www.gdal.org/ogr_arch.html
__ https://gdal.org/user/vector_data_model.html

Overview
========
Expand Down Expand Up @@ -92,7 +92,7 @@ each feature in that layer.

Returns the name of the data source.

__ https://www.gdal.org/ogr_formats.html
__ https://gdal.org/drivers/vector/

``Layer``
---------
Expand Down Expand Up @@ -446,7 +446,7 @@ coordinate transformation::
:class:`Feature.geom` attribute, when reading vector data from
:class:`Layer` (which is in turn a part of a :class:`DataSource`).

__ https://www.gdal.org/classOGRGeometry.html
__ https://gdal.org/api/ogrgeometry_cpp.html#ogrgeometry-class

.. classmethod:: from_gml(gml_string)

Expand Down Expand Up @@ -1176,7 +1176,7 @@ blue.
altered as needed. For instance, use ``GTiff`` for a ``GeoTiff`` file.
For a list of file types, see also the `GDAL Raster Formats`__ list.

__ https://www.gdal.org/formats_list.html
__ https://gdal.org/drivers/raster/

An in-memory raster is created through the following example:

Expand Down Expand Up @@ -1403,7 +1403,7 @@ blue.
Returns a string with a summary of the raster. This is equivalent to
the `gdalinfo`__ command line utility.

__ https://www.gdal.org/gdalinfo.html
__ https://gdal.org/programs/gdalinfo.html

.. attribute:: metadata

Expand Down Expand Up @@ -1732,7 +1732,7 @@ Key Default Usage
... }
... })

__ https://www.gdal.org/frmt_gtiff.html
__ https://gdal.org/drivers/raster/gtiff.html

The ``band_input`` dictionary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 2 additions & 1 deletion docs/ref/contrib/gis/install/geolibs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,5 @@ the GDAL library. For example::
It is easier to install the shifting files now, then to have debug a
problem caused by their absence later.
.. [#] Specifically, GeoDjango provides support for the `OGR
<https://gdal.org/ogr_arch.html>`_ library, a component of GDAL.
<https://gdal.org/user/vector_data_model.html>`_ library, a component of
GDAL.
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/tutorial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ besides the tools included within GeoDjango, you may also use the following:
* `shp2pgsql`_: This utility included with PostGIS imports ESRI shapefiles into
PostGIS.

.. _ogr2ogr: https://www.gdal.org/ogr2ogr.html
.. _ogr2ogr: https://gdal.org/programs/ogr2ogr.html
.. _shp2pgsql: https://postgis.net/docs/using_postgis_dbmanagement.html#shp2pgsql_usage

.. _gdalinterface:
Expand Down

0 comments on commit 49aeabb

Please sign in to comment.