Parcourir la source

przygotowania do ogc labels

a.binder il y a 8 ans
Parent
commit
eb563b22e6

+ 72 - 36
SE/schema/ant-object/default_db.BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY.xsd

@@ -3,7 +3,8 @@
    xmlns:Types__x3A__default_Default="https://biuro.biall-net.pl/wfs/default_db/Types/Default.xsd"
    xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
    xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
-   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:p5="https://biuro.biall-net.pl/wfs"
+   xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
    vc:minVersion="1.1"
@@ -267,9 +268,31 @@
             </xs:annotation>
          </xs:element>
       </xs:sequence>
-      <xs:attribute id="_PRACOWNICY___d5e75973-1_label" name="label"/>
+      <xs:attribute id="_PRACOWNICY___d5e75973-1_label" name="label">
+         <xs:annotation>
+            <xs:documentation>
+               Rownoznaczny zapis dla dzialania asserta jako appinfo proste do przetworzenia -
+               jako rownoznacznosc dzialania assert  test="@label = concat(imiona, ' ', nazwisko, ' ', miejscowosc)"
+               ustalanie Labudda Binder @2018-03-14
+               - przyklady inne na http://docs.geoserver.org/latest/en/user/filter/function_reference.html#string-functions
+            </xs:documentation>
+            <xs:appinfo>
+               <system_cache__appinfo:attributes>
+                  <p5:label>
+                     <ogc:Function name="Concatenate">
+                        <ogc:PropertyName>imiona</ogc:PropertyName>
+                        <ogc:Literal> </ogc:Literal>
+                        <ogc:PropertyName>nazwisko</ogc:PropertyName>
+                        <ogc:Literal> </ogc:Literal>
+                        <ogc:PropertyName>miejscowosc</ogc:PropertyName>
+                     </ogc:Function>
+                  </p5:label>
+               </system_cache__appinfo:attributes>
+            </xs:appinfo>
+         </xs:annotation>
+      </xs:attribute>
       <xs:assert id="_PRACOWNICY___d6e76324-1"
-         test="@label = concat(imiona, ' ', nazwisko, ' ', miejscowosc)"/>
+         test="@label = concat(imiona, ' ', nazwisko, ' ', miejscowosc)"> </xs:assert>
       <!--<xs:assert test="source = */name()">
          <xs:annotation>
             <xs:documentation>
@@ -277,11 +300,12 @@
             </xs:documentation>
          </xs:annotation>
       </xs:assert>-->
-    
       <!-- CEIDG -->
       <xs:assert test="source = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/local-name()"/>
-      <xs:assert test="imiona = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(imie,' ',firma)"/>
-      <xs:assert test="nazwisko = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(firma,' ',nazwisko)"/>
+      <xs:assert
+         test="imiona = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(imie, ' ', firma)"/>
+      <xs:assert
+         test="nazwisko = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/concat(firma, ' ', nazwisko)"/>
       <!--<xs:assert test="pesel = cuncat(*/pesel ,' ',*/pesel)"/>-->
       <xs:assert test="ulica = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/ulica"/>
       <xs:assert test="nr = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/budynek"/>
@@ -291,17 +315,13 @@
       <xs:assert test="nip = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/nip"/>
       <xs:assert test="regon = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/regon"/>
       <!--<xs:assert test="krs = default_db__x3A__BI_audit_CEIDG:BI_audit_CEIDG/krs"/>-->
-      
-      
- 
-      
-      
       <!-- KRS_person -->
-      <xs:assert test="source = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/local-name()"/>
+      <xs:assert
+         test="source = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/local-name()"/>
       <xs:assert test="imiona = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/imiona"/>
       <xs:assert test="nazwisko = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/nazwisko"/>
       <xs:assert test="pesel = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/pesel"/>
-    <!--  <xs:assert test="ulica = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/ulica"/>
+      <!--  <xs:assert test="ulica = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/ulica"/>
       <xs:assert test="nr = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/budynek"/>
       <xs:assert test="nrLokalu = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/lokal"/>
       <xs:assert test="kodPocztowy = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/kodPocztowy"/>
@@ -309,11 +329,12 @@
       <xs:assert test="nip = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/nip"/>
       <xs:assert test="regon = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/regon"/>-->
       <!--<xs:assert test="krs = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/krs"/>-->
-      
       <!-- MSIG_person -->
-      <xs:assert test="source = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/local-name()"/>
+      <xs:assert
+         test="source = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/local-name()"/>
       <xs:assert test="imiona = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/imiona"/>
-      <xs:assert test="nazwisko = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nazwisko"/>
+      <xs:assert
+         test="nazwisko = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nazwisko"/>
       <xs:assert test="pesel = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/pesel"/>
       <!--  <xs:assert test="ulica = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/ulica"/>
       <xs:assert test="nr = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/budynek"/>
@@ -323,7 +344,6 @@
       <xs:assert test="nip = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/nip"/>
       <xs:assert test="regon = default_db__x3A__BI_audit_MSIG_person:BI_audit_MSIG_person/regon"/>-->
       <!--<xs:assert test="krs = default_db__x3A__BI_audit_KRS_person:BI_audit_KRS_person/krs"/>-->
-      
       <!-- BI_audit_KRS -->
       <xs:assert test="source = default_db__x3A__BI_audit_KRS:BI_audit_KRS/local-name()"/>
       <!--<xs:assert test="imiona = default_db__x3A__BI_audit_KRS:BI_audit_KRS/imiona"/>-->
@@ -337,7 +357,6 @@
       <xs:assert test="nip = default_db__x3A__BI_audit_KRS:BI_audit_KRS/nip"/>
       <xs:assert test="regon = default_db__x3A__BI_audit_KRS:BI_audit_KRS/regon"/>
       <xs:assert test="krs = default_db__x3A__BI_audit_KRS:BI_audit_KRS/krs"/>
-      
       <!-- BI_audit_MSIG -->
       <xs:assert test="source = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/local-name()"/>
       <!--<xs:assert test="imiona = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/imiona"/>-->
@@ -351,27 +370,44 @@
       <xs:assert test="nip = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/nip"/>
       <xs:assert test="regon = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/regon"/>
       <xs:assert test="krs = default_db__x3A__BI_audit_MSIG:BI_audit_MSIG/krs"/>
-      
       <!-- BI_audit_ENERGA_RUM_KONTRAHENCI -->
-      <xs:assert test="source = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/local-name()"/>
+      <xs:assert
+         test="source = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/local-name()"/>
       <!--<xs:assert test="imiona = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/imiona"/>-->
-      <xs:assert test="nazwisko = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Pelna_nazwa_kontrahenta"/>
-      <xs:assert test="pesel = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/PESEL"/>
-      <xs:assert test="ulica = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Ulica"/>
-      <xs:assert test="nr = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_budynku"/>
-      <xs:assert test="nrLokalu = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_mieszkania_lokalu"/>
-      <xs:assert test="kodPocztowy = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kod_pocztowy"/>
-      <xs:assert test="miejscowosc = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Miejscowosc"/>
-      <xs:assert test="nip = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/NIP"/>
-      <xs:assert test="regon = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/REGON"/>
-      <xs:assert test="krs = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/KRS"/>
-      
-      
-      
-      
-      
+      <xs:assert
+         test="nazwisko = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Pelna_nazwa_kontrahenta"/>
+      <xs:assert
+         test="pesel = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/PESEL"/>
+      <xs:assert
+         test="ulica = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Ulica"/>
+      <xs:assert
+         test="nr = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_budynku"/>
+      <xs:assert
+         test="nrLokalu = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Numer_mieszkania_lokalu"/>
+      <xs:assert
+         test="kodPocztowy = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Kod_pocztowy"/>
+      <xs:assert
+         test="miejscowosc = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/Miejscowosc"/>
+      <xs:assert
+         test="nip = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/NIP"/>
+      <xs:assert
+         test="regon = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/REGON"/>
+      <xs:assert
+         test="krs = default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI:BI_audit_ENERGA_RUM_KONTRAHENCI/KRS"
+      />
    </xs:complexType>
    <xs:element name="BI_audit_ENERGA_PRACOWNICY"
       type="default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY"
-      id="_PRACOWNICY___d4e4838-1_BI_audit_E"/>
+      id="_PRACOWNICY___d4e4838-1_BI_audit_E">
+      <!--<xs:key name="label">
+         <xs:annotation>
+            <xs:documentation>@2018-03-13 do rozważenia sposób na definicje labela
+</xs:documentation>
+         </xs:annotation>
+         <xs:selector xpath="."/>
+         <xs:field xpath="imiona"/>
+         <xs:field xpath="nazwisko"/>
+         <xs:field xpath="miasto"/>
+      </xs:key>-->
+   </xs:element>
 </xs:schema>

+ 2 - 0
SE/schema/ant-object/default_db.BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd

@@ -4,6 +4,8 @@
    xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
    xmlns:default_db__x3A__BI_audit_ENERGA_RUM_UMOWY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_UMOWY.xsd"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:p5="https://biuro.biall-net.pl/wfs"
+   xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_RUM_KONTRAHENCI.xsd"
    xmlns:default_db__x3A__BI_audit_taxpayer="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_taxpayer.xsd"

+ 2 - 0
SE/schema/ant-object/default_db.BI_audit_KRS/BI_audit_KRS/BI_audit_KRS.xsd

@@ -5,6 +5,8 @@
    xmlns:default_db__x3A__BI_audit_taxpayer="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_taxpayer.xsd"
    xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
+   xmlns:p5="https://biuro.biall-net.pl/wfs"
+   xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
    xmlns:default_db__x3A__BI_audit_KRS_address="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_address.xsd"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS.xsd"