34
Taming Rich GML with Stetl Just van den Broecke 5 minute presentation at OSGeo.nl Stammtisch Wageningen November 7, 2012 www.osgeo.nl www.justobjects.nl

5 Minute Intro to Stetl

Embed Size (px)

DESCRIPTION

5-minute intro to Stetl an Open Source lightweight framework for handling the conversion and transformation (ETL) of in particular complex/rich GML. Stetl uses and combines existing tools like GDAL/OGR and XSLT. Python is used as glue. Users configure an ETL-process chain through a configuration. More at http://stetl.org

Citation preview

Page 1: 5 Minute Intro to Stetl

Taming Rich GMLwith Stetl

Just van den Broecke5 minute presentation at OSGeo.nl Stammtisch Wageningen

November 7, 2012www.osgeo.nl

www.justobjects.nl

Page 2: 5 Minute Intro to Stetl

We have a Problem

Page 3: 5 Minute Intro to Stetl

The Rich GML Problem

Page 4: 5 Minute Intro to Stetl

Rich GML = Complex Mess

Page 5: 5 Minute Intro to Stetl

INSPIREBAGBGT

Top10NL.

Page 6: 5 Minute Intro to Stetl
Page 7: 5 Minute Intro to Stetl

The Streetname!

Page 8: 5 Minute Intro to Stetl

Complex Model

Transformations

Page 9: 5 Minute Intro to Stetl

Millionsof

Objects

Page 10: 5 Minute Intro to Stetl

10s of Millionsof

<Elements>

Page 11: 5 Minute Intro to Stetl

MultipleTransformation

Steps

Page 12: 5 Minute Intro to Stetl

Solution is Spatial ETL

Page 13: 5 Minute Intro to Stetl

A.K.A.

Page 14: 5 Minute Intro to Stetl

Thank You for your

Attention!

Page 15: 5 Minute Intro to Stetl

But.......FOSS ? ... Stetl...?

Page 16: 5 Minute Intro to Stetl

FOSS ETL - High Level

Page 17: 5 Minute Intro to Stetl

FOSS ETL - Lower Level

But Each Powerful by Itself

ogr2ogr

Page 18: 5 Minute Intro to Stetl

FOSS ETL - DIY ? (No!)

Page 19: 5 Minute Intro to Stetl

FOSS ETL - How to Combine?

=+ + ?ogr2ogr

Page 20: 5 Minute Intro to Stetl

FOSS ETL - Add Python to Equation

=+ + ?( )ogr2ogr

Page 21: 5 Minute Intro to Stetl

=+ +

Stetl

( )ogr2ogr

Page 22: 5 Minute Intro to Stetl

Stetl=

SimpleStreaming

SpatialSpeedy

ETL

Page 23: 5 Minute Intro to Stetl

Process Chain

Input Filter Outputgml

Filter

Page 24: 5 Minute Intro to Stetl

Speed: Streaming

Input Filter Outputgml

Page 25: 5 Minute Intro to Stetl

Speed: Going Native

Input Filter Outputgml

ogr2ogr stETL

Native C Libs/Progs

Calls

Page 26: 5 Minute Intro to Stetl

Example: GML to PostGIS

Reader XMLSplitter ogr2ogr

gml

Page 27: 5 Minute Intro to Stetl

Example: INSPIRE Model Transform

ogr2ogr XSLT Writergml

Page 28: 5 Minute Intro to Stetl

Example: deegree Store

ogr2ogr XSLT deegreeWriter

Page 29: 5 Minute Intro to Stetl

Process Chain - How?

Input Filters Output

Page 30: 5 Minute Intro to Stetl

Example: XML to Shape

The Source

Page 31: 5 Minute Intro to Stetl

Example: XML to Shape

First: XSLT Transform to GML

Page 32: 5 Minute Intro to Stetl

Example: XML to Shape

XMLInput XSLT ogr2ogr

Page 33: 5 Minute Intro to Stetl

Example: XML to Shape

The Stetl Chain Config File

ProcessChain

Reader

XSLT

ogr2ogr