Jsonix: Talking to OGC Web Services in JSON

Video in TIB AV-Portal: Jsonix: Talking to OGC Web Services in JSON

Formal Metadata

Title
Jsonix: Talking to OGC Web Services in JSON
Title of Series
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Germany:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this license.
Identifiers
Publisher
Release Date
2015
Language
English
Producer
FOSS4G KOREA
Production Year
2015
Production Place
Seoul, South Korea

Content Metadata

Subject Area
Abstract
Can you talk to OGC Web Services in JSON instead of XML? You can - with Jsonix, a powerful JavaScript tool for XML - JSON conversion. JSON has probably already replaced XML as a "lingua franca". JSON is much lighter and easier to use than XML, especially in JavaScript-based web apps. In the context of GIS, web mapping is dominated by JavaScript libraries like OpenLayers and Leaflet, which speak JSON natively. But what about the standards? Open Geospatial Consortium defines more than 50 specifications with more than 100 individual versions. Technically almost all of them are XML-based and defined by XML schemas. These are de jure and de facto standards, widely used and well supported. So you still need XML processing in JS web mapping apps. Processing XML is no rocket science, but it's seldom a pleasure to implement. The OL3 KML parser is about 2.5KLoc of dense XML parsing. Even a very simple WMS GetCapabilities format is almost 1 KLOC. From this code around 90% is pure XML parsing and only 10% is the processing of the payload. Would not it be nice if we could talk to the OGC Web Services directly in JSON? So that the developers could focus on the 10%, the payload processing, and cut off the 90% (XML handling) of the effort. Jsonix is an open source library for XML - JS conversion which makes it just possible. With Jsonix you can take an XML Schema and generate XML - JS mappings. These mappings allow you to parse XML in the original schema and get your data in pretty JSON. It also works in the opposite direction: you can serialize JSON in XML, which would correspond to the original XML Schema. What makes Jsonix unique is that it is type and structure-safe. On the JSON side, you will get types and structures exactly as they are defined in the original XML Schema. For instance, xs:decimal is converted into a number in number in JSON, repeatable elements are represented by arrays etc. You just need the corresponding mapping. You can generate Jsonix mappings on your own or use one of the pre-generated mappings. The (unofficial) OGC Schemas Project compiles and provides mappings for many of the popular OGC schemas (OWS, WMS, WFS, CSW, SLD and many more). This presentation gives an overview of Jsonix demonstrates its usage by a number of examples.
Loading...
Standard deviation Texture mapping Coordinate system Icosahedron Mereology Theory Geometry Tensor Resonance Type theory Computer cluster Telecommunication Semiconductor memory Spacetime MiniDisc Library (computing) Mobile app Inheritance (object-oriented programming) Server (computing) Point (geometry) Computer file Open source Client (computing) Binary file Deutscher Filmpreis Web browser Product (business) Web service Revision control Data conversion Quicksort Family Physical system
Context awareness Uniform resource locator Data mining Parsing Link (knot theory) Function (mathematics) String (computer science) Multiplication sign Revision control Code Parsing
Boolean algebra Texture mapping Multiplication sign File format Library catalog Compiler Order (biology) Type theory Query language Form (programming) Data type Imperative programming Inheritance (object-oriented programming) Sine Computer program Java applet Code Usability Attribute grammar Numbering scheme Element (mathematics) Number String (computer science) Revision control Data conversion Exception handling Family Data structure Resultant
Digital filter Error message Patch (Unix) Texture mapping Compiler Complex (psychology) Open source Revision control Collision Social class Numbering scheme
Digital filter Revision control Numbering scheme
Mobile app Mathematics Texture mapping Execution unit Open source Data conversion Process (computing) Numbering scheme Rule of inference Library (computing) Theory Scalable Coherent Interface
Arithmetic mean
8 (number)
Web service Physical system
Web service Convex hull Physical system
now
my parents my theory of mind or I my might have a very and my friend of my friend or I might or might be a mild mannered or in my mind when in the a minority of a minority might be a part of my my my parents I know I would be a very minor minor a mile in the minority of a minority of my in my in my in my mind for a minority of a minority of a minority of a minority in my mind and in my in my mind or in my room the minority of a minority of my mind and my original around my my a my brother and my my my memory minority my in my mind I'm around my parents my parents and my career sort my around my parents I
know rarely a mind like a friend of mine
my my my my I might be in a minority I know my mind around I would I would I would I would my accuracy might remember my my my a my my my during my a lot a minus a minus a minus from my time there is a
form of a minority by a lot of my
my my in my mind was the mind's a minor in minor in the mind of a minority in my mind and my my my were my mind my mind or a minor a minority of a minority and my my my my my my my and I have a my way around my my in my mind during my my my my my my my my my or my or my my my my my my my my parents and my in my mind a in my hand a mind I think I think there might be a good of the mind the mile or a mile from my mind at the time of my in my mind and my mind and my my my my parents and my my my a my name in the mind of my mind and I were in the a mind of my mind around my literary my in my mind as a result of my money in your mind you might not be around my my my my my my the my in my family of my and my my my in my mind that I might have a my my my my my my mother and my in my mind I might have a my my my in my mind and I would
like to know what my my my my
my my my my my my my the my my my my my my my my my my my in my mind and my name my minority world of my my my my my in my a minority of the mind
of a minor minor my my my a lot of my
a mile and a half minus a my i want i want i a i a
i a a a a a a a you know a minority of a minority I might be a lot of my i my my my my I I I I I I I my of my of my my my my the theory of the mind of the the the rules rule and you show that all in the change in the future
and if you think you should be doing to to show the world a a a a a unit and that and you were you you you you you in the form of
the the the the the the the meaning of the in the in the in the in the in the in the
in the in the in the in the past and the and the land around and around and around and around and around and around and
around
and around and around a lot and I have a friend who I know around the origin and the and and and the words in
the in the in the in the in the in the in the
in the in the in the in the in the in
the in and around
and around and around and around and around and around and around and around and around and and around and around and around and around and around and around and around and around and around and around and around and around and around and around and around and around and around and around the world in the
in the in the in the in the in the in the in the in the in the in the painting of the kind of thing around
and around and around and around and around and around the world and the review of the of the of the origin of the of
the of the of the of the of the or the the the the the the the the the the the the the the the the the moons of of the of the of the of the of the of the of the of the of the of the of the of the of the the
Loading...
Feedback

Timings

  322 ms - page object

Version

AV-Portal 3.19.2 (70adb5fbc8bbcafb435210ef7d62ffee973cf172)
hidden