Skip to content

20141113 Tech Meeting

mikelmaron edited this page Nov 14, 2014 · 6 revisions

Goal

For each of the 5 international OSMGeoWeek tasks

  • produce animation, charts, before/after slider
  • integrated into osmgeoweek.org website
  • updated every 15 minutes

AOI Defintion

The details of the task AOI and other parameters are published to http://osmgeoweek.org/projects.geojson

ACTIONS

  • Tom: Share AOI for Philippines and Sri Lanka
  • Mikel: Determine AOI for Nepal with KLL
  • Mikel: Update project definitions with AOIs

Before / After

Tom has a repeatable process for generate "before" tile sets. We'll template-ize the slider ui in the OSMGeoWeek site, and make configurable for each project.

Process

  • Download current planet file.
  • Use osm splitter (need link pls) to produce pbf for each AOI.
  • Load each extract with osm2pgsql
  • In TileMill, create project for each AOI, and generate tiles with default OSM style
  • Publish to MapGive MapBox account

ACTIONS

  • Tom: Generate tile sets for each AOI (will pair with Mikel if blockers encountered)
  • Tom: Share mapbox mapid for each AOI
  • Tom: Share link to slider UI github repo
  • Mikel: Integrate slider UI in OSMGeoWeek
  • Mikel: Update project definitions with MapBox ids

GeoGig

Patrick has easily configurable scripts to create and snapshot updates of GeoGig repositories, per defined APIs and tag "mappings". Create repositories for all 5 projects, with associated mappings, and set up to update every 15 minutes.

Each mapping is a file within a directory. Define as "dir:file;dir:file". Order of mappings in GeoJSON indicates priority, in case only one mapping can be defined.

ACTIONS

  • Patrick: Configure scripts for each of 5 projects, with snapshot every 15 minutes by cron.
  • Mikel: Define the mappings for each project (in yaml) in OSMGeoWeek site, and publish via projects.geojson

Animation

Each Project AOI will have associated animations.

ACTIONS

  • Patrick: cron to generate animation from GeoNode layers, and publish to s3
  • Patrick: share url template for animations, dependent on project url on OSMGeoWeek site, and mapping
  • Patrick: configure no cache for images
  • Mikel: Link animation into project layout on OSMGeoWeek site

Charts

Each Project AOI will have an associated chart, showing the increase in features over the week.

Charts will be generated with Google Charts. Possibly will publish image to S3 to integrate into OSMGeoWeek site; or publish TSV to S3, to integrate with Google Charts JS API. TSV contains columns with simply timestamp and count.

https://developers.google.com/chart/

ACTIONS

  • Patrick: for each project/mapping, create script (called from cron every 15 minutes) to query Geonode layer tables in postgis, and append count to TSV.
  • Patrick: Publish Google Chart Image or TSV to S3
  • Patrick: Share url template for each image, based on project url on OSMGeoWeek site, and mapping
  • Patrick: Configure S3 to allow CORS. And no cache for images
  • Mikel: Link chart image into project layout on OSMGeoWeek site; or integrate TSV in Google Charts JS.

Clone this wiki locally