From b53398055d496e8ef07c058a3b117a64f99a37e0 Mon Sep 17 00:00:00 2001 From: Colm McDonald <55803987+G21-Goose@users.noreply.github.com> Date: Tue, 31 Aug 2021 01:07:47 +0100 Subject: [PATCH] Fixed typos --- prettymaps/fetch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prettymaps/fetch.py b/prettymaps/fetch.py index 49a774e..6a96ad1 100644 --- a/prettymaps/fetch.py +++ b/prettymaps/fetch.py @@ -42,7 +42,7 @@ def get_coast(perimeter = None, point = None, radius = None, tags = {}, perimete bbox=bbox.to_crs(3174) bbox=bbox.buffer(radius) bbox=bbox.envelope - # Load the polygons for the coastline from a file + # Load the polygons for the coastline from a file geometries=read_file(file_location, bbox=bbox) geometries=geometries.to_crs("epsg:4326") perimeter = get_boundary(point, radius, geometries.crs, circle = circle, dilate = dilate) @@ -167,9 +167,9 @@ def get_layer(layer, **kwargs): # Fetch streets or railway if layer in ['streets', 'railway', 'waterway']: return get_streets(**kwargs, layer = layer) - # Fetch Coastline - elif layer == 'coastline': - return get_coast(**kwargs) + # Fetch Coastline + elif layer == 'coastline': + return get_coast(**kwargs) # Fetch geometries else: return get_geometries(**kwargs)