Go to file
vv01f d2b1939e6e
fix link name
2019-06-07 14:36:41 +02:00
.gitignore add ignore for auth info 2019-05-21 23:11:07 +02:00
README.markdown fix link name 2019-06-07 14:36:41 +02:00
create-geojson.sh learning python boolean 2019-06-06 12:39:15 +02:00
lookup.py fix GeoJSON: lat/lng order and geojson “header” 2019-06-07 14:25:50 +02:00
prepare.sh fix expected label different from physical city 2019-06-06 12:19:19 +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 automically

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
  • create PNG from the SVG and deploy
  • document for others to use

data

POI

r 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 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)