INTERLIS 2.3;

!!@ technicalContact=mailto:info@blw.admin.ch
!!@ furtherInformation=https://www.blw.admin.ch/blw/de/home/politik/datenmanagement/geografisches-informationssystem-gis/minimale-geodatenmodelle.html
!!@ IDGeoIV=153.2
MODEL Perimeter_Building_zones_LV95_V1_3 (de)
AT "http://models.geo.admin.ch/BLW/"
VERSION "2017-03-21"  =
  IMPORTS GeometryCHLV95_V1;

  DOMAIN

    SurfaceWithOverlaps5m = SURFACE WITH (ARCS,STRAIGHTS) VERTEX GeometryCHLV95_V1.Coord2 WITHOUT OVERLAPS>5;
 
  DOMAIN                                      !! from CHBase; for cantonal codes
    BuildingCodes (FINAL) = (R1,R2,R3,I1,I2,I3,N);


  DOMAIN  

  TOPIC Validity =

    /** Für dieses Jahr haben die Daten in diesem Modell Gültigkeit
     */
    CLASS Validity_year =
      Validity_year : MANDATORY INTERLIS.GregorianYear;
    END Validity_year;

  END Validity;

  TOPIC Building_zones =
    OID AS INTERLIS.UUIDOID;

    /** Perimeter der Building_zones
     */
    CLASS Building_area =
      Area : MANDATORY Perimeter_Building_zones_LV95_V1_3.SurfaceWithOverlaps5m;
      Accepted_Date : MANDATORY INTERLIS.XMLDate;
      Building_class : Perimeter_Building_zones_LV95_V1_3.BuildingCodes;
    END Building_area;

  END Building_zones;

END Perimeter_Building_zones_LV95_V1_3.
