excellence center for fme - json, xml, and gml …...new in fme 2016: tree navigation xml reading...
TRANSCRIPT
JSON, XML, and GML
Made Easy
1
Bild 1
1 To do - [email protected] missing materials from here on.Tiana Warner;
Agenda
● JSON, XML, & GML
overview
● Easy XML
– Tree navigation
● Automatic JSON– Auto schema scan
● Schemaless GML– Reading GML / WFS
without a schema
Why JSON, XML, & GML?
• Commonly used in exchange formats,
open standards, web services
• Language of the web and REST APIs
• Supports loose integration across diverse
applications
• Critical for cross-platform and mobile
applications
JSON, XML, and GML in FME
• Read and write 40+
XML, GML, and JSON
based formats.
• Extract, format,
template, map,
update, and many
other transformations.
Working with JSON, XML, and GML
is easier than ever in FME 2016.
Challenge:
Reading XML
Use XML, they said.
It will be fun, they said.
New in FME 2016: Tree Navigation
XML Reading
with Tree
Navigation
1. Add an XML Reader.
• Set Feature Paths
mode.
• Browse to source
XML data.
2. Select the node you
want to become a
feature type.
XML Reading with Tree Navigation
XML Reading with Tree Navigation
XML Reading with Tree Navigation
XML Reading with Tree Navigation
Demo: Read XML and convert
to spatial geometries
Challenge:
Reading JSON
JSON jargon
has you
jumbled?
JSON Reading
with
Schema Scan
Automatically parse
common forms of JSON
into FME attributes.
JSON Reading with Schema Scan
• No need to write JSON
Query
• Flattens JSON into features
• Geometry: GeoJSON or
OGCWKT formats
• JSON Query still available
when needed
FME 2016 reads both objects and arrays
Demo: Look how easy
it is to read JSON!
GML / WFS Reading
Challenge:
GML is hard to read
without a schema.
Solution:
Ignore schema mode lets
you read almost any GML.
* Schema is still required to validate or write GML.
GML / WFS Reading: Ignore Schema
FME 2016 smoothly skips parser errors
FME can even read new GML formats like GeoSciML (data from British Geological Survey)
GML / WFS Reading: Ignore Schema
Demo: Read WFS
with no schema
• Easier to extract value from XML, GML, and JSON.
• Tree navigation makes it easier to pick XML elements
and build workflows.
• Auto Schema Scan Mode means you can read JSON
without configuring anything.
• You don’t need a schema to read GML / WFS data if
you use Ignore Schema mode.
Resources• safe.com/webinar
• Ways to Make XML Easy
• Manipulating GML Files
• Common JSON Problems
• blog.safe.com
knowledge.safe.com
Thank you!
Questions?