|
1 | | -# [maps.berlin.codefor.de](https://maps.berlin.codefor.de/) |
| 1 | +# maps.berlin.codefor.de |
2 | 2 |
|
3 | | -An overview of the map data avaliable on the server. |
| 3 | +On [maps.berlin.codefor.de](https://maps.berlin.codefor.de), you can compare current aerial images from the |
| 4 | +[Geoportal Berlin](https://gdi.berlin.de) with earlier years and historical maps, like the map of Berlin 1:5000 or |
| 5 | +the urban development of Berlin since 1650. |
4 | 6 |
|
5 | | -## Other projects |
| 7 | +This is a project of the [OK Lab Berlin](https://codefor.de/berlin). |
6 | 8 |
|
7 | | -* [luftbilder.berlin.codefor.de](https://luftbilder.berlin.codefor.de) is focussed on areal images from differnt years [Github](https://github.com/codeforberlin/luftbilder.berlin.codefor.de) |
8 | | -* ~~https://tiles.codefor.de/ shows the same data as this site [Github](https://github.com/jochenklar/tiles)~~ (Archived) |
9 | | -* [github.com/codeforberlin/mapproxy-config](https://github.com/codeforberlin/mapproxy-config) is a map proxy for some imagery layers by the City of Berlin |
10 | | -* [github.com/codeforberlin/tilestache-config](https://github.com/codeforberlin/tilestache-config) is the config for serving areal imagery from file ([config](https://github.com/codeforberlin/tilestache-config/blob/master/config.json)) |
| 9 | + |
| 10 | +## Related projects |
| 11 | + |
| 12 | +* [github.com/jochenklar/maps](https://github.com/jochenklar/maps) is the app to compare tiled maps side by side, |
| 13 | + which this site is built with |
| 14 | +* [github.com/codeforberlin/luftbilder.berlin.codefor.de](https://github.com/codeforberlin/luftbilder.berlin.codefor.de) |
| 15 | + is the sister site [luftbilder.berlin.codefor.de](https://luftbilder.berlin.codefor.de), which focuses on the |
| 16 | + aerial images of Berlin from 1928 until today |
| 17 | +* [github.com/codeforberlin/gdal-tiles-api](https://github.com/codeforberlin/gdal-tiles-api) is the API which cuts |
| 18 | + out the tiles from Cloud Optimized GeoTIFFs and other datasets using GDAL |
| 19 | +* [github.com/codeforberlin/tiles-config](https://github.com/codeforberlin/tiles-config) is the configuration of |
| 20 | + [tiles.codefor.de](https://tiles.codefor.de), which serves the tiles for the different maps with the GDAL Tiles API |
11 | 21 |
|
12 | 22 |
|
13 | 23 | ## Data source |
14 | 24 |
|
15 | | -The data is sourced from the FIS Broker, City of Berlin. |
16 | | -Find the code at [github.com/codeforberlin/fis-broker](https://github.com/codeforberlin/fis-broker) |
| 25 | +The aerial images and maps are provided by the City of Berlin in the [Geoportal Berlin](https://gdi.berlin.de), |
| 26 | +formerly known as the FIS Broker. The code to fetch them is at |
| 27 | +[github.com/codeforberlin/fis-broker](https://github.com/codeforberlin/fis-broker). |
| 28 | + |
| 29 | + |
| 30 | +## Development |
| 31 | + |
| 32 | +The site is a small [Vite](https://vite.dev) app, the maps are configured in `maps.json` and the rest of the |
| 33 | +config in `maps.config.js`, see the README of [@jochenklar/maps](https://github.com/jochenklar/maps). Install the |
| 34 | +dependencies and start the development server with: |
| 35 | + |
| 36 | +```bash |
| 37 | +make install |
| 38 | +make dev |
| 39 | +``` |
| 40 | + |
| 41 | +`make build` builds the static site into `dist/` and `make preview` serves it locally. `make local` uses a |
| 42 | +checkout of `@jochenklar/maps` in `../maps` instead of the release from npm, and `make deploy` copies the build to |
| 43 | +the server set as `DEPLOY=host:/path` in `.env`. |
0 commit comments