<?xml version="1.0" encoding="UTF-8"?>

<!-- ======================================================================================= -->
<!-- === PLEASE NOTE: This example instance document of the UtilityNetworkADE is based   === -->
<!-- === on a PRELIMINARY version of the NetworkComponents package as described in the   === -->
<!-- === UtilityNetworkADE specification document v0.1.0 (p. 2).                         === -->
<!-- ======================================================================================= -->

<CityModel xmlns="http://www.opengis.net/citygml/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:util_core="http://www.citygml.org/ade/utility/core/0.1.0"
    xmlns:util_comp="http://www.citygml.org/ade/utility/networkComponents/0.1.0" xmlns:gml="http://www.opengis.net/gml"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.citygml.org/ade/utility/networkComponents/0.1.0 ../UtilityNetworkADE/utility_network_components.xsd">
    <cityObjectMember>
        <util_core:Network>
            <util_core:type>Water</util_core:type>
            <util_core:networkFeatureMember>
                <util_comp:Section gml:id="MainPipe">
                    <util_core:consistsOf>
                        <util_comp:MainLine gml:id="TPipeSection1">
                            <util_core:featureGraph>
                                <util_core:FeatureGraph>
                                    <util_core:nodeMembers>
                                        <util_core:Node gml:id="StartTPipeSection1">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="StartTPipeSection1Point">
                                                    <gml:pos> -3.96198 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                        <util_core:Node gml:id="EndTPipeSection1">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="EndTPipeSection1Point">
                                                    <gml:pos> 6.03802 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                        <util_core:Node gml:id="StartTPipeTSection1">
                                            <util_core:type>interior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="StartTPipeTSection1Point">
                                                    <gml:pos> 0.086927 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                        <util_core:Node gml:id="EndTPipeTSection1">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="EndTPipeTSection1Point">
                                                    <gml:pos> 0.086927 2.72877 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMembers>
                                    <util_core:interiorFeatureLinkMembers>
                                        <util_core:InteriorFeatureLink>
                                            <util_core:start xlink:href="#StartTPipeSection1"/>
                                            <util_core:end xlink:href="#StartTPipeTSection1"/>
                                            <util_core:geometry>
                                                <gml:LineString>
                                                    <gml:pos> -3.96198 -0.223113 0</gml:pos>
                                                    <gml:pos> 0.086927 -0.223113 0</gml:pos>
                                                    <gml:pointProperty xlink:href="#StartTPipeSection1Point"/>
                                                    <gml:pointProperty xlink:href="#StartTPipeTSection1Point"/>
                                                </gml:LineString>
                                            </util_core:geometry>
                                        </util_core:InteriorFeatureLink>
                                        <util_core:InteriorFeatureLink>
                                            <util_core:start xlink:href="#StartTPipeTSection1"/>
                                            <util_core:end xlink:href="#EndTPipeTSection1"/>
                                            <util_core:geometry>
                                                <gml:LineString>
                                                    <gml:pos> 0.086927 -0.223113 0</gml:pos>
                                                    <gml:pos> 0.086927 2.72877 0</gml:pos>
                                                    <gml:pointProperty xlink:href="#StartTPipeTSection1Point"/>
                                                    <gml:pointProperty xlink:href="#EndTPipeTSection1Point"/>
                                                </gml:LineString>
                                            </util_core:geometry>
                                        </util_core:InteriorFeatureLink>
                                        <util_core:InteriorFeatureLink>
                                            <util_core:start xlink:href="#StartTPipeTSection1"/>
                                            <util_core:end xlink:href="#EndTPipeSection1"/>
                                            <util_core:geometry>
                                                <gml:LineString>
                                                    <gml:pos> 0.086927 -0.223113 0</gml:pos>
                                                    <gml:pos> 6.03802 -0.223113 0</gml:pos>
                                                    <gml:pointProperty xlink:href="#StartTPipeTSection1Point"/>
                                                    <gml:pointProperty xlink:href="#EndTPipeSection1Point"/>
                                                </gml:LineString>
                                            </util_core:geometry>
                                        </util_core:InteriorFeatureLink>
                                    </util_core:interiorFeatureLinkMembers>
                                </util_core:FeatureGraph>
                            </util_core:featureGraph>
                        </util_comp:MainLine>
                    </util_core:consistsOf>
                    <util_core:consistsOf>
                        <util_comp:MainLine gml:id="PipeSection1">
                            <util_core:featureGraph>
                                <util_core:FeatureGraph>
                                    <util_core:nodeMember>
                                        <util_core:Node gml:id="StartPipeSection1">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="StartPipeSection1Point">
                                                    <gml:pos> 6.03802 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMember>
                                    <util_core:nodeMember>
                                        <util_core:Node gml:id="EndPipeSection1">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="EndPipeSection1Point">
                                                    <gml:pos> 16.03802 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMember>
                                    <util_core:interiorFeatureLinkMember>
                                        <util_core:InteriorFeatureLink>
                                            <util_core:direction>+</util_core:direction>
                                            <util_core:start xlink:href="#StartPipeSection1"/>
                                            <util_core:end xlink:href="#EndPipeSection1"/>
                                            <util_core:geometry>
                                                <gml:LineString>
                                                    <gml:pos> 6.03802 -0.223113 0</gml:pos>
                                                    <gml:pos> 16.03802 -0.223113 0</gml:pos>
                                                    <gml:pointProperty xlink:href="#StartPipeSection1Point"/>
                                                    <gml:pointProperty xlink:href="#EndPipeSection1Point"/>
                                                </gml:LineString>
                                            </util_core:geometry>
                                        </util_core:InteriorFeatureLink>
                                    </util_core:interiorFeatureLinkMember>
                                </util_core:FeatureGraph>
                            </util_core:featureGraph>
                        </util_comp:MainLine>
                    </util_core:consistsOf>
                    <util_core:consistsOf>
                        <util_comp:MainLine gml:id="PipeSection2">
                            <util_core:featureGraph>
                                <util_core:FeatureGraph>
                                    <util_core:nodeMember>
                                        <util_core:Node gml:id="StartPipeSection2">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="StartPipeSection2Point">
                                                    <gml:pos> 16.03802 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMember>
                                    <util_core:nodeMember>
                                        <util_core:Node gml:id="EndPipeSection2">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="EndPipeSection2Point">
                                                    <gml:pos> 26.03802 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMember>
                                    <util_core:interiorFeatureLinkMember>
                                        <util_core:InteriorFeatureLink>
                                            <util_core:direction>+</util_core:direction>
                                            <util_core:start xlink:href="#StartPipeSection2"/>
                                            <util_core:end xlink:href="#EndPipeSection2"/>
                                            <util_core:geometry>
                                                <gml:LineString>
                                                    <gml:pos> 16.03802 -0.223113 0</gml:pos>
                                                    <gml:pos> 26.03802 -0.223113 0</gml:pos>
                                                    <gml:pointProperty xlink:href="#StartPipeSection2Point"/>
                                                    <gml:pointProperty xlink:href="#EndPipeSection2Point"/>
                                                </gml:LineString>
                                            </util_core:geometry>
                                        </util_core:InteriorFeatureLink>
                                    </util_core:interiorFeatureLinkMember>
                                </util_core:FeatureGraph>
                            </util_core:featureGraph>
                        </util_comp:MainLine>
                    </util_core:consistsOf>
                    <util_core:consistsOf>
                        <util_comp:MainLine gml:id="TPipeSection2">
                            <util_core:featureGraph>
                                <util_core:FeatureGraph>
                                    <util_core:nodeMember>
                                        <util_core:Node gml:id="MidPointTPipeSection2">
                                            <util_core:type>exterior</util_core:type>
                                            <util_core:geometry>
                                                <gml:Point gml:id="MidPointTPipeSection2Point">
                                                    <gml:pos> 31.1628 -0.223113 0</gml:pos>
                                                </gml:Point>
                                            </util_core:geometry>
                                        </util_core:Node>
                                    </util_core:nodeMember>
                                </util_core:FeatureGraph>
                            </util_core:featureGraph>
                        </util_comp:MainLine>
                    </util_core:consistsOf>
                </util_comp:Section>
            </util_core:networkFeatureMember>
            <util_core:networkGraph>
                <util_core:NetworkGraph>
                    <util_core:interFeatureLinkMembers>
                        <util_core:InterFeatureLink>
                            <util_core:start xlink:href="#EndTPipeSection1"/>
                            <util_core:end xlink:href="#StartPipeSection1"/>
                            <util_core:type>connects</util_core:type>
                        </util_core:InterFeatureLink>
                        <util_core:InterFeatureLink>
                            <util_core:start xlink:href="#EndPipeSection1"/>
                            <util_core:end xlink:href="#StartPipeSection2"/>
                            <util_core:type>connects</util_core:type>
                        </util_core:InterFeatureLink>
                        <util_core:InterFeatureLink>
                            <util_core:start xlink:href="#EndPipeSection2"/>
                            <util_core:end xlink:href="#MidPointTPipeSection2"/>
                            <util_core:geometry>
                                <gml:LineString>
                                    <gml:pos> 26.03802 -0.223113 0</gml:pos>
                                    <gml:pos> 31.1628 -0.223113 0</gml:pos>
                                </gml:LineString>
                            </util_core:geometry>
                            <util_core:type>connects</util_core:type>
                        </util_core:InterFeatureLink>
                    </util_core:interFeatureLinkMembers>
                </util_core:NetworkGraph>
            </util_core:networkGraph>
        </util_core:Network>
    </cityObjectMember>
</CityModel>

