Iet uz failu
vv01f 26a3d5d958
ignore ssl verification
2020-01-30 23:48:14 +01:00
.gitignore add ignore for auth info 2019-05-21 23:11:07 +02:00
README.markdown type 2019-06-17 18:51:40 +02:00
create-geojson.sh ignore ssl verification 2020-01-30 23:48:14 +01:00
lookup.py ignore ssl verification 2020-01-30 23:48:14 +01:00
position.py draft 2019-07-15 21:44:29 +02:00
prepare.sh ignore ssl verification 2020-01-30 23:48:14 +01:00
projection.py draft projection 2019-10-24 13:04:46 +02:00
spaces-map.svg new svg file for more of europe 2019-07-17 23:16:28 +02:00

README.markdown

ccc maps

the svg map used on ccc de is at least potentially outdated and thus in future should be updated automatically

my target process

  • fetch addressed of a convenient source
  • resolve geo coordinates for addresses, e.g. geopy
  • visualize on a map, e. g. via leafletjs or QGIS
  • calculate coordinates to place POI on a SVG with a known projection
  • manipulate SVG so that the POI are shown accordingly even without any application
  • change view port of SVG so it frames the POIs properly
  • create PNG from the SVG and deploy
  • document for others to use

data

POI

the address data source is the semantic documentation wiki, queried with result format

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 in GeoJSON format can be used with e.g. leafletjs or QGIS

Map

The old svg map was nice for Germany only. Over time more European spaces joined and the map could not display all of them.

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)