]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.network.ontology/graph/DistrictNetwork.pgraph
Lots of changes to district stuff
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetwork.pgraph
index ade6b1c5992bd63011cc5eabe4119e56b71e8e46..5c30822b1f856c9cbcc8d79611a23f619f9938cc 100644 (file)
@@ -15,12 +15,10 @@ DN = <http://www.simantics.org/DistrictNetwork-1.0> : L0.Ontology
 DN.Layer <T DIA.Layer
 
 DN.Edge <T DIA.Element : L0.Type
-    @L0.assert DN.HasMapping DN.Mapping.Dummy
     @L0.assert DN.Bidirectional false
     @L0.assert DN.Edge.HasDiameter 1
 
 DN.Vertex <T DIA.Element : L0.Type
-    @L0.assert DN.HasMapping DN.Mapping.Dummy
     @L0.assert DN.Bidirectional false
 
 DN.Bidirectional <R L0.HasProperty : SEL.GenericParameterType
@@ -71,15 +69,12 @@ DN.HasInLayerTag <R L0.HasProperty
 
 DN.Connection <T DIA.Connection
 
-DN.Mapping.Dummy : DN.Mapping.Base
-
 DN.Diagram <T DIA.Diagram
-    @L0.assert DN.VertexDefaultMapping DN.Mapping.Dummy
-    @L0.assert DN.EdgeDefaultMapping DN.Mapping.Dummy
 
 DN.AddLayerToDNDiagramTemplate <T L0.Template
 
-DN.EPSG_4326 <T DN.SpatialRefSystem
+DN.EPSG_4326 : DN.SpatialRefSystem
+    L0.HasLabel "EPSG:4326"
     DN.HasSRID 4326
     DN.HasSRTEXT _ : L0.String
         @L0.loadString "epsg/EPSG_4326"