| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:bp="https://procesy5.pl/biale_plamy-schema.xsd"
- xmlns:wfs="http://www.opengis.net/wfs" xmlns="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:p5_default_db="https://biuro.biall-net.pl/wfs/default_db"
- exclude-result-prefixes="xs"
- version="2.0">
-
-
- <xsl:output indent="yes"/>
- <xsl:strip-space elements="*"/>
-
- <xsl:param name="plamy_prefix" />
- <xsl:param name="PE_fixings.xml" select="concat('PE_fixings',$plamy_prefix,'.xml')"/>
- <xsl:param name="PE_fixings" select=" doc($PE_fixings.xml)"/>
-
-
-
- <xsl:template match="PE_candidates_dump">
- <PE_candidates_dump>
- <xsl:apply-templates/>
- </PE_candidates_dump>
- </xsl:template>
-
- <xsl:template match="LINESTRING">
- <LINESTRING>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </LINESTRING>
- </xsl:template>
-
-
- <xsl:template match="bp:Path_Point">
- <xsl:choose>
- <xsl:when test="$PE_fixings/wfs:FeatureCollection//p5_default_db:ID_Join[ text()=current()/@ID_Join and not(parent::node()/p5_default_db:the_geom/gml:Point)]">
- <edge_paths_with_PE_fixed>
- <xsl:message terminate="no">Found Join fixed @ID_Join=<xsl:value-of select="@ID_Join"/>;</xsl:message>
- <xsl:attribute name="debug" select="'point removed and detected in PE_fixings.xml'"/>
- <xsl:copy-of select="@*"/>
- </edge_paths_with_PE_fixed>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- </xsl:stylesheet>
|