Skip to content

Commit ff8286a

Browse files
authored
Merge pull request #8 from gedankenstuecke/update_binder
Support downloading files directly into container
2 parents 6ebd631 + 47417ef commit ff8286a

File tree

3 files changed

+270
-28
lines changed

3 files changed

+270
-28
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ RUN mkdir -p ${HOME}/output
6666
RUN mkdir -p ${HOME}/pgdata
6767
WORKDIR ${HOME}
6868

69+
RUN git clone https://github.com/geofabrik/sendfile_osm_oauth_protector
70+
6971
ENTRYPOINT ["./entrypoint-new.sh"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Make a image of OSM data of an area from 2 dates, showing what was changed.
44

55
You can either install the necessary dependencies on your computer or run the script via Docker (both via MyBinder or in a local container).
66

7-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gedankenstuecke/osm-mapping-party-before-after/binderrize?labpath=make-images.ipynb)
7+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/amandasaurus/osm-mapping-party-before-after/main?labpath=make-images.ipynb)
88

99
## Making a local Installation
1010

@@ -34,7 +34,7 @@ You can either install the necessary dependencies on your computer or run the sc
3434
3535
If you do not want to install the whole pipeline yourself, you can run this setup in a Docker container that is ready-to-use and that can also run in the free-to-use open source cloud infrastructure of _MyBinder_.
3636
37-
If you want to use the _MyBinder_ version, [click here and wait a bit](https://mybinder.org/v2/gh/gedankenstuecke/osm-mapping-party-before-after/binderrize?labpath=make-images.ipynb). This will launch the version online in a virtual machine and lets you interact with the code through a small Python notebook that will launch automatically and contains all necessary instructions.
37+
If you want to use the _MyBinder_ version, [click here and wait a bit](https://mybinder.org/v2/gh/amandasaurus/osm-mapping-party-before-after/main?labpath=make-images.ipynb). This will launch the version online in a virtual machine and lets you interact with the code through a small Python notebook that will launch automatically and contains all necessary instructions.
3838
3939
The MyBinder version has two drawbacks: 1. You will have to upload the OSM history file (_\*.osh.pbf_) into the container. Depending on the region of interest these can be quite large. 2. Creating the maps will take longer, as other external downloads will have to be downloaded on the fly. See [this blog post for more details](https://tzovar.as/map-comparisons/).
4040

0 commit comments

Comments
 (0)