summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/gis/tutorial.txt
diff options
context:
space:
mode:
authorEd Henderson <ed@sharpertool.com>2016-06-02 12:56:13 -0700
committerTim Graham <timograham@gmail.com>2016-06-03 11:49:24 -0400
commit521772ff0779ced13f94a6ebcd96740a9eafbb1d (patch)
tree4acdfd2f0514a599ca50d32dc43f22bb944d8c80 /docs/ref/contrib/gis/tutorial.txt
parent971adb9e9ceaf50ecfa72db1b357bb38150048ea (diff)
[1.10.x] Fixed #26021 -- Applied hanging indentation to docs.
Backport of 4a4d7f980e2a66756e1e424f7648dcd28ff765b7 from master
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
-rw-r--r--docs/ref/contrib/gis/tutorial.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt
index 8f597df9fb..5d753a327e 100644
--- a/docs/ref/contrib/gis/tutorial.txt
+++ b/docs/ref/contrib/gis/tutorial.txt
@@ -452,12 +452,15 @@ with the following code::
'mpoly' : 'MULTIPOLYGON',
}
- world_shp = os.path.abspath(os.path.join(os.path.dirname(__file__), 'data', 'TM_WORLD_BORDERS-0.3.shp'))
+ world_shp = os.path.abspath(
+ os.path.join(os.path.dirname(__file__), 'data', 'TM_WORLD_BORDERS-0.3.shp'),
+ )
def run(verbose=True):
- lm = LayerMapping(WorldBorder, world_shp, world_mapping,
- transform=False, encoding='iso-8859-1')
-
+ lm = LayerMapping(
+ WorldBorder, world_shp, world_mapping,
+ transform=False, encoding='iso-8859-1',
+ )
lm.save(strict=True, verbose=verbose)
A few notes about what's going on: