Skip to content

Generate PMD Features of Interest (FOI) from ONS CORD Geography codes and wikidata boundaries

License

Notifications You must be signed in to change notification settings

GSS-Cogs/wikidata-foi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wikidata-foi

This pipeline generates PMD Feature of Interest data for CORD Geographies.

The input is two files:

Run the test pipeline:

$ lein run test/resources/eg-collections.csv test/resources/eg-features.csv cord-foi-test.nq

Run the full pipeline (WIP):

$ lein run resources/cord-collections-two-level.csv resources/cord-features-two-level.csv cord-foi.nq

The resources folder contains a world boundary taken from Natural Earth Vector Data and processed using QGIS:

  • Layer > Add Layer > (natural earth)
  • Select All (CTRL-A)
  • Deselect Antarctica (CTRL-Click)
  • Vector > Geoprocessing Tools > Dissolve (creates layer "Dissolved")
  • Select "Dissolved" layer then Vector > getWKT

The resources folder also includes a copy of the source shapefiles and qgis project from this process.

It is recommended that future iterations of this pipeline ought to adopt the Natural Earth data directly instead of requesting these geometries one-by-one from wikidata. The processing of country boundaries to form aggregates should also take place within the pipeline instead of using a GUI tool.

The Jenkinsfile describes the overall process.

License

Copyright © 2018 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Generate PMD Features of Interest (FOI) from ONS CORD Geography codes and wikidata boundaries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published