| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <?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:default_db__x3A__TERYT_ULIC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.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"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:p5_tr_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd"
- xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
- xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
- xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
- xmlns:p5opr="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd"
- xmlns:p5_simpleSchema_map="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/p5_simpleSchema_map.xsd"
- xmlns:ant-object="http://biuro.biall-net.pl/xmlschema_procesy5/ant-object/ant-object.xsd"
- xmlns:p5ant-interface="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd"
- targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ULIC.xsd"
- vc:minVersion="1.1">
- <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"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
- schemaLocation="../../default_db.TERYT_SIMC/TERYT_SIMC/TERYT_SIMC.xsd"/>
- <xs:complexType name="TERYT_ULIC"
- system_cache__appinfo:primaryKey="SYM_UL"
- id="_TERYT_ULIC___d18e41247-1_TERYT_ULIC"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:documentation>TODO bledne system_cache__appinfo:primaryKey="SYM_UL" - to nie jest klucz! inaczej error na schema</xs:documentation>
- </xs:annotation>
- <xs:sequence id="_TERYT_ULIC___d18e41251-1">
- <xs:element name="WOJ" type="xs:int" id="_TERYT_ULIC___d18e41252-1_WOJ"/>
- <xs:element ref="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa"
- id="_TERYT_ULIC___d18e41253-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
- <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" id="_TERYT_ULIC___d18e41266-1_POW"/>
- <xs:element ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty"
- id="_TERYT_ULIC___d18e41267-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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_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" id="_TERYT_ULIC___d18e41286-1_GMI"/>
- <xs:element ref="default_db__x3A__TERYT_gminy:TERYT_gminy"
- minOccurs="0"
- id="_TERYT_ULIC___d18e41287-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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_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"
- id="_TERYT_ULIC___d18e41311-1_RODZ_GMI"/>
- <xs:element name="SYM" type="xs:int" id="_TERYT_ULIC___d18e41312-1_SYM"/>
- <xs:element maxOccurs="unbounded"
- ref="default_db__x3A__TERYT_SIMC:TERYT_SIMC"
- id="_TERYT_ULIC___d18e41313-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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" id="_TERYT_ULIC___d18e41338-1_SYM_UL"/>
- <xs:element name="CECHA" type="xs:string" id="_TERYT_ULIC___d18e41339-1_CECHA"/>
- <xs:element name="NAZWA_1"
- type="xs:string"
- id="_TERYT_ULIC___d18e41341-1_NAZWA_1"/>
- <xs:element name="NAZWA_2"
- type="xs:string"
- id="_TERYT_ULIC___d18e41342-1_NAZWA_2"/>
- <xs:element name="STAN_NA"
- type="xs:date"
- id="_TERYT_ULIC___d18e41343-1_STAN_NA"/>
- <xs:element ref="default_db__x3A__TERYT_adresy:TERYT_adresy"
- id="_TERYT_ULIC___d18e41344-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <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" id="_TERYT_ULIC___d18e41383-1_label"/>
- <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)"
- id="_TERYT_ULIC___d18e41384-1"/>
- </xs:complexType>
- <xs:element name="TERYT_ULIC"
- type="default_db__x3A__TERYT_ULIC:TERYT_ULIC"
- id="_TERYT_ULIC___d18e41385-1_TERYT_ULIC"/>
- </xs:schema>
|