You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
vv01f 26a3d5d958
ignore ssl verification
3 years ago
.gitignore add ignore for auth info 4 years ago
README.markdown type 4 years ago
create-geojson.sh ignore ssl verification 3 years ago
lookup.py ignore ssl verification 3 years ago
position.py draft 4 years ago
prepare.sh ignore ssl verification 3 years ago
projection.py draft projection 4 years ago
spaces-map.svg new svg file for more of europe 4 years ago

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)