Wykres commitów

122 Commity (1cbad7db7fd90c8744a27dd1aaaea09a4ef9acb0)

Autor SHA1 Wiadomość Data
Matthew Feickert 1cbad7db7f
ci: Add publishing workflow with GitHub Actions
* Test building a sdist and wheel on push events and pull request events
* List contents of sdist and wheel for visual checks / debugging
   - Note that check-manifest is currently incompatible with `prune **`
     strategy
* Publish sdists and wheels to TestPyPI through pushed tags triggered
  through push events
* Publish sdists and wheels to PyPI through published release events
  triggered through GitHub releases
2021-10-05 08:43:07 -05:00
Marcelo de Oliveira Rosa Prates fdf5c28e32
Merge pull request #68 from matthewfeickert/build/add-MANIFEST
build: Add MANIFEST.in with prune strategy
2021-10-05 09:52:04 -03:00
Matthew Feickert 75ca99d2b4
build: Add MANIFEST.in with prune strategy
* Use `prune **` to remove all files from the sdist
    - c.f. https://packaging.python.org/guides/using-manifest-in/#manifest-in-commands
    - "Setuptools also has undocumented support for ** matching zero or
       more characters including forward slash, backslash, and colon."
* Manually include all "default" files for a sdist in MANIFEST.in
    - c.f. https://packaging.python.org/guides/using-manifest-in/#how-files-are-included-in-an-sdist
* Include requirements.txt as not using declartive spec for setup
2021-10-03 16:13:27 -05:00
Marcelo de Oliveira Rosa Prates c32b3019ad
Update README.md 2021-10-01 18:49:54 -03:00
Marcelo Prates 66c1bbf904 Updated release version on setup.py 2021-10-01 18:13:19 -03:00
Marcelo Prates 7d60660999 Removed IPython dependency 2021-10-01 18:09:32 -03:00
Marcelo Prates e8ecfe5e9e Updated setup.py release version 2021-10-01 17:52:14 -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 df448320d1 Merge branch 'main' of github.com:marceloprates/prettymaps into main 2021-10-01 17:36:20 -03:00
Marcelo Prates 5930ba70ad Added support for Point and Line geometries 2021-10-01 17:34:54 -03:00
Marcelo de Oliveira Rosa Prates 0511c9c2f8
Update README.md 2021-09-19 20:24:18 -03:00
Marcelo Prates fae4c9ba7e Added missing imports for examples notebook 2021-09-13 17:52:22 -03:00
Marcelo de Oliveira Rosa Prates abeb0614a8
Merge pull request #59 from JonFreer/truncate
Add truncate_by_edge to fix ways which do not extend to edge of figure
2021-09-13 17:08:17 -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 18c4dd704c
Merge pull request #57 from sacovo/patch-2
catch empty response instead of failing
2021-09-13 16:45:46 -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 649d2d9c5e
Merge pull request #54 from G21-Goose/main
Fix geometry-perimeter intersection Supersedes #48
2021-09-13 16:43:04 -03:00
Marcelo de Oliveira Rosa Prates 2a25aaadee
Merge branch 'main' into main 2021-09-13 16:41:31 -03:00
Marcelo de Oliveira Rosa Prates cae4748330
Merge pull request #41 from TheJokersThief/patch-1
Remove jupyter dependency
2021-09-13 16:38:25 -03:00
Marcelo Prates 10d08d1fd8 Added 'read the docs' link to README 2021-09-13 16:37:17 -03:00
Marcelo Prates 9dfc42e2e1 Added readthedocs.yml 2021-09-13 16:29:19 -03:00
Marcelo Prates 1bccebed4d Added docs 2021-09-13 16:22:00 -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
G21-Goose 7f3105c047
Merge branch 'marceloprates:main' into main 2021-09-06 14:21:27 +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 560ecf95ca
Merge pull request #47 from G21-Goose/main
Rendering coastline
2021-09-06 09:10:25 -03:00
Marcelo de Oliveira Rosa Prates 25884a2be5
Merge branch 'main' into main 2021-09-06 09:10:17 -03:00
Marcelo de Oliveira Rosa Prates fdb890c236
Merge pull request #40 from chrieke/black_code_formatting
Black code formatting
2021-09-06 09:06:57 -03:00
Marcelo de Oliveira Rosa Prates b146848d5a
Merge pull request #39 from chrieke/polygon_from_bounds
Use shapely.geometry.box for polygon from bounds
2021-09-06 09:05:54 -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
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
Evan Smith 79454682b8
Whoops, still need ipython 2021-08-30 19:43:10 +01:00
Evan Smith d5db9865f4
Remove jupyter dependency
The jupyter package isn't used in the code so it can be removed, which also removes a lot of knock-on dependencies as well and makes it quicker to install the project :)
2021-08-30 18:06:23 +01:00
Christoph Rieke 8312319f51 apply black code formatting 2021-08-30 15:28:51 +02:00
Christoph Rieke 29f57e894b use shapely.geometry.box for polygon from bounds 2021-08-30 14:32:43 +02: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