ccc-map/README.markdown

73 lines
2.8 KiB
Markdown
Raw Permalink Normal View History

2019-05-21 23:07:04 +02:00
# ccc maps
the [svg map] used on [ccc de] is at least potentially outdated
2019-06-17 17:59:20 +02:00
and thus in future should be updated automatically
2019-05-21 23:07:04 +02:00
[svg map]: https://chaos.expert/telegnom/erfakarte
[ccc de]: https://www.ccc.de/regional
2019-06-07 14:24:36 +02:00
## my target process
* [x] fetch addressed of a convenient source
* [x] resolve geo coordinates for addresses, e. g. [geopy]
2019-06-07 14:36:41 +02:00
* [x] visualize on a map, e. g. via [leafletjs] or [QGIS]
2019-06-07 14:24:36 +02:00
* [ ] calculate coordinates to place POI on a SVG with a known projection
2019-06-17 17:56:22 +02:00
* [ ] manipulate SVG so that the POI are shown accordingly even without any application
* [ ] change view port of SVG so it frames the POIs properly
2019-06-07 14:24:36 +02:00
* [x] create PNG from the SVG and deploy
* [ ] document for others to use
2019-05-21 23:07:04 +02:00
## data
2019-06-07 14:24:36 +02:00
### POI
2019-06-17 18:51:40 +02:00
2019-05-21 23:07:04 +02:00
the address data source is the semantic [documentation wiki], queried with [result format]
[documentation wiki]: https://doku.ccc.de/Liste_der_Erfa-Kreise_und_Chaostreffs
[result format]: https://www.semantic-mediawiki.org/wiki/Help:CSV_format
2019-06-07 14:24:36 +02:00
To create GeoJSON from recent address data:
1. `prepare.sh` pulls CSV from the Wiki
2. `create-geojson.sh` calls `lookup.py` for each CSV set
3. The resulting [data](https://gitea.c3d2.de/vv01f/ccc-map/src/branch/data) in [GeoJSON] format can be used with e.g. [leafletjs] or [QGIS]
### Map
2019-06-17 17:59:20 +02:00
The old [svg map] was nice for Germany only.
2019-06-07 14:27:32 +02:00
Over time more European spaces joined and the map could not display all of them.
2019-06-07 14:24:36 +02:00
Another point is that the projection parameters of the SVG are not known.
New material can be produced choosing the projection.
One recommended program to do this is [QGIS].
Freely useable data is available on e. g. [Natural Earth].
To create a new SVG Map:
1. Start QGIS, KBS setting recommendation: EPSG:3857 / Pseudo Mercator
2. Drop a Shape-File, e. g. sqlite format (and optionally a GeoJSON-File)
3. Adjust colors in the layers styles
4. Print as SVG (Label for POI data is lost in version 2.18)
[QGIS]: https://qgis.org/ "QGIS"
[Natural Earth]: http://naturalearthdata.com/ "Natural Earth"
[geopy]: https://geopy.readthedocs.io/
2019-06-07 14:36:41 +02:00
[leafletjs]: https://leafletjs.com/
2019-06-07 14:24:36 +02:00
[GeoJSON]: https://geojson.org/ "Website for RFC 7946"
<!--
2019-06-07 14:34:52 +02:00
## Thanks go to …
2019-06-07 14:24:36 +02:00
* [telegnom](https://chaos.expert/telegnom/erfakarte) for patiently describing the problems and needs for the map
2019-06-07 14:34:52 +02:00
* [ax3l](https://github.com/ax3l) for his [spontanious lightning talk](https://media.ccc.de/v/DS2016-7782-lightning_talks#t=5112) on [„Visualisierung Flüchtlingsfeindlicher Vorfälle in Deutschland“](https://github.com/ax3l/chronik-vorfaelle) at [Datenspuren](http://datenspuren.de/) in 2016 getting me started years later when I saw it again
2019-06-07 14:24:36 +02:00
* The [Dresden OSM Meeting](https://wiki.openstreetmap.org/wiki/DresdnerOSMStammtisch) for hinting me on QGIS and an introduction how to use it
* and quite some people helping me to finally polish some python
2019-05-21 23:07:04 +02:00
2019-06-07 14:24:36 +02:00
-->