72 Commits

Author SHA1 Message Date
adrian 49229bb8f3 mark more things that are green-lands
parks and sport pitches that are outside of parks, and whatnot.
2025-07-18 16:32:12 -04:00
adrian e3c957319d upgrade a few dependencies.
newer python 3.12+ requires newer numpy.  newer numpy requires newer osmnx.

multiple numpy version (1.26+ and 2.3+) work fine with python 3.12+
2025-07-18 16:31:13 -04:00
adrian d7d0bf7bcc minor: remove execute bit on non-executable files. 2025-07-18 14:01:34 -04:00
Marcelo Prates ec0ef4db78 Reorganized repo structure, added github workflows 2025-05-16 20:09:31 -03:00
marceloprates fe3d73c2c9 Changed location of elevation file 2025-03-03 19:08:11 -03:00
marceloprates 726fb4c67c Changed location of elevation file 2025-03-03 19:00:21 -03:00
marceloprates 6ad8f8a1a9 Updated app 2025-03-03 18:20:58 -03:00
marceloprates 06915bc803 updated app 2025-03-03 15:20:53 -03:00
marceloprates 8fd248e85e updated app 2025-03-03 15:16:02 -03:00
marceloprates bce6af8d18 updated app 2025-03-03 14:59:03 -03:00
marceloprates 9ca09a8b2c updated app 2025-03-03 14:54:29 -03:00
marceloprates bd1dcb4ab8 updated app 2025-03-03 14:48:42 -03:00
marceloprates fe064afa79 updated app 2025-03-03 14:46:40 -03:00
marceloprates 421ff6c25a merge 2025-03-03 14:16:58 -03:00
marceloprates c9296bf973 1) Added support for rendering sea geometries automatically 2) added support for drawing hillshades 3) added support for adding keypoints 4) refactored code 5) optimized code by making fewer requests to overpass API 6) added frontend (streamlit) app 2025-03-03 14:16:23 -03:00
HalFrgrd 68323c567e Use retain_all when fetching graph 2024-07-06 14:16:02 +01:00
Marcelo Prates f0bb0a2008 Removed vsketch from install_requires. User will have to install it manually if they want to use plotter mode, but its not required. 2024-07-02 18:32:07 -03:00
Marcelo Prates f4aab1a676 Fixed minor bugs, added support for vsketch and updated code for compatibility with shapely==2.0.0 and python==3.11 2024-07-02 17:59:10 -03:00
marceloprates e3a176a0b1 Removed ipykernel dependency from requirements.txt due to dependency conflicts 2023-02-13 15:57:13 -03:00
marceloprates c0eb528301 Changed version number (v0.1.7 -> v0.1.8), added shapely, ipykernel and pyyaml dependencies to requirements.txt, removed unused imports from draw.py and fetch.py 2023-02-13 14:39:10 -03:00
marceloprates 78d050ee5b Updated version number, minor changes to draw.py and requirements.txt 2023-02-10 10:48:11 -03:00
marceloprates 3f3b8be923 Fixed problem with prettymaps.plot() 'save_as' parameter 2022-11-16 10:41:53 -03:00
marceloprates e11b7e6289 Fixed presets directory path-related error with preset() function 2022-11-08 13:59:28 -03:00
marceloprates cca6564b22 Fixed presets directory path-related error with presets() function 2022-11-08 13:27:26 -03:00
marceloprates 39ad98cd16 Rewrote dict union operation with old syntax (dict.update()) for compatibility purposes 2022-11-08 11:09:24 -03:00
marceloprates 6b1a9fe79f Fixed relative path for presets folder in draw.py 2022-11-08 10:38:23 -03:00
marceloprates 246bd4a23b Fixed problem with presets folder location on draw.py and setup.py 2022-11-08 10:16:21 -03:00
marceloprates 10d396065d Fixed missing import (pyyaml) and supressed vsketch features due to difficulties in making setup.py install vsketch automatically 2022-11-08 09:36:22 -03:00
Marcelo Prates c6c8f19084 Refactored quite a bit of of the code, simplified the usage of some features, added option of saving / loading presets and updated the examples.ipynb notebook and the README with a short tutorial 2022-11-07 13:32:38 -03:00
Marcelo Prates 4a9e2ac7df Changed license and README 2021-10-18 13:15:29 -03:00
Marcelo Prates 7d60660999 Removed IPython dependency 2021-10-01 18:09:32 -03:00
Marcelo Prates 0f4e7b8554 Appended MIT license to draw.py and fetch.py files 2021-10-01 17:49:52 -03:00
Marcelo Prates 5930ba70ad Added support for Point and Line geometries 2021-10-01 17:34:54 -03:00
Jonathan Freer 85562ad1c3 Merge branch 'main' into truncate 2021-09-13 21:01:16 +01:00
Marcelo Prates 758fb5abbb Small fix (get_geometries was missing 'buffer' parameter) 2021-09-13 16:53:09 -03:00
Marcelo de Oliveira Rosa Prates 74b58711e3 Merge branch 'main' into patch-2 2021-09-13 16:45:39 -03:00
Marcelo de Oliveira Rosa Prates 660019b60b Merge pull request #56 from sacovo/patch-1
Add retain_all to get_streets() for perimeter
2021-09-13 16:44:08 -03:00
Marcelo de Oliveira Rosa Prates eaa41452e6 Merge pull request #55 from JonFreer/main
Fix "Multi-part geometries do not themselves provide the array interface" when using non dict width
2021-09-13 16:43:34 -03:00
Marcelo de Oliveira Rosa Prates 2a25aaadee Merge branch 'main' into main 2021-09-13 16:41:31 -03:00
Marcelo Prates b406259c43 Added support for Point and Line geometries 2021-09-13 16:21:28 -03:00
JonFreer fd4ea4bcaa Add truncate_by_edge 2021-09-07 19:25:19 +01:00
Sandro Covo ca33f516b9 catch empty response instead of failing
If a street is present in the layers with a custom filter that does not
exist in the specified area, osmnx throws an exception and the whole
plotting fails. I suggest catching the exception and just returning an
empty `MultiLineString`. Maybe a warning could also be added, to inform
that the requested street is not present in the result.
2021-09-07 09:03:43 +02:00
Sandro Covo 060affb1e2 Add retain_all to get_streets() for perimeter
Commit #33 added the option, but only when specifying a point and radius, not a perimeter.
2021-09-07 08:59:41 +02:00
JonFreer 5445fe8bd0 Fix Issue with fixed Width 2021-09-06 19:00:01 +01:00
Colm McDonald f996e8ea12 Merged changes from geometry-intersection
Quite a few merge errors had to be fixed
2021-09-06 14:11:15 +01:00
Marcelo de Oliveira Rosa Prates 25884a2be5 Merge branch 'main' into main 2021-09-06 09:10:17 -03:00
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