Skip to content

Commit

Permalink
Merge pull request #24 from TatjanaKutzner/master
Browse files Browse the repository at this point in the history
  • Loading branch information
3DXScape authored Oct 7, 2019
2 parents f76dac0 + 72b0c9e commit c775e45
Show file tree
Hide file tree
Showing 11 changed files with 187 additions and 173 deletions.
4 changes: 2 additions & 2 deletions CityGML/Schema/appearance.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@
</sequence>
</complexType>
<element abstract="true" name="AbstractGenericApplicationPropertyOfAppearance" type="anyType"/>
<element name="Appearance" substitutionGroup="core:AbstractFeatureWithLifespan" type="app:AppearanceType">
<element name="Appearance" substitutionGroup="core:AbstractAppearance" type="app:AppearanceType">
<annotation>
<documentation>SIG3D: Named container for all AbstractSurfaceData</documentation>
</annotation>
</element>
<complexType name="AppearanceType">
<complexContent>
<extension base="core:AbstractFeatureWithLifespanType">
<extension base="core:AbstractAppearanceType">
<sequence>
<element minOccurs="0" name="theme" type="string">
<annotation>
Expand Down
7 changes: 0 additions & 7 deletions CityGML/Schema/building.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,6 @@
</appinfo>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="constructionSurface" type="gml:ReferenceType">
<annotation>
<appinfo>
<targetElement xmlns="http://www.opengis.net/gml/3.2">con:AbstractConstructionSurface</targetElement>
</appinfo>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" ref="bldg:AbstractGenericApplicationPropertyOfStorey"/>
</sequence>
</extension>
Expand Down
244 changes: 149 additions & 95 deletions CityGML/Schema/cityGMLBase.xsd

Large diffs are not rendered by default.

23 changes: 9 additions & 14 deletions CityGML/Schema/construction.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:con="http://www.opengis.net/citygml/construction/3.0" xmlns:core="http://www.opengis.net/citygml/3.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlexr="http://www.opengis.net/gml/3.3/exr" elementFormDefault="qualified" targetNamespace="http://www.opengis.net/citygml/construction/3.0" version="3.0.0">
<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:con="http://www.opengis.net/citygml/construction/3.0" xmlns:core="http://www.opengis.net/citygml/3.0" xmlns:gml="http://www.opengis.net/gml/3.2" elementFormDefault="qualified" targetNamespace="http://www.opengis.net/citygml/construction/3.0" version="3.0.0">
<import namespace="http://www.opengis.net/citygml/3.0" schemaLocation="./cityGMLBase.xsd"/>
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<import namespace="http://www.opengis.net/gml/3.3/exr" schemaLocation="http://schemas.opengis.net/gml/3.3/extdEncRule.xsd"/>
<!--XML Schema document created by ShapeChange - http://shapechange.net/-->
<element abstract="true" name="AbstractGenericApplicationPropertyOfAbstractConstruction" type="anyType"/>
<element abstract="true" name="AbstractConstruction" substitutionGroup="core:AbstractOccupiedSpace" type="con:AbstractConstructionType">
Expand Down Expand Up @@ -46,7 +45,6 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="occupancy" type="core:OccupancyPropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" name="constructionSurface" type="con:AbstractConstructionSurfacePropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="con:AbstractGenericApplicationPropertyOfAbstractConstruction"/>
</sequence>
</extension>
Expand All @@ -66,7 +64,6 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
<extension base="core:AbstractThematicSurfaceType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="fillingSurface" type="con:AbstractFillingSurfacePropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" name="closureSurface" type="core:ClosureSurfacePropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="con:AbstractGenericApplicationPropertyOfAbstractConstructionSurface"/>
</sequence>
</extension>
Expand Down Expand Up @@ -234,13 +231,7 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
<element name="ConstructionEvent" substitutionGroup="gml:AbstractObject" type="con:ConstructionEventType"/>
<complexType name="ConstructionEventType">
<sequence>
<element name="event" type="gml:ReferenceType">
<annotation>
<appinfo>
<targetCodeList xmlns="http://www.opengis.net/gml/3.3/exr">EventValue</targetCodeList>
</appinfo>
</annotation>
</element>
<element name="event" type="gml:CodeType"/>
<element name="dateOfEvent" type="date"/>
<element minOccurs="0" name="description" type="string"/>
</sequence>
Expand All @@ -260,7 +251,9 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
<complexContent>
<extension base="con:AbstractFillingElementType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="doorSurface" type="con:DoorSurfacePropertyType"/>
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="address" type="core:AddressPropertyType">
<annotation>
<documentation>SIG3D: Relation between Door and Address.</documentation>
Expand Down Expand Up @@ -535,7 +528,7 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
<complexContent>
<extension base="con:AbstractConstructionType">
<sequence>
<element name="class" type="gml:CodeType"/>
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="con:AbstractGenericApplicationPropertyOfOtherConstruction"/>
Expand Down Expand Up @@ -655,7 +648,9 @@ AbstractConstruction. E.g. a road or canal is man made, but not an AbstractConst
<complexContent>
<extension base="con:AbstractFillingElementType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="windowSurface" type="con:WindowSurfacePropertyType"/>
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="con:AbstractGenericApplicationPropertyOfWindow"/>
</sequence>
</extension>
Expand Down
4 changes: 2 additions & 2 deletions CityGML/Schema/dynamizer.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element abstract="true" name="AbstractGenericApplicationPropertyOfDynamizer" type="anyType"/>
<element name="Dynamizer" substitutionGroup="core:AbstractFeatureWithLifespan" type="dyn:DynamizerType"/>
<element name="Dynamizer" substitutionGroup="core:AbstractDynamizer" type="dyn:DynamizerType"/>
<complexType name="DynamizerType">
<complexContent>
<extension base="core:AbstractFeatureWithLifespanType">
<extension base="core:AbstractDynamizerType">
<sequence>
<element name="attributeRef" type="anyURI"/>
<element name="startTime" type="gml:TimePositionType"/>
Expand Down
12 changes: 8 additions & 4 deletions CityGML/Schema/generics.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
<import namespace="http://www.opengis.net/citygml/3.0" schemaLocation="./cityGMLBase.xsd"/>
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<!--XML Schema document created by ShapeChange - http://shapechange.net/-->
<element abstract="true" name="AbstractGenericAttribute" substitutionGroup="gml:AbstractObject" type="gen:AbstractGenericAttributeType"/>
<element abstract="true" name="AbstractGenericAttribute" substitutionGroup="core:AbstractGenericAttribute" type="gen:AbstractGenericAttributeType"/>
<complexType abstract="true" name="AbstractGenericAttributeType">
<sequence>
<element name="name" type="string"/>
</sequence>
<complexContent>
<extension base="core:AbstractGenericAttributeType">
<sequence>
<element name="name" type="string"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="AbstractGenericAttributePropertyType">
<sequence>
Expand Down
4 changes: 2 additions & 2 deletions CityGML/Schema/pointCloud.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<!--XML Schema document created by ShapeChange - http://shapechange.net/-->
<element abstract="true" name="AbstractGenericApplicationPropertyOfPointCloud" type="anyType"/>
<element name="PointCloud" substitutionGroup="gml:AbstractFeature" type="pcl:PointCloudType"/>
<element name="PointCloud" substitutionGroup="core:AbstractPointCloud" type="pcl:PointCloudType"/>
<complexType name="PointCloudType">
<complexContent>
<extension base="gml:AbstractFeatureType">
<extension base="core:AbstractPointCloudType">
<sequence>
<element minOccurs="0" name="mimeType" type="gml:CodeType"/>
<element minOccurs="0" name="pointFile" type="anyURI"/>
Expand Down
27 changes: 3 additions & 24 deletions CityGML/Schema/transportation.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element minOccurs="0" name="surfaceMaterial" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tran:AbstractGenericApplicationPropertyOfAuxiliaryTrafficArea"/>
</sequence>
</extension>
Expand Down Expand Up @@ -48,12 +49,6 @@
<documentation>SIG3D: Actual usage of AuxiliaryTrafficSpace as given by the relevant national regulations, information communities, or specific applications.</documentation>
</annotation>
</element>
<element minOccurs="0" name="surfaceMaterial" type="gml:CodeType">
<annotation>
<documentation>SIG3D: Surface material covering the AuxiliaryTrafficSpace as given by the relevant national regulations, information communities or specific applications.</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="auxiliaryTraffixArea" type="tran:AuxiliaryTrafficAreaPropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tran:AbstractGenericApplicationPropertyOfAuxiliaryTrafficSpace"/>
</sequence>
</extension>
Expand Down Expand Up @@ -309,6 +304,7 @@
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element minOccurs="0" name="surfaceMaterial" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tran:AbstractGenericApplicationPropertyOfTrafficArea"/>
</sequence>
</extension>
Expand Down Expand Up @@ -346,11 +342,6 @@
<documentation>SIG3D: Actual usage of TrafficSpace as given by the relevant national regulations, information communities, or specific applications.</documentation>
</annotation>
</element>
<element minOccurs="0" name="surfaceMaterial" type="gml:CodeType">
<annotation>
<documentation>SIG3D: Surface material covering the TrafficSpace as given by the relevant national regulations, information communities, or specific applications.</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="occupancy" type="core:OccupancyPropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" name="predecessor" type="tran:TrafficSpacePropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" name="successor" type="tran:TrafficSpacePropertyType"/>
Expand All @@ -366,18 +357,6 @@
</complexContent>
</complexType>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="trafficArea">
<complexType>
<complexContent>
<extension base="gml:AbstractFeatureMemberType">
<sequence minOccurs="0">
<element ref="tran:TrafficArea"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</extension>
</complexContent>
</complexType>
</element>
<element minOccurs="0" name="lod2Network" type="gml:GeometricComplexPropertyType"/>
<element minOccurs="0" name="lod3Network" type="gml:GeometricComplexPropertyType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tran:AbstractGenericApplicationPropertyOfTrafficSpace"/>
Expand Down Expand Up @@ -496,7 +475,7 @@
<complexContent>
<extension base="core:AbstractUnoccupiedSpaceType">
<sequence>
<element name="class" type="gml:CodeType"/>
<element minOccurs="0" name="class" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="function" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" name="usage" type="gml:CodeType"/>
<element maxOccurs="unbounded" minOccurs="0" ref="tran:AbstractGenericApplicationPropertyOfTransportationSpace"/>
Expand Down
8 changes: 4 additions & 4 deletions CityGML/Schema/versioning.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
</restriction>
</simpleType>
<element abstract="true" name="AbstractGenericApplicationPropertyOfVersion" type="anyType"/>
<element name="Version" substitutionGroup="core:AbstractFeatureWithLifespan" type="vers:VersionType"/>
<element name="Version" substitutionGroup="core:AbstractVersion" type="vers:VersionType"/>
<complexType name="VersionType">
<complexContent>
<extension base="core:AbstractFeatureWithLifespanType">
<extension base="core:AbstractVersionType">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="tag" type="string"/>
<element maxOccurs="unbounded" minOccurs="0" name="versionMember">
Expand Down Expand Up @@ -63,10 +63,10 @@
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
<element abstract="true" name="AbstractGenericApplicationPropertyOfVersionTransition" type="anyType"/>
<element name="VersionTransition" substitutionGroup="core:AbstractFeatureWithLifespan" type="vers:VersionTransitionType"/>
<element name="VersionTransition" substitutionGroup="core:AbstractVersionTransition" type="vers:VersionTransitionType"/>
<complexType name="VersionTransitionType">
<complexContent>
<extension base="core:AbstractFeatureWithLifespanType">
<extension base="core:AbstractVersionTransitionType">
<sequence>
<element minOccurs="0" name="reason" type="string"/>
<element name="clonePredecessor" type="boolean"/>
Expand Down
12 changes: 0 additions & 12 deletions CityGML/Schema/waterBody.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@
<documentation>SIG3D: Actual usage of WaterBody as given by the relevant national regulations, information communities, or specific applications.</documentation>
</annotation>
</element>
<element maxOccurs="unbounded" minOccurs="0" name="WaterBoundarySurface">
<complexType>
<complexContent>
<extension base="gml:AbstractFeatureMemberType">
<sequence minOccurs="0">
<element ref="wtr:AbstractWaterBoundarySurface"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
</extension>
</complexContent>
</complexType>
</element>
<element maxOccurs="unbounded" minOccurs="0" ref="wtr:AbstractGenericApplicationPropertyOfWaterBody"/>
</sequence>
</extension>
Expand Down
15 changes: 8 additions & 7 deletions CityGML/ShapeChangeConfigurationFile_CityGML_3.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<input>
<parameter name="inputModelType" value="EA7"/>
<parameter name="inputFile" value="D:/CityGML_3.0/CityGML_3.0_Consolidated_Draft.eap"/>
<parameter name="inputFile" value="D:/CityGML/CityGML_3.0/_CityGML_3.0_UML-Modell/CityGML 3.0 UML Arbeitskopie/CityGML_3.0_Consolidated_Draft_2019_10_01.eap"/>
<parameter name="appSchemaNamespaceRegex" value="^http://www.opengis.net/citygml/.*"/>
<parameter name="checkingConstraints" value="disabled"/>
<parameter name="addTaggedValues" value="itemType"/>
Expand All @@ -21,15 +21,16 @@

<log>
<parameter name="reportLevel" value="INFO"/>
<parameter name="logFile" value="D:/CityGML_3.0/logs/CityGML_3.0.xml"/>
<parameter name="logFile" value="D:/CityGML/CityGML_3.0/_CityGML_3.0_GML-Encoding/logs/CityGML_3.0.xml"/>
</log>

<targets>
<TargetXmlSchema class="de.interactive_instruments.ShapeChange.Target.XmlSchema.XmlSchema" mode="enabled">
<targetParameter name="outputDirectory" value="D:/CityGML_3.0/xsds"/>
<targetParameter name="outputDirectory" value="D:/CityGML/CityGML_3.0/_CityGML_3.0_GML-Encoding/xsds"/>
<targetParameter name="defaultEncodingRule" value="citygml"/>
<rules>
<EncodingRule name="citygml" extends="gml33">
<EncodingRule name="citygml" extends="iso19136_2007"> <!-- gml33 -->
<rule name="rule-xsd-rel-association-classes"/>
<rule name="rule-xsd-cls-basictype"/>
<rule name="rule-xsd-cls-adehook"/>
<rule name="rule-xsd-prop-initialValue"/>
Expand Down Expand Up @@ -70,7 +71,7 @@
<XsdMapEntry type="URI" xsdEncodingRules="iso19136_2007 gml33" xmlPropertyType="anyURI" xmlType="anyURI" xmlTypeType="simple" xmlTypeContent="simple"/>
<XsdMapEntry type="Code" xsdEncodingRules="iso19136_2007 gml33" xmlPropertyType="gml:CodeType" xmlType="gml:CodeType" xmlTypeType="complex" xmlTypeContent="simple"/>
<XsdMapEntry type="MeasureOrNilReasonList" xsdEncodingRules="iso19136_2007 gml33" xmlPropertyType="gml:MeasureOrNilReasonListType" xmlType="gml:MeasureOrNilReasonListType" xmlTypeType="simple" xmlTypeContent="complex"/>
<XsdMapEntry type="doubleList" xsdEncodingRules="iso19136_2007 gml33" xmlPropertyType="gml:doubleList" xmlType="gml:doubleList" xmlTypeType="simple" xmlTypeContent="simple"/>
<XsdMapEntry type="DoubleList" xsdEncodingRules="iso19136_2007 gml33" xmlPropertyType="gml:doubleList" xmlType="gml:doubleList" xmlTypeType="simple" xmlTypeContent="simple"/>
<XsdMapEntry type="SC_CRS" xsdEncodingRules="citygml" xmlAttributeGroup="gml:SRSReferenceGroup"/>
<XsdMapEntry type="CV_DiscreteGridPointCoverage" xsdEncodingRules="iso19136_2007 gml33" xmlType="gml:RectifiedGridCoverageType" xmlElement="gml:RectifiedGridCoverage" xmlPropertyType="_P_"/>
<XsdMapEntry type="TimeseriesTVP" xsdEncodingRules="citygml" xmlType="tsml:TimeseriesTVPType" xmlElement="tsml:TimeseriesTVP" xmlPropertyType="tsml:TimeseriesTVPPropertyType"/>
Expand All @@ -79,7 +80,7 @@
</xsdMapEntries>
</TargetXmlSchema>
<!--Target class="de.interactive_instruments.ShapeChange.Target.FeatureCatalogue.FeatureCatalogue" mode="enabled">
<targetParameter name="outputDirectory" value="D:/CityGML_3.0/FeatureCatalog"/>
<targetParameter name="outputDirectory" value="D:/CityGML/CityGML_3.0/_CityGML_3.0_GML-Encoding/FeatureCatalog"/>
<targetParameter name="outputFilename" value="FC_CityGML"/>
<targetParameter name="package" value="CityFurniture"/>
<targetParameter name="inheritedProperties" value="false"/>
Expand All @@ -94,7 +95,7 @@
<targetParameter name="xslTransformerFactory" value="org.apache.xalan.processor.TransformerFactoryImpl"/>
<targetParameter name="xslhtmlFile" value="html.xsl"/>
<targetParameter name="xsldocxFile" value="docx.xsl"/>
<targetParameter name="docxTemplateFilePath" value="D:/CityGML_3.0/FeatureCatalog/template.docx"/>
<targetParameter name="docxTemplateFilePath" value="D:/CityGML/CityGML_3.0/_CityGML_3.0_GML-Encoding/FeatureCatalog/template.docx"/>
</Target-->
</targets>
</ShapeChangeConfiguration>
Expand Down

0 comments on commit c775e45

Please sign in to comment.