Presentation is loading. Please wait.

Presentation is loading. Please wait.

Schema Translation – OS Mastermap, but not as we know it Eddie Curtis, Snowflake Software, Greg Byrom, Richie Fyall GeoData Management Group Ordnance Survey.

Similar presentations


Presentation on theme: "Schema Translation – OS Mastermap, but not as we know it Eddie Curtis, Snowflake Software, Greg Byrom, Richie Fyall GeoData Management Group Ordnance Survey."— Presentation transcript:

1 Schema Translation – OS Mastermap, but not as we know it Eddie Curtis, Snowflake Software, Greg Byrom, Richie Fyall GeoData Management Group Ordnance Survey 22 nd September 2005

2 Schema Translation - concepts XML schemas becoming ubiquitous Use of a GML schema (e.g. OS Mastermap) simplifies translation to other market sector specific XML schemas Process of translating from one schema to another often hard- coded, manual process Process can be automated using XML translation software Result is data in almost any market sector specific XML schema

3 Schema Translation – project objectives Objectives of the Schema Translation project were: Prove the concept of schema translation using OS MasterMap as the source Investigate technical feasibility & constraints of using XML translation software for this purpose Understand implications of presenting Ordnance Survey data using different target schemas Understanding implications for internal Ordnance Survey data management

4 Schema Translation – Process diagram Source database Product database Product Adaptor (Hard-coded) Target schemaSource schema Translation Engine

5 Schema Translation – target schemas Target schemas must be semantically similar to the source. E.g. a target schema designed for transport networks can use Integrated Transport Network (ITN) data as the source. Market sector specific schemas can be created, e.g. from Simple Features GML (OGC specification). More complex target schemas can be used to prove the translation process is not too limited by complexity

6 Target schemas chosen EuroRoads would be first choice, but no schema available. KML: Keyhole Markup Language for Google Earth. (Not GML) Simple Features GML: We created a simplified GML schema for both topographic and transport/routing data. GOS-TP (Geospatial One Stop - Transportation Pilot): Transport network schema. OKSTRA: Transport network schema for German road network.

7 Translating OS Mastermap GML

8 Translating OS Mastermap GML (Cont.) Some fields in OS Mastermap match directly to fields in target schema. Naming conventions may be different, however. Where a direct translation between schemas is not possible, various options are available: Build values for fields in target schema from multiple fields in OS Mastermap Constant values can be added XSLT style sheets – e.g. to calculate values such as date formats, or for more complex semantic translation Plug-in extensions for software (KML)

9 Translating OS Mastermap GML (cont)

10

11 ITN to OKSTRA translation

12 Example of output: OKSTRA A demonstration to validate output of OS Mastermap ITN data in OKSTRA schema… A view of OS Mastermap ITN data output to the GOS-TP schema

13 Problems/issues with Schema Translation Fully semantic translation not yet possible E.g. OKSTRA – German road classification different from UK road classification Requires XSLT style sheet – translate the semantics manually Target schemas not well developed – OS Mastermap more comprehensive than most

14 Problems/issues with Schema Translation Very few viewers at present for GML v3 data. OKSTRA and CityGML have their own viewers, but very limited. Values for mandatory fields in target schemas do not exist in source schema – limitation of the target schema E.g. OKSTRA – fields mandatory for legal reasons in Germany but not in the UK

15 Conclusions To do schema translation: Understanding of XML schemas is a necessity. Ability to analyse target schemas and decide which fields to match. Schema documentation is a necessity. OS Mastermap schema very well documented, others vary. Many XML schemas are still in research or development phases, especially market sector specific schemas. Only semantically similar XML schemas can be used as target schemas. Schema Translation is a flexible, useful tool for Ordnance Survey to produce data tailored to market requirements.

16 Contact for further information Customer Contact Centre Ordnance Survey Romsey Road SOUTHAMPTON United Kingdom SO16 4GU Phone: 08456 05 05 05 Fax: 023 8079 2615 Email: customerservices@ordnancesurvey.co.uk Web site: www.ordnancesurvey.co.uk Eddie Curtis CTO Snowflake Software eddie.curtis@snowflakesoftware.co.uk Tel: +44 23 80386571 www.snowflakesoftware.co.uk

17 Questions ? Eddie Curtis CTO Snowflake Software eddie.curtis@snowflakesoftware.co.uk Tel: +44 23 80386571 www.snowflakesoftware.co.uk


Download ppt "Schema Translation – OS Mastermap, but not as we know it Eddie Curtis, Snowflake Software, Greg Byrom, Richie Fyall GeoData Management Group Ordnance Survey."

Similar presentations


Ads by Google