From 1b0287b4b8e76e17a2e1157d56e41e3df0c72674 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 8 Aug 2016 15:16:28 +0200 Subject: [PATCH] Fixed typos in db-api GIS docs --- docs/ref/contrib/gis/db-api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index 07acf14b35..6ac4b81c58 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -176,7 +176,7 @@ Raster Lookups .. versionadded:: 1.10 The raster lookup syntax is similar to the syntax for geometries. The only -difference is that a band index can specified as additional input. If no band +difference is that a band index can be specified as additional input. If no band index is specified, the first band is used by default (index ``0``). In that case the syntax is identical to the syntax for geometry lookups. @@ -192,7 +192,7 @@ This results in the following general form for lookups involving rasters >>> qs = Elevation.objects.filter(____=) >>> qs = Elevation.objects.filter(__=() -Fore example:: +For example:: >>> qs = Elevation.objects.filter(rast__contains=geom) >>> qs = Elevation.objects.filter(rast__contains=rst)