| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <?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:ogc="http://www.opengis.net/ogc"
- xmlns:fes="http://www.opengis.net/fes/2.0"
- xmlns:default_db__x3A__TERYT_SIMC="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_SIMC.xsd"
- xmlns:default_db__x3A__TERYT_wojewodztwa="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_wojewodztwa.xsd"
- xmlns:default_db__x3A__TERYT_powiaty="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_powiaty.xsd"
- xmlns:default_db__x3A__TERYT_gminy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_gminy.xsd"
- xmlns:default_db__x3A__TERYT_ulice="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ulice.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_wojewodztwa.xsd"
- vc:minVersion="1.1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:documentation>Bazujace na widoku :
- CREATE ALGORITHM=UNDEFINED DEFINER=`bzyk`@`94.158.130.34` SQL SECURITY DEFINER VIEW `TERYT_wojewodztwa`
- AS SELECT
- `TERYT_TERC`.`WOJ` AS `WOJ`,
- `TERYT_TERC`.`NAZWA` AS `NAZWA`
- FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`));</xs:documentation>
- </xs:annotation>
- <xs:import schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd"
- namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"/>
- <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_gminy.xsd"
- schemaLocation="../../default_db.TERYT_gminy/TERYT_gminy/TERYT_gminy.xsd"/>
- <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_ulice.xsd"
- schemaLocation="../../default_db.TERYT_ulice/TERYT_ulice/TERYT_ulice.xsd"/>
- <xs:complexType name="TERYT_wojewodztwa" id="wojewodztwa___d18e54644-1_TERYT_woje">
- <xs:sequence id="wojewodztwa___d18e54645-1">
- <xs:element name="ID" type="xs:int" id="wojewodztwa___d18e54646-1_ID"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:documentation>to samo `TERYT_TERC`.`WOJ` AS `ID`,
- `TERYT_TERC`.`WOJ` AS `WOJ`,</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="WOJ" type="xs:int" id="wojewodztwa___d18e54650-1_WOJ"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:documentation>to samo `TERYT_TERC`.`WOJ` AS `ID`,
- `TERYT_TERC`.`WOJ` AS `WOJ`,</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="NAZWA" type="xs:string" id="wojewodztwa___d18e54654-1_NAZWA"/>
- <xs:element maxOccurs="unbounded"
- ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty"
- minOccurs="0"
- id="wojewodztwa___d18e54655-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"
- system_cache__appinfo:name="ID"
- system_cache__appinfo:xpath="default_db__x3A__TERYT_powiaty:TERYT_powiaty/ID_TERYT_wojewodztwa"><!--<fes:Filter>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/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 maxOccurs="unbounded"
- minOccurs="0"
- ref="default_db__x3A__TERYT_gminy:TERYT_gminy"
- id="wojewodztwa___d18e54663-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
- system_cache__appinfo:name="ID"
- system_cache__appinfo:xpath="default_db__x3A__TERYT_gminy:TERYT_gminy/ID_TERYT_wojewodztwa"><!--<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>default_db__x3A__TERYT_powiaty:TERYT_powiaty/POW</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/POW</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:And>
- </fes:Filter>--></system_cache__appinfo:source>
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Przejście do gminy wymagać będzie skomplikowanego 3 stronnego joina.
- Backref evaluate - dla tego, ze ten przeskok jest dodatkowy - powinno isc normalnie przez powiaty najpierw - to jest krot - wiec zaznaczam jako backref evaluate? Czy to dobra zaleznosc?
- Moze lepiej nie dawac takich dodatkowych skrotow do grupowania - lepiej liczyc na tozsamosc w silniku agregujaca docelowo?
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <!--<xs:element maxOccurs="unbounded" minOccurs="1"
- 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:name="ID" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__TERYT_SIMC:TERYT_SIMC/WOJ"/>
- </system_cache__appinfo:flat_relation_cache>
- <!-\-<system_cache__appinfo:flat_relation_cache>
- <fes:Filter>
- <fes:PropertyIsEqualTo>
- <fes:ValueReference>WOJ</fes:ValueReference>
- <fes:ValueReference>default_db__x3A__TERYT_SIMC:TERYT_SIMC/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>
- </system_cache__appinfo:flat_relation_cache>-\->
- </xs:appinfo>
- <xs:documentation>Zawsze powinno się móc przeskoczyć do bazy SIMC z ograniczonym filtrem</xs:documentation>
- </xs:annotation>
- </xs:element>-->
- <xs:element maxOccurs="unbounded"
- ref="default_db__x3A__TERYT_ulice:TERYT_ulice"
- id="wojewodztwa___d18e54672-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:appinfo>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:flat_relation_cache>
- <system_cache__appinfo:source system_cache__appinfo:name="ID"
- system_cache__appinfo:ref_engine="view"
- system_cache__appinfo:xpath="default_db__x3A__TERYT_ulice:TERYT_ulice/WOJ"/>
- </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_ulice:TERYT_ulice/WOJ</fes:ValueReference>
- </fes:PropertyIsEqualTo>
- </fes:Filter>
- </system_cache__appinfo:source>-->
- </system_cache__appinfo:flat_relation_cache>
- </xs:appinfo>
- <xs:documentation>Opchja szukania ulic w kontekscie do Wojewodztwa</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="label" type="xs:string" id="wojewodztwa___d18e54681-1_label"/>
- <xs:assert test="@label = NAZWA" id="wojewodztwa___d18e54682-1"/>
- <xs:assert test="WOJ = default_db__x3A__TERYT_powiaty:TERYT_powiaty/WOJ"
- id="wojewodztwa___d18e54683-1"><!--#375 match annotation with (prefix:xs);(root/schema/@xmlns=())-->
- <xs:annotation>
- <xs:documentation>Zaopisanie sposobu joina do przegladania danych</xs:documentation>
- </xs:annotation>
- </xs:assert>
- </xs:complexType>
- <xs:element name="TERYT_wojewodztwa"
- type="default_db__x3A__TERYT_wojewodztwa:TERYT_wojewodztwa"
- id="wojewodztwa___d18e54687-1_TERYT_woje"/>
- </xs:schema>
|