From ab997b48d50044ef929ea186e353309b76e302b9 Mon Sep 17 00:00:00 2001 From: Colm McDonald <55803987+G21-Goose@users.noreply.github.com> Date: Tue, 31 Aug 2021 18:30:29 +0100 Subject: [PATCH] Use dilate option for coastline --- prettymaps/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prettymaps/fetch.py b/prettymaps/fetch.py index 6a96ad1..5e74606 100644 --- a/prettymaps/fetch.py +++ b/prettymaps/fetch.py @@ -40,7 +40,7 @@ def get_coast(perimeter = None, point = None, radius = None, tags = {}, perimete # Boundary defined by circle with radius 'radius' around point bbox=GeoDataFrame(geometry = [Point(point[::-1])], crs = 4326) bbox=bbox.to_crs(3174) - bbox=bbox.buffer(radius) + bbox=bbox.buffer(radius+dilate) bbox=bbox.envelope # Load the polygons for the coastline from a file geometries=read_file(file_location, bbox=bbox)