290 likes | 409 Views
The Finnish ‘DigiRoad’ Dataset in EuroRoadS Schema. Lassi Lehto Finnish Geodetic Institute. Agenda. DigiRoad Schema mapping Translating WFS experiment Tools Further tests. DigiRoad. New dataset of the Finnish road network Contains all roads and streets
E N D
The Finnish ‘DigiRoad’ Dataset in EuroRoadS Schema Lassi Lehto Finnish Geodetic Institute
Agenda • DigiRoad • Schema mapping • Translating WFS experiment • Tools • Further tests
DigiRoad • New dataset of the Finnish road network • Contains all roads and streets • Also cycling and pedestrian paths • Centralised database • 555 € / whole country, for non-commercial use • Contributors • Finnish Road Administration • National Land Survey • Local authorities • Actual operation by private sector • http://www.digiroad.fi/en_GB/
2 Geometries copied Attributes copied Segment - Speed limit 1 TrafficElement - Functional class Attributes copied 2 DigiRoad • GDF –based • Delivery in two forms • 1. With linear referencing (dynamic segmentation) • 2. With directly attached attributes
Schema mapping • Done manually • Based mostly on • Textual description of DigiRoad • EuroRoadS D 6.3: Road Network Information Model • EuroRoadS GML Application Schema 3.1 • No UML available for DigiRoad • No tools to work with Visio, EA, RR files • XMI in Eclipse with XML Modeler
Schema mapping TrafficElement ER_RoadLink roadType = 1 or 2 or 3 ER_FerryLink roadType = 6
Schema mapping TrafficElement ER_RoadLink reference_ID ER_ObjectId GUID of the original trafficElement - not unique in delivery form 2 the_geom curve lat / lon coordinates projected coordinates MultiLineString LineString
Schema mapping TrafficElement ER_RoadLink level ”ER_RoadElement”
Schema mapping TrafficElement ER_RoadLink type formOfWay 1 := ER_Motorway 2 := ER_MultiCarriageway 3 := ER_SingleCarriageway 4 := ER_RoundaboutCircle 6 := ER_EncosedTrafficArea 8 := ER_SlipRoad 10 := ER_ServiceRoad 13 := other: Area reserved for pedestrians 14 := other: Cycling path 17 := other: Moottoriliikennetien osa
Schema mapping TrafficElement ER_RoadLink national nationalRoadClass 1 := MainRoadS 2 := FirstClass 3 := SecondClass 4 := ThirdClass 0 := UndefinedNationalRoadClass
Schema mapping TrafficElement ER_RoadLink Geometric matching ER_SpeedLimit Segment speedLimit
Schema mapping TrafficElement ER_FerryLink roadType = 6 level ”ER_FerryConnection” formOfFerry ”ER_ShipOrHovercraft”
Schema mapping ER_RoadNode Segment dynType = 9 reference_ID ER_ObjectId level ”ER_Junction” formOfNode ”other: TrafficLight” the_geom location lat / lon coordinates projected coordinates MultiLineString Point
XSLT-Query XSLT-GML XSLT GML-SVG Translating WFS Xerces GeoServer WFS-T WMS Xalan Xalan PostGIS PostgreSQL JTS
Performance • When geometric matching included • 1.5 ms / Feature with a small dataset (0.1 MB) • 3.1 ms / Feature with a big dataset (1.5 MB) • Without geometric operations • Nearly constant 1.0 ms / Feature
Further experiments • Altova MapForce
Further experiments • Streaming Transformations for XML (STX) • SAX-based • Only local operations • Big documents not a problem • Fast • Java implementation: Joost • http://stx.sourceforge.net/