Safe Software's Ken Bragg discusses a project that uses FME and Git to create an open data repository of GeoJSON files on Github that also serves as a collaborative mapping framework.
3. Government of Rioja Spain
Wave – Ola!
Infraestructura de Datos Espaciales
Gobierno de La Rioja
Ana García de Vicuña
&
Pablo Martínez Pérez
4. Second Year in a Row for La Rioja in
FME Stories Around the World
FME World Tour 2013
RapidEye Imagery with FME
see blog.safe
And who can forget their
amazing PDF Series from 2011!
5. Sharing Public Data
Ide Rioja committed to sharing and
collaborating on public data.
Spatial Data Sharing taken to the next level
Creative Commons License
Enter GitHub
6. What is GitHub?
GitHub is a web-based Version Control System
(VCS) which records changes to a file or set of
files over time.
Allows:
commit files to a public repository
revert files back to a previous state
review changes made over time
see who last modified something, and more...
8. How does FME Help?
Of course an FME workspace translates data from
Oracle Spatial to GeoJSON for GitHub….
But first!
FME reads the layer list from GitHub using Python
Scripted Parameter – git pull
the layer list determines which Oracle tables are
read and ultimately translated to GeoJSON
9.
10. How does FME Help?
And after!
FME commits updated GeoJSON to GitHub in Shut
Down TCL Script – git push
Scheduled Job on FME Server
13. The Beauty of GeoJSON in GitHub
GitHub supports automatic rendering of
GeoJSON repositories using Leaflet.js
Looking ahead
geojson.io a Chrome extension for
editing
IDE Rioja plans open collaboration
on spatial data with GitHub
FME can include links to image data
when writing GeoJSON (automatic
download service)
14. Summary
State of Rioja has found a great way to share
open data on GitHub
FME pulls the layer list from GitHub, translates
Oracle data to GeoJSON and commits data to
GitHub
GeoJSON in GitHub is automatically displayed in
a web map viewer with leaflet.js
Next steps – use GitHub to facilitate crowd
sourcing of some datasets
CONNECT. TRANSFORM. AUTOMATE.
15. Thank You!
Questions?
For more information:
Ken Bragg
Safe Software
ken.bragg@safe.com
@KenAtSafe
CONNECT. TRANSFORM. AUTOMATE.