|
@@ -3,7 +3,7 @@
|
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
xmlns:bp="https://procesy5.pl/biale_plamy-schema.xsd"
|
|
xmlns:bp="https://procesy5.pl/biale_plamy-schema.xsd"
|
|
|
xmlns:wfs="http://www.opengis.net/wfs"
|
|
xmlns:wfs="http://www.opengis.net/wfs"
|
|
|
- xmlns="http://www.opengis.net/wfs"
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
exclude-result-prefixes="xs"
|
|
exclude-result-prefixes="xs"
|
|
|
version="2.0">
|
|
version="2.0">
|
|
@@ -18,7 +18,7 @@
|
|
|
<!--<xsl:param name="edge_joins_filled_paths.xml" select="'edge_joins_filled_paths.xml'"/>-->
|
|
<!--<xsl:param name="edge_joins_filled_paths.xml" select="'edge_joins_filled_paths.xml'"/>-->
|
|
|
<xsl:param name="points2joins.xml" select="concat('points2joins',$plamy_prefix,'.xml')"/>
|
|
<xsl:param name="points2joins.xml" select="concat('points2joins',$plamy_prefix,'.xml')"/>
|
|
|
<xsl:param name="edge_joins_filled_paths" select="concat('edge_joins_filled_paths',$plamy_prefix)"/>
|
|
<xsl:param name="edge_joins_filled_paths" select="concat('edge_joins_filled_paths',$plamy_prefix)"/>
|
|
|
-
|
|
|
|
|
|
|
+ <xsl:param name="edge_paths_with_PE_controll_paths_temp_fixed" select="concat('edge_paths_with_PE_controll_paths_temp_fixed',$plamy_prefix)"/>
|
|
|
|
|
|
|
|
<xsl:variable name="PE_candidates_dump" select="doc($edge_paths_with_PE_fixed.xml)"/>
|
|
<xsl:variable name="PE_candidates_dump" select="doc($edge_paths_with_PE_fixed.xml)"/>
|
|
|
<xsl:variable name="joins_asText_Path_Point" select="doc($joins_asText_xml.xml)"/>
|
|
<xsl:variable name="joins_asText_Path_Point" select="doc($joins_asText_xml.xml)"/>
|
|
@@ -33,6 +33,9 @@
|
|
|
<!--<xsl:variable name="joins_asText_Path_Point">
|
|
<!--<xsl:variable name="joins_asText_Path_Point">
|
|
|
<xsl:apply-templates select="$joins_asText" mode="joins_asText"/>
|
|
<xsl:apply-templates select="$joins_asText" mode="joins_asText"/>
|
|
|
</xsl:variable>-->
|
|
</xsl:variable>-->
|
|
|
|
|
+ <!--<debug>
|
|
|
|
|
+ <xsl:copy-of select="$PE_candidates_dump"></xsl:copy-of>
|
|
|
|
|
+ </debug>-->
|
|
|
<!--<xsl:copy-of select="$joins_asText_Path_Point"/>-->
|
|
<!--<xsl:copy-of select="$joins_asText_Path_Point"/>-->
|
|
|
<!--<xsl:copy-of select="$edge_joins_filled_paths"/>-->
|
|
<!--<xsl:copy-of select="$edge_joins_filled_paths"/>-->
|
|
|
<!-- jedziemy po joins2ways_z_ID_Way, sprawdzamy czy jest dla niego PE_candidates_dump , jak tak, to szukamy jego PE i liczymy sciezke
|
|
<!-- jedziemy po joins2ways_z_ID_Way, sprawdzamy czy jest dla niego PE_candidates_dump , jak tak, to szukamy jego PE i liczymy sciezke
|
|
@@ -50,7 +53,7 @@
|
|
|
<xsl:variable name="edge_joins_filled_paths_xml" select="doc(concat($edge_joins_filled_paths,'/edge_joins_filled_paths.',$ID_Way,'.xml'))"/>
|
|
<xsl:variable name="edge_joins_filled_paths_xml" select="doc(concat($edge_joins_filled_paths,'/edge_joins_filled_paths.',$ID_Way,'.xml'))"/>
|
|
|
<!-- do ustalenia gdize sa najblizsze bp:Path_Point_Cable ID_Join="45" -> Target_ID_Join -->
|
|
<!-- do ustalenia gdize sa najblizsze bp:Path_Point_Cable ID_Join="45" -> Target_ID_Join -->
|
|
|
<!--<debug56><xsl:copy-of select="$edge_joins_filled_paths_xml/edge_joins_filled_paths_xml/asText_XMl[1]"/></debug56>-->
|
|
<!--<debug56><xsl:copy-of select="$edge_joins_filled_paths_xml/edge_joins_filled_paths_xml/asText_XMl[1]"/></debug56>-->
|
|
|
- <xsl:variable name="edge_paths_with_PE_controll" select="doc(concat('edge_paths_with_PE_controll_paths_temp/edge_paths_with_PE_controll.xsl.',$ID_Way,'.xml'))"/>
|
|
|
|
|
|
|
+ <!--<xsl:variable name="edge_paths_with_PE_controll" select="doc(concat($edge_paths_with_PE_controll_paths_temp_fixed,'/edge_paths_with_PE_controll.xsl.',$ID_Way,'.xml'))"/>-->
|
|
|
<!-- nie tzeba - jest w foreach dla Points !- trzeba sprawdzic czy join jest klientem - czy tylko PE! -->
|
|
<!-- nie tzeba - jest w foreach dla Points !- trzeba sprawdzic czy join jest klientem - czy tylko PE! -->
|
|
|
<xsl:choose>
|
|
<xsl:choose>
|
|
|
<!--<xsl:when test="not(@ID_Point)">
|
|
<!--<xsl:when test="not(@ID_Point)">
|
|
@@ -98,7 +101,6 @@
|
|
|
</error>
|
|
</error>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|
|
|
-
|
|
|
|
|
</cable_to_PE_to_be_calculated>
|
|
</cable_to_PE_to_be_calculated>
|
|
|
</xsl:otherwise>
|
|
</xsl:otherwise>
|
|
|
</xsl:choose>
|
|
</xsl:choose>
|