We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Jsonix: OGC Web Services in JSON

00:00

Formal Metadata

Title
Jsonix: OGC Web Services in JSON
Title of Series
Number of Parts
69
Author
License
CC Attribution - 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 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
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Wie kann man mit den OGC Web Services in reinem JSON (statt XML) sprechen? Mit Jsonix, einem mächtigen JavaScript-Tool für XML-JSON Konvertierung. Es gibt Live-Demos von WMS, WFS, CSW sowie OL3 WPS Client. JSON hat wahrscheinlich XML schon längst als "lingua franca" ersetzt. Es ist viel leichtgewichtiger und einfacher zu verwenden als XML, vor allem in den JavaScript-basierten Web Apps. Das Web GIS Umfeld wird von JavaScript-Bibliotheken wie OpenLayers und Leaflet dominiert. Für die gehört JSON sowieso zur Muttersprache. Aber die OGC-Standards sind fast alle XML-basiert und durch XML Schemata spezifiziert. Also, muss man auch in JS-Apps XML sprechen können. Und das ist lästig. Der OL3 KML-Parser ist über 2.5KLoc, davon ist ca. 90% reines XML-Parsing und nur 10% die Payload-Verarbeitung. Wäre es nicht schön, wenn man mit den OGC Web Services in JSON sprechen könnte? Und 90% des Aufwands sparen? Jsonix ist eine Open-Source Bibliothek für die XML-JS Konvertierung, die genau das möglich macht. Mit Jsonix kann man ein XML Schema nehmen und daraus eine Mapping-Datei erzeugen. Damit kann man zwischen XML und JSON in beiden Richtungen konventieren. Dabei ist Jsonix Typ- und Struktur-sicher. Z.B. wird es aus `xs:decimal` ein `Number`, und da wo in XSD ein wiederholbares Element war, bekommt man in JSON einen Array. Die Mappings kann man entweder selber generieren - oder eines der vorgenerierten holen. Das `OGC Schemas` Projekt liefert vorgenerierte und durchgetestete Mappings für viele OGC Schemas (WMS, WFS, CSW, ...). Dieser Vortrag gibt eine Überblick von Jsonix und zeigt es Live in WMS, WFS, CSW sowie OL3 WPS Client Demos vor.
JavaScriptStandard deviationComputer animationLecture/Conference
Web serviceXML.NET FrameworkTexture mappingWEBJavaScriptJavaScriptProfessional network serviceExecution unitRoute of administrationOrbitDirection (geometry)Open sourceComputer animation
JavaScriptTypInternetdienstProcessing <Programmiersprache>Level (video gaming)XMLSampling (statistics)JavaScriptScripting languageSet (mathematics)Standard deviationLecture/ConferenceComputer animation
XMLWeb serviceMobile appServer (computing)AMD <Marke>JavaScriptComputer fileWeb browserLösung <Mathematik>Airline <Programm>Standard deviationData typeXMLServer (computing)Client (computing)Software testingLecture/ConferenceComputer animation
Artificial neural networkBlu-ray DiscParsingSummierbarkeitMobile appSubversion <Programm>Hidden Markov modelAeronautica Nazionale RepubblicanaEIBSun <Marke>Computer animation
Link (knot theory)XMLUniform resource locatorCodeParsing3 (number)Version <Informatik>Web serviceString (computer science)MEGATypTexture mappingTypprüfungXMLData typeCodeMathematical structureXML-SchemaNamespaceString (computer science)Direction (geometry)InformationJavaScriptBackdoor (computing)Software testingTotal S.A.IndexStress (mechanics)Object (grammar)Computer animation
Computer programTypprüfungRepository (publishing)Workplace ShellGraphic WorkshopGraphical user interfaceXMLWeb serviceFocus (optics)Open sourceTypMobile appJavaScriptInternetdienstCompilerJavaScriptScientific modellingWeb browserFocus (optics)Gebiet <Mathematik>Direction (geometry)Web serviceProcess (computing)Data typeFile formatSoftware developerParsingMathematical structureWritingOpen sourceApache MavenStatement (computer science)Computer animation
JavaScriptDirection (geometry)Scientific modellingMathematical structureOpen sourceInformationData typePlane (geometry)XMLLink (knot theory)Generating functionProduct (category theory)File formatInternetdienstSource codeInformation modelChain ruleVariable (mathematics)Lecture/Conference
Computer animation
Transcript: German(auto-generated)