90 likes | 194 Views
SIM-COP: From Model to Service. Marcus Roy. FSDF Process: Model Service. JSON. WFS WCS WMS. JSON. GeoServer. ESRI. SHP. GML. Mapping File. Data Source. FSDF Data Store. XML. (GML) App Schema . XSD. (GIS) Database. FSDF Mapping + WFS. Product Model.
E N D
SIM-COP: From Model to Service Marcus Roy
FSDF Process: Model Service JSON WFS WCS WMS JSON GeoServer ESRI SHP GML Mapping File Data Source FSDF Data Store XML (GML) App Schema XSD (GIS) Database FSDF Mapping + WFS Product Model Geospatial Queries UML FSDF Model PSMA ABS UML
Building a FSDF Data Store • Spatial Rel.: • State ↔ State • State ↔LGA • LGA ↔LGA FSDF SPATIAL <gml:Point gml:id="Point1"> <gml:pos srsName= "urn:epsg:crs:62836405"> 30.440 36.889 </gml:pos> </gml:Point> • Governance Units • Country, State, LGAs • Statistical Units • MB, SA1, SA2 … FSDF AREA FSDF UNIT “There are some LGAs which extend significantly offshore, hence their centroid does not lie within the state polygon, so they were not picked up in the spatial query…” • Hierarchies: • Country ↔ State • State ↔LGA FSDF HIERARCHY Table Def. Table Data
Spatial Rel. Example: Adjacency State NSW LGA Y(Corowa) LGA X (Moira) Locality Y(Castle Creek) LGA Z • Adjacent: • LGA X adjacent to LGA Y (within datasets) • State NSW adjacent to State VIC • LGA X adjacent State NSW (across datasets) • LGA Z adjacent Locality Y State VIC
Summary: Data Store Model FSDF SPATIAL FSDF HIERARCHY FSDF UNIT
Mapping Complex Feature Types GeoServer App Schema Plugin WFS / WMS / WCS Product Model Schema Mapping File
From Product Schema toWFS Definition Definition WFS Call GML Schema Mapping Mapping This is why we model From GML Definition From Unit Definition From Hierarchical Unit GML Instance