| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- 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/TERYT_ulice.xsd"
- vc:minVersion="1.1"
- xmlns:default_db__x3A__TERYT_ulice="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ulice.xsd"
- xmlns:ogc="http://www.opengis.net/ogc" xmlns:fes="http://www.opengis.net/fes/2.0"
- xmlns:default_db__x3A__TERYT_gminy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
- xmlns:default_db__x3A__TERYT_powiaty="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
- xmlns:default_db__x3A__TERYT_wojewodztwa="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
- xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
- xmlns:default_db__x3A__TERYT_SIMC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd">
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
- schemaLocation="../../default_db.TERYT_gminy/TERYT_gminy/TERYT_gminy.xsd">
- <xs:annotation>
- <xs:documentation>Powinno sie dac wyjsc z ulic do gmin aby szukac w kolko</xs:documentation>
- </xs:annotation>
- </xs:import>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
- schemaLocation="../../default_db.TERYT_powiaty/TERYT_powiaty/TERYT_powiaty.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
- schemaLocation="../../default_db.TERYT_wojewodztwa/TERYT_wojewodztwa/TERYT_wojewodztwa.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
- schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd">
- <xs:annotation>
- <xs:documentation>Tutaj będizemy mogli zawsze dorzycić swoje dane (dorzucić swoje dane adresowe)
- Będzie konieczna akcja powrotu do samego początu chodzenia, aby mieć kontekst wyzwolenia - jeżeli od razu zaczął od TERYT_adresy? Ale mógł zacząć dopisywać adres z zupełnie innego miejsca - np iść od Województw</xs:documentation>
- </xs:annotation>
- </xs:import>
- <xs:complexType name="TERYT_ulice" system_cache__appinfo:primaryKey="ID">
- <xs:sequence>
- <xs:element name="ID" type="xs:int"/>
- <xs:element name="WOJ" type="xs:int"/>
- <xs:element name="ID_TERYT_wojewodztwa" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_TERYT_wojewodztwa" system_cache__appinfo:xpath="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/ID">
- <!--<fes:Filter>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>-->
- </system_cache__appinfo:source>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do wojewodztwa</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="POW" type="xs:int"/>
- <xs:element name="ID_TERYT_powiaty" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_TERYT_powiaty" system_cache__appinfo:xpath="default_db__x3A__TERYT_powiaty:TERYT_powiaty/ID">
- <!--<fes:Filter>
- <fes:And>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>POW</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/POW</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:And>
- </fes:Filter>-->
- </system_cache__appinfo:source>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do powiatu</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="GMI" type="xs:int"/>
- <xs:element name="ID_TERYT_gminy" type="xs:int"/>
- <xs:element ref="default_db__x3A__TERYT_gminy:TERYT_gminy" minOccurs="0">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="ID_TERYT_gminy" system_cache__appinfo:xpath="default_db__x3A__TERYT_gminy:TERYT_gminy/ID">
- <!--<fes:Filter>
- <fes:And>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>POW</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/POW</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>v</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/GMI</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:And>
- </fes:Filter>-->
- </system_cache__appinfo:source>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Z każdej jednej ulicy powinno się dać wyjść do gminy</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="RODZ_GMI" type="xs:int"/>
- <xs:element name="SYM" type="xs:int"/>
- <!--<xs:element maxOccurs="unbounded" ref="default_db__x3A__TERYT_SIMC:TERYT_SIMC">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
- <fes:Filter>
- <fes:And>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>POW</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/POW</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>SYM</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/SYM</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:And>
- </fes:Filter>
- </system_cache__appinfo:source>
- <!-\-<system_cache__appinfo:TYPESPECIAL>
- <system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>SYM</fes:ValueReference>
- </system_cache__appinfo:DESC>
- </system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>SYM_UL</fes:ValueReference>
- </system_cache__appinfo:DESC>
- </system_cache__appinfo:PARAM_EXPORT>
- </system_cache__appinfo:TYPESPECIAL>-\->
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation> Z ulic powinno sie przejsc na SIMC i widziec wyszukane konteksty </xs:documentation>
- </xs:annotation>
- </xs:element>-->
- <xs:element name="SYM_UL" type="xs:int"/>
- <xs:element name="CECHA" type="xs:string"/>
- <xs:element name="NAZWA_1" type="xs:string"/>
- <xs:element name="NAZWA_2" type="xs:string"/>
- <xs:element name="STAN_NA" type="xs:date"/>
- <xs:element ref="default_db__x3A__TERYT_adresy:TERYT_adresy">
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
- <fes:Filter>
- <fes:And>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>POW</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/POW</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>GMI</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/GMI</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:And>
- </fes:Filter>
- </system_cache__appinfo:source>
- <system_cache__appinfo:TYPESPECIAL>
- <system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>SYM</fes:ValueReference>
- </system_cache__appinfo:DESC>
- </system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:PARAM_EXPORT>
- <system_cache__appinfo:ALIAS_ID>
- <fes:ValueReference>default_db__x3A__TERYT_adresy:TERYT_adresy/TERYT_SYM_UL</fes:ValueReference>
- </system_cache__appinfo:ALIAS_ID>
- <system_cache__appinfo:DESC>
- <fes:ValueReference>SYM_UL</fes:ValueReference>
- </system_cache__appinfo:DESC>
- </system_cache__appinfo:PARAM_EXPORT>
- </system_cache__appinfo:TYPESPECIAL>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>W każdej chwili powinno być dostępne wejście do adresów w kontekście wybbranych parametrów wyszikiwania,
- aby móc dopisać wyszukiwanie i z niego odziedziczyć wpisanie na bazie asserts? (pushujemy) - relacje są na podstawie widoków przecież.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="label" type="xs:string"/>
- <xs:assert
- test="@label = concat(CECHA, ' ', NAZWA_1, ' ', NAZWA_2, default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa/@label, ' ', default_db__x3A__TERYT_powiaty:TERYT_powiaty/@label, ' ', default_db__x3A__TERYT_gminy:TERYT_gminy/GMI/@label)"
- />
- </xs:complexType>
- <xs:element name="TERYT_ulice" type="default_db__x3A__TERYT_ulice:TERYT_ulice"/>
- </xs:schema>
|