Commit Graph

82 Commits

Author SHA1 Message Date
Colm McDonald 5a5140f388 Add buffer to coastline
If only dilation was used, the sea goes over the perimeter, so buffer is used
2021-08-31 22:39:14 +01:00
Colm McDonald 577bd33393 Implement Plotting coastline with just perimeter and change CRS for loaded polygons
Now using WGS84 shape file https://osmdata.openstreetmap.de/download/water-polygons-split-4326.zip
2021-08-31 20:54:38 +01:00
Colm McDonald ab997b48d5 Use dilate option for coastline 2021-08-31 18:30:29 +01:00
Colm McDonald b53398055d Fixed typos 2021-08-31 01:07:47 +01:00
Colm McDonald 00d5e575db Initial attempt to plot coastline
A first attempt to plot the coastline using water_polygons.shp from https://osmdata.openstreetmap.de/download/water-polygons-split-3857.zip which can be set in a 'coastline' layer with a 'file_location' key pointing to the .shp file
2021-08-31 01:02:45 +01:00
Marcelo Prates 47c5d01e09 Merge branch 'main' of github.com:marceloprates/prettymaps into main 2021-08-29 17:04:02 -03:00
Marcelo Prates 2d3d734f0f Added GeoDataFrame import to draw.py 2021-08-29 17:03:52 -03:00
Marcelo Prates f9256a6282 Style updates to the last two cells of examples notebook 2021-08-29 17:01:55 -03:00
Marcelo de Oliveira Rosa Prates b884d5967c Added GeoDataFrame import to draw.py 2021-08-29 16:28:17 -03:00
Marcelo de Oliveira Rosa Prates d2fa4993ec Merge pull request #33 from G21-Goose/main
Add retain_all option to get_streets()
2021-08-29 15:38:58 -03:00
Marcelo de Oliveira Rosa Prates 348dd92e20 Merge pull request #34 from mei-se/main
fix issue when querying within a polygon
2021-08-29 15:35:55 -03:00
Marcelo de Oliveira Rosa Prates ad6ba895c8 Merge pull request #37 from chrieke/requirements_file
Add requirements file & setup.py improvements
2021-08-29 15:35:16 -03:00
Christoph Rieke d00731283a Merge branch 'marceloprates:main' into main 2021-08-29 19:48:48 +02:00
Marcelo de Oliveira Rosa Prates 86b2c919fb Merge pull request #30 from chrieke/imports_explicit_and_clean
Best practice structure for imports
2021-08-29 14:43:31 -03:00
Marcelo de Oliveira Rosa Prates 5572b742a5 Merge pull request #28 from chrieke/fix_crs
Fix crs instead of dummy request
2021-08-29 14:42:57 -03:00
Marcelo de Oliveira Rosa Prates d0e589bab1 Update README.md 2021-08-29 13:41:20 -03:00
mei-se f52d3e63ce fix issue when querying within a polygon
The `parse_query` function checked whether the `query` parameter was of type `Polygon` or `MultiPolygon`, while the underlying library expected a `GeoDataFrame` (which is also what `get_perimeter` returns).
2021-08-29 16:23:50 +02:00
Colm McDonald 5e3a69d1f3 Add retain_all option to get_streets()
Add retain_all option so that separate graphs can be kept instead of only keeping the largest.
2021-08-28 23:41:42 +01:00
Christoph Rieke b72c15df96 Merge pull request #4 from chrieke/full_setup_py
Full setup py
2021-08-28 22:12:40 +02:00
Christoph Rieke b1a86679b7 exclude unneccesary folders 2021-08-28 22:11:23 +02:00
Christoph Rieke d1ca94b3d0 add description 2021-08-28 22:11:09 +02:00
Christoph Rieke b253b9da26 Merge pull request #3 from chrieke/requirements_file
Requirements file
2021-08-28 22:04:58 +02:00
Christoph Rieke 572c1b54df adjust setup.py 2021-08-28 22:03:21 +02:00
Christoph Rieke 1da63ae4c6 add req.txt 2021-08-28 22:03:13 +02:00
Christoph Rieke dbce9c7a5e Merge pull request #2 from chrieke/fix_crs
fix crs instead of dummy request
2021-08-28 21:06:31 +02:00
Christoph Rieke 5741fc0559 Merge pull request #1 from chrieke/imports_explicit_and_clean
explicit imports, cleaned up, remove comments, clean up
2021-08-28 21:05:28 +02:00
Christoph Rieke 3066525032 explicit imports, cleaned up, remove comments, clean up 2021-08-28 20:57:51 +02:00
Christoph Rieke bebce535c8 fix crs instead of dummy request 2021-08-28 20:39:17 +02:00
Marcelo Prates aa1376a2a3 Cleared outputs from 'installation' cell in examples.ipynb notebook to ease visualization in nbviewer 2021-08-28 14:24:54 -03:00
Marcelo Prates 77515d3c73 Updated 'imports' cell of examples.ipynb notebook 2021-08-28 13:53:22 -03:00
Marcelo Prates 890798c377 Fixed typo ('backup = layers') in Macao cell of examples.ipynb 2021-08-28 13:19:34 -03:00
Marcelo de Oliveira Rosa Prates 8a006d03f7 Merge pull request #11 from kinow/patch-1
Use nbviewer to display the notebook
2021-08-28 13:13:30 -03:00
Marcelo de Oliveira Rosa Prates 3646a498e0 Merge pull request #13 from CharbelAD/main
Added buffer distance in get_streets()
2021-08-28 13:12:38 -03:00
Marcelo de Oliveira Rosa Prates 3a609ebf31 Merge pull request #17 from balloob/devcontainer
Add devcontainer
2021-08-28 13:10:37 -03:00
Marcelo de Oliveira Rosa Prates f279bd2438 Merge pull request #21 from ashirviskas/text_fix
Bug fix for when 'text' param is supplied
2021-08-28 13:09:46 -03:00
Marcelo de Oliveira Rosa Prates 3014f9d6d9 Update README.md 2021-08-27 16:04:56 -03:00
Marcelo de Oliveira Rosa Prates 451e16cbf2 Create FUNDING.yml 2021-08-27 16:01:12 -03:00
Marcelo de Oliveira Rosa Prates f3d290634b Update README.md 2021-08-27 08:42:38 -03:00
Matas Minelga 905f5702ad Bug fix for when 'text' param is supplied 2021-08-27 10:48:31 +03:00
Marcelo Prates 8096aa749c Re-added prints 2021-08-27 00:16:22 -03:00
Marcelo Prates 735fac6025 Removed prints 2021-08-27 00:15:59 -03:00
Marcelo Prates c0ea6e435f Updated Macao print 2021-08-27 00:13:54 -03:00
Marcelo Prates 4ad049d88b Updated prints 2021-08-27 00:09:16 -03:00
Marcelo Prates 42c2770689 Added mandatory OSM credit message (with a reference to this repo) to the map drawing function 2021-08-27 00:06:32 -03:00
Marcelo Prates b778dc9d1d Added HN print to README 2021-08-26 19:33:26 -03:00
Paulus Schoutsen 9098adbdf9 Add devcontainer 2021-08-26 17:14:27 +00:00
Charbel Abi Daher e938eaa614 Added buffer distance in get_streets()
Added a buffer distance in get_streets() to fetch streets that are not fully inside the perimeter.
2021-08-26 15:12:56 +03:00
Marcelo Prates 7f3aa74857 Fixed yet another typo in examples.ipynb... 2021-08-25 23:13:11 -03:00
Marcelo Prates 35258f7b31 Fixed yet another typo in examples.ipynb... 2021-08-25 23:04:39 -03:00
Marcelo Prates a1a71273be Fixed (yet) another typo in examples.ipynb 2021-08-25 22:57:49 -03:00