diff --git a/.flake8 b/.flake8 index 65d231f1..42be3030 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,5 @@ [flake8] ignore = -exclude = doc,externals,bonnebladen\bin\gdalsetnull.py +exclude = doc,externals max-line-length = 160 max-complexity = 38 \ No newline at end of file diff --git a/bag/db/script/adres-tabel.sql b/bag/db/script/adres-tabel.sql index 1ce184f6..86336286 100644 --- a/bag/db/script/adres-tabel.sql +++ b/bag/db/script/adres-tabel.sql @@ -105,7 +105,7 @@ INSERT INTO adres (openbareruimtenaam, huisnummer, huisletter, huisnummertoevoeg l.identificatie as adresseerbaarobject, n.identificatie as nummeraanduiding, -- Vlak geometrie wordt punt - ST_Force_3D(ST_Centroid(l.geovlak)) as geopunt + ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM ligplaatsactueelbestaand l JOIN nummeraanduidingactueelbestaand n ON (n.identificatie = l.hoofdadres) @@ -163,7 +163,7 @@ INSERT INTO adres (openbareruimtenaam, huisnummer, huisletter, huisnummertoevoeg s.identificatie as adresseerbaarobject, n.identificatie as nummeraanduiding, -- Vlak geometrie wordt punt - ST_Force_3D(ST_Centroid(s.geovlak)) as geopunt + ST_Force3D(ST_Centroid(s.geovlak)) as geopunt FROM standplaatsactueelbestaand s JOIN nummeraanduidingactueelbestaand n ON (n.identificatie = s.hoofdadres) @@ -301,7 +301,7 @@ INSERT INTO adres (openbareruimtenaam, huisnummer, huisletter, huisnummertoevoeg an.identificatie as adresseerbaarobject, n.identificatie as nummeraanduiding, TRUE, - ST_Force_3D(ST_Centroid(l.geovlak)) as geopunt + ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM adresseerbaarobjectnevenadresactueel an JOIN @@ -372,7 +372,7 @@ INSERT INTO adres (openbareruimtenaam, huisnummer, huisletter, huisnummertoevoeg an.identificatie as adresseerbaarobject, n.identificatie as nummeraanduiding, TRUE, - ST_Force_3D(ST_Centroid(s.geovlak)) as geopunt + ST_Force3D(ST_Centroid(s.geovlak)) as geopunt FROM adresseerbaarobjectnevenadresactueel an JOIN diff --git a/bag/db/script/geocode/geocode-tabellen-full.sql b/bag/db/script/geocode/geocode-tabellen-full.sql index db2d01b4..ac4d70d9 100644 --- a/bag/db/script/geocode/geocode-tabellen-full.sql +++ b/bag/db/script/geocode/geocode-tabellen-full.sql @@ -141,7 +141,7 @@ INSERT INTO geo_adres_full (openbareruimtenaam, huisnummer, huisletter, huisnumm '', -- pandstatus NULL, -- pandbouwjaar -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM ligplaatsactueel l @@ -187,7 +187,7 @@ INSERT INTO geo_adres_full (openbareruimtenaam, huisnummer, huisletter, huisnumm '', -- pandstatus NULL, -- pandbouwjaar -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(s.geovlak)) as geopunt FROM standplaatsactueel s @@ -304,7 +304,7 @@ INSERT INTO geo_adres_full (openbareruimtenaam, huisnummer, huisletter, huisnumm '', -- pandstatus NULL, -- pandbouwjaar -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM adresseerbaarobjectnevenadresactueel aon @@ -351,7 +351,7 @@ INSERT INTO geo_adres_full (openbareruimtenaam, huisnummer, huisletter, huisnumm '', -- pandstatus NULL, -- pandbouwjaar -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(s.geovlak)) as geopunt FROM adresseerbaarobjectnevenadresactueel aon diff --git a/bag/db/script/geocode/geocode-tabellen.sql b/bag/db/script/geocode/geocode-tabellen.sql index 2d17a054..98f1de09 100644 --- a/bag/db/script/geocode/geocode-tabellen.sql +++ b/bag/db/script/geocode/geocode-tabellen.sql @@ -77,7 +77,7 @@ INSERT INTO geo_adres (straatnaam, huisnummer, huisletter, toevoeging, postcode, p.gemeentenaam, p.provincienaam, -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM (SELECT identificatie, geovlak, hoofdadres from ligplaatsactueelbestaand) l, @@ -105,7 +105,7 @@ INSERT INTO geo_adres (straatnaam, huisnummer, huisletter, toevoeging, postcode, p.gemeentenaam, p.provincienaam, -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM (SELECT identificatie, geovlak, hoofdadres from standplaatsactueelbestaand) l, @@ -161,7 +161,7 @@ INSERT INTO geo_adres (straatnaam, huisnummer, huisletter, toevoeging, postcode, p.gemeentenaam, p.provincienaam, -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(l.geovlak)) as geopunt FROM (SELECT identificatie, nevenadres from adresseerbaarobjectnevenadresactueel) aon, @@ -191,7 +191,7 @@ INSERT INTO geo_adres (straatnaam, huisnummer, huisletter, toevoeging, postcode, p.gemeentenaam, p.provincienaam, -- Vlak geometrie wordt punt - -- ST_Force3D is Postgis 2.x, gebruik st_force_3d voor Postgis 1.x + -- ST_Force3D is Postgis 2.x, gebruik ST_Force3D voor Postgis 1.x ST_Force3D(ST_Centroid(s.geovlak)) as geopunt FROM (SELECT identificatie, nevenadres from adresseerbaarobjectnevenadresactueel) aon, diff --git a/bag/test/bag-test.dump b/bag/test/bag-test.dump index 84afd069..19e960f9 100644 Binary files a/bag/test/bag-test.dump and b/bag/test/bag-test.dump differ diff --git a/bag/test/data/GEM-WPL-RELATIE-08052020.zip b/bag/test/data/GEM-WPL-RELATIE-08052020.zip new file mode 100644 index 00000000..4465a0bd Binary files /dev/null and b/bag/test/data/GEM-WPL-RELATIE-08052020.zip differ diff --git a/bag/test/datazip/data.zip b/bag/test/datazip/data.zip new file mode 100644 index 00000000..f69c5cc2 Binary files /dev/null and b/bag/test/datazip/data.zip differ diff --git a/bag/test/runtests.log b/bag/test/runtests.log index 31e24813..f8db09f8 100644 --- a/bag/test/runtests.log +++ b/bag/test/runtests.log @@ -1,5 +1,5 @@ -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -Waarschuwing! met dit commando worden database tabellen opnieuw aangemaakt. Doorgaan? ([N]/j): INFO: Start 2020-02-06 16:07:45 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:43 INFO: alle database tabellen weggooien en opnieuw aanmaken... INFO: Probeer te verbinden... DEBUG: database commit ok connId=5 @@ -10,136 +10,11 @@ DEBUG: database connectie 5 gesloten INFO: script is uitgevoerd INFO: Initieele data (bijv. gemeenten/provincies) inlezen... running with lxml.etree -INFO: process: verwerk /Users/just/project/nlextract/git/bag/db/data -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/db/data +INFO: process: verwerk /Users/just/project/nlextract/git.py3/bag/db/data +INFO: process_dir: verwerk /Users/just/project/nlextract/git.py3/bag/db/data DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/.DS_Store -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/README -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: process_zip: verwerk gem-wpl-relatie-03-lvc-xml-07032014.zip -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: process_xml: verwerk GEM-WPL-RELATIE-08032014-000001.xml -INFO: START: parseXML -INFO: END: parseXML tijd=0.0 sec -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: START: objCreate -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: END: objCreate - objs=7589 tijd=1.0 sec -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO -INFO: START: dbStart mode = Nieuw -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -DEBUG: database connectie 7 gesloten -INFO: END: dbEnd - nieuw=7589 gewijzigd=0 rels=0 tijd=0.0 sec -INFO: ------ -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: process_xml: verwerk gemeentelijke-indeling.xml -INFO: START: parseXML -INFO: END: parseXML tijd=0.0 sec -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: Processed objectCount=784 -DEBUG: verbonden met de database 'bag', schema 'test', connId=6 -DEBUG: database commit ok connId=6 -INFO: Objects inserted=784 updated=0 unchanged=0 -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/gemeentelijke-indeling.xsd -INFO: Post processing en views aanmaken... -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/bag-gemeentecode-postprocess.sql uitvoeren... -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: database connectie 7 gesloten -INFO: SQL uitgevoerd OK -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/bag-view-actueel-bestaand.sql uitvoeren... -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: database connectie 7 gesloten -INFO: SQL uitgevoerd OK -INFO: End 2020-02-06 16:07:48 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:48 -INFO: alle database tabellen weggooien en opnieuw aanmaken... -INFO: Probeer te verbinden... -DEBUG: database commit ok connId=5 -DEBUG: verbonden met de database 'bag', schema 'test', connId=5 -INFO: database script uitvoeren... -DEBUG: database commit ok connId=5 -DEBUG: database connectie 5 gesloten -INFO: script is uitgevoerd -INFO: Initieele data (bijv. gemeenten/provincies) inlezen... -running with lxml.etree -INFO: process: verwerk /Users/just/project/nlextract/git/bag/db/data -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/db/data -DEBUG: verbonden met de database 'bag', schema 'test', connId=5 -DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/.DS_Store -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/README -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: process_zip: verwerk gem-wpl-relatie-03-lvc-xml-07032014.zip -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -INFO: process_xml: verwerk GEM-WPL-RELATIE-08032014-000001.xml -INFO: START: parseXML -INFO: END: parseXML tijd=0.0 sec -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: START: objCreate -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: END: objCreate - objs=7589 tijd=1.0 sec -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO -INFO: START: dbStart mode = Nieuw -DEBUG: reusing db connection -DEBUG: database commit ok connId=7 -DEBUG: database connectie 7 gesloten -INFO: END: dbEnd - nieuw=7589 gewijzigd=0 rels=0 tijd=0.0 sec -INFO: ------ -DEBUG: verbonden met de database 'bag', schema 'test', connId=7 -DEBUG: database commit ok connId=7 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 +INFO: Negeer bestand: /Users/just/project/nlextract/git.py3/bag/db/data/README DEBUG: reusing db connection DEBUG: database commit ok connId=5 INFO: process_xml: verwerk gemeentelijke-indeling.xml @@ -157,32 +32,32 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: reusing db connection DEBUG: database commit ok connId=5 -INFO: Negeer bestand: /Users/just/project/nlextract/git/bag/db/data/gemeentelijke-indeling.xsd +INFO: Negeer bestand: /Users/just/project/nlextract/git.py3/bag/db/data/gemeentelijke-indeling.xsd INFO: Post processing en views aanmaken... -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/bag-gemeentecode-postprocess.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/bag-gemeentecode-postprocess.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=7 DEBUG: database commit ok connId=7 DEBUG: database connectie 7 gesloten INFO: SQL uitgevoerd OK -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/bag-view-actueel-bestaand.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/bag-view-actueel-bestaand.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=7 DEBUG: database commit ok connId=7 DEBUG: database connectie 7 gesloten INFO: SQL uitgevoerd OK -INFO: End 2020-02-06 16:07:50 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf +INFO: End 2020-08-12 15:19:44 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf running with lxml.etree -INFO: Start 2020-02-06 16:07:50 +INFO: Start 2020-08-12 15:19:44 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: process: verwerk /Users/just/project/nlextract/git/bag/test/data -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/test/data +INFO: process: verwerk /Users/just/project/nlextract/git.py3/bag/test/data +INFO: process_dir: verwerk /Users/just/project/nlextract/git.py3/bag/test/data DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: process_zip: verwerk Gemeente-woonplaats-relatietabel.zip +INFO: process_zip: verwerk GEM-WPL-RELATIE-08052020.zip DEBUG: reusing db connection DEBUG: database commit ok connId=5 -INFO: process_xml: verwerk GEM-WPL-RELATIE-01102012-000001.xml +INFO: process_xml: verwerk GEM-WPL-RELATIE-08052020-000001.xml INFO: START: parseXML INFO: END: parseXML tijd=0.0 sec DEBUG: reusing db connection @@ -196,16 +71,15 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=7 DEBUG: reusing db connection DEBUG: database commit ok connId=7 -INFO: END: objCreate - objs=7359 tijd=1.0 sec +INFO: END: objCreate - objs=8172 tijd=1.0 sec DEBUG: reusing db connection DEBUG: database commit ok connId=7 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=7 DEBUG: database connectie 7 gesloten -INFO: END: dbEnd - nieuw=7359 gewijzigd=0 rels=0 tijd=0.0 sec +INFO: END: dbEnd - nieuw=8172 gewijzigd=0 rels=0 tijd=0.0 sec INFO: ------ DEBUG: verbonden met de database 'bag', schema 'test', connId=7 DEBUG: database commit ok connId=7 @@ -213,9 +87,6 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: reusing db connection DEBUG: database commit ok connId=5 -INFO: Negeer bestand: InformatieGWRtabel22082012.pdf -DEBUG: reusing db connection -DEBUG: database commit ok connId=5 DEBUG: reusing db connection DEBUG: database commit ok connId=5 INFO: process_xml: verwerk Leveringsdocument-BAG-Extract.xml @@ -234,7 +105,6 @@ DEBUG: database commit ok connId=6 DEBUG: verbonden met de database 'bag', schema 'test', connId=7 DEBUG: database commit ok connId=7 INFO: START: dbStart mode = Onbekend -INFO: running with cStringIO INFO: START: dbStart mode = Onbekend DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -257,7 +127,6 @@ INFO: END: objCreate - objs=16 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -280,7 +149,6 @@ INFO: END: objCreate - objs=22 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -303,7 +171,6 @@ INFO: END: objCreate - objs=22 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -326,7 +193,6 @@ INFO: END: objCreate - objs=19 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -349,7 +215,6 @@ INFO: END: objCreate - objs=17 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -372,7 +237,6 @@ INFO: END: objCreate - objs=15 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -395,7 +259,6 @@ INFO: END: objCreate - objs=2 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -408,14 +271,14 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 -INFO: End 2020-02-06 16:07:52 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf +INFO: End 2020-08-12 15:19:46 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf running with lxml.etree -INFO: Start 2020-02-06 16:07:52 +INFO: Start 2020-08-12 15:19:46 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: process: verwerk /Users/just/project/nlextract/git/bag/test/datadubbel -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/test/datadubbel +INFO: process: verwerk /Users/just/project/nlextract/git.py3/bag/test/datadubbel +INFO: process_dir: verwerk /Users/just/project/nlextract/git.py3/bag/test/datadubbel DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 INFO: process_xml: verwerk verblijfsobject-dubbel.xml @@ -428,7 +291,6 @@ INFO: END: objCreate - objs=1 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -451,7 +313,6 @@ INFO: END: objCreate - objs=1 tijd=0.0 sec DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 INFO: START: dbStart mode = Nieuw -INFO: running with cStringIO INFO: START: dbStart mode = Nieuw DEBUG: reusing db connection DEBUG: database commit ok connId=6 @@ -464,27 +325,27 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 -INFO: End 2020-02-06 16:07:52 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:53 +INFO: End 2020-08-12 15:19:46 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:46 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/ontdubbel.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/ontdubbel.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:53 +INFO: End 2020-08-12 15:19:46 START TEST: Mutaties -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf running with lxml.etree -INFO: Start 2020-02-06 16:07:53 +INFO: Start 2020-08-12 15:19:47 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: process: verwerk /Users/just/project/nlextract/git/bag/test/mutatie -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/test/mutatie +INFO: process: verwerk /Users/just/project/nlextract/git.py3/bag/test/mutatie +INFO: process_dir: verwerk /Users/just/project/nlextract/git.py3/bag/test/mutatie DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: reusing db connection @@ -576,16 +437,16 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: verbonden met de database 'bag', schema 'test', connId=7 DEBUG: database commit ok connId=7 -INFO: End 2020-02-06 16:07:53 +INFO: End 2020-08-12 15:19:47 END TEST: Mutaties START TEST: Mutaties : slechts eenmaal verwerken -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf running with lxml.etree -INFO: Start 2020-02-06 16:07:53 +INFO: Start 2020-08-12 15:19:47 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: process: verwerk /Users/just/project/nlextract/git/bag/test/mutatie -INFO: process_dir: verwerk /Users/just/project/nlextract/git/bag/test/mutatie +INFO: process: verwerk /Users/just/project/nlextract/git.py3/bag/test/mutatie +INFO: process_dir: verwerk /Users/just/project/nlextract/git.py3/bag/test/mutatie DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: reusing db connection @@ -638,44 +499,44 @@ DEBUG: reusing db connection DEBUG: database commit ok connId=5 DEBUG: verbonden met de database 'bag', schema 'test', connId=6 DEBUG: database commit ok connId=6 -INFO: End 2020-02-06 16:07:53 +INFO: End 2020-08-12 15:19:47 END TEST: Mutaties : slechts eenmaal verwerken -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:54 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:47 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/gemeente-provincie-tabel.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/gemeente-provincie-tabel.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:54 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:54 +INFO: End 2020-08-12 15:19:48 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:48 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/adres-tabel.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/adres-tabel.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:54 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:54 +INFO: End 2020-08-12 15:19:48 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:48 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/adres-tabel-full.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/adres-tabel-full.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:54 +INFO: End 2020-08-12 15:19:48 COPY 6 openbareruimte;huisnummer;huisletter;huisnummertoevoeging;postcode;woonplaats;gemeente;provincie;object_id;object_type;nevenadres;x;y;lon;lat Molenbochtstraat;3;;I;9901AA;Hieslum;Súdwest-Fryslân;Friesland;0003010000125985;VBO;f;155000;463000;5.3872035087259;52.1551723011519 @@ -945,39 +806,39 @@ pg_dump: dumping contents of table "test.verblijfsobject" pg_dump: dumping contents of table "test.verblijfsobjectgebruiksdoel" pg_dump: dumping contents of table "test.verblijfsobjectpand" pg_dump: dumping contents of table "test.woonplaats" -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:55 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:49 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/geocode/geocode-tabellen.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/geocode/geocode-tabellen.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:55 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:55 +INFO: End 2020-08-12 15:19:49 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:49 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/db/script/geocode/geocode-functies.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/db/script/geocode/geocode-functies.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:55 -DEBUG: Configuratiebestand is /Users/just/project/nlextract/git/bag/extract.conf -INFO: Start 2020-02-06 16:07:56 +INFO: End 2020-08-12 15:19:49 +DEBUG: Configuratiebestand is /Users/just/project/nlextract/git.py3/bag/extract.conf +INFO: Start 2020-08-12 15:19:50 DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: SQL van file = /Users/just/project/nlextract/git/bag/test/geocode/geocode-functies-test.sql uitvoeren... +INFO: SQL van file = /Users/just/project/nlextract/git.py3/bag/test/geocode/geocode-functies-test.sql uitvoeren... DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 DEBUG: database connectie 5 gesloten INFO: SQL uitgevoerd OK DEBUG: verbonden met de database 'bag', schema 'test', connId=5 DEBUG: database commit ok connId=5 -INFO: End 2020-02-06 16:07:56 +INFO: End 2020-08-12 15:19:50 diff --git a/bag/test/runtests.sh b/bag/test/runtests.sh index 7aa78de4..ceebf6c6 100755 --- a/bag/test/runtests.sh +++ b/bag/test/runtests.sh @@ -23,9 +23,6 @@ MUT_DIR=$TEST_DIR/mutatie DB_DIR=$BE_HOME_DIR/db BAG_EXTRACT="$BE_HOME_DIR/bin/bag-extract.sh -f $BE_HOME_DIR/extract.conf" -# DB leeg en schema aanmaken, met prompt -$BAG_EXTRACT --dbinit -v - # DB leeg en schema aanmaken, geen prompt (-j of --ja optie) $BAG_EXTRACT --dbinit -j -v diff --git a/bgt/etl/conf/etl-imgeo-v2.1.1.cfg b/bgt/etl/conf/etl-imgeo-v2.1.1.cfg index 91a94a7a..0c44b2a6 100644 --- a/bgt/etl/conf/etl-imgeo-v2.1.1.cfg +++ b/bgt/etl/conf/etl-imgeo-v2.1.1.cfg @@ -28,22 +28,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-schema.sql,sql/drop-tables-v2.1.1.sql,sql/drop-final-tables-v2.1.1.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v2.1.1.sql,sql/fix-eindregistratie.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -53,24 +53,24 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] # Filter to generate the vsizip-names [vsizip_filter] -class=filters.templatingfilter.StringTemplatingFilter +class = stetl.filters.templatingfilter.StringTemplatingFilter template_string = /vsizip/$file_path/$name # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml delete_file = False # Filter to copy openbareruimtelabel features with only one position per feature [handle_orl] -class=stetlbgt.subfeaturehandler.SubFeatureHandler +class = stetlbgt.subfeaturehandler.SubFeatureHandler temp_file = {temp_dir}/orl-tmp.gml parent_tag_ns = http://www.geostandaarden.nl/imgeo/2.1 parent_tag_name = OpenbareRuimteLabel @@ -82,7 +82,7 @@ keep_parent_feature = False # Filter to copy pand features with only the main geometry, or only one nummeraanduiding per feature [handle_pand] -class=stetlbgt.subfeaturehandler.SubFeatureHandler +class = stetlbgt.subfeaturehandler.SubFeatureHandler temp_file = {temp_dir}/pand-tmp.gml parent_tag_ns = http://www.opengis.net/citygml/building/2.0 parent_tag_name = BuildingPart @@ -102,7 +102,7 @@ input_gfs = {gfs_template} # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -119,19 +119,19 @@ options = -append -gt 65536 {multi_opts} cleanup_input = True [input_dummy_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = data filename_pattern = dummy.zip [extract_dummy_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/dummy.gml delete_file = False # Initialization of all tables with empty file # Note that this is done _after_ loading all the data, since this way the ETL is much faster. [output_ogr2ogr_init] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput dest_format = PostgreSQL dest_data_source = "PG:dbname={database} host={host} port={port} user={user} password={password} active_schema={schema}" gfs_template = {gfs_template} @@ -140,7 +140,7 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://schemas.geonovum.nl/imgeo/2.1/imgeo-2.1.1.xsd enabled = False @@ -148,14 +148,14 @@ enabled = False # Send to stdout [output_std] -class = outputs.standardoutput.StandardOutput +class = stetl.outputs.standardoutput.StandardOutput [output_file] -class = outputs.fileoutput.FileOutput +class = stetl.outputs.fileoutput.FileOutput file_path = test/output/imgeo-fc.gml # Output multiple files ala IMGeo file chunks GML # Use numbering as in file expression. [output_multifile] -class = outputs.fileoutput.MultiFileOutput +class = stetl.outputs.fileoutput.MultiFileOutput file_path = test/output/imgeo-%03d.gml diff --git a/bgt/etl/download-bgt.sh b/bgt/etl/download-bgt.sh index d1607a9f..fac5a8b4 100644 --- a/bgt/etl/download-bgt.sh +++ b/bgt/etl/download-bgt.sh @@ -6,6 +6,48 @@ today=`date +"%d-%m-%Y"` # ID's van 32x32 km gebieden om de BGT te downloaden. Let op, de ID's mogen geen voorloopnullen bevatten. blocks="39 45 48 50 51 54 55 56 57 58 59 60 61 62 63 74 75 96 97 98 99 104 105 106 107 110 111 145 148 149 150 151 156 157 158 159 180 181 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 224 225 228 229 230" +# 64x64 aggregaatlevel 5 +# https://downloads.pdok.nl/service/extract.zip?extractname=bgt&extractset=citygml&excludedtypes=plaatsbepalingspunt&history=true&tiles=%7B%22layers%22%3A%5B%7B%22aggregateLevel%22%3A5%2C%22codes%22%3A%5B13%5D%7D%5D%7D +blocks="0 1 4 5 16 17 2 3 6 7 18 19 8 9 12 13 24 25 10 11 14 15 26 27 32 33 36 37 48 49 34 35 38 39 50 51" +#bbox=[-36000, 264000, 28000, 328000] 0 +#bbox=[28000, 264000, 92000, 328000] 1 +#bbox=[92000, 264000, 156000, 328000] 4 +#bbox=[156000, 264000, 220000, 328000] 5 +#bbox=[220000, 264000, 284000, 328000] 16 +#bbox=[284000, 264000, 348000, 328000] 17 +#bbox=[-36000, 328000, 28000, 392000] 2 +#bbox=[28000, 328000, 92000, 392000] 3 +#bbox=[92000, 328000, 156000, 392000] 6 +#bbox=[156000, 328000, 220000, 392000] 7 +#bbox=[220000, 328000, 284000, 392000] 18 +#bbox=[284000, 328000, 348000, 392000] 19 +#bbox=[-36000, 392000, 28000, 456000] 8 +#bbox=[28000, 392000, 92000, 456000] 9 +#bbox=[92000, 392000, 156000, 456000] 12 +#bbox=[156000, 392000, 220000, 456000] 13 +#bbox=[220000, 392000, 284000, 456000] 24 +#bbox=[284000, 392000, 348000, 456000] 25 +#bbox=[-36000, 456000, 28000, 520000] 10 +#bbox=[28000, 456000, 92000, 520000] 11 +#bbox=[92000, 456000, 156000, 520000] 14 +#bbox=[156000, 456000, 220000, 520000] 15 +#bbox=[220000, 456000, 284000, 520000] 26 +#bbox=[284000, 456000, 348000, 520000] 27 +#bbox=[-36000, 520000, 28000, 584000] 32 +#bbox=[28000, 520000, 92000, 584000] 33 +#bbox=[92000, 520000, 156000, 584000] 36 +#bbox=[156000, 520000, 220000, 584000] 37 +#bbox=[220000, 520000, 284000, 584000] 48 +#bbox=[284000, 520000, 348000, 584000] 49 +#bbox=[-36000, 584000, 28000, 648000] 34 +#bbox=[28000, 584000, 92000, 648000] 35 +#bbox=[92000, 584000, 156000, 648000] 38 +#bbox=[156000, 584000, 220000, 648000] 39 +#bbox=[220000, 584000, 284000, 648000] 50 +#bbox=[284000, 584000, 348000, 648000] 51 +# 0 1 4 5 16 17 2 3 6 7 18 19 8 9 12 13 24 25 10 11 14 15 26 27 32 33 36 37 48 49 34 35 38 39 50 51 + + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" [ -z "$1" ] && pushd leveringen/latest || pushd $1 diff --git a/bgt/etl/etl-imgeo.cmd b/bgt/etl/etl.cmd similarity index 100% rename from bgt/etl/etl-imgeo.cmd rename to bgt/etl/etl.cmd diff --git a/bgt/etl/etl-imgeo.sh b/bgt/etl/etl.sh similarity index 100% rename from bgt/etl/etl-imgeo.sh rename to bgt/etl/etl.sh diff --git a/bgt/etl/options/default.args b/bgt/etl/options/default.args index bdb0a6fe..7c9c15a2 100644 --- a/bgt/etl/options/default.args +++ b/bgt/etl/options/default.args @@ -40,5 +40,8 @@ multi_opts=-fieldTypeToString StringList # spatial_extent=120000 450000 160000 500000 spatial_extent= +# Must we run postprocessor SQL to remoe duplicates? +delete_dups= + # Maximaal aantal features max_features=20000 diff --git a/bgt/etl/sql/create-schema.sql b/bgt/etl/sql/create-schema.sql index 2a941b2d..6bc97610 100644 --- a/bgt/etl/sql/create-schema.sql +++ b/bgt/etl/sql/create-schema.sql @@ -1,28 +1,33 @@ -- Maak schema aan indien deze nog niet bestaat. -- Doe niets voor schema 'public' -CREATE OR REPLACE FUNCTION _nlx_createschema(schemaname VARCHAR) -RETURNS void AS -$$ -BEGIN +-- CREATE OR REPLACE FUNCTION _nlx_createschema(schemaname VARCHAR) +-- RETURNS void AS +-- $$ +-- BEGIN +-- +-- IF schemaname = 'public' THEN +-- RETURN; +-- END IF; +-- +-- IF EXISTS( +-- SELECT schema_name +-- FROM information_schema.schemata +-- WHERE schema_name = $1 +-- ) +-- THEN +-- EXECUTE 'DROP SCHEMA ' || $1 || ' CASCADE;'; +-- END IF; +-- -- EXECUTE 'DROP SCHEMA IF EXISTS ' || $1 || ';'; +-- EXECUTE 'CREATE SCHEMA ' || $1 || ';'; +-- +-- END; +-- $$ +-- LANGUAGE plpgsql; - IF schemaname = 'public' THEN - RETURN; - END IF; +DROP SCHEMA IF EXISTS {schema} CASCADE; +CREATE SCHEMA {schema}; - IF NOT EXISTS( - SELECT schema_name - FROM information_schema.schemata - WHERE schema_name = $1 - ) - THEN - EXECUTE 'CREATE SCHEMA ' || $1 || ';'; - END IF; - -END; -$$ -LANGUAGE plpgsql; - -SELECT _nlx_createschema('{schema}'); - -DROP FUNCTION _nlx_createschema(schemaname VARCHAR); +-- SELECT _nlx_createschema('{schema}'); +-- +-- DROP FUNCTION _nlx_createschema(schemaname VARCHAR); diff --git a/bgt/etl/sql/delete-duplicates-v2.1.1.sql b/bgt/etl/sql/delete-duplicates-v2.1.1.sql index 58345d19..7f9706c1 100644 --- a/bgt/etl/sql/delete-duplicates-v2.1.1.sql +++ b/bgt/etl/sql/delete-duplicates-v2.1.1.sql @@ -1,77 +1,153 @@ --- Auteur: Frank Steggink +-- Auteur: Frank Steggink - _nlx_dedup_data +-- Just van den Broecke - feb 2020 - replace by _nlx_dedup_table +-- -- Doel: script om dubbele records te verwijderen SET search_path={schema},public; -DROP TABLE IF EXISTS _nlx_temp; +-- DROP TABLE IF EXISTS _nlx_temp; +-- +-- CREATE OR REPLACE FUNCTION _nlx_dedup_data(tablename VARCHAR) +-- RETURNS VARCHAR AS +-- $$ +-- DECLARE +-- rowcount INTEGER; +-- BEGIN +-- +-- IF EXISTS (SELECT 1 +-- FROM information_schema.tables +-- WHERE table_schema='{schema}' AND table_name=tablename) THEN +-- +-- -- IF EXISTS ( +-- -- SELECT table_name +-- -- FROM information_schema.tables +-- -- WHERE table_schema='{schema}' AND table_name=tablename +-- -- ) +-- -- THEN +-- EXECUTE 'WITH ft AS (SELECT * FROM ' || tablename || '), fids AS (SELECT ogc_fid, lokaalid, tijdstipregistratie FROM ft WHERE eindregistratie IS NOT NULL AND lokaalid||tijdstipregistratie IN (SELECT lokaalid||tijdstipregistratie FROM ft WHERE eindregistratie IS NOT NULL GROUP BY lokaalid,tijdstipregistratie HAVING COUNT(*)>1) ORDER BY lokaalid, tijdstipregistratie, lv_publicatiedatum), fids_to_delete AS (SELECT ogc_fid FROM fids WHERE ogc_fid NOT IN (SELECT MIN(ogc_fid) FROM fids GROUP BY lokaalid,tijdstipregistratie)) DELETE FROM ' || tablename || ' WHERE ogc_fid IN (SELECT ogc_fid FROM fids_to_delete);'; +-- GET DIAGNOSTICS rowcount = ROW_COUNT; +-- +-- RETURN tablename || ': ' || rowcount; +-- ELSE +-- RETURN tablename || ' does not exist'; +-- END IF; +-- +-- END; +-- $$ +-- LANGUAGE plpgsql; -CREATE OR REPLACE FUNCTION _nlx_dedup_data(tablename VARCHAR) +-- Voorbeeld: Ontdubbelen voorkomens panden +-- create table pand_dubbelevoorkomens as select max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, count(*) aantal from pand group by lokaalid, tijdstipregistratie, lv_publicatiedatum having count(*) > 1 order by lokaalid, tijdstipregistratie, lv_publicatiedatum; +-- +-- create table pand_todelete as select p.ogc_fid from pand p join pand_dubbelevoorkomens d on p.lokaalid=d.lokaalid and p.tijdstipregistratie=d.tijdstipregistratie and p.lv_publicatiedatum=d.lv_publicatiedatum and p.ogc_fid!=d.max_fid; +-- +-- delete from pand where ogc_fid in (select ogc_fid from pand_todelete); +-- drop table pand_dubbelevoorkomens; +-- drop table pand_todelete; + +-- Crude but effective - JvdB +CREATE OR REPLACE FUNCTION _nlx_dedup_table(tablename VARCHAR) RETURNS VARCHAR AS $$ -DECLARE - rowcount INTEGER; BEGIN + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete;'; - IF EXISTS ( - SELECT table_name - FROM information_schema.tables - WHERE table_schema='{schema}' AND table_name=tablename - ) - THEN - EXECUTE 'WITH ft AS (SELECT * FROM ' || tablename || '), fids AS (SELECT ogc_fid, lokaalid, tijdstipregistratie FROM ft WHERE eindregistratie IS NOT NULL AND lokaalid||tijdstipregistratie IN (SELECT lokaalid||tijdstipregistratie FROM ft WHERE eindregistratie IS NOT NULL GROUP BY lokaalid,tijdstipregistratie HAVING COUNT(*)>1) ORDER BY lokaalid, tijdstipregistratie, lv_publicatiedatum), fids_to_delete AS (SELECT ogc_fid FROM fids WHERE ogc_fid NOT IN (SELECT MIN(ogc_fid) FROM fids GROUP BY lokaalid,tijdstipregistratie)) DELETE FROM ' || tablename || ' WHERE ogc_fid IN (SELECT ogc_fid FROM fids_to_delete);'; - GET DIAGNOSTICS rowcount = ROW_COUNT; + EXECUTE 'CREATE TABLE _dubbelevoorkomens_' || tablename || ' AS SELECT max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, count(*) aantal FROM ' || tablename || ' GROUP BY lokaalid, tijdstipregistratie, lv_publicatiedatum having count(*) > 1 ORDER BY lokaalid, tijdstipregistratie, lv_publicatiedatum;'; + EXECUTE 'CREATE TABLE _todelete AS SELECT p.ogc_fid FROM ' || tablename || ' p JOIN _dubbelevoorkomens_' || tablename || ' d ON p.lokaalid=d.lokaalid AND p.tijdstipregistratie=d.tijdstipregistratie AND p.lv_publicatiedatum=d.lv_publicatiedatum AND p.ogc_fid!=d.max_fid;'; + EXECUTE 'DELETE FROM ' || tablename || ' WHERE ogc_fid IN (SELECT ogc_fid FROM _todelete);'; + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete;'; + RETURN tablename; +END; +$$ +LANGUAGE plpgsql; - RETURN tablename || ': ' || rowcount; - ELSE - RETURN tablename || ' does not exist'; - END IF; +-- omdat openbareruimtelabel uit subfeatures is gegenereerd, zijn alle BGT keys/ids sowieso dubbel +-- _nlx_dedup_table() zou alle dubbele geheel deleten... +-- dus additionele criteria aanwenden: geometrie_punt en tekst +CREATE OR REPLACE FUNCTION _nlx_dedup_table_openbareruimtelabel(tablename VARCHAR) +RETURNS VARCHAR AS +$$ +BEGIN + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete;'; + EXECUTE 'CREATE TABLE _dubbelevoorkomens_' || tablename || ' AS SELECT max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, geometrie_punt, tekst, count(*) aantal FROM ' || tablename || ' GROUP BY lokaalid, tijdstipregistratie, lv_publicatiedatum, geometrie_punt, tekst having count(*) > 1 ORDER BY lokaalid, tijdstipregistratie, lv_publicatiedatum;'; + EXECUTE 'CREATE TABLE _todelete AS SELECT p.ogc_fid FROM ' || tablename || ' p JOIN _dubbelevoorkomens_' || tablename || ' d ON p.lokaalid=d.lokaalid AND p.tijdstipregistratie=d.tijdstipregistratie AND p.lv_publicatiedatum=d.lv_publicatiedatum AND p.geometrie_punt=d.geometrie_punt AND p.tekst=d.tekst AND p.ogc_fid!=d.max_fid;'; + EXECUTE 'DELETE FROM ' || tablename || ' WHERE ogc_fid IN (SELECT ogc_fid FROM _todelete);'; + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete;'; + RETURN tablename; END; $$ LANGUAGE plpgsql; -SELECT _nlx_dedup_data('bak_tmp'); -SELECT _nlx_dedup_data('begroeidterreindeel_tmp'); -SELECT _nlx_dedup_data('bord_tmp'); -SELECT _nlx_dedup_data('buurt_tmp'); -SELECT _nlx_dedup_data('functioneelgebied_tmp'); -SELECT _nlx_dedup_data('gebouwinstallatie_tmp'); -SELECT _nlx_dedup_data('installatie_tmp'); -SELECT _nlx_dedup_data('kast_tmp'); -SELECT _nlx_dedup_data('kunstwerkdeel_tmp'); -SELECT _nlx_dedup_data('mast_tmp'); -SELECT _nlx_dedup_data('onbegroeidterreindeel_tmp'); -SELECT _nlx_dedup_data('ondersteunendwaterdeel_tmp'); -SELECT _nlx_dedup_data('ondersteunendwegdeel_tmp'); -SELECT _nlx_dedup_data('ongeclassificeerdobject_tmp'); -SELECT _nlx_dedup_data('openbareruimte_tmp'); -SELECT _nlx_dedup_data('openbareruimtelabel'); -SELECT _nlx_dedup_data('overbruggingsdeel_tmp'); -SELECT _nlx_dedup_data('overigbouwwerk_tmp'); -SELECT _nlx_dedup_data('overigescheiding_tmp'); -SELECT _nlx_dedup_data('paal_tmp'); -SELECT _nlx_dedup_data('pand_tmp'); + +-- omdat pand_nummeraanduiding uit subfeatures is gegenereerd, zijn alle BGT keys/ids sowieso dubbel +-- _nlx_dedup_table() zou alle dubbele geheel deleten... +-- dus additionele criteria aanwenden: geometrie_nummeraanduiding en nummeraanduidingtekst +CREATE OR REPLACE FUNCTION _nlx_dedup_table_nummeraanduiding(tablename VARCHAR) +RETURNS VARCHAR AS +$$ +BEGIN + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete_' || tablename || ' '; + + EXECUTE 'CREATE TABLE _dubbelevoorkomens_' || tablename || ' AS SELECT max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, geometrie_nummeraanduiding, nummeraanduidingtekst, count(*) aantal FROM ' || tablename || ' GROUP BY lokaalid, tijdstipregistratie, lv_publicatiedatum, geometrie_nummeraanduiding, nummeraanduidingtekst having count(*) > 1 ORDER BY lokaalid, tijdstipregistratie, lv_publicatiedatum;'; + EXECUTE 'CREATE TABLE _todelete_' || tablename || ' AS SELECT p.ogc_fid FROM ' || tablename || ' p JOIN _dubbelevoorkomens_' || tablename || ' d ON p.lokaalid=d.lokaalid AND p.tijdstipregistratie=d.tijdstipregistratie AND p.lv_publicatiedatum=d.lv_publicatiedatum AND p.geometrie_nummeraanduiding=d.geometrie_nummeraanduiding AND p.nummeraanduidingtekst=d.nummeraanduidingtekst AND p.ogc_fid!=d.max_fid;'; + EXECUTE 'DELETE FROM ' || tablename || ' WHERE ogc_fid IN (SELECT ogc_fid FROM _todelete_' || tablename || ');'; + EXECUTE 'DROP TABLE IF EXISTS _dubbelevoorkomens_' || tablename || ' '; + EXECUTE 'DROP TABLE IF EXISTS _todelete_' || tablename || ' '; + RETURN tablename; +END; +$$ +LANGUAGE plpgsql; + +SELECT _nlx_dedup_table('bak'); +SELECT _nlx_dedup_table('begroeidterreindeel'); +SELECT _nlx_dedup_table('bord'); +SELECT _nlx_dedup_table('buurt'); +SELECT _nlx_dedup_table('functioneelgebied'); +SELECT _nlx_dedup_table('gebouwinstallatie'); +SELECT _nlx_dedup_table('installatie'); +SELECT _nlx_dedup_table('kast'); +SELECT _nlx_dedup_table('kunstwerkdeel'); +SELECT _nlx_dedup_table('mast'); +SELECT _nlx_dedup_table('onbegroeidterreindeel'); +SELECT _nlx_dedup_table('ondersteunendwaterdeel'); +SELECT _nlx_dedup_table('ondersteunendwegdeel'); +SELECT _nlx_dedup_table('ongeclassificeerdobject'); +SELECT _nlx_dedup_table('openbareruimte'); +SELECT _nlx_dedup_table_openbareruimtelabel('openbareruimtelabel'); --subfeatures komen per definitie meerdere keren voor +SELECT _nlx_dedup_table('overbruggingsdeel'); +SELECT _nlx_dedup_table('overigbouwwerk'); +SELECT _nlx_dedup_table('overigescheiding'); +SELECT _nlx_dedup_table('paal'); +SELECT _nlx_dedup_table('pand'); +SELECT _nlx_dedup_table_nummeraanduiding('pand_nummeraanduiding'); --subfeatures komen per definitie meerdere keren voor -- Plaatsbepalingspunten tijdelijk uitgeschakeld, bevatten geen tijdstipregistratie en zitten niet -- in de dump. ---SELECT _nlx_dedup_data('plaatsbepalingspunt'); +--SELECT _nlx_dedup_table('plaatsbepalingspunt'); -SELECT _nlx_dedup_data('put_tmp'); -SELECT _nlx_dedup_data('scheiding_tmp'); -SELECT _nlx_dedup_data('sensor_tmp'); -SELECT _nlx_dedup_data('spoor_tmp'); -SELECT _nlx_dedup_data('stadsdeel_tmp'); -SELECT _nlx_dedup_data('straatmeubilair_tmp'); -SELECT _nlx_dedup_data('tunneldeel_tmp'); -SELECT _nlx_dedup_data('vegetatieobject_tmp'); -SELECT _nlx_dedup_data('waterdeel_tmp'); -SELECT _nlx_dedup_data('waterinrichtingselement_tmp'); -SELECT _nlx_dedup_data('waterschap_tmp'); -SELECT _nlx_dedup_data('wegdeel_tmp'); -SELECT _nlx_dedup_data('weginrichtingselement_tmp'); -SELECT _nlx_dedup_data('wijk_tmp'); +SELECT _nlx_dedup_table('put'); +SELECT _nlx_dedup_table('scheiding'); +SELECT _nlx_dedup_table('sensor'); +SELECT _nlx_dedup_table('spoor'); +SELECT _nlx_dedup_table('stadsdeel'); +SELECT _nlx_dedup_table('straatmeubilair'); +SELECT _nlx_dedup_table('tunneldeel'); +SELECT _nlx_dedup_table('vegetatieobject'); +SELECT _nlx_dedup_table('waterdeel'); +SELECT _nlx_dedup_table('waterinrichtingselement'); +SELECT _nlx_dedup_table('waterschap'); +SELECT _nlx_dedup_table('wegdeel'); +SELECT _nlx_dedup_table('weginrichtingselement'); +SELECT _nlx_dedup_table('wijk'); -DROP FUNCTION _nlx_dedup_data(tablename VARCHAR); +DROP FUNCTION _nlx_dedup_table(tablename VARCHAR); +DROP FUNCTION _nlx_dedup_table_openbareruimtelabel(tablename VARCHAR); +DROP FUNCTION _nlx_dedup_table_nummeraanduiding(tablename VARCHAR); SET search_path="$user",public; - diff --git a/bgt/etl/sql/fix-eindregistratie.sql b/bgt/etl/sql/fix-eindregistratie.sql index b4878926..b06acb8d 100644 --- a/bgt/etl/sql/fix-eindregistratie.sql +++ b/bgt/etl/sql/fix-eindregistratie.sql @@ -1,13 +1,21 @@ --- Ontdubbelen voorkomens panden -create table pand_dubbelevoorkomens as select max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, count(*) aantal from pand group by lokaalid, tijdstipregistratie, lv_publicatiedatum having count(*) > 1 order by lokaalid, tijdstipregistratie, lv_publicatiedatum; - -create table pand_todelete as select p.ogc_fid from pand p join pand_dubbelevoorkomens d on p.lokaalid=d.lokaalid and p.tijdstipregistratie=d.tijdstipregistratie and p.lv_publicatiedatum=d.lv_publicatiedatum and p.ogc_fid!=d.max_fid; - -delete from pand where ogc_fid in (select ogc_fid from pand_todelete); -drop table pand_dubbelevoorkomens; -drop table pand_todelete; - - +-- -- Ontdubbelen voorkomens panden +-- create table pand_dubbelevoorkomens as select max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, count(*) aantal from pand group by lokaalid, tijdstipregistratie, lv_publicatiedatum having count(*) > 1 order by lokaalid, tijdstipregistratie, lv_publicatiedatum; +-- +-- create table pand_todelete as select p.ogc_fid from pand p join pand_dubbelevoorkomens d on p.lokaalid=d.lokaalid and p.tijdstipregistratie=d.tijdstipregistratie and p.lv_publicatiedatum=d.lv_publicatiedatum and p.ogc_fid!=d.max_fid; +-- +-- delete from pand where ogc_fid in (select ogc_fid from pand_todelete); +-- drop table pand_dubbelevoorkomens; +-- drop table pand_todelete; +-- +-- -- Ontdubbelen voorkomens wegdeel +-- create table wegdeel_dubbelevoorkomens as select max(ogc_fid) max_fid, lokaalid, tijdstipregistratie, lv_publicatiedatum, count(*) aantal from wegdeel group by lokaalid, tijdstipregistratie, lv_publicatiedatum having count(*) > 1 order by lokaalid, tijdstipregistratie, lv_publicatiedatum; +-- +-- create table wegdeel_todelete as select p.ogc_fid from wegdeel p join wegdeel_dubbelevoorkomens d on p.lokaalid=d.lokaalid and p.tijdstipregistratie=d.tijdstipregistratie and p.lv_publicatiedatum=d.lv_publicatiedatum and p.ogc_fid!=d.max_fid; +-- +-- delete from wegdeel where ogc_fid in (select ogc_fid from wegdeel_todelete); +-- -- drop table wegdeel_dubbelevoorkomens; +-- -- drop table wegdeel_todelete; +-- -- bak create index bak_lokaalid on bak(lokaalid); diff --git a/bgt/etl/stetlbgt/subfeaturehandler.py b/bgt/etl/stetlbgt/subfeaturehandler.py index 18e12b5b..df21c9f2 100644 --- a/bgt/etl/stetlbgt/subfeaturehandler.py +++ b/bgt/etl/stetlbgt/subfeaturehandler.py @@ -1,13 +1,15 @@ # -*- coding: utf-8 -*- # -# Filter that deals with subfeatures in BGT GML files. +# Filter that extracts subfeatures from BGT or BGT-derived CityGML files. +# +# Author: Frank Steggink (original) +# Author: Just van den Broecke - make more robust, handle non-CityGML files (BRK e.g.) # -# Author: Frank Steggink import os from copy import deepcopy -# We need specifically lxml, because of the incremental XML generation +# We need specifically lxml, no fallback, because of the incremental XML generation from lxml import etree from stetl.component import Config from stetl.filter import Filter @@ -19,8 +21,8 @@ class SubFeatureHandler(Filter): """ - This filter checks whether the data file contains the given parent features. If this is the case, the parent feature - and subfeatures are split into different features. + This Filter checks whether the data file contains the given parent features. If this is the case, each parent feature + and its subfeatures are extracted and split into individual features and written to a new CityGML file. """ # Start attribute config meta @@ -89,39 +91,28 @@ def parent_feature_geom_name(self): def __init__(self, configdict, section, consumes=FORMAT.string, produces=FORMAT.string): Filter.__init__(self, configdict, section, consumes, produces) - def check_required_config_option(self, option, option_name): - if option is None: - # If the required option is not present: - err_s = 'The %s needs to be configured' % option_name - log.error(err_s) - raise ValueError(err_s) - def init(self): - log.info('Init: SubFeatureHandler') - self.check_required_config_option(self.temp_file, 'temp_file') - self.check_required_config_option(self.parent_tag_ns, 'parent_tag_ns') - self.check_required_config_option(self.parent_tag_name, 'parent_tag_name') - self.check_required_config_option(self.namespace_mapping, 'namespace_mapping') - self.check_required_config_option(self.child_feature_xpath, 'child_feature_xpath') - + log.info('init() for %s' % self.child_feature_xpath) self.namespace_mapping_parsed = {nsp.split(':', 1)[0]: nsp.split(':', 1)[1] for nsp in self.namespace_mapping.split()} def exit(self): - log.info('Exit: SubFeatureHandler') + log.info('exit()') def invoke(self, packet): + log.info('invoke() for %s' % self.child_feature_xpath) + + # packet.data contains GML file path input_gml = packet.data if input_gml is None: return packet - log.info('In SubFeatureHandler.invoke') - if not os.path.exists(input_gml): - msg = "The given XML file doesn't exist" + msg = "input GML file %s does not exist" % input_gml log.error(msg) raise ValueError(msg) if not self.checkGmlFile(input_gml): + log.info('skipping GML file for subfeat=%s' % self.child_feature_xpath) return packet nsmap = {None: "http://www.opengis.net/citygml/2.0"} @@ -129,7 +120,7 @@ def invoke(self, packet): try: with etree.xmlfile(self.temp_file) as xf: with xf.element('{http://www.opengis.net/citygml/2.0}CityModel', nsmap=nsmap): - with open(input_gml) as f: + with open(input_gml, 'rb') as f: context = etree.iterparse(f) for action, elem in context: if action == 'end' and elem.tag == '{http://www.opengis.net/citygml/2.0}cityObjectMember': @@ -154,7 +145,7 @@ def invoke(self, packet): pass # Check if the resulting file can be opened successfully - with open(self.temp_file) as f: + with open(self.temp_file, 'rb') as f: context = etree.iterparse(f, tag='{http://www.opengis.net/citygml/2.0}cityObjectMember') for _, elem in context: elem.clear(keep_tail=True) @@ -169,23 +160,38 @@ def invoke(self, packet): # Return the original packet, since this contains the name of the GML file which is being loaded return packet + # Check GML file for occurrence of target CityObjectMember/ def checkGmlFile(self, input_gml): result = False parentTag = '{%s}%s' % (self.parent_tag_ns, self.parent_tag_name) - with open(input_gml) as f: - prevTag = '' - context = etree.iterparse(f) - for action, elem in context: - if action == 'end' and elem.tag == '{http://www.opengis.net/citygml/2.0}cityObjectMember': - if prevTag == parentTag: - # We're processing a document with the given parent features, quit - result = True - - break - - prevTag = elem.tag - - del context + try: + with open(input_gml, 'rb') as f: + prevTag = '' + actions = ['start', 'end'] + context = etree.iterparse(f, events=actions) + check_doc_tag = True + for action, elem in context: + if action == 'start' and check_doc_tag and 'citygml' not in elem.tag: + # Document is not even CityGML! + log.info('checkGmlFile: skipping, not a CityGML file tag=%s' % elem.tag) + break + + check_doc_tag = False + + if action == 'end' and elem.tag == '{http://www.opengis.net/citygml/2.0}cityObjectMember': + if prevTag == parentTag: + # Found target parent feature: success + log.info('checkGmlFile: found parentTag %s' % parentTag) + result = True + + # Assuming all cityObjectMembers are of same FeatureType! + break + + prevTag = elem.tag + + del context + except Exception as e: + log.error('checkGmlFile: unexpected exception: %s' + str(e)) return result diff --git a/bgt/etl/test/input/.gitignore b/bgt/etl/test/input/.gitignore new file mode 100644 index 00000000..c3b0cfab --- /dev/null +++ b/bgt/etl/test/input/.gitignore @@ -0,0 +1,2 @@ +*.zip +blok64 diff --git a/bgt/etl/test/input/README.md b/bgt/etl/test/input/README.md index e69de29b..8711a7a8 100644 --- a/bgt/etl/test/input/README.md +++ b/bgt/etl/test/input/README.md @@ -0,0 +1,2 @@ +# Voorbeeld stukje Otterlo zip +# via https://app.pdok.nl/lv/bgt/download-viewer/ diff --git a/bgt/etl/test/input/bgt-gml-compare.gml b/bgt/etl/test/input/bgt-gml-compare.gml new file mode 100644 index 00000000..ac7f070b --- /dev/null +++ b/bgt/etl/test/input/bgt-gml-compare.gml @@ -0,0 +1,58 @@ + + + + 2017-05-03 + 2017-09-27 + 2017-05-31T13:30:22.000 + NL.IMGeo + G0362.50f29a48a71d4bd8832c535f80ee8c3d + 2017-05-30T16:33:12.000 + 2017-09-27T09:27:03.000 + G0362 + false + 0 + bestaand + open loods + + + + + 118372.413 478785.541 118371.392 478787.669 118368.708 478786.292 118369.747 478784.174 118372.413 478785.541 + + + + + + + + + 2017-05-03 + 2017-09-27 + 2017-05-31T13:30:22.000 + + + NL.IMGeo + G0362.50f29a48a71d4bd8832c535f80ee8c3d + + + false + 2017-09-27T09:27:03.000 + 2017-05-30T16:33:12.000 + G0362 + 0 + bestaand + geenWaarde + + + + + 118372.413 478785.541 118371.392 478787.669 118368.708 478786.292 118369.747 478784.174 118372.413 478785.541 + + + + + open loods + waardeOnbekend + + + diff --git a/bgt/etl/test/input/bgt_pand-s.gml b/bgt/etl/test/input/bgt_pand-s.gml new file mode 100644 index 00000000..88ac132d --- /dev/null +++ b/bgt/etl/test/input/bgt_pand-s.gml @@ -0,0 +1,5012 @@ + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:12.000 + + + NL.IMGeo + G0362.0f4256da8c9d4094a2b97e47f0138ea7 + + + G0362 + bestaand + geenWaarde + 0362100001083109 + + + + + + + 119238.155 476818.965 119237.386 476815.653 119239.284 476815.212 119240.053 476818.525 119238.155 476818.965 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:48:03.000 + + + NL.IMGeo + G0362.3fa4f7f1111345e791f024313792dcb8 + + + G0362 + bestaand + geenWaarde + 0362100000030644 + + + + + + + 118932.149 477149.950 118928.498 477150.791 118928.095 477149.044 118931.146 477148.308 118931.856 477148.777 118932.149 477149.950 + + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:25.000 + + + NL.IMGeo + G0362.410ac8f08b67416599367e92815e1be0 + + + G0362 + bestaand + geenWaarde + 0362100000215261 + + + + + + + 118168.725 478573.085 118165.695 478573.543 118165.461 478571.882 118168.479 478571.449 118168.725 478573.085 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:33.000 + + + NL.IMGeo + G0362.44bb894d2de64c6c837bc6ca052eef43 + + + G0362 + bestaand + geenWaarde + 0362100001105747 + + + + + + + 118400.132 477523.484 118397.697 477524.048 118397.020 477521.125 118399.456 477520.561 118400.132 477523.484 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:13.000 + + + NL.IMGeo + G0362.45c376b8a8d74327b671cc886ef6c3e3 + + + G0362 + bestaand + geenWaarde + 0362100000176694 + + + + + + + 117962.962 476843.469 117961.379 476836.658 117965.273 476835.743 117966.859 476842.571 117962.962 476843.469 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:36.000 + + + NL.IMGeo + G0362.4687da83e5f54321ba7ffe6787b4bead + + + G0362 + bestaand + geenWaarde + 0362100000255400 + + + + + + + 118513.943 476772.653 118511.770 476773.155 118510.913 476769.448 118513.085 476768.945 118513.943 476772.653 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:18.000 + + + NL.IMGeo + G0362.47e907176777482b9eaf607e7d5d5114 + + + G0362 + bestaand + geenWaarde + 0362100001070396 + + + + + + + 118086.365 477253.443 118083.788 477251.837 118084.845 477250.139 118087.423 477251.745 118086.365 477253.443 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-08-10T16:32:31.000 + + + NL.IMGeo + G0362.4c40ce22b3ce444091911c7161bd37d0 + + + G0362 + bestaand + geenWaarde + 0362100001097789 + + + + + + + 118730.084 478874.114 118729.915 478874.682 118727.536 478874.007 118724.295 478873.088 118725.169 478870.151 118725.227 478869.956 + 118730.828 478871.615 118730.084 478874.114 + + + + + + + + + + + + 46 19 + + + + + 118727.584 478872.740 + + + -16.5 + + + + + 0362010002210481 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:58.000 + + + NL.IMGeo + G0362.37f553f5fb554dae97accb6eea2f4d2c + + + G0362 + bestaand + geenWaarde + 0362100000335886 + + + + + + + 118915.593 477114.284 118912.876 477114.937 118912.349 477112.704 118915.080 477112.060 118915.593 477114.284 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.4141fbdc6fa9482b8a7ae67161d8d9cf + + + G0362 + bestaand + geenWaarde + 0362100001106038 + + + + + + + 118249.839 478593.364 118247.186 478593.728 118246.363 478587.736 118249.016 478587.360 118249.839 478593.364 + + + + + + + + + + + 12 02 + + + + + 118247.512 478590.671 + + + -81.9 + + + + + 0362010002212110 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:24.000 + + + NL.IMGeo + G0362.4240e75a81f642b89c0002b907610c78 + + + G0362 + bestaand + geenWaarde + 0362100000213137 + + + + + + + 118242.830 477581.320 118240.433 477581.875 118239.835 477579.295 118242.231 477578.738 118242.830 477581.320 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.433ce7178e02477ea2fbf27b72a667be + + + G0362 + bestaand + geenWaarde + 0362100001073732 + + + + + + + 118407.198 478736.644 118401.856 478733.912 118405.152 478727.479 118410.492 478730.215 118407.198 478736.644 + + + + + + + + + + + 3 + + + + + 118406.890 478731.796 + + + -27.1 + + + + + 0362010002024828 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:44.000 + + + NL.IMGeo + G0362.440ab623dd414cd381b99e12f9fe0cfb + + + G0362 + bestaand + geenWaarde + 0362100001075752 + + + + + + + 118572.817 478456.228 118572.280 478452.365 118574.786 478452.016 118575.346 478455.977 118572.830 478456.327 118572.817 478456.228 + + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:32.000 + + + NL.IMGeo + G0362.175f6247b6ab494eac862926c4ec485b + + + G0362 + bestaand + geenWaarde + 0362100001088021 + + + + + + + 119510.106 478174.565 119509.297 478172.525 119511.779 478171.527 119511.962 478171.454 119512.796 478173.508 119510.106 478174.565 + + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:07.000 + + + NL.IMGeo + G0362.2005a591116348d2a34277f18ec13086 + + + G0362 + bestaand + geenWaarde + 0362100100090856 + + + + + + + 119094.577 476948.013 119092.035 476948.605 119091.456 476946.115 119093.998 476945.523 119094.577 476948.013 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.22e1ee0e212b46a68bf02a45b0c780b6 + + + G0362 + bestaand + geenWaarde + 0362100001079397 + + + + + + + 118860.798 478326.596 118854.721 478326.791 118854.446 478318.234 118860.523 478318.039 118860.798 478326.596 + + + + + + + + + + + 330 + + + + + 118857.826 478321.247 + + + 1.9 + + + + + 0362010002032568 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:28.000 + + + NL.IMGeo + G0362.25bbf55542e543c0b13d4ccdccefa5ff + + + G0362 + bestaand + geenWaarde + 0362100001072488 + + + + + + + 118331.640 476997.226 118331.109 476994.912 118334.032 476994.240 118334.563 476996.549 118331.640 476997.226 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:19.000 + + + NL.IMGeo + G0362.29d977be7ba946b8a0bd408e0470a8e6 + + + G0362 + bestaand + geenWaarde + 0362100000196544 + + + + + + + 118110.741 477583.753 118113.123 477583.199 118113.723 477585.780 118111.338 477586.329 118110.741 477583.753 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:43.000 + + + NL.IMGeo + G0362.2d960c464b2a46ef964d41a9cf509d73 + + + G0362 + bestaand + geenWaarde + 0362100001091008 + + + + + + + 119772.178 478146.503 119775.063 478145.348 119775.870 478147.481 119772.997 478148.648 119772.178 478146.503 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:34.000 + + + NL.IMGeo + G0362.06fa391a492149b6991e5884999063b0 + + + G0362 + bestaand + geenWaarde + 0362100001088855 + + + + + + + 119647.053 477153.922 119644.532 477154.537 119643.971 477151.942 119646.500 477151.370 119647.053 477153.922 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:50:32.000 + + + NL.IMGeo + G0362.15e3545dbc694ee4b9e2a03e5851e435 + + + G0362 + bestaand + geenWaarde + 0362100001088017 + + + + + + + 119532.520 478165.674 119531.707 478163.607 119534.442 478162.530 119535.264 478164.595 119532.520 478165.674 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-06-25T09:03:39.000 + + + NL.IMGeo + G0362.197a076e75f7446e84dd2aebcafbc536 + + + G0362 + bestaand + geenWaarde + 0362100001074675 + + + + + + + 118519.769 478859.354 118516.764 478859.450 118516.657 478853.671 118518.399 478853.637 118519.549 478853.615 118519.769 478859.354 + + + + + + + + + + + + 32B + + + + + 118518.064 478856.654 + + + 0 + + + + + 0362010002206892 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-08-14T09:37:11.000 + + + NL.IMGeo + G0362.1c48f8fa78804e13b11bfec857ec0733 + + + G0362 + bestaand + geenWaarde + 0362100001083292 + + + + + + + 119225.145 477646.316 119222.354 477647.419 119220.159 477641.898 119222.948 477640.789 119225.145 477646.316 + + + + + + + + + + + 126 06 + + + + + 119222.619 477644.021 + + + -68.3 + + + + + 0362010002021300 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33.000 + 0 + false + 2015-09-07T10:09:16.000 + + + NL.IMGeo + G0362.d5dd9e94fca14f79baa0b4c419cbe735 + + + G0362 + bestaand + geenWaarde + 0362100001089269 + + + + + + + 119603.716 479923.803 119597.456 479923.984 119597.453 479923.874 119597.447 479923.654 119597.547 479923.652 119597.475 479920.963 + 119597.375 479920.965 119597.371 479920.805 119603.636 479920.691 119603.716 479923.803 + + + + + + + + + + + + 202D + + + + + 119600.838 479922.242 + + + 1 + + + + + 0362010002210073 + + + + + + + 2014-10-31 + 2016-07-28T22:41:20.000 + 0 + false + 2016-07-28T11:22:04.000 + + + NL.IMGeo + G0362.1d09bf1fb02c4f7185ab0feb4217f464 + + + G0362 + bestaand + geenWaarde + 0362100001077446 + + + + + + + 118717.137 479881.643 118714.065 479880.519 118711.735 479886.949 118705.285 479884.612 118708.543 479875.617 118715.152 479877.920 + 118717.029 479872.706 118720.078 479873.822 118717.137 479881.643 + + + + + + + + + + + + 49 + + + + + 118709.644 479881.937 + + + -19.9 + + + + + 0362010002030328 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2016-11-03T11:49:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.ba76ecdb02994877870d274db9ae9c83 + + + G0362 + bestaand + geenWaarde + 0362100001079289 + + + + + + + 118894.128 476989.591 118879.806 476992.949 118879.795 476992.902 118879.520 476991.745 118881.141 476991.378 118880.028 476986.594 + 118888.373 476984.672 118889.217 476988.292 118893.556 476987.203 118894.128 476989.591 + + + + + + + + + + + + 7 + + + + + 118886.076 476988.323 + + + -76.9 + + + + + 0362010002027736 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2016-11-03T11:49:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.ca57340da8eb48728a506b5d9c641f11 + + + G0362 + bestaand + geenWaarde + 0362100001054453 + + + + + + + 119911.084 478043.685 119899.722 478048.217 119878.415 478056.717 119868.944 478032.988 119871.052 478032.145 119871.609 478031.922 + 119873.559 478031.142 119874.023 478030.956 119875.973 478030.176 119876.437 478029.990 119878.386 478029.210 119878.761 478030.138 119882.036 478028.828 + 119881.664 478027.899 119885.184 478026.611 119886.671 478029.997 119888.621 478029.140 119878.409 478003.646 119883.397 478001.579 119884.883 478000.963 + 119885.388 478002.137 119886.877 478001.539 119886.432 478000.328 119887.288 477999.989 119892.997 477997.721 119904.596 478027.133 119916.644 478022.116 + 119915.894 478020.253 119919.639 478018.724 119920.428 478020.599 119931.284 478016.242 119931.442 478016.617 119935.337 478025.902 119908.212 478036.908 + 119911.084 478043.685 + + + + + + 119884.183 478043.462 119893.059 478040.036 119890.316 478033.235 119881.491 478036.686 119884.183 478043.462 + + + + + + + + + + + 2-2 + + + + + 119881.673 478031.609 + + + 22.1 + + + + + 0362010100091999 + 0362010100092088 + + + + + + + 2014-10-31 + 2016-11-03T13:31:29.000 + 0 + false + 2016-11-03T11:49:21.000 + + + NL.IMGeo + G0362.f42d3e453bf1405093d477be2859f036 + + + G0362 + bestaand + geenWaarde + 0362100001080597 + + + + + + + 118976.292 477133.172 118978.217 477141.636 118973.368 477142.781 118973.733 477144.355 118972.489 477144.632 118969.832 477133.196 + 118969.797 477133.047 118969.929 477133.011 118970.760 477132.786 118972.647 477134.014 118976.292 477133.172 + + + + + + + + + + + + 112 + + + + + 118974.340 477136.746 + + + 13.1 + + + + + 0362010002015271 + + + + + + + 2015-07-06 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-11T16:00:59.000 + 2015-08-10T16:32:31.000 + + + NL.IMGeo + G0362.1d96814105344f619d15a81246cd0f60 + + + G0362 + bestaand + geenWaarde + 0362100001058413 + + + + + + + 119167.618 477073.252 119162.787 477074.401 119164.163 477080.134 119153.329 477082.651 119149.573 477066.474 119160.328 477063.977 + 119161.664 477069.900 119166.508 477068.721 119167.618 477073.252 + + + + + + + + + + 119168.212 477079.193 119165.497 477079.824 119165.271 477078.867 119166.217 477077.327 119168.162 477076.877 119168.549 477078.629 + 119168.212 477079.193 + + + + + + + + + + 119161.633 477063.564 119164.869 477062.827 119165.390 477065.108 119163.330 477065.517 119161.905 477064.730 119161.633 477063.564 + + + + + + + + + + + + 170-180 + + + + + 119160.260 477072.766 + + + -77.3 + + + + + 0362010002028492 + 0362010002028502 + + + + + + + 2014-10-31 + 2018-12-11T17:16:45.000 + 0 + false + 2018-12-11T16:00:59.000 + + + NL.IMGeo + G0362.b732978c09ca40e4afc4aeed536f1951 + + + G0362 + bestaand + geenWaarde + 0362100001076802 + + + + + + + 118693.419 476697.875 118683.752 476700.101 118682.236 476693.574 118691.904 476691.349 118693.419 476697.875 + + + + + + + + + + + 13 + + + + + 118686.859 476695.800 + + + 13.1 + + + + + 0362010002004811 + + + + + + + 2014-10-31 + 2016-06-24T18:13:40.000 + 0 + false + 2018-12-24T07:51:09.000 + 2016-06-24T10:44:25.000 + + + NL.IMGeo + G0362.e3d118345cce45c5a2cdb65f418399bf + + + G0362 + bestaand + geenWaarde + 0362100001064485 + + + + + + + 116816.925 477877.359 116806.954 477882.005 116804.673 477877.110 116814.647 477872.462 116814.735 477872.652 116816.925 477877.359 + + + + + + + + + + + + 5 + + + + + 116809.496 477877.990 + + + -65 + + + + + 0362010002120446 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33.000 + 0 + false + 2015-08-20T13:20:33.000 + + + NL.IMGeo + G0362.a82596bc542842d5b44264423c44b625 + + + G0362 + bestaand + geenWaarde + 0362100001090116 + + + + + + + 119714.081 479780.130 119714.025 479780.155 119714.005 479780.110 119711.482 479781.229 119711.502 479781.274 119711.326 479781.352 + 119711.309 479781.312 119708.911 479775.760 119711.665 479774.539 119714.081 479780.130 + + + + + + + + + + + + 3B + + + + + 119711.074 479778.245 + + + -66.6 + + + + + 0362010002211141 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2014-10-31T10:49:20.000 + + + NL.IMGeo + G0362.6e094012f6cb4a7299e9bbc39040cb14 + + + G0362 + bestaand + geenWaarde + 0362100000198473 + + + + + + + 118112.105 478629.758 118114.628 478629.404 118114.894 478631.261 118112.372 478631.622 118112.105 478629.758 + + + + + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2015-08-10T16:32:31.000 + + + NL.IMGeo + G0362.71b879fca465495e9b7841c91e76174a + + + G0362 + bestaand + geenWaarde + 0362100001087960 + + + + + + + 119506.203 477946.942 119503.371 477948.077 119501.071 477942.577 119503.175 477941.749 119503.993 477941.427 119506.203 477946.942 + + + + + + + + + + + + 6G + + + + + 119503.971 477945.682 + + + 21.8 + + + + + 0362010002209331 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-11-27T16:18:13.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.3bfe11d41c5c44eda5273aafebb64a77 + + + G0362 + bestaand + geenWaarde + 0362100001080931 + + + + + + + 118991.794 479020.043 118991.593 479020.115 118991.525 479019.970 118986.318 479021.991 118986.358 479022.136 118986.178 479022.207 + 118983.262 479014.736 118983.471 479014.654 118983.534 479014.781 118988.703 479012.735 118988.652 479012.608 118988.861 479012.519 118991.794 479020.043 + + + + + + + + + + + + 11 + + + + + 118988.279 479020.059 + + + 21.6 + + + + + 0362010002026258 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-11-27T16:18:13.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.dfed929c933f4f88a04ba9681620e507 + + + G0362 + bestaand + geenWaarde + 0362100001068506 + + + + + + + 117846.489 476968.704 117839.954 476970.226 117837.500 476970.797 117836.300 476965.634 117845.286 476963.542 117846.489 476968.704 + + + + + + + + + + + + 65 + + + + + 117837.648 476967.538 + + + -76.9 + + + + + 0362010002023892 + + + + + + + 2014-10-31 + 2018-12-11T17:16:45.000 + 0 + false + 2018-12-11T16:00:59.000 + + + NL.IMGeo + G0362.7ba9c70bba7c4a0a94ba7e2f7d0771e3 + + + G0362 + bestaand + geenWaarde + 0362100001080414 + + + + + + + 119012.039 476676.961 119003.652 476678.920 119002.378 476673.436 119010.763 476671.479 119013.198 476670.911 119014.474 476676.395 + 119012.039 476676.961 + + + + + + + + + + + + 27 + + + + + 119006.991 476675.614 + + + 13.1 + + + + + 0362010002023162 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-11T16:00:59.000 + 2015-08-12T11:00:50.000 + + + NL.IMGeo + G0362.7e5a511cec254eabae12b9f27f9e3ca8 + + + G0362 + bestaand + geenWaarde + 0362100001078005 + + + + + + + 118823.257 476797.362 118814.569 476799.368 118813.867 476796.260 118813.618 476795.159 118812.856 476795.330 118812.085 476796.382 + 118812.114 476796.502 118809.868 476797.048 118809.411 476794.986 118822.987 476791.852 118823.072 476792.256 118822.108 476792.502 118823.257 476797.362 + + + + + + + + + + + + 315 + + + + + 118817.121 476797.049 + + + -77.3 + + + + + 0362010002030670 + + + + + + + 2014-10-31 + 2018-12-18T08:14:41.000 + 0 + false + 2018-12-18T07:28:55.000 + + + NL.IMGeo + G0362.46afd521de6041c7a8dd08820c98bca8 + + + G0362 + bestaand + geenWaarde + 0362100001089174 + + + + + + + 119607.992 479806.810 119600.050 479810.189 119597.604 479804.584 119605.593 479801.318 119606.311 479802.881 119607.186 479802.487 + 119608.896 479806.404 119607.992 479806.810 + + + + + + + + + + + + 15 + + + + + 119603.901 479804.961 + + + 23.6 + + + + + 0362010002019885 + + + + + + + 2014-10-31 + 2018-12-24T08:45:26.000 + 0 + false + 2018-12-24T07:51:09.000 + + + NL.IMGeo + G0362.5ec4d0dfa2be46508a67d3f77a59c189 + + + G0362 + bestaand + geenWaarde + 0362100001055098 + + + + + + + 116549.608 477752.513 116541.447 477756.322 116540.940 477755.233 116538.915 477750.883 116547.074 477747.074 116547.163 477747.264 + 116546.619 477747.517 116547.265 477748.904 116547.809 477748.651 116549.608 477752.513 + + + + + + + + + + + + 16 + + + + + 116544.757 477751.573 + + + 25 + + + + + 0362010002037331 + + + + + + + 2014-10-31 + 2018-12-24T08:45:26.000 + 0 + false + 2018-12-24T07:51:09.000 + + + NL.IMGeo + G0362.c80e6abcdc4847b2914ce0874de65714 + + + G0362 + bestaand + geenWaarde + 0362100001054103 + + + + + + + 117105.970 477346.519 117098.437 477350.069 117096.301 477345.483 117096.156 477345.176 117103.693 477341.624 117105.970 477346.519 + + + + + + + + + + + + 2 + + + + + 117101.238 477345.830 + + + 24.9 + + + + + 0362010002014411 + + + + + + + 2014-10-31 + 2019-01-18T12:56:09.000 + 0 + false + 2019-01-18T11:45:18.000 + + + NL.IMGeo + G0362.499966b6ddda490e8e2005b17ffb2fdb + + + G0362 + bestaand + geenWaarde + 0362100001083576 + + + + + + + 119189.174 479690.421 119179.622 479694.593 119177.494 479689.729 119171.659 479692.265 119170.751 479690.143 119172.763 479689.254 + 119171.512 479686.427 119184.796 479680.611 119186.585 479684.499 119187.328 479683.909 119187.537 479684.172 119187.598 479684.249 119187.119 479684.660 + 119187.859 479686.355 119188.442 479686.236 119188.456 479686.313 119188.522 479686.667 119187.609 479686.840 119189.174 479690.421 + + + + + + + + + + + + 1-7 + + + + + 119183.841 479687.150 + + + 23.6 + + + + + 0362010002008747 + 0362010002008753 + + + + + + + 2014-10-31 + 2019-01-18T12:56:09.000 + 0 + false + 2019-01-18T11:45:18.000 + + + NL.IMGeo + G0362.a14ccee63e8b4c889bbb1b140a1f510f + + + G0362 + bestaand + geenWaarde + 0362100001077343 + + + + + + + 118729.335 479680.430 118720.706 479681.423 118717.527 479681.789 118716.574 479673.329 118722.981 479672.520 118723.248 479674.922 + 118728.633 479674.335 118729.041 479677.872 118728.714 479677.910 118728.993 479680.334 118729.320 479680.296 118729.335 479680.430 + + + + + + + + + + + + 29 + + + + + 118724.972 479677.503 + + + 6.6 + + + + + 0362010002030132 + + + + + + + 2014-10-31 + 2017-09-27T13:53:36.000 + 0 + false + 2019-01-31T13:34:21.000 + 2017-09-27T09:27:03.000 + + + NL.IMGeo + G0362.16c0959da49448c0bb0c5b4543420af4 + + + G0362 + bestaand + geenWaarde + 0362100100085778 + + + + + + + 116180.651 477087.165 116178.522 477088.160 116176.137 477083.057 116186.691 477078.126 116189.075 477083.226 116180.651 477087.165 + + + + + + + + + + + + 272 + + + + + 116180.783 477083.551 + + + -65 + + + + + 0362010100085779 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2019-01-31T13:34:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.502295bd915549d3ac60453bb6d16b11 + + + G0362 + bestaand + geenWaarde + 0362100001061263 + + + + + + + 116065.644 476841.465 116065.558 476841.279 116066.372 476840.898 116064.172 476836.197 116075.504 476830.917 116077.793 476835.808 + 116065.644 476841.465 + + + + + + + + + + + + 34 + + + + + 116073.708 476835.007 + + + -65 + + + + + 0362010002213250 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2019-01-31T13:34:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.7786dc19ac5744c3a115006393247e52 + + + G0362 + bestaand + geenWaarde + 0362100001099526 + + + + + + + 116331.945 476785.912 116329.662 476781.029 116340.999 476775.729 116343.281 476780.612 116331.945 476785.912 + + + + + + + + + + + 36 + + + + + 116338.970 476779.285 + + + -64.9 + + + + + 0362010002198130 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.85dc6e8e502a446eb16971aa358eada3 + + + G0362 + bestaand + geenWaarde + 0362100001055190 + + + + + + + 116749.895 476590.563 116749.351 476590.815 116745.843 476592.437 116743.462 476587.328 116751.901 476583.394 116751.750 476583.069 + 116752.662 476582.644 116755.198 476588.112 116749.895 476590.563 + + + + + + + + + + + + 15 + + + + + 116749.506 476587.726 + + + 25 + + + + + 0362010002080025 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2019-01-31T13:34:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.8e163fa4eb1b4c91a99524703cf9ade6 + + + G0362 + bestaand + geenWaarde + 0362100001062543 + + + + + + + 116489.653 476433.887 116482.386 476437.280 116478.095 476428.088 116489.911 476422.572 116492.720 476428.589 116491.025 476429.380 + 116491.067 476429.470 116490.859 476429.568 116490.762 476429.359 116489.276 476430.053 116489.373 476430.261 116489.165 476430.359 116489.122 476430.268 + 116488.171 476430.712 116489.653 476433.887 + + + + + + + + + + + + 12 + + + + + 116488.408 476427.374 + + + -65 + + + + + 0362010002165574 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2019-01-31T13:34:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.a4440dae6f2945b487082b1356db8342 + + + G0362 + bestaand + geenWaarde + 0362100001099446 + + + + + + + 116292.309 476703.287 116290.017 476698.398 116301.311 476693.085 116303.602 476697.974 116292.309 476703.287 + + + + + + + + + + + 66 + + + + + 116299.210 476696.354 + + + -65 + + + + + 0362010002204602 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.ae2489c340ed43d2ba7b985089a36fd2 + + + G0362 + bestaand + geenWaarde + 0362100001055675 + + + + + + + 117150.027 476376.607 117145.135 476378.901 117141.113 476370.324 117146.011 476368.044 117150.027 476376.607 + + + + + + + + + + + 25 + + + + + 117146.029 476374.064 + + + 25.1 + + + + + 0362010002188556 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.c50ff0d7c6dc409fbfdbb170fbe06398 + + + G0362 + bestaand + geenWaarde + 0362100001062215 + + + + + + + 116398.269 476461.060 116386.486 476466.544 116383.686 476460.528 116385.386 476459.737 116385.340 476459.637 116385.549 476459.540 + 116385.595 476459.640 116387.064 476458.956 116387.017 476458.856 116387.226 476458.759 116387.272 476458.859 116388.229 476458.414 116386.763 476455.241 + 116394.020 476451.864 116398.269 476461.060 + + + + + + + + + + + + 15 + + + + + 116388.620 476461.651 + + + 25 + + + + + 0362010002165528 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.e011c787e4f5419e81f3d92a7b6ab400 + + + G0362 + bestaand + geenWaarde + 0362100001054702 + + + + + + + 116263.393 476556.884 116252.071 476562.163 116248.064 476553.531 116256.466 476549.605 116257.856 476552.590 116260.759 476551.235 + 116263.393 476556.884 + + + + + + + + + + + + 33 + + + + + 116258.396 476555.633 + + + 25 + + + + + 0362010002188985 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.e988dde08633440495c4e405520d3ec2 + + + G0362 + bestaand + geenWaarde + 0362100100085182 + + + + + + + 117312.339 476611.268 117301.759 476616.204 117299.475 476611.308 117307.749 476607.448 117307.641 476607.217 117309.941 476606.144 + 117312.339 476611.268 + + + + + + + + + + + + 27 + + + + + 117304.202 476611.979 + + + 25 + + + + + 0362010100085183 + + + + + + + 2014-10-31 + 2019-02-01T02:59:21.000 + 0 + false + 2019-01-31T13:34:21.000 + + + NL.IMGeo + G0362.ec8da0cf0db2496cb597720a4d04d537 + + + G0362 + bestaand + geenWaarde + 0362100100084956 + + + + + + + 117191.685 476655.609 117183.439 476659.458 117181.049 476654.339 117181.023 476654.283 117189.270 476650.439 117191.685 476655.609 + + + + + + + + + + + + 44 + + + + + 117185.831 476655.127 + + + 25 + + + + + 0362010100084957 + + + + + + + 2014-10-31 + 2019-02-06T13:38:45.000 + 0 + false + 2019-02-06T11:47:20.000 + + + NL.IMGeo + G0362.d5db3609e5af4d38b8f43002672008a1 + + + G0362 + bestaand + geenWaarde + 0362100001062373 + + + + + + + 116417.616 477417.167 116410.029 477420.677 116407.686 477415.642 116415.261 477412.108 116417.616 477417.167 + + + + + + + + + + + 26 + + + + + 116412.717 477416.121 + + + 25 + + + + + 0362010002003065 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.c05583c8c72e4aa3905ab2a2669302e5 + + + G0362 + bestaand + geenWaarde + 0362100001056526 + + + + + + + 118151.384 477444.183 118145.455 477440.462 118146.720 477438.435 118154.194 477439.677 118151.384 477444.183 + + + + + + + + + + + 14A + + + + + 118151.612 477441.688 + + + 58 + + + + + 0362010002213364 + + + + + + + 2015-07-06 + 2018-12-11T17:16:45.000 + 0 + false + 2018-12-11T16:00:59.000 + + + NL.IMGeo + G0362.649012989d1b490790ec3b19450c7b36 + + + G0362 + bestaand + geenWaarde + 0362100001083274 + + + + + + + 119197.291 477214.698 119192.496 477215.848 119193.929 477222.051 119183.191 477224.560 119179.381 477207.983 119190.094 477205.521 + 119191.463 477211.437 119196.267 477210.307 119197.291 477214.698 + + + + + + + + + + 119191.433 477205.213 119194.746 477204.452 119195.273 477206.787 119193.137 477207.244 119191.677 477206.310 119191.433 477205.213 + + + + + + + + + + 119198.492 477220.960 119195.280 477221.729 119195.231 477221.535 119194.959 477220.443 119195.855 477218.943 119197.960 477218.465 + 119198.492 477220.960 + + + + + + + + + + + + 18-34 + + + + + 119188.117 477214.664 + + + 13 + + + + + 0362010002028339 + 0362010002028355 + + + + + + + 2014-10-31 + 2016-11-03T13:31:29.000 + 0 + false + 2018-12-11T16:00:59.000 + 2016-11-03T11:49:21.000 + + + NL.IMGeo + G0362.7d7f60c936b348a9ab5ebdc107430c0d + + + G0362 + bestaand + geenWaarde + 0362100001058803 + + + + + + + 119351.064 476694.447 119339.871 476696.936 119337.881 476688.343 119346.273 476686.470 119346.296 476686.566 119345.360 476686.784 + 119345.981 476689.443 119349.691 476688.576 119349.791 476689.005 119351.064 476694.447 + + + + + + + + + + + + 5 + + + + + 119347.406 476692.421 + + + -77.8 + + + + + 0362010002036654 + + + + + + + 2014-10-31 + 2016-07-28T22:41:20.000 + 0 + false + 2018-12-11T16:00:59.000 + 2016-07-28T11:22:04.000 + + + NL.IMGeo + G0362.96f38def8d2e48c2beb34fdbcf9d0861 + + + G0362 + bestaand + geenWaarde + 0362100001088964 + + + + + + + 119620.290 477624.558 119613.169 477627.394 119610.800 477621.450 119617.930 477618.630 119620.290 477624.558 + + + + + + + + + + + 46 + + + + + 119615.708 477622.960 + + + -68.3 + + + + + 0362010002017457 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-11T16:00:59.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.e3b5687e3fb74acbba20618c90456e32 + + + G0362 + bestaand + geenWaarde + 0362100001057129 + + + + + + + 118544.074 477251.465 118544.038 477251.308 118535.661 477253.223 118535.723 477253.487 118535.177 477253.612 118533.851 477247.867 + 118538.947 477246.693 118538.985 477246.859 118539.941 477246.639 118539.903 477246.473 118544.960 477245.308 118546.277 477250.954 118544.074 477251.465 + + + + + + + + + + + + 1 + + + + + 118542.461 477249.340 + + + -76.9 + + + + + 0362010002032790 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-12T16:52:08.000 + 2015-08-10T16:32:31.000 + + + NL.IMGeo + G0362.355ea014d617431a9d4676e32fbee4fd + + + G0362 + bestaand + geenWaarde + 0362100001058455 + + + + + + + 119187.316 477654.797 119188.120 477656.813 119187.258 477657.157 119184.500 477658.256 119181.687 477659.378 119178.845 477660.511 + 119176.041 477661.629 119173.274 477662.732 119170.535 477663.825 119167.675 477664.965 119164.898 477666.072 119155.639 477642.851 119163.986 477639.523 + 119178.860 477633.591 119180.818 477638.502 119183.199 477644.473 119187.316 477654.797 + + + + + + + + + + + + 1-42 + + + + + 119179.686 477641.063 + + + -68.3 + + + + + 0362010002021160 + 0362010002021201 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-12T16:52:08.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.63d7e9892f79455994da7ff65a386b23 + + + G0362 + bestaand + geenWaarde + 0362100001058473 + + + + + + + 119273.751 477951.183 119274.309 477950.961 119275.895 477954.947 119268.946 477957.713 119267.477 477954.024 119264.577 477955.177 + 119262.976 477951.153 119262.140 477951.485 119262.030 477951.207 119262.865 477950.875 119260.140 477944.022 119269.433 477940.326 119270.536 477943.098 + 119271.169 477942.795 119271.781 477944.335 119270.359 477944.903 119270.887 477946.231 119271.658 477945.924 119273.751 477951.183 + + + + + + + + + + + + 314 + + + + + 119268.975 477947.287 + + + -68.3 + + + + + 0362010002037037 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-12T16:52:08.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.90e914ce43bf4066aa428fa2583c6e93 + + + G0362 + bestaand + geenWaarde + 0362100001091649 + + + + + + + 119981.410 478198.460 119972.684 478201.925 119970.878 478197.456 119979.630 478194.044 119981.410 478198.460 + + + + + + + + + + + 21 + + + + + 119977.759 478196.648 + + + -68.1 + + + + + 0362010002024885 + + + + + + + 2014-10-31 + 2018-12-12T17:52:06.000 + 0 + false + 2018-12-12T16:52:08.000 + + + NL.IMGeo + G0362.fe841e3480394eef9022628fb093ab05 + + + G0362 + bestaand + geenWaarde + 0362100001078363 + + + + + + + 118774.613 478798.728 118774.449 478799.369 118774.373 478799.665 118766.558 478797.697 118767.959 478792.172 118775.782 478794.142 + 118774.613 478798.728 + + + + + + + + + + + + 37 + + + + + 118771.093 478796.085 + + + -14.2 + + + + + 0362010002014591 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-18T07:28:55.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.417bf98f30fe4713a84fd9b2cda4688d + + + G0362 + bestaand + geenWaarde + 0362100001074831 + + + + + + + 118458.592 479196.870 118468.549 479193.059 118470.817 479198.927 118464.638 479201.277 118465.196 479202.742 118461.929 479203.985 + 118461.376 479202.529 118460.837 479202.731 118458.592 479196.870 + + + + + + + + + + + + 2 + + + + + 118460.672 479199.834 + + + -69 + + + + + 0362010002010763 + + + + + + + 2014-10-31 + 2018-12-18T08:14:41.000 + 0 + false + 2018-12-18T07:28:55.000 + + + NL.IMGeo + G0362.7712bbf22e51464c85b9ec0a257177dd + + + G0362 + bestaand + geenWaarde + 0362100001076049 + + + + + + + 118569.789 479211.961 118561.999 479214.981 118559.826 479209.373 118567.641 479206.351 118569.789 479211.961 + + + + + + + + + + + 6 + + + + + 118564.713 479210.915 + + + 21.2 + + + + + 0362010002004718 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-18T07:28:55.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.2754d52a8864475f9a9309802e60a91c + + + G0362 + bestaand + geenWaarde + 0362100001074677 + + + + + + + 118495.995 478850.890 118503.451 478850.633 118503.652 478856.462 118496.196 478856.719 118495.995 478850.890 + + + + + + + + + + + 32 + + + + + 118496.965 478853.434 + + + -88 + + + + + 0362010002026749 + + + + + + + 2014-10-31 + 2018-12-18T08:14:41.000 + 0 + false + 2018-12-18T07:28:55.000 + + + NL.IMGeo + G0362.97faf95106b04bde9f41ec25819f36af + + + G0362 + bestaand + geenWaarde + 0362100001075757 + + + + + + + 118566.709 478844.086 118559.178 478843.269 118559.819 478837.505 118567.357 478838.322 118566.709 478844.086 + + + + + + + + + + + 28 + + + + + 118563.494 478840.649 + + + -6.3 + + + + + 0362010002038660 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-18T07:28:55.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.ec360fb6b5584e90962f1a832558caa1 + + + G0362 + bestaand + geenWaarde + 0362100001074610 + + + + + + + 118499.612 478794.181 118492.213 478795.464 118491.233 478789.819 118498.660 478788.531 118499.612 478794.181 + + + + + + + + + + + 48 + + + + + 118492.521 478792.097 + + + -80.2 + + + + + 0362010002026767 + + + + + + + 2014-10-31 + 2018-12-18T08:14:41.000 + 0 + false + 2018-12-18T07:28:55.000 + + + NL.IMGeo + G0362.2431b6132e474cc4aa88913af7e1fbcd + + + G0362 + bestaand + geenWaarde + 0362100001059419 + + + + + + + 119684.690 479951.670 119675.082 479951.937 119672.115 479952.019 119671.951 479946.021 119674.918 479945.939 119684.526 479945.672 + 119684.636 479949.671 119684.076 479949.686 119684.122 479951.376 119685.112 479951.348 119685.120 479951.658 119684.690 479951.670 + + + + + + + + + + + + 55 + + + + + 119680.604 479948.557 + + + 1.6 + + + + + 0362010002015931 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33.000 + 0 + false + 2018-12-18T07:28:55.000 + 2015-09-07T10:09:16.000 + + + NL.IMGeo + G0362.45f6bb4833134918a1bd71cce49608e3 + + + G0362 + bestaand + geenWaarde + 0362100001090126 + + + + + + + 119686.127 479759.440 119677.382 479763.201 119674.884 479757.477 119675.766 479757.103 119683.765 479754.006 119683.710 479753.878 + 119685.997 479752.883 119688.429 479758.406 119686.127 479759.440 + + + + + + + + + + + + 42 + + + + + 119678.775 479758.893 + + + -66.4 + + + + + 0362010002008667 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33.000 + 0 + false + 2018-12-18T07:28:55.000 + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.bc770f8d67a94a07847a5657447114a8 + + + G0362 + bestaand + geenWaarde + 0362100001090083 + + + + + + + 119704.993 479724.868 119696.384 479728.638 119693.972 479723.078 119702.569 479719.319 119702.731 479719.691 119701.821 479720.079 + 119702.509 479721.655 119703.420 479721.267 119704.993 479724.868 + + + + + + + + + + + + 242 + + + + + 119700.759 479723.661 + + + -66.3 + + + + + 0362010002012801 + + + + + + + 2014-10-31 + 2017-09-27T13:53:36.000 + 0 + false + 2018-12-24T07:51:09.000 + 2017-09-27T09:27:03.000 + + + NL.IMGeo + G0362.0947985b4b7341b297e19f1eeb4eae5d + + + G0362 + bestaand + geenWaarde + 0362100001064077 + + + + + + + 116820.051 476299.235 116810.123 476303.861 116807.899 476299.087 116817.828 476294.460 116817.878 476294.567 116815.613 476295.621 + 116817.701 476300.108 116819.967 476299.054 116820.051 476299.235 + + + + + + + + + + + + 7 + + + + + 116812.694 476299.909 + + + -65 + + + + + 0362010002080165 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-24T07:51:09.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.144dc39d94f74a8f9bc104023fe95a42 + + + G0362 + bestaand + geenWaarde + 0362100001064016 + + + + + + + 116815.955 476224.740 116808.223 476228.336 116805.915 476223.354 116813.640 476219.761 116815.955 476224.740 + + + + + + + + + + + 30 + + + + + 116812.058 476223.543 + + + -65 + + + + + 0362010002080229 + + + + + + + 2014-10-31 + 2018-12-24T08:45:26.000 + 0 + false + 2018-12-24T07:51:09.000 + + + NL.IMGeo + G0362.39fd90269bdb48028a4243bcd5b701bd + + + G0362 + bestaand + geenWaarde + 0362100001067132 + + + + + + + 117165.760 477709.689 117156.694 477713.946 117154.396 477709.007 117163.470 477704.768 117165.760 477709.689 + + + + + + + + + + + 7 + + + + + 117159.181 477709.810 + + + 25 + + + + + 0362010002075810 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-24T07:51:09.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.56b06e6dae0e470c9fa73f36e7a5e0bf + + + G0362 + bestaand + geenWaarde + 0362100001065710 + + + + + + + 116979.636 477075.215 116969.839 477079.867 116967.422 477074.671 116977.256 477070.097 116979.636 477075.215 + + + + + + + + + + + 28 + + + + + 116975.765 477074.119 + + + -65 + + + + + 0362010002007589 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-24T07:51:09.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.66b96c9937fc4956bbc4d6992571b2dd + + + G0362 + bestaand + geenWaarde + 0362100001055086 + + + + + + + 116654.293 477819.174 116644.310 477823.810 116642.036 477818.913 116644.357 477817.835 116652.014 477814.279 116654.293 477819.174 + + + + + + + + + + + + 32 + + + + + 116650.499 477818.252 + + + -65 + + + + + 0362010002117098 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-24T07:51:09.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.74c6958949f44a9c86c6376117cb16e2 + + + G0362 + bestaand + geenWaarde + 0362100001055959 + + + + + + + 117553.619 477025.095 117552.902 477025.315 117531.683 477031.839 117531.551 477031.409 117531.457 477031.104 117531.649 477031.046 + 117530.649 477027.796 117530.457 477027.854 117530.375 477027.586 117528.823 477022.510 117525.970 477013.175 117547.898 477006.471 117553.619 477025.095 + + + + + + + + + + + + 54 + + + + + 117529.425 477021.466 + + + -72.9 + + + + + 0362010002004233 + + + + + + + 2014-10-31 + 2018-12-24T08:45:26.000 + 0 + false + 2018-12-24T07:51:09.000 + + + NL.IMGeo + G0362.910e28cb17c74c0898f513b3003179e9 + + + G0362 + bestaand + geenWaarde + 0362100001062885 + + + + + + + 116536.944 477725.328 116528.788 477729.136 116526.761 477724.784 116524.266 477725.946 116523.255 477723.774 116525.753 477722.617 + 116526.258 477723.705 116534.410 477719.889 116536.213 477723.759 116535.669 477724.012 116536.311 477725.390 116536.855 477725.137 116536.944 477725.328 + + + + + + + + + + + + 26 + + + + + 116532.026 477724.244 + + + 25 + + + + + 0362010002037341 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-24T07:51:09.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.acf90465ab4042149c5d9ef51bf34534 + + + G0362 + bestaand + geenWaarde + 0362100001066021 + + + + + + + 117049.160 477971.640 117045.235 477973.674 117045.744 477974.767 117037.505 477978.599 117031.656 477966.033 117039.895 477962.201 + 117040.663 477963.852 117042.602 477963.027 117043.906 477965.687 117041.988 477966.700 117043.802 477970.596 117044.490 477970.270 117044.270 477969.700 + 117047.560 477968.140 117049.160 477971.640 + + + + + + + + + + + + 50-52 + + + + + 117036.235 477973.473 + + + -65 + + + + + 0362010002024425 + 0362010002024428 + + + + + + + 2014-10-31 + 2018-12-24T08:45:26.000 + 0 + false + 2018-12-24T07:51:09.000 + + + NL.IMGeo + G0362.bd9ad9b129cf42de835bd7fcb09b5fe4 + + + G0362 + bestaand + geenWaarde + 0362100001063822 + + + + + + + 116701.025 477632.941 116700.962 477632.807 116692.678 477636.678 116690.394 477631.768 116698.685 477627.911 116698.629 477627.791 + 116701.219 477626.587 116703.614 477631.737 116701.025 477632.941 + + + + + + + + + + + + 16 + + + + + 116695.168 477632.548 + + + 24.9 + + + + + 0362010002007438 + + + + + + + 2014-10-31 + 2018-10-31T16:35:34.000 + 0 + false + 2018-10-31T15:27:47.000 + + + NL.IMGeo + G0362.be1d07893ad347ad9e044758757edacd + + + G0362 + bestaand + geenWaarde + 0362100001056899 + + + + + + + 118351.662 479208.715 118354.439 479207.830 118355.855 479211.729 118357.486 479216.218 118358.032 479217.533 118355.508 479218.581 + 118353.132 479212.860 118351.788 479209.968 118346.168 479212.146 118342.250 479201.954 118345.310 479200.778 118345.515 479201.310 118348.382 479200.208 + 118351.662 479208.715 + + + + + + + + + + + + 10 + + + + + 118346.866 479205.076 + + + 21 + + + + + 0362010002031901 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-11-27T16:18:13.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.3511cbe14e0f4acb8fb2297247043b53 + + + G0362 + bestaand + geenWaarde + 0362100001068753 + + + + + + + 117873.705 476977.564 117865.903 476972.672 117868.694 476968.166 117869.034 476968.376 117873.943 476971.492 117876.498 476973.076 + 117873.705 476977.564 + + + + + + + + + + + + 55 + + + + + 117874.077 476975.303 + + + 58.1 + + + + + 0362010002023882 + + + + + + + 2014-10-31 + 2017-01-27T10:29:57.000 + 0 + false + 2018-11-27T16:18:13.000 + 2017-01-26T17:19:34.000 + + + NL.IMGeo + G0362.79ec6614ee84439093456bf2b76b2864 + + + G0362 + bestaand + geenWaarde + 0362100001082393 + + + + + + + 119139.251 478962.787 119139.015 478962.876 119138.964 478962.749 119133.848 478964.718 119133.924 478964.883 119133.691 478964.969 + 119130.834 478957.348 119131.031 478957.272 119131.104 478957.451 119136.317 478955.432 119136.253 478955.305 119136.321 478955.278 119136.457 478955.223 + 119139.251 478962.787 + + + + + + + + + + + + 41 + + + + + 119135.427 478963.317 + + + 21.1 + + + + + 0362010002026288 + + + + + + + 2014-10-31 + 2016-07-28T22:41:20.000 + 0 + false + 2018-11-27T16:18:13.000 + 2016-07-28T11:22:04.000 + + + NL.IMGeo + G0362.d84f0d305d974e3bac5f49a95b87b200 + + + G0362 + bestaand + geenWaarde + 0362100001083394 + + + + + + + 119189.694 478607.337 119181.753 478610.306 119178.247 478611.623 119177.173 478608.750 119176.770 478608.900 119176.651 478608.610 + 119177.063 478608.456 119175.027 478603.025 119174.613 478603.179 119174.539 478602.978 119184.075 478599.462 119184.347 478599.382 119185.943 478603.792 + 119192.986 478601.242 119194.555 478605.577 119189.694 478607.337 + + + + + + + + + + + + 8 + + + + + 119177.997 478605.249 + + + -69.4 + + + + + 0362010002033974 + + + + + + + 2014-10-31 + 2018-11-27T17:13:53.000 + 0 + false + 2018-11-27T16:18:13.000 + + + NL.IMGeo + G0362.f35aa59052d2416090c3042638a591e8 + + + G0362 + bestaand + geenWaarde + 0362100001080852 + + + + + + + 118999.955 478922.164 118997.748 478922.659 118996.142 478923.020 118994.889 478923.322 118993.017 478923.708 118993.106 478924.184 + 118992.024 478924.455 118991.973 478924.232 118988.665 478924.943 118987.290 478918.941 118994.811 478917.228 118996.962 478916.723 118998.604 478916.364 + 118999.955 478922.164 + + + + + + + + + + + + 18 + + + + + 118991.833 478920.857 + + + 12.9 + + + + + 0362010002018421 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.11aae56bd1264d09a89ee7b4eb12b215 + + + G0362 + bestaand + geenWaarde + 0362100001065211 + + + + + + + 116931.776 478145.634 116930.173 478142.889 116930.890 478142.470 116929.778 478140.567 116938.286 478135.577 116940.838 478139.929 + 116942.555 478138.923 116942.735 478139.231 116931.776 478145.634 + + + + + + + + + + + + 15 + + + + + 116932.246 478142.371 + + + -59.7 + + + + + 0362010002184470 + + + + + + + 2014-10-31 + 2018-12-05T12:11:29.000 + 0 + false + 2018-12-05T11:01:21.000 + + + NL.IMGeo + G0362.605685bc7af643aeaa8cae5e58cc65a4 + + + G0362 + bestaand + geenWaarde + 0362100001068031 + + + + + + + 117437.062 478433.135 117437.241 478433.546 117429.990 478436.743 117427.748 478437.731 117425.208 478431.966 117427.450 478430.978 + 117434.781 478427.898 117436.380 478431.568 117437.062 478433.135 + + + + + + + + + + + + 3 + + + + + 117432.419 478432.492 + + + 23.5 + + + + + 0362010002004736 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.8f69312a0fce4a06b248c6ebf580cec4 + + + G0362 + bestaand + geenWaarde + 0362100001068034 + + + + + + + 117434.781 478427.898 117427.450 478430.978 117424.993 478425.399 117432.290 478422.181 117432.426 478422.491 117433.109 478424.059 + 117434.781 478427.898 + + + + + + + + + + + + 5 + + + + + 117430.939 478426.020 + + + -66.5 + + + + + 0362010002004738 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.f2102b706f9248ef92718e0eeeaa65ed + + + G0362 + bestaand + geenWaarde + 0362100001067749 + + + + + + + 117281.296 478380.292 117278.892 478375.121 117286.803 478371.443 117287.357 478372.636 117287.303 478372.661 117287.741 478373.605 + 117288.920 478373.057 117290.008 478375.397 117290.063 478375.372 117290.385 478376.066 117281.296 478380.292 + + + + + + + + + + + + 7 + + + + + 117285.121 478375.743 + + + -65.1 + + + + + 0362010002000007 + + + + + + + 2014-10-31 + 2015-12-22T23:29:24.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.f497bba6e59241a4b54bbd0d61d0dd9e + + + G0362 + bestaand + geenWaarde + 0362100001064594 + + + + + + + 116814.112 478172.725 116818.435 478164.786 116823.469 478167.527 116819.146 478175.466 116814.112 478172.725 + + + + + + + + + + + 1 + + + + + 116817.689 478173.270 + + + -28.6 + + + + + 0362010002184513 + + + + + + + 2014-10-31 + 2018-12-05T12:11:29.000 + 0 + false + 2018-12-05T11:01:21.000 + + + NL.IMGeo + G0362.218a7cf0305449c4a1d7c3d335dcdbe0 + + + G0362 + bestaand + geenWaarde + 0362100001068933 + + + + + + + 117944.739 477616.324 117938.894 477617.681 117936.892 477609.104 117942.579 477607.783 117942.735 477607.746 117944.739 477616.324 + + + + + + + + + + + + 43 + + + + + 117940.669 477613.162 + + + 13.1 + + + + + 0362010002004308 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.22e04cfc057444d491b08670a47fe7a2 + + + G0362 + bestaand + geenWaarde + 0362100001072616 + + + + + + + 118303.960 477582.672 118298.746 477583.873 118296.981 477576.215 118294.009 477576.900 118292.639 477571.039 118296.069 477570.248 + 118296.810 477573.462 118301.565 477572.362 118303.960 477582.672 + + + + + + + + + + + + 11 + + + + + 118301.120 477582.584 + + + 12.9 + + + + + 0362010002034685 + + + + + + + 2014-10-31 + 2018-12-05T12:11:29.000 + 0 + false + 2018-12-05T11:01:21.000 + + + NL.IMGeo + G0362.33707d7f5e834720b887ce68af940c5a + + + G0362 + bestaand + geenWaarde + 0362100001077006 + + + + + + + 118665.457 477502.625 118673.797 477500.683 118675.085 477506.226 118666.745 477508.167 118665.457 477502.625 + + + + + + + + + + + 168 + + + + + 118670.529 477504.292 + + + 13.1 + + + + + 0362010002003548 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.439b061e6fea467398b042cf1d4caf0e + + + G0362 + bestaand + geenWaarde + 0362100001056026 + + + + + + + 117855.797 477082.952 117845.065 477085.443 117843.770 477079.892 117858.396 477076.499 117859.009 477079.128 117855.111 477080.018 + 117855.797 477082.952 + + + + + + + + + + + + 6 + + + + + 117852.379 477081.012 + + + -76.8 + + + + + 0362010002023831 + + + + + + + 2014-10-31 + 2018-12-05T12:11:29.000 + 0 + false + 2018-12-05T11:01:21.000 + + + NL.IMGeo + G0362.73704e300b7146b3a36744656ad83c1c + + + G0362 + bestaand + geenWaarde + 0362100001110270 + + + + + + + 118197.486 477574.065 118187.542 477576.329 118186.317 477571.069 118186.309 477571.034 118188.169 477570.648 118201.444 477567.615 + 118201.947 477569.778 118196.770 477570.980 118197.486 477574.065 + + + + + + + + + + + + 15 + + + + + 118192.971 477572.305 + + + 13.1 + + + + + 0362010002021097 + + + + + + + 2014-10-31 + 2015-12-22T23:47:09.000 + 0 + false + 2018-12-05T11:01:21.000 + 2015-06-10T13:33:25.000 + + + NL.IMGeo + G0362.896455e96cdd4eb58240fec8a99525a9 + + + G0362 + bestaand + geenWaarde + 0362100001071442 + + + + + + + 118205.169 477540.524 118208.520 477539.748 118208.547 477539.865 118210.360 477539.446 118210.334 477539.329 118220.266 477537.011 + 118221.547 477542.555 118211.603 477544.868 118210.829 477541.493 118205.669 477542.686 118205.169 477540.524 + + + + + + + + + + + + 16 + + + + + 118211.748 477541.577 + + + -77 + + + + + 0362010002021098 + + + + + + + 2014-10-31 + 2017-07-26T12:36:25.000 + 0 + false + 2018-12-05T11:01:21.000 + 2017-07-26T08:39:36.000 + + + NL.IMGeo + G0362.b83071a589004cebb6836a81c63f6105 + + + G0362 + bestaand + geenWaarde + 0362100001070194 + + + + + + + 118127.628 476974.341 118124.778 476978.930 118116.860 476974.031 118119.710 476969.445 118127.628 476974.341 + + + + + + + + + + + 110 + + + + + 118122.628 476974.810 + + + 58.2 + + + + + 0362010002037906 + + + + + + + 2014-10-31 + 2018-12-05T12:11:29.000 + 0 + false + 2018-12-05T11:01:21.000 + + + NL.IMGeo + G0362.fd15343b20a046fc9adcdf7db2b30520 + + + G0362 + bestaand + geenWaarde + 0362100001056814 + + + + + + + 118360.030 477533.784 118350.235 477536.065 118349.077 477531.083 118358.875 477528.802 118358.563 477527.451 118360.705 477526.954 + 118361.337 477529.683 118359.194 477530.180 118360.030 477533.784 + + + + + + + + + + + + 50 + + + + + 118355.507 477531.985 + + + 13.1 + + + + + 0362010002034707 + + + + + diff --git a/bgt/etl/test/input/bgt_weginrichtingselement.gml b/bgt/etl/test/input/bgt_weginrichtingselement.gml new file mode 100644 index 00000000..96bff7c9 --- /dev/null +++ b/bgt/etl/test/input/bgt_weginrichtingselement.gml @@ -0,0 +1,331 @@ + + + + + 2015-04-17 + 2015-12-22T23:29:24.000 + 1 + false + 2016-01-15T11:35:50.000 + 2015-04-20T10:33:04.000 + + + NL.IMGeo + G0362.dad5eb0651a748f79d5d78935556220e + + + G0362 + bestaand + geenWaarde + niet-bgt + wildrooster + + + + + 116843.098 478897.421 116841.341 478896.445 116841.568 478896.037 116842.744 478893.922 116842.892 478893.656 116844.648 478894.632 116843.098 + 478897.421 + + + + + + + + + + 2016-07-07 + 2016-07-13T10:07:57.000 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0362.faaa39c6ce6a4dd7a41f52695a687382 + + + G0362 + bestaand + geenWaarde + niet-bgt + balustrade + + + 117848.583 477762.123 117852.031 477761.512 117856.882 477760.652 117853.415 477741.617 117848.600 477742.493 117845.165 477743.117 117842.380 + 477743.624 117845.829 477762.611 117848.583 477762.123 + + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 1 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.d0d349e7cd7e43df9921945cec3cdd89 + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117298.025 477812.407 117311.385 477811.092 + + + + + + + 2015-04-16 + 2015-12-22T23:29:24.000 + 1 + false + 2015-04-20T10:33:04.000 + + + NL.IMGeo + G0362.b9fe8d7930c34645889121c5bdc463bc + + + G0362 + bestaand + geenWaarde + niet-bgt + wildrooster + + + + + 116457.145 479257.450 116455.118 479256.246 116454.997 479256.174 116456.026 479254.442 116458.174 479255.719 116457.145 479257.450 + + + + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 1 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.4cc9d04bab8d4c5893d66f42eea95d2e + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117319.886 477818.825 117304.618 477820.299 + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 0 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.4ee6057c4d614f3f9ee25b5b984ef328 + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117330.337 477817.816 117319.886 477818.825 + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 0 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.5c5c9bda365540d8802e93e2ef3c6079 + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117285.792 477813.665 117298.025 477812.407 + + + + + + + 2015-04-16 + 2015-12-22T23:29:24.000 + 1 + false + 2015-04-20T10:33:04.000 + + + NL.IMGeo + G0362.fd66d8b9a4e24041b204ac511d94c53b + + + G0362 + bestaand + geenWaarde + niet-bgt + wildrooster + + + + + 116494.026 478891.272 116494.114 478891.366 116492.639 478892.737 116490.444 478890.376 116491.920 478889.005 116494.026 478891.272 + + + + + + + + + + 2015-04-17 + 2016-01-15T14:55:41.000 + 0 + false + 2016-01-15T11:35:50.000 + + + NL.IMGeo + G0362.dad5eb0651a748f79d5d78935556220e + + + G0362 + bestaand + geenWaarde + niet-bgt + wildrooster + + + + + 116843.098 478897.421 116841.341 478896.445 116841.568 478896.037 116842.744 478893.922 116842.892 478893.656 116844.648 478894.632 116843.098 + 478897.421 + + + + + + + + + + 2016-07-08 + 2016-07-13T10:07:57.000 + 1 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0362.004aad00d9fe4899a41a59c02e63d53b + + + G0362 + bestaand + geenWaarde + niet-bgt + balustrade + + + 118303.336 477217.346 118303.085 477216.156 118299.496 477216.960 118299.990 477218.979 118298.076 477219.411 118298.500 477221.435 118296.579 + 477221.900 118297.345 477225.433 118298.085 477225.272 + + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 0 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.a5af83af437246048096c8f0c10816fc + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117311.385 477811.092 117311.592 477811.072 117330.463 477808.836 + + + + + + + 2017-03-21 + 2017-03-31T11:33:21.000 + 0 + false + 2017-03-30T16:13:28.000 + + + NL.IMGeo + G0362.682c37ebabc948eab063121307ddc1be + + + G0362 + bestaand + geenWaarde + niet-bgt + geleideconstructie + + + 117304.618 477820.299 117301.828 477820.568 117289.485 477821.999 + + + + + \ No newline at end of file diff --git a/bgt/etl/test/input/otterlo.zip b/bgt/etl/test/input/otterlo.zip new file mode 100644 index 00000000..ec9f512b Binary files /dev/null and b/bgt/etl/test/input/otterlo.zip differ diff --git a/brk/dkk/README.md b/brk/doc/dkkv3/README.md similarity index 100% rename from brk/dkk/README.md rename to brk/doc/dkkv3/README.md diff --git a/brk/dkk/schema/brkkadastralekaart_v1_1_0.xsd b/brk/doc/dkkv3/schema/brkkadastralekaart_v1_1_0.xsd similarity index 100% rename from brk/dkk/schema/brkkadastralekaart_v1_1_0.xsd rename to brk/doc/dkkv3/schema/brkkadastralekaart_v1_1_0.xsd diff --git a/brk/dkk/test/flatten.sh b/brk/doc/dkkv3/test/flatten.sh similarity index 100% rename from brk/dkk/test/flatten.sh rename to brk/doc/dkkv3/test/flatten.sh diff --git a/brk/dkk/test/perceel-flat.gml b/brk/doc/dkkv3/test/perceel-flat.gml similarity index 100% rename from brk/dkk/test/perceel-flat.gml rename to brk/doc/dkkv3/test/perceel-flat.gml diff --git a/brk/dkk/test/perceel-flat.json b/brk/doc/dkkv3/test/perceel-flat.json similarity index 100% rename from brk/dkk/test/perceel-flat.json rename to brk/doc/dkkv3/test/perceel-flat.json diff --git a/brk/dkk/test/perceel-flat.xsd b/brk/doc/dkkv3/test/perceel-flat.xsd similarity index 100% rename from brk/dkk/test/perceel-flat.xsd rename to brk/doc/dkkv3/test/perceel-flat.xsd diff --git a/brk/dkk/test/perceel.gfs b/brk/doc/dkkv3/test/perceel.gfs similarity index 100% rename from brk/dkk/test/perceel.gfs rename to brk/doc/dkkv3/test/perceel.gfs diff --git a/brk/dkk/test/perceel.gml b/brk/doc/dkkv3/test/perceel.gml similarity index 100% rename from brk/dkk/test/perceel.gml rename to brk/doc/dkkv3/test/perceel.gml diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/.gitignore b/brk/doc/dkkv4/schema/dkk-schema-master/.gitignore new file mode 100755 index 00000000..a1c2a238 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/.gitignore @@ -0,0 +1,23 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/1998/namespace/xml.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/1998/namespace/xml.xsd new file mode 100755 index 00000000..3687cd89 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/1998/namespace/xml.xsd @@ -0,0 +1,149 @@ + + + + + + See http://www.w3.org/XML/1998/namespace.html and + http://www.w3.org/TR/REC-xml for information about this namespace. + + This schema document describes the XML namespace, in a form + suitable for import by other schema documents. + + Note that local names in this namespace are intended to be defined + only by the World Wide Web Consortium or its subgroups. The + following names are currently defined in this namespace and should + not be used with conflicting semantics by any Working Group, + specification, or document instance: + + base (as an attribute name): denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification. + + id (as an attribute name): denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification. + + lang (as an attribute name): denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification. + + space (as an attribute name): denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification. + + Father (in any context at all): denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: + + In appreciation for his vision, leadership and dedication + the W3C XML Plenary on this 10th day of February, 2000 + reserves for Jon Bosak in perpetuity the XML name + xml:Father + + + + + This schema defines attributes and an attribute group + suitable for use by + schemas wishing to allow xml:base, xml:lang, xml:space or xml:id + attributes on elements they define. + + To enable this, such a schema must import this schema + for the XML namespace, e.g. as follows: + <schema . . .> + . . . + <import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/xml.xsd"/> + + Subsequently, qualified reference to any of the attributes + or the group defined below will have the desired effect, e.g. + + <type . . .> + . . . + <attributeGroup ref="xml:specialAttrs"/> + + will define a type which will schema-validate an instance + element with any of those attributes + + + + In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + http://www.w3.org/2007/08/xml.xsd. + At the date of issue it can also be found at + http://www.w3.org/2001/xml.xsd. + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML Schema + itself, or with the XML namespace itself. In other words, if the XML + Schema or XML namespaces change, the version of this document at + http://www.w3.org/2001/xml.xsd will change + accordingly; the version at + http://www.w3.org/2007/08/xml.xsd will not change. + + + + + + Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. See + RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry + at http://www.iana.org/assignments/lang-tag-apps.htm for + further information. + + The union allows for the 'un-declaration' of xml:lang with + the empty string. + + + + + + + + + + + + + + + + + + + + + + + + See http://www.w3.org/TR/xmlbase/ for + information about this attribute. + + + + + + See http://www.w3.org/TR/xml-id/ for + information about this attribute. + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/dkk-product/featurecollection/v20190401/DKK-Product-FeatureCollection_v1_0_0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/dkk-product/featurecollection/v20190401/DKK-Product-FeatureCollection_v1_0_0.xsd new file mode 100755 index 00000000..dac9ff6e --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/dkk-product/featurecollection/v20190401/DKK-Product-FeatureCollection_v1_0_0.xsd @@ -0,0 +1,33 @@ + + + + http://www.kadaster.nl/schemas/brkkadastralekaart: ---IMKAD--- +Dit is het Informatiemodel Kadaster (IMKAD), een sectormodel conform NEN3610-2011. + +Voor wijzigingen ten opzichte van de laatst gepubliceerde versie, zie de release notes. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-historie/v20190401/DKK-Product_Historie_v1_0_0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-historie/v20190401/DKK-Product_Historie_v1_0_0.xsd new file mode 100755 index 00000000..1f940fad --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-historie/v20190401/DKK-Product_Historie_v1_0_0.xsd @@ -0,0 +1,121 @@ + + + + imkad + DKK-Product + 20190401 + 1.0.0 + 2 + http://www.kadaster.nl/schemas/dkk/imkad-historie + 2019-04-01T09:11:13Z + DKK/imkad-historie/v20190401/DKK-Product_Historie_v1_0_0.xsd + April 1, 2019 at 09:11:13 + 1.52.2 + + This schema is based on an UML specification, which is transformed by the Imvertor software. Imvertor modules are in the public domain, see http://www.imvertor.org. + + Definition: Dit package bevat alle klassen die behoren bij de representatie van de informatie in historisch kader. Dit betreft levensduur, historie, en audit trail. + + + + 0 + + + + + + + Definition: Een Voorkomen is een Object in de registratie waarvan wordt bijgehouden op basis waarvan en wanneer de vastgelegde informatie is ontstaan of gewijzigd. +Explanation: Er wordt aangegeven op basis waarvan de informatie deze vorm heeft gekregen ("audit trail") en wanneer deze informatie ontstaan of vervallen ("historie"). + + + + + + + + + Definition: Gegevens omtrent de historie van een voorkomen van dit type. + + + + + + + + + + + + + + + + + + Definition: Het moment waarop het voorkomen in de werkelijkheid is ontstaan. + + + + + + + + + + Definition: Het moment waarop het voorkomen in de werkelijkheid is vervallen. Wanneer deze waarde niet is opgegeven is de instantie nog geldig. + + + + + + + + + + Definition: Het moment waarop het voorkomen in de registratie is ontstaan. + + + + + + + + + + Definition: Het moment waarop het voorkomen in de registratie is vervallen. Wanneer deze waarde niet is opgegeven is de instantie nog geldig. + + + + + + + + + + Definition: Opvolgend nummer ter identificatie van een versie indien de identificatie van die versie niet wijzigt. Initieel heeft dit attribuut de waarde 0. + + + + + Definition: Status geeft de status van de versie van het voorkomen aan (geldig/correctie/audit). De waarden zijn opgenomen in een waardelijst. + + + + + + + http://www.kadaster.nl/schemas/waardelijsten/StatusHistorie + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-kadastraalobject/v20190401/DKK-Product_KadastraalObject_v1_0_0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-kadastraalobject/v20190401/DKK-Product_KadastraalObject_v1_0_0.xsd new file mode 100755 index 00000000..7e803865 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-kadastraalobject/v20190401/DKK-Product_KadastraalObject_v1_0_0.xsd @@ -0,0 +1,65 @@ + + + + imkad + DKK-Product + 20190401 + 1.0.0 + 2 + http://www.kadaster.nl/schemas/dkk/imkad-kadastraalobject + 2019-04-01T09:11:13Z + DKK/imkad-kadastraalobject/v20190401/DKK-Product_KadastraalObject_v1_0_0.xsd + April 1, 2019 at 09:11:13 + 1.52.2 + + This schema is based on an UML specification, which is transformed by the Imvertor software. Imvertor modules are in the public domain, see http://www.imvertor.org. + + Definition: Dit package bevat alle klassen die behoren bij de representatie van objecten (onroerende zaken en registergoederen). + + + + 0 + + + + + + + Explanation: In de BRK worden zakelijke rechten op kadastrale objecten met de rechthebbenden geregistreerd. De eigendom van en beperkte rechten op een kadastraal object worden als zakelijk recht vermeld. Uitzondering: Hypotheek wordt als zekerheidstelling en Erfdienstbaarheid als een aantekening bij kadastrale objecten vermeld Indicatie omvang Initieel 7.000.000 + + + + + + + + + Definition: De Kadaster identificatie is een door het Kadaster toegekend landelijk uniek nummer aan dit object binnen de kadastrale registratie. + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-onroerendezaak/v20190401/DKK-Product_OnroerendeZaak_v1_0_0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-onroerendezaak/v20190401/DKK-Product_OnroerendeZaak_v1_0_0.xsd new file mode 100755 index 00000000..9f644092 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-onroerendezaak/v20190401/DKK-Product_OnroerendeZaak_v1_0_0.xsd @@ -0,0 +1,325 @@ + + + + imkad + DKK-Product + 20190401 + 1.0.0 + 2 + http://www.kadaster.nl/schemas/dkk/imkad-onroerendezaak + 2019-04-01T09:11:13Z + DKK/imkad-onroerendezaak/v20190401/DKK-Product_OnroerendeZaak_v1_0_0.xsd + April 1, 2019 at 09:11:13 + 1.52.2 + + This schema is based on an UML specification, which is transformed by the Imvertor software. Imvertor modules are in the public domain, see http://www.imvertor.org. + + + + + 0 + + + + + + + + + Definition: URI https://tax.kadaster.nl/doc/begrip/Onroerende_zaak + + + + + + + + + Definition: Gegevens omtrent de historie van een voorkomen van dit type. + + + + + Definition: Kadastrale aanduiding is de unieke aanduiding van een onroerende zaak, die door het kadaster wordt vastgesteld. +Explanation: In de tijd gezien kan dezelfde onroerende zaak wel meerdere kadastrale aanduidingen hebben, te weten in het geval dat er een herindeling plaatsvindt. + + + + + + + + + + + + + + + + Definition: uri http://tax.kadaster.nl/id/begrip/Kadastrale_grens +Explanation: In de praktijk kent Kadastrale grens nu twee betekenissen: De grens zoals vastgesteld in het terrein, de terrein grens. (vaststelling o.b.v. de aanwijs van partijen aan beide zijde van de betreffende grens en vastgelegd door het Kadaster). De terreingrens is opgenomen in de terrestrische registratie van het Kadaster. De visualisatie van deze grens op de kadastrale kaart. De kaartgrens. Deze kan mogelijk 'verschoven' liggen door het inpassen van deze terreingrens in het 'overall' kaartbeeld. De kadastrale grens in deze betekenis vormt een indicatief gegeven over de ligging van de grens t.o.v. de topografie, d.w.z. van de in het terrein visueel waarneembare 'objecten' als huizen, straten, sloten, etc. Met het begrip 'Kadastrale grens' in relatie tot de BRK bedoelen we de kaartgrens. De terreingrens uit de 'terrestrische registratie' vormt de basis voor de kaartgrens. Bij juridische geschillen wordt echter de terreingrens uitgezet. + + + + + + + + + Definition: Gegevens omtrent de historie van een voorkomen van dit type. + + + + + Definition: De Kadaster identificatie is een door het Kadaster toegekend landelijk uniek nummer aan dit object binnen de kadastrale registratie. + + + + + Definition: Een grenslijn is of een lijn (GML LineString), of een boog (GML ArcString). + + + + + + Definition: De object identificatie van het perceel aan de linkerkant: Perceel.identificatie. + + + + + Definition: De object identificatie van het perceel aan de rechterkant: Perceel.identificatie. + + + + + + + + + + + + + + + + Explanation: In de BRK is een kadastraal perceel een specialisatie van een onroerende zaak. Percelen worden cartografisch gerepresenteerd door een tweedimensionale vlakbegrenzing. Tussen alle kadastrale percelen in Nederland geldt een topologische relatie (opdelende vlakstructuur), d.w.z. dat naburige perceelsvlakken naadloos moeten aansluiten en elkaar niet mogen overlappen. + + + + + + + + + Definition: Perceel.begrenzingPerceel is het geheel van lijnketens waarmee de vlakomtrek van een perceel wordt gevormd. +Explanation: Een Perceel is een (2D) vlakvormig ruimtelijk object dat "opdelend" van structuur is. Dit betekent dat Nederland altijd naadloos en volledig is bedekt met perceelsvlakken, die elkaar niet mogen overlappen. De begrenzing van een perceel bestaat uit één of meer Kaartbegrenzingen (gesloten polylijnen). De buitenomtrek wordt altijd door één Kaartbegrenzing gevormd. Indien er enclaves zijn (gebied dat niet tot het perceelsvlak behoort) zijn ook de binnenomtrekken als kaartbegrenzing opgenomen. Elk Perceel wordt begrensd door andere percelen, uitgezonderd diegenen die aan buitenland (Belgie, Duitsland en Noordzee) grenzen. Een Kaartbegrenzing is opgebouwd uit één of meer Kaartlijnen (lijnketens). Elke niet onderbroken begrenzing tussen precies 2 percelen noemen we een Kaartlijn. De topologische relatie tussen 2 vlakbegrenzingen van aangrenzende percelen wordt afgedwongen doordat hun gemeenschappelijke begrenzing door dezelfde Kaartlijn wordt gevormd. Een Kaartlijn ofwel lijnketen is opgebouwd uit opeenvolgend aansluitende kaartlijndelen, bestaande uit rechte en cirkelboogvormige lijnstukken. Hoewel momenteel in de kadastrale percelenstructuur geen exclaves (buitenliggende vlakken) voorkomen, doet dit aan de definitie van Begrenzing perceel niets af. + + + + + Definition: https://tax.kadaster.nl/doc/begrip/Kadastrale_grootte +Explanation: Oppervlak grootte, in vierkante meters. + + + + + Definition: Perceel.perceelnummerRotatie is de rotatie van het perceelnummer ten behoeve van afbeelding op de kaart. Perceelnummers worden bijvoorbeeld gekanteld om in een smal perceel te passen. + + + + + + + + + + + Definition: Niet gevuld betekent: dit perceel is niet bijgepijld. + + + + + Definition: De aanduiding van een kaartpunt voor de weergave van de identificatie van een perceel (centroïde). Door de keuze van het nulpunt geldt dat zowel de x-coordinaat als de y-coordinaat altijd positief zijn. + + + + + + + + + + + + + + + + Definition: Verschuiving van het perceelnummer ten behoeve van visualisatie op een kaart. Dit voorkomt dat perceelnummers van kleine percelen elkaar overlappen. + + + + + + + Definition: Verschuiving op de X as. + + + + + + + + + + + Definition: Verschuiving op de Y as. + + + + + + + + + + + + + + + + + + Definition: Oppervlakte. + + + + + + + Definition: Oppervlak grootte, in vierkante meters. + + + + + + + + + + Definition: De soortGrootte geeft aan of de grootte van het perceel voorlopig, administratief of definitief is vastgesteld. +Explanation: Een grens is voorlopig zolang de Aanwijzing kadastrale grens nog niet heeft plaatsgevonden. Met voorlopige kadastrale grenzen (VKG) worden gehele kadastrale percelen gevormd, voordat de definitieve grenzen in het terrein aan te wijzen zijn. Bij de splitsing ontstaan gehele percelen met: voorlopige kadastrale grenzen; een voorlopige kadastrale oppervlakte; definitieve perceelnummers. Een administratieve grens is een grens die door het Kadaster is ingetekend om een, in een akte geleverd gedeelte van een perceel, af te beelden op de kadastrale kaart. De kleur van een administratieve grens is blauw. Een administratieve grens wordt definitief als de grens, na aanwijzing door belanghebbenden, door het Kadaster is gemeten. + + + + + + + + + + + + Definition: Kadastrale aanduiding is de unieke aanduiding van een onroerende zaak, die door het kadaster wordt vastgesteld. Percelen worden kadastraal aangeduid door vermelding van achtereenvolgens de kadastrale gemeente en sectie, waarin de percelen en gedeelten van percelen zijn gelegen waarvan het grondgebied tot die zaak behoort, alsmede de nummers van die percelen. Voor een onroerende zaak die zich krachtens een opstalrecht op, in of boven de grond van een ander bevindt, geldt dezelfde kadastrale aanduiding als van de onroerende zaak die met dat opstalrecht is bezwaard. Dit is van overeenkomstige toepassing op een onroerende zaak die zich op, in of boven de grond van een ander bevindt krachtens een recht als bedoeld in het voor 1 januari 1992 geldende artikel 5, derde lid, onder b, laatste zinsnede, van de Belemmeringenwet Privaatrecht. Appartementsrechten worden kadastraal aangeduid door de vermelding van achtereenvolgens de kadastrale gemeente en sectie, waarin de in de splitsing betrokken percelen zijn gelegen, de complexaanduiding en de appartementsindex (Een oplopend volgnummer van "0001" tot "9999"). De complexaanduiding bestaat uit het voor de in de splitsing betrokken percelen vastgestelde complexnummer, gevolgd door de hoofdletter A. Onze Minister stelt regelen vast omtrent de vaststelling van het complexnummer. Er zijn 1111 kadastrale gemeentenamen. Elke kadastrale gemeentenaam is uniek. + + + + + + + Definition: De kadastrale gemeente, deel van de kadastrale aanduiding van de onroerende zaak. De waarden komen uit een Waardelijst. Er zijn 1111 kadastrale gemeentenamen. Elke kadastrale gemeentenaam is uniek. + + + + + Definition: Sectie is een onderverdeling van de kadastrale gemeente, bedoeld om het werk van de meetdienst en de kadastrale kaarten overzichtelijk te houden. Per kadastrale gemeente zijn er max. 26x26 secties . Elke sectie heeft een of twee letters (bijv. "A", 'B', ....'AA', 'AB', ....'ZZ' . Alleen de sectieletter "J" werd niet gebruikt om verwarring (handgeschreven) te voorkomen met "I" + + + + + + + + + + + Definition: Het perceelnummer dat een geheel perceel of een complex uniek identificeert binnen de sectie. Per kadastrale gemeente en per sectie heeft een perceel een perceelnummer oplopend door de jaren heen van "00001" tot max "99999" + + + + + + + + + + + + + + + + + + http://www.kadaster.nl/schemas/waardelijsten/KadastraleGemeente + + + + + + + + + + + + + + + http://www.kadaster.nl/schemas/waardelijsten/AKRKadastraleGemeenteCode + + + + + + + + + + + + + + + http://www.kadaster.nl/schemas/waardelijsten/SoortGrootte/ + + + + + + + + + + + + + + + http://www.kadaster.nl/schemas/waardelijsten/TypeGrens/ + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-typen/v20190401/DKK-Product_Typen_v1_0_0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-typen/v20190401/DKK-Product_Typen_v1_0_0.xsd new file mode 100755 index 00000000..4fc724c6 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/imkad-typen/v20190401/DKK-Product_Typen_v1_0_0.xsd @@ -0,0 +1,75 @@ + + + + imkad + DKK-Product + 20190401 + 1.0.0 + 2 + http://www.kadaster.nl/schemas/dkk/imkad-typen + 2019-04-01T09:11:13Z + DKK/imkad-typen/v20190401/DKK-Product_Typen_v1_0_0.xsd + April 1, 2019 at 09:11:13 + 1.52.2 + + This schema is based on an UML specification, which is transformed by the Imvertor software. Imvertor modules are in the public domain, see http://www.imvertor.org. + + Definition: Dit package bevat alle typen die gemeenschappelijk zijn binnen verschillende packages. + + + + 0 + + + + + Definition: CompositeID is een samengesteld datatype gebruikt wordt de universeel unieke identificatie van een object binnen een registratie. +Explanation: De unieke identificatie wordt, anders dan binnen IMKAD applicaties, uitgedrukt als 1 string. Unieke identificatie door het Kadaster toegekend. De identificatie heeft een opbouw conform NEN3610:2011 maar namespaces zijn onder beheer van kadaster (CDMKAD, delen van IMKAD) of Geonovum/NEN3610 (IMKAD). De mogelijke waarde voor de identificatie namespace is uniek per specifiek domein. Deze domeinen zijn: <ul> <li>NL.IMKAD.KadastraalObject</li> <li>NL.IMKAD.Aantekening</li> <li>NL.IMKAD.AdresLocatie</li> <li>NL.IMKAD.KadastraleGrens</li> <li>NL.IMKAD.ZakelijkRecht</li> <li>NL.IMKAD.Mandeligheid</li> <li>NL.IMKAD.AppartementsrechtSplitsing</li> <li>NL.IMKAD.Tenaamstelling</li> <li>NL.IMKAD.GezamenlijkAandeel</li> <li>NL.IMKAD.Zekerheidsstelling</li> <li>NL.IMKAD.TIAStuk</li> <li>NL.IMKAD.Kadasterstuk</li> </ul> <ul> <li>NL.IMKAD.KadasterVerzoek</li> </ul> <ul> <li>NL.IMKAD.Stukdeel</li> </ul> <ul> <li>NL.IMKAD.Herverkaveling</li> <li>NL.IMKAD.Persoon</li> <li>NL.IMKAD.Erfpachtcanon</li> <li>NL.IMKAD.Nummerreservering</li> </ul> + + + + + This complex datatype is transformed to a simple type because a content pattern is defined. + + + + + + + + + + + + + Definition: Waardelijst is een samengesteld datatype voor het weergeven van een gegeven binnen een extern beheerde referentielijst. +Explanation: Het datatye bestaat uit een code en een waarde. Bij attributen die van type Waardelijst zijn, word aangegeven welke referentielijst bedoeld is met de tagged value "data locatie" . + + + + + + + Definition: De code van deze waarde. De code is uniek binnen de Waardelijst en taalonafhankelijk. + + + + + Definition: De waarde zoals aangetroffen in de Waardelijst. het moment waarop de waarde geassocieerd is met de meegeleverde code is onbepaald. + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-dkk-4.0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-dkk-4.0.xsd new file mode 100755 index 00000000..7cdbac70 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-dkk-4.0.xsd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-generiek-2.0.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-generiek-2.0.xsd new file mode 100755 index 00000000..2ed5a0db --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/DKK/mutatielevering/mutatielevering-generiek-2.0.xsd @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Was of wordt + + + + + + + + + + Object uit het datamodel van de dataset + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gco/basicTypes.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gco/basicTypes.xsd new file mode 100755 index 00000000..f224cca2 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gco/basicTypes.xsd @@ -0,0 +1,449 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:00:05 ====== + + + + + + + + + + + + A TypeName is a LocalName that references either a recordType or object type in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. This is the types name. - For parsing from types (or objects) the parsible name normally uses a "." navigation separator, so that it is of the form [class].[member].[memberOfMember]. ...) + + + + + + + + + + + + + + + + + + + + + + + A MemberName is a LocalName that references either an attribute slot in a record or recordType or an attribute, operation, or association role in an object instance or type description in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. + + + + + + + + + + + + + + + + + + + + + + + + Use to represent the possible cardinality of a relation. Represented by a set of simple multiplicity ranges. + + + + + + + + + + + + + + + + + + + + + + + A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gco/gco.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gco/gco.xsd new file mode 100755 index 00000000..6eb173c6 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gco/gco.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:00:06 ====== + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gco/gcoBase.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gco/gcoBase.xsd new file mode 100755 index 00000000..73f08388 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gco/gcoBase.xsd @@ -0,0 +1,73 @@ + + + + + This schema provides: + 1. tools to handle specific objects like "code lists" and "record"; + 2. Some XML types representing that do not follow the general encoding rules. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/applicationSchema.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/applicationSchema.xsd new file mode 100755 index 00000000..607bab1a --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/applicationSchema.xsd @@ -0,0 +1,58 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:03 ====== + + + + + + + + + + Information about the application schema used to build the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/citation.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/citation.xsd new file mode 100755 index 00000000..8fe81f41 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/citation.xsd @@ -0,0 +1,350 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== + + + + + + + + + + Identification of, and means of communication with, person(s) and organisations associated with the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + + Standardized resource reference + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Location of the responsible individual or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about online sources from which the dataset, specification, or community profile name and extended metadata elements can be obtained. + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information required enabling contact with the responsible person and/or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + Telephone numbers for contacting the responsible individual or organisation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/constraints.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/constraints.xsd new file mode 100755 index 00000000..14ba9e54 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/constraints.xsd @@ -0,0 +1,141 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:01 ====== + + + + + + + + + Restrictions on the access and use of a dataset or metadata + + + + + + + + + + + + + + + + + + + + + + + Restrictions and legal prerequisites for accessing and using the dataset. + + + + + + + + + + + + + + + + + + + + + + + + + Handling restrictions imposed on the dataset because of national security, privacy, or other concerns + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/content.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/content.xsd new file mode 100755 index 00000000..b6a9e963 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/content.xsd @@ -0,0 +1,250 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:03 ====== + + + + + + + + + + Information identifing the feature catalogue + + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the domain of the raster cell + + + + + + + + + + + + + + + + + + + + + + + + + Information about an image's suitability for use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set of adjacent wavelengths in the electro-magnetic spectrum with a common characteristic, such as the visible band + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/dataQuality.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/dataQuality.xsd new file mode 100755 index 00000000..98f43413 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/dataQuality.xsd @@ -0,0 +1,672 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:01 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + quantitative_result from Quality Procedures - - renamed to remove implied use limitiation. + + + + + + + + + + + + + + + + + + + + + + + + + Quantitative_conformance_measure from Quality Procedures. - - Renamed to remove implied use limitation - - OCL - -- result is type specified by valueDomain - result.tupleType = valueDomain + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/distribution.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/distribution.xsd new file mode 100755 index 00000000..303380a9 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/distribution.xsd @@ -0,0 +1,266 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:03 ====== + + + + + + + + + + Information about the media on which the data can be distributed + + + + + + + + + + + + + + + + + + + + + + + + + + + + Technical means and media by which a dataset is obtained from the distributor + + + + + + + + + + + + + + + + + + + + + + + + + + Common ways in which the dataset may be obtained or received, and related instructions and fee information + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the distributor + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the distributor of and options for obtaining the dataset + + + + + + + + + + + + + + + + + + + + + + + + + Description of the form of the data to be distributed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/extent.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/extent.xsd new file mode 100755 index 00000000..706fdca0 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/extent.xsd @@ -0,0 +1,245 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== + + + + + + + + + + + + + Time period covered by the content of the dataset + + + + + + + + + + + + + + + + + + + + + + + Vertical domain of dataset + + + + + + + + + + + + + + + + + + + + + + + + + Boundary enclosing the dataset expressed as the closed set of (x,y) coordinates of the polygon (last point replicates first point) + + + + + + + + + + + + + + + + + + + + + + + Information about spatial, vertical, and temporal extent + + + + + + + + + + + + + + + + + + + + + + + + + + Geographic area of the dataset + + + + + + + + + + + + + + + + + + + + + + + Geographic area of the entire dataset referenced to WGS 84 + + + + + + + + + + + + + + + + + + + + + + + + + + Extent with respect to date and time + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/freeText.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/freeText.xsd new file mode 100755 index 00000000..63b99429 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/freeText.xsd @@ -0,0 +1,143 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-17-2005 17:21:53 ====== Informative package (concepts are not implementable) - pragmatic approach for encoding + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/gmd.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/gmd.xsd new file mode 100755 index 00000000..b8314362 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/gmd.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/identification.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/identification.xsd new file mode 100755 index 00000000..c7e326a3 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/identification.xsd @@ -0,0 +1,452 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:05 ====== + + + + + + + + + + + + Basic information about data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Graphic that provides an illustration of the dataset (should include a legend for the graphic) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + See 19119 for further info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Brief description of ways in which the dataset is currently used. + + + + + + + + + + + + + + + + + + + + + + + + + + Keywords, their type and reference source + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Encapsulates the dataset aggregation information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + High-level geospatial data thematic classification to assist in the grouping and search of available geospatial datasets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/maintenance.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/maintenance.xsd new file mode 100755 index 00000000..fbda272a --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/maintenance.xsd @@ -0,0 +1,125 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== Status of the dataset or progress of a review + + + + + + + + + + + Information about the scope and frequency of updating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the class of information covered by the information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataApplication.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataApplication.xsd new file mode 100755 index 00000000..e04ce169 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataApplication.xsd @@ -0,0 +1,215 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:05 ====== + + + + + + + + + + Identifiable collection of datasets + + + + + + + + + + + + + + + + + + + + + + + + + + Identifiable collection of data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataEntity.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataEntity.xsd new file mode 100755 index 00000000..21e62287 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataEntity.xsd @@ -0,0 +1,149 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:00 ====== + + + + + + + + + + + + + + + + + Information about the metadata + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataExtension.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataExtension.xsd new file mode 100755 index 00000000..3931883e --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/metadataExtension.xsd @@ -0,0 +1,136 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:03 ====== Method used to represent geographic information in the dataset + + + + + + + + + + New metadata element, not found in ISO 19115, which is required to describe geographic data + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Information describing metadata extensions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/portrayalCatalogue.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/portrayalCatalogue.xsd new file mode 100755 index 00000000..3f9666e4 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/portrayalCatalogue.xsd @@ -0,0 +1,48 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:03 ====== + + + + + + + + + + Information identifing the portrayal catalogue used + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/referenceSystem.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/referenceSystem.xsd new file mode 100755 index 00000000..fc4d3048 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/referenceSystem.xsd @@ -0,0 +1,122 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:04 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Description of the spatial and temporal reference systems used in the dataset + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmd/spatialRepresentation.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/spatialRepresentation.xsd new file mode 100755 index 00000000..7f29c909 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmd/spatialRepresentation.xsd @@ -0,0 +1,295 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:40:02 ====== Frequency with which modifications and deletations are made to the data after it is first produced + + + + + + + + + + + Types and numbers of raster spatial objects in the dataset + + + + + + + + + + + + + + + + + + + + + + + + + + Information about the vector spatial objects in the dataset + + + + + + + + + + + + + + + + + + + + + + + + Digital mechanism used to represent spatial information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/ReadMe.txt b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/ReadMe.txt new file mode 100755 index 00000000..500e23dd --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/ReadMe.txt @@ -0,0 +1,66 @@ +OpenGIS(r) GML schema ReadMe.txt +----------------------------------------------------------------------- + +OpenGIS Geography Markup Language (GML) Encoding Standard + +More information on the OGC GML standard may be found at + http://www.opengeospatial.org/standards/gml + +The most current schema are available at http://schemas.opengis.net/ . + +----------------------------------------------------------------------- + +Note: The root document of the GML 3.x schema is the file "gml.xsd". + +2010-01-28 Kevin Stegemoller + * v1.0-v3.2: update/verify copyright (06-135r7 s#3.2) + * v1.0-v3.2: update relative schema imports to absolute URLs (06-135r7 s#15) + * v1.0-v3.2: updated xsd:schema:@version attribute (06-135r7 s#13.4) + * v1.0-v3.2: add archives (.zip) files of previous versions + * v1.0-v3.2: create/update ReadMe.txt (06-135r7 s#17) + +2007-09-06 Kevin Stegemoller + + * v3.2.1: Posted GML 3.2.1 (ISO 19136) schemas from OGC 07-036 + See http://schemas.opengis.net/gml/3.2.1/gml_3_2_1-ReadMe.txt + +NOTICE: GML 2.1.2 will link to the newest version of GML 2.1.2.x . As +of 5 September 2007, the contents of 2.1.2 contain GML 2.1.2.1 per OGC +06-189. If you have questions, please contact the webmaster (at) +opengeospatial.org. -- 2007-09-05 Kevin Stegemoller + +2007-08-27 Chris Holmes + + * v2.1.2: update 2.1.2.1 and ReadMe.txt changes + * v2.1.2.0: Contains previous version of GML 2.1.2 (pre- 5 Sep 2007) + * v2.1.2.1: Contains Corrigendum 1 for GML 2.1.2 schema fix (OGC 06-189). + * v2.1.2.1: Corrigendum 1 for GML 2.1.2 schema fix (OGC 06-189) includes: + + Official schema location is now http://schemas.opengis.net + + replace xlink import schema location with ../../xlink/1.0.0/xlinks.xsd + + remove gml/2.1.2/xlinks.xsd (optional, as is now unused). + + geometry.xsd: fixed so will now validate by conformant processors by: + + geometry.xsd: moving minOccurs/maxOccurs cardinality indicators from + declarations to their containing elements in the + context of the GML property pattern. -- SJDC 2006-12-07 + + gml:Coord is suppressed. -- SJDC 2006-12-07 + +2005-11-22 Arliss Whiteside + + * GML versions 2.0.0 through 3.1.1: The sets of XML Schema Documents for + OpenGIS GML Versions 2.0.0 through 3.1.1 have been edited to reflect the + corrigenda to all those OGC documents that is based on the change requests: + OGC 05-068r1 "Store xlinks.xsd file at a fixed location" + OGC 05-081r2 "Change to use relative paths" + OGC 05-105 "Remove description and copyright tags from XML schema documents" + + * Note: check each OGC numbered document for detailed changes. + +----------------------------------------------------------------------- + +Policies, Procedures, Terms, and Conditions of OGC(r) are available + http://www.opengeospatial.org/ogc/legal/ . + +Copyright (c) 2010 Open Geospatial Consortium, Inc. All Rights Reserved. + +----------------------------------------------------------------------- + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/SchematronConstraints.xml b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/SchematronConstraints.xml new file mode 100755 index 00000000..6cfd40f1 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/SchematronConstraints.xml @@ -0,0 +1,71 @@ + + Schematron constraints for GML / ISO 19136 + + + + + + ValueArray may not carry both a reference to a codeSpace and a uom + + + + + All components shall be of the same type + All components shall be of the same type + + + + + The presence of a dimension attribute implies the presence of the srsName attribute. + The presence of an axisLabels attribute implies the presence of the srsName attribute. + The presence of an uomLabels attribute implies the presence of the srsName attribute. + The presence of an uomLabels attribute implies the presence of the axisLabels attribute and vice versa. + + + + + All patches shall be gml:PolygonPatch elements or an element in the substitution group of gml:PolygonPatch. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All patches shall be gml:Triangle elements or an element in the substitution group of gml:PolygonPatch. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + Property element may not carry both a reference to an object and contain an object. + Property element shall either carry a reference to an object or contain an object. + + + + + All values in the domain set shall be gml:MultiPoint elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All values in the domain set shall be gml:MultiCurve elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All values in the domain set shall be gml:MultiSurface elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All values in the domain set shall be gml:MultiSolid elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All values in the domain set shall be gml:Grid elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + + + All values in the domain set shall be gml:RectifiedGrid elements or an element in its substitution group. Note that the test currently does not identify substitutable elements correctly, this will require the use of XPath 2 in the future. + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/basicTypes.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/basicTypes.xsd new file mode 100755 index 00000000..38a8a4f9 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/basicTypes.xsd @@ -0,0 +1,274 @@ + + + + basicTypes.xsd + See ISO/DIS 19136 8.2. +W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup. These are described in W3C XML Schema Part 2:2001. Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types. W3C XML Schema also provides methods for defining +- new simple types by restriction and combination of the built-in types, and +- complex types, with simple content, but which also have XML attributes. +In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML. +A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception. +gml:NilReasonType is a union of the following enumerated values: +- inapplicable there is no value +- missing the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist +- template the value will be available later +- unknown the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists +- withheld the value is not divulged +- other:text other brief explanation, where text is a string of two or more characters with no included spaces +and +- anyURI which should refer to a resource which describes the reason for the exception +A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document. +gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type. + + + + + + + + + + + + + + + + + + + + + + + + gml:SignType is a convenience type with values "+" (plus) and "-" (minus). + + + + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value. + + + + + + gml:CodeType is a generalized type to be used for a term, keyword or name. +It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term. + + + + + + + + + + gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance. + + + + + + + + + + gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale. + + + + + + + + + + The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier. + + + + + + This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc. +It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems. + + + + + + + + This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol . +NOTE It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s"). +In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either +- a conventional unit of measure symbol, +- a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition. + + + + + + + + This type is deprecated for tuples with ordinate values that are numbers. +CoordinatesType is a text string, intended to be used to record an array of tuples or coordinates. +While it is not possible to enforce the internal structure of the string through schema validation, some optional attributes have been provided in previous versions of GML to support a description of the internal structure. These attributes are deprecated. The attributes were intended to be used as follows: +Decimal symbol used for a decimal point (default="." a stop or period) +cs symbol used to separate components within a tuple or coordinate string (default="," a comma) +ts symbol used to separate tuples or coordinate strings (default=" " a space) +Since it is based on the XML Schema string type, CoordinatesType may be used in the construction of tables of tuples or arrays of tuples, including ones that contain mixed text and numeric values. + + + + + + + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + A type for a list of values of the respective simple type. + + + + + + gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. + + + + + + + + + + gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason. + + + + + + + + + + gml:MeasureListType provides for a list of quantities. + + + + + + + + + + gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason. + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateOperations.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateOperations.xsd new file mode 100755 index 00000000..d4d37041 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateOperations.xsd @@ -0,0 +1,577 @@ + + + + coordinateOperations.xsd + See ISO/DIS 19136 13.6. +The spatial or temporal coordinate operations schema components can be divided into five logical parts, which define elements and types for XML encoding of the definitions of: +- Multiple abstract coordinate operations +- Multiple concrete types of coordinate operations, including Transformations and Conversions +- Abstract and concrete parameter values and groups +- Operation methods +- Abstract and concrete operation parameters and groups +These schema component encodes the Coordinate Operation package of the UML Model for ISO 19111 Clause 11. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + gml:AbstractCoordinateOperation is a mathematical operation on coordinates that transforms or converts coordinates to another coordinate reference system. Many but not all coordinate operations (from CRS A to CRS B) also uniquely define the inverse operation (from CRS B to CRS A). In some cases, the operation method algorithm for the inverse operation is the same as for the forward algorithm, but the signs of some operation parameter values shall be reversed. In other cases, different algorithms are required for the forward and inverse operations, but the same operation parameter values are used. If (some) entirely different parameter values are needed, a different coordinate operation shall be defined. +The optional coordinateOperationAccuracy property elements provide estimates of the impact of this coordinate operation on point position accuracy. + + + + + + + + + + + + + + + + + + + gml:operationVersion is the version of the coordinate transformation (i.e., instantiation due to the stochastic nature of the parameters). Mandatory when describing a transformation, and should not be supplied for a conversion. + + + + + gml:coordinateOperationAccuracy is an association role to a DQ_PositionalAccuracy object as encoded in ISO/TS 19139, either referencing or containing the definition of that positional accuracy. That object contains an estimate of the impact of this coordinate operation on point accuracy. That is, it gives position error estimates for the target coordinates of this coordinate operation, assuming no errors in the source coordinates. + + + + + + + + + + + gml:sourceCRS is an association role to the source CRS (coordinate reference system) of this coordinate operation. + + + + + gml:targetCRS is an association role to the target CRS (coordinate reference system) of this coordinate operation. + + + + + gml:CoordinateOperationPropertyType is a property type for association roles to a coordinate operation, either referencing or containing the definition of that coordinate operation. + + + + + + + + + gml:AbstractSingleOperation is a single (not concatenated) coordinate operation. + + + + + gml:SingleOperationPropertyType is a property type for association roles to a single operation, either referencing or containing the definition of that single operation. + + + + + + + + + gm:AbstractGeneralConversion is an abstract operation on coordinates that does not include any change of datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters. The operationVersion, sourceCRS, and targetCRS elements are omitted in a coordinate conversion. +This abstract complex type is expected to be extended for well-known operation methods with many Conversion instances, in GML Application Schemas that define operation-method-specialized element names and contents. This conversion uses an operation method, usually with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references the "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include zero or more elements each named "uses...Value" that each use the type of an element substitutable for the "AbstractGeneralParameterValue" element. + + + + + + + + + + + + + + + + + + + + + + + gml:GeneralConversionPropertyType is a property type for association roles to a general conversion, either referencing or containing the definition of that conversion. + + + + + + + + + gml:AbstractGeneralTransformation is an abstract operation on coordinates that usually includes a change of Datum. The parameters of a coordinate transformation are empirically derived from data containing the coordinates of a series of points in both coordinate reference systems. This computational process is usually "over-determined", allowing derivation of error (or accuracy) estimates for the transformation. Also, the stochastic nature of the parameters may result in multiple (different) versions of the same coordinate transformation. The operationVersion, sourceCRS, and targetCRS proeprty elements are mandatory in a coordinate transformation. +This abstract complex type is expected to be extended for well-known operation methods with many Transformation instances, in Application Schemas that define operation-method-specialized value element names and contents. This transformation uses an operation method with associated parameter values. However, operation methods and parameter values are directly associated with concrete subtypes, not with this abstract type. All concrete types derived from this type shall extend this type to include a "usesMethod" element that references one "OperationMethod" element. Similarly, all concrete types derived from this type shall extend this type to include one or more elements each named "uses...Value" that each use the type of an element substitutable for the "AbstractGeneralParameterValue" element. + + + + + + + + + + + + + + + + + + + + + + + + + + gml:GeneralTransformationPropertyType is a property type for association roles to a general transformation, either referencing or containing the definition of that transformation. + + + + + + + + + + gml:ConcatenatedOperation is an ordered sequence of two or more coordinate operations. This sequence of operations is constrained by the requirement that the source coordinate reference system of step (n+1) must be the same as the target coordinate reference system of step (n). The source coordinate reference system of the first step and the target coordinate reference system of the last step are the source and target coordinate reference system associated with the concatenated operation. Instead of a forward operation, an inverse operation may be used for one or more of the operation steps mentioned above, if the inverse operation is uniquely defined by the forward operation. +The gml:coordOperation property elements are an ordered sequence of associations to the two or more operations used by this concatenated operation. The AggregationAttributeGroup should be used to specify that the coordOperation associations are ordered. + + + + + + + + + + + + + gml:coordOperation is an association role to a coordinate operation. + + + + + gml:ConcatenatedOperationPropertyType is a property type for association roles to a concatenated operation, either referencing or containing the definition of that concatenated operation. + + + + + + + + + gml:PassThroughOperation is a pass-through operation specifies that a subset of a coordinate tuple is subject to a specific coordinate operation. +The modifiedCoordinate property elements are an ordered sequence of positive integers defining the positions in a coordinate tuple of the coordinates affected by this pass-through operation. The AggregationAttributeGroup should be used to specify that the modifiedCoordinate elements are ordered. + + + + + + + + + + + + + + + + gml:modifiedCoordinate is a positive integer defining a position in a coordinate tuple. + + + + + gml:PassThroughOperationPropertyType is a property type for association roles to a pass through operation, either referencing or containing the definition of that pass through operation. + + + + + + + + + gml:Conversion is a concrete operation on coordinates that does not include any change of Datum. The best-known example of a coordinate conversion is a map projection. The parameters describing coordinate conversions are defined rather than empirically derived. Note that some conversions have no parameters. +This concrete complex type can be used without using a GML Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Conversion instance. +The usesValue property elements are an unordered list of composition associations to the set of parameter values used by this conversion operation. + + + + + + + + + + + + + + + gml:method is an association role to the operation method used by a coordinate operation. + + + + + gml:parameterValue is a composition association to a parameter value or group of parameter values used by a coordinate operation. + + + + + gml:ConversionPropertyType is a property type for association roles to a concrete general-purpose conversion, either referencing or containing the definition of that conversion. + + + + + + + + + gml:Transformation is a concrete object element derived from gml:GeneralTransformation (13.6.2.13). +This concrete object can be used for all operation methods, without using a GML Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one Transformation instance. +The parameterValue elements are an unordered list of composition associations to the set of parameter values used by this conversion operation. + + + + + + + + + + + + + + + gml:TransformationPropertyType is a property type for association roles to a transformation, either referencing or containing the definition of that transformation. + + + + + + + + + gml:AbstractGeneralParameterValue is an abstract parameter value or group of parameter values. +This abstract complexType is expected to be extended and restricted for well-known operation methods with many instances, in Application Schemas that define operation-method-specialized element names and contents. Specific parameter value elements are directly contained in concrete subtypes, not in this abstract type. All concrete types derived from this type shall extend this type to include one "...Value" element with an appropriate type, which should be one of the element types allowed in the ParameterValueType. In addition, all derived concrete types shall extend this type to include a "operationParameter" property element that references one element substitutable for the "OperationParameter" object element. + + + + + + + + gml:AbstractGeneralParameterValuePropertyType is a property type for inline association roles to a parameter value or group of parameter values, always containing the values. + + + + + + + + gml:ParameterValue is a parameter value, an ordered sequence of values, or a reference to a file of parameter values. This concrete complex type may be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents, especially for methods with only one instance. This complex type may be used, extended, or restricted for well-known operation methods, especially for methods with many instances. + + + + + + + + + + + + + + + + + + + + + + + + gml:value is a numeric value of an operation parameter, with its associated unit of measure. + + + + + gml:stringValue is a character string value of an operation parameter. A string value does not have an associated unit of measure. + + + + + gml:integerValue is a positive integer value of an operation parameter, usually used for a count. An integer value does not have an associated unit of measure. + + + + + gml:booleanValue is a boolean value of an operation parameter. A Boolean value does not have an associated unit of measure. + + + + + gml:valueList is an ordered sequence of two or more numeric values of an operation parameter list, where each value has the same associated unit of measure. An element of this type contains a space-separated sequence of double values. + + + + + gml:integerValueList is an ordered sequence of two or more integer values of an operation parameter list, usually used for counts. These integer values do not have an associated unit of measure. An element of this type contains a space-separated sequence of integer values. + + + + + gml:valueFile is a reference to a file or a part of a file containing one or more parameter values, each numeric value with its associated unit of measure. When referencing a part of a file, that file shall contain multiple identified parts, such as an XML encoded document. Furthermore, the referenced file or part of a file may reference another part of the same or different files, as allowed in XML documents. + + + + + gml:operationParameter is an association role to the operation parameter of which this is a value. + + + + + gml:ParameterValueGroup is a group of related parameter values. The same group can be repeated more than once in a Conversion, Transformation, or higher level ParameterValueGroup, if those instances contain different values of one or more parameterValues which suitably distinquish among those groups. This concrete complex type can be used for operation methods without using an Application Schema that defines operation-method-specialized element names and contents. This complex type may be used, extended, or restricted for well-known operation methods, especially for methods with only one instance. +The parameterValue elements are an unordered set of composition association roles to the parameter values and groups of values included in this group. + + + + + + + + + + + + + + + gml:group is an association role to the operation parameter group for which this element provides parameter values. + + + + + gml:OperationMethod is a method (algorithm or procedure) used to perform a coordinate operation. Most operation methods use a number of operation parameters, although some coordinate conversions use none. Each coordinate operation using the method assigns values to these parameters. +The parameter elements are an unordered list of associations to the set of operation parameters and parameter groups used by this operation method. + + + + + + + + + + + + + + + + + + + + gml:formulaCitation provides a reference to a publication giving the formula(s) or procedure used by an coordinate operation method. + + + + + + + + + + + gml:formula Formula(s) or procedure used by an operation method. The use of the codespace attribite has been deprecated. The property value shall be a character string. + + + + + gml:sourceDimensions is the number of dimensions in the source CRS of this operation method. + + + + + gml:targetDimensions is the number of dimensions in the target CRS of this operation method. + + + + + gml:parameter is an association to an operation parameter or parameter group. + + + + + gml:OperationMethodPropertyType is a property type for association roles to a concrete general-purpose operation method, either referencing or containing the definition of that method. + + + + + + + + + gml:GeneralOperationParameter is the abstract definition of a parameter or group of parameters used by an operation method. + + + + + + + + + + + + + + gml:minimumOccurs is the minimum number of times that values for this parameter group or parameter are required. If this attribute is omitted, the minimum number shall be one. + + + + + gml:AbstractGeneralOperationParameterPropertyType is a property type for association roles to an operation parameter or group, either referencing or containing the definition of that parameter or group. + + + + + + + + + gml:OperationParameter is the definition of a parameter used by an operation method. Most parameter values are numeric, but other types of parameter values are possible. This complex type is expected to be used or extended for all operation methods, without defining operation-method-specialized element names. + + + + + + + + + + + + gml:OperationParameterPropertyType is a property type for association roles to an operation parameter, either referencing or containing the definition of that parameter. + + + + + + + + + gml:OperationParameterGroup is the definition of a group of parameters used by an operation method. This complex type is expected to be used or extended for all applicable operation methods, without defining operation-method-specialized element names. +The generalOperationParameter elements are an unordered list of associations to the set of operation parameters that are members of this group. + + + + + + + + + + + + + + + gml:maximumOccurs is the maximum number of times that values for this parameter group may be included. If this attribute is omitted, the maximum number shall be one. + + + + + gml:OperationParameterPropertyType is a property type for association roles to an operation parameter group, either referencing or containing the definition of that parameter group. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateReferenceSystems.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateReferenceSystems.xsd new file mode 100755 index 00000000..333d251a --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateReferenceSystems.xsd @@ -0,0 +1,403 @@ + + + + coordinateReferenceSystems.xsd + See ISO/DIS 19136 13.3. +The spatial-temporal coordinate reference systems schema components are divided into two logical parts. One part defines elements and types for XML encoding of abstract coordinate reference systems definitions. The larger part defines specialized constructs for XML encoding of definitions of the multiple concrete types of spatial-temporal coordinate reference systems. +These schema components encode the Coordinate Reference System packages of the UML Models of ISO 19111 Clause 8 and ISO/DIS 19136 D.3.10, with the exception of the abstract "SC_CRS" class. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + gml:AbstractSingleCRS implements a coordinate reference system consisting of one coordinate system and one datum (as opposed to a Compound CRS). + + + + + gml:SingleCRSPropertyType is a property type for association roles to a single coordinate reference system, either referencing or containing the definition of that coordinate reference system. + + + + + + + + + gml:AbstractGeneralDerivedCRS is a coordinate reference system that is defined by its coordinate conversion from another coordinate reference system. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + gml:conversion is an association role to the coordinate conversion used to define the derived CRS. + + + + + gml:CompundCRS is a coordinate reference system describing the position of points through two or more independent coordinate reference systems. It is associated with a non-repeating sequence of two or more instances of SingleCRS. + + + + + + + + + + + + + + + The gml:componentReferenceSystem elements are an ordered sequence of associations to all the component coordinate reference systems included in this compound coordinate reference system. The gml:AggregationAttributeGroup should be used to specify that the gml:componentReferenceSystem properties are ordered. + + + + + gml:CompoundCRSPropertyType is a property type for association roles to a compound coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + + gml:GeodeticCRS is a coordinate reference system based on a geodetic datum. + + + + + + + + + + + + + + + + + gml:ellipsoidalCS is an association role to the ellipsoidal coordinate system used by this CRS. + + + + + gml:cartesianCS is an association role to the Cartesian coordinate system used by this CRS. + + + + + gml:sphericalCS is an association role to the spherical coordinate system used by this CRS. + + + + + gml:geodeticDatum is an association role to the geodetic datum used by this CRS. + + + + + + gml:GeodeticCRSPropertyType is a property type for association roles to a geodetic coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:VerticalCRS is a 1D coordinate reference system used for recording heights or depths. Vertical CRSs make use of the direction of gravity to define the concept of height or depth, but the relationship with gravity may not be straightforward. By implication, ellipsoidal heights (h) cannot be captured in a vertical coordinate reference system. Ellipsoidal heights cannot exist independently, but only as an inseparable part of a 3D coordinate tuple defined in a geographic 3D coordinate reference system. + + + + + + + + + + + + + + + gml:verticalCS is an association role to the vertical coordinate system used by this CRS. + + + + + gml:verticalDatum is an association role to the vertical datum used by this CRS. + + + + + gml:VerticalCRSPropertyType is a property type for association roles to a vertical coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:ProjectedCRS is a 2D coordinate reference system used to approximate the shape of the earth on a planar surface, but in such a way that the distortion that is inherent to the approximation is carefully controlled and known. Distortion correction is commonly applied to calculated bearings and distances to produce values that are a close match to actual field values. + + + + + + + + + + + + + + + + + + gml:baseGeodeticCRS is an association role to the geodetic coordinate reference system used by this projected CRS. + + + + + gml:ProjectedCRSPropertyType is a property type for association roles to a projected coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:DerivedCRS is a single coordinate reference system that is defined by its coordinate conversion from another single coordinate reference system known as the base CRS. The base CRS can be a projected coordinate reference system, if this DerivedCRS is used for a georectified grid coverage as described in ISO 19123, Clause 8. + + + + + + + + + + + + + + + + gml:baseCRS is an association role to the coordinate reference system used by this derived CRS. + + + + + The gml:derivedCRSType property describes the type of a derived coordinate reference system. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + An association role to the coordinate system used by this CRS. + + + + + gml:DerivedCRSPropertyType is a property type for association roles to a non-projected derived coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:EngineeringCRS is a contextually local coordinate reference system which can be divided into two broad categories: +- earth-fixed systems applied to engineering activities on or near the surface of the earth; +- CRSs on moving platforms such as road vehicles, vessels, aircraft, or spacecraft, see ISO 19111 8.3. + + + + + + + + + + + + + + + + + deprecated + + + + + + + + + + + gml:cylindricalCS is an association role to the cylindrical coordinate system used by this CRS. + + + + + gml:linearCS is an association role to the linear coordinate system used by this CRS. + + + + + gml:polarCS is an association role to the polar coordinate system used by this CRS. + + + + + gml:userDefinedCS is an association role to the user defined coordinate system used by this CRS. + + + + + gml:engineeringDatum is an association role to the engineering datum used by this CRS. + + + + + gml:EngineeringCRSPropertyType is a property type for association roles to an engineering coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:ImageCRS is an engineering coordinate reference system applied to locations in images. Image coordinate reference systems are treated as a separate sub-type because the definition of the associated image datum contains two attributes not relevant to other engineering datums. + + + + + + + + + + + + + + + + + + + gml:affineCS is an association role to the affine coordinate system used by this CRS. + + + + + gml:imageDatum is an association role to the image datum used by this CRS. + + + + + gml:ImageCRSPropertyType is a property type for association roles to an image coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + + + gml:TemporalCRS is a 1D coordinate reference system used for the recording of time. + + + + + + + + + + + + + + + + + + gml:timeCS is an association role to the time coordinate system used by this CRS. + + + + + gml:temporalDatum is an association role to the temporal datum used by this CRS. + + + + + gml:TemporalCRSPropertyType is a property type for association roles to a temporal coordinate reference system, either referencing or containing the definition of that reference system. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateSystems.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateSystems.xsd new file mode 100755 index 00000000..b5f1dcd2 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coordinateSystems.xsd @@ -0,0 +1,328 @@ + + + + coordinateSystems.xsd + See ISO/DIS 19136 13.4. +The coordinate systems schema components can be divded into three logical parts, which define elements and types for XML encoding of the definitions of: +- Coordinate system axes +- Abstract coordinate system +- Multiple concrete types of spatial-temporal coordinate systems +These schema components encode the Coordinate System packages of the UML Models of ISO 19111 Clause 9 and ISO/DIS 19136 D.3.10. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + gml:CoordinateSystemAxis is a definition of a coordinate system axis. + + + + + + + + + + + + + + + The uom attribute provides an identifier of the unit of measure used for this coordinate system axis. The value of this coordinate in a coordinate tuple shall be recorded using this unit of measure, whenever those coordinates use a coordinate reference system that uses a coordinate system that uses this axis. + + + + + + + + gml:axisAbbrev is the abbreviation used for this coordinate system axis; this abbreviation is also used to identify the coordinates in the coordinate tuple. The codeSpace attribute may reference a source of more information on a set of standardized abbreviations, or on this abbreviation. + + + + + gml:axisDirection is the direction of this coordinate system axis (or in the case of Cartesian projected coordinates, the direction of this coordinate system axis at the origin). +Within any set of coordinate system axes, only one of each pair of terms may be used. For earth-fixed CRSs, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction. +The codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + The gml:minimumValue and gml:maximumValue properties allow the specification of minimum and maximum value normally allowed for this axis, in the unit of measure for the axis. For a continuous angular axis such as longitude, the values wrap-around at this value. Also, values beyond this minimum/maximum can be used for specified purposes, such as in a bounding box. A value of minus infinity shall be allowed for the gml:minimumValue element, a value of plus infiniy for the gml:maximumValue element. If these elements are omitted, the value is unspecified. + + + + + The gml:minimumValue and gml:maximumValue properties allow the specification of minimum and maximum value normally allowed for this axis, in the unit of measure for the axis. For a continuous angular axis such as longitude, the values wrap-around at this value. Also, values beyond this minimum/maximum can be used for specified purposes, such as in a bounding box. A value of minus infinity shall be allowed for the gml:minimumValue element, a value of plus infiniy for the gml:maximumValue element. If these elements are omitted, the value is unspecified. + + + + + gml:rangeMeaning describes the meaning of axis value range specified by gml:minimumValue and gml:maximumValue. This element shall be omitted when both gml:minimumValue and gml:maximumValue are omitted. This element should be included when gml:minimumValue and/or gml:maximumValue are included. If this element is omitted when the gml:minimumValue and/or gml:maximumValue are included, the meaning is unspecified. The codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + gml:CoordinateSystemAxisPropertyType is a property type for association roles to a coordinate system axis, either referencing or containing the definition of that axis. + + + + + + + + + gml:AbstractCoordinateSystem is a coordinate system (CS) is the non-repeating sequence of coordinate system axes that spans a given coordinate space. A CS is derived from a set of mathematical rules for specifying how coordinates in a given space are to be assigned to points. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded. This abstract complex type shall not be used, extended, or restricted, in an Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + The gml:axis property is an association role (ordered sequence) to the coordinate system axes included in this coordinate system. The coordinate values in a coordinate tuple shall be recorded in the order in which the coordinate system axes associations are recorded, whenever those coordinates use a coordinate reference system that uses this coordinate system. The gml:AggregationAttributeGroup should be used to specify that the axis objects are ordered. + + + + + gml:CoordinateSystemPropertyType is a property type for association roles to a coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:EllipsoidalCS is a two- or three-dimensional coordinate system in which position is specified by geodetic latitude, geodetic longitude, and (in the three-dimensional case) ellipsoidal height. An EllipsoidalCS shall have two or three gml:axis property elements; the number of associations shall equal the dimension of the CS. + + + + + + + + + + gml:EllipsoidalCSPropertyType is a property type for association roles to an ellipsoidal coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:CartesianCS is a 1-, 2-, or 3-dimensional coordinate system. In the 1-dimensional case, it contains a single straight coordinate axis. In the 2- and 3-dimensional cases gives the position of points relative to orthogonal straight axes. In the multi-dimensional case, all axes shall have the same length unit of measure. A CartesianCS shall have one, two, or three gml:axis property elements. + + + + + + + + + + gml:CartesianCSPropertyType is a property type for association roles to a Cartesian coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:VerticalCS is a one-dimensional coordinate system used to record the heights or depths of points. Such a coordinate system is usually dependent on the Earth's gravity field, perhaps loosely as when atmospheric pressure is the basis for the vertical coordinate system axis. A VerticalCS shall have one gml:axis property element. + + + + + + + + + + gml:VerticalCSPropertyType is a property type for association roles to a vertical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:TimeCS is a one-dimensional coordinate system containing a time axis, used to describe the temporal position of a point in the specified time units from a specified time origin. A TimeCS shall have one gml:axis property element. + + + + + + + + + + gml:TimeCSPropertyType is a property type for association roles to a time coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:LinearCS is a one-dimensional coordinate system that consists of the points that lie on the single axis described. The associated coordinate is the distance – with or without offset – from the specified datum to the point along the axis. A LinearCS shall have one gml:axis property element. + + + + + + + + + + gml:LinearCSPropertyType is a property type for association roles to a linear coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:UserDefinedCS is a two- or three-dimensional coordinate system that consists of any combination of coordinate axes not covered by any other coordinate system type. A UserDefinedCS shall have two or three gml:axis property elements; the number of property elements shall equal the dimension of the CS. + + + + + + + + + + gml:UserDefinedCSPropertyType is a property type for association roles to a user-defined coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:SphericalCS is a three-dimensional coordinate system with one distance measured from the origin and two angular coordinates. A SphericalCS shall have three gml:axis property elements. + + + + + + + + + + gml:SphericalCSPropertyType is property type for association roles to a spherical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:PolarCS ia s two-dimensional coordinate system in which position is specified by the distance from the origin and the angle between the line from the origin to a point and a reference direction. A PolarCS shall have two gml:axis property elements. + + + + + + + + + + gml:PolarCSPropertyType is a property type for association roles to a polar coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:CylindricalCS is a three-dimensional coordinate system consisting of a polar coordinate system extended by a straight coordinate axis perpendicular to the plane spanned by the polar coordinate system. A CylindricalCS shall have three gml:axis property elements. + + + + + + + + + + gml:CylindricalCSPropertyType is a property type for association roles to a cylindrical coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + + + gml:AffineCS is a two- or three-dimensional coordinate system with straight axes that are not necessarily orthogonal. An AffineCS shall have two or three gml:axis property elements; the number of property elements shall equal the dimension of the CS. + + + + + + + + + + gml:AffineCSPropertyType is a property type for association roles to an affine coordinate system, either referencing or containing the definition of that coordinate system. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coverage.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coverage.xsd new file mode 100755 index 00000000..6648b479 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/coverage.xsd @@ -0,0 +1,329 @@ + + + + coverage.xsd + See ISO/DIS 19136 20.3. +A coverage incorporates a mapping from a spatiotemporal domain to a range set, the latter providing the set in which the attribute values live. The range set may be an arbitrary set including discrete lists, integer or floating point ranges, and multi-dimensional vector spaces. +A coverage can be viewed as the graph of the coverage function f:A à B, that is as the set of ordered pairs {(x, f(x)) | where x is in A}. This view is especially applicable to the GML encoding of a coverage. In the case of a discrete coverage, the domain set A is partitioned into a collection of subsets (typically a disjoint collection) A = UAi and the function f is constant on each Ai. For a spatial domain, the Ai are geometry elements, hence the coverage can be viewed as a collection of (geometry,value) pairs, where the value is an element of the range set. If the spatial domain A is a topological space then the coverage can be viewed as a collection of (topology,value) pairs, where the topology element in the pair is a topological n-chain (in GML terms this is a gml:TopoPoint, gml:TopoCurve, gml:TopoSurface or gml:TopoSolid). +A coverage is implemented as a GML feature. We can thus speak of a "temperature distribution feature", or a "remotely sensed image feature", or a "soil distribution feature". +As is the case for any GML object, a coverage object may also be the value of a property of a feature. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + The base type for coverages is gml:AbstractCoverageType. The basic elements of a coverage can be seen in this content model: the coverage contains gml:domainSet and gml:rangeSet properties. The gml:domainSet property describes the domain of the coverage and the gml:rangeSet property describes the range of the coverage. + + + + + + + + + + + + + This element serves as the head of a substitution group which may contain any coverage whose type is derived from gml:AbstractCoverageType. It may act as a variable in the definition of content models where it is required to permit any coverage to be valid. + + + + + + + + + + + + + + A discrete coverage consists of a domain set, range set and optionally a coverage function. The domain set consists of either spatial or temporal geometry objects, finite in number. The range set is comprised of a finite number of attribute values each of which is associated to every direct position within any single spatiotemporal object in the domain. In other words, the range values are constant on each spatiotemporal object in the domain. This coverage function maps each element from the coverage domain to an element in its range. The coverageFunction element describes the mapping function. +This element serves as the head of a substitution group which may contain any discrete coverage whose type is derived from gml:DiscreteCoverageType. + + + + + + + + + + + + + + A continuous coverage as defined in ISO 19123 is a coverage that can return different values for the same feature attribute at different direct positions within a single spatiotemporal object in its spatiotemporal domain. The base type for continuous coverages is AbstractContinuousCoverageType. +The coverageFunction element describes the mapping function. +The abstract element gml:AbstractContinuousCoverage serves as the head of a substitution group which may contain any continuous coverage whose type is derived from gml:AbstractContinuousCoverageType. + + + + + The gml:domainSet property element describes the spatio-temporal region of interest, within which the coverage is defined. Its content model is given by gml:DomainSetType. +The value of the domain is thus a choice between a gml:AbstractGeometry and a gml:AbstractTimeObject. In the instance these abstract elements will normally be substituted by a geometry complex or temporal complex, to represent spatial coverages and time-series, respectively. +The presence of the gml:AssociationAttributeGroup means that domainSet follows the usual GML property model and may use the xlink:href attribute to point to the domain, as an alternative to describing the domain inline. Ownership semantics may be provided using the gml:OwnershipAttributeGroup. + + + + + + + + + + + + + + + + The gml:rangeSet property element contains the values of the coverage (sometimes called the attribute values). Its content model is given by gml:RangeSetType. +This content model supports a structural description of the range. The semantic information describing the range set is embedded using a uniform method, as part of the explicit values, or as a template value accompanying the representation using gml:DataBlock and gml:File. +The values from each component (or "band") in the range may be encoded within a gml:ValueArray element or a concrete member of the gml:AbstractScalarValueList substitution group . Use of these elements satisfies the value-type homogeneity requirement. + + + + + + + + + + + + + gml:DataBlock describes the Range as a block of text encoded values similar to a Common Separated Value (CSV) representation. +The range set parameterization is described by the property gml:rangeParameters. + + + + + + + + + + + + + + + gml:CoordinatesType consists of a list of coordinate tuples, with each coordinate tuple separated by the ts or tuple separator (whitespace), and each coordinate in the tuple by the cs or coordinate separator (comma). +The gml:tupleList encoding is effectively "band-interleaved". + + + + + gml:doubleOrNilReasonList consists of a list of gml:doubleOrNilReason values, each separated by a whitespace. The gml:doubleOrNilReason values are grouped into tuples where the dimension of each tuple in the list is equal to the number of range parameters. + + + + + for efficiency reasons, GML also provides a means of encoding the range set in an arbitrary external encoding, such as a binary file. This encoding may be "well-known" but this is not required. This mode uses the gml:File element. +The values of the coverage (attribute values in the range set) are transmitted in a external file that is referenced from the XML structure described by gml:FileType. The external file is referenced by the gml:fileReference property that is an anyURI (the gml:fileName property has been deprecated). This means that the external file may be located remotely from the referencing GML instance. +The gml:compression property points to a definition of a compression algorithm through an anyURI. This may be a retrievable, computable definition or simply a reference to an unambiguous name for the compression method. +The gml:mimeType property points to a definition of the file mime type. +The gml:fileStructure property is defined by a codelist. Note further that all values shall be enclosed in a single file. Multi-file structures for values are not supported in GML. +The semantics of the range set is described as above using the gml:rangeParameters property. +Note that if any compression algorithm is applied, the structure above applies only to the pre-compression or post-decompression structure of the file. +Note that the fields within a record match the gml:valueComponents of the gml:CompositeValue in document order. + + + + + + + + + deprecated + + + + + + + + + + + + The gml:coverageFunction property describes the mapping function from the domain to the range of the coverage. +The value of the CoverageFunction is one of gml:CoverageMappingRule and gml:GridFunction. +If the gml:coverageFunction property is omitted for a gridded coverage (including rectified gridded coverages) the gml:startPoint is assumed to be the value of the gml:low property in the gml:Grid geometry, and the gml:sequenceRule is assumed to be linear and the gml:axisOrder property is assumed to be "+1 +2". + + + + + + + + + + + + gml:CoverageMappingRule provides a formal or informal description of the coverage function. +The mapping rule may be defined as an in-line string (gml:ruleDefinition) or via a remote reference through xlink:href (gml:ruleReference). +If no rule name is specified, the default is 'Linear' with respect to members of the domain in document order. + + + + + + + + + + + gml:GridFunction provides an explicit mapping rule for grid geometries, i.e. the domain shall be a geometry of type grid. It describes the mapping of grid posts (discrete point grid coverage) or grid cells (discrete surface coverage) to the values in the range set. +The gml:startPoint is the index position of a point in the grid that is mapped to the first point in the range set (this is also the index position of the first grid post). If the gml:startPoint property is omitted the gml:startPoint is assumed to be equal to the value of gml:low in the gml:Grid geometry. Subsequent points in the mapping are determined by the value of the gml:sequenceRule. + + + + + + + + + + + The gml:SequenceRuleType is derived from the gml:SequenceRuleEnumeration through the addition of an axisOrder attribute. The gml:SequenceRuleEnumeration is an enumerated type. The rule names are defined in ISO 19123. If no rule name is specified the default is "Linear". + + + + + + deprecated + + + + + + + + + + + + + + + + + + + The different values in a gml:AxisDirectionList indicate the incrementation order to be used on all axes of the grid. Each axis shall be mentioned once and only once. + + + + + + The value of a gml:AxisDirection indicates the incrementation order to be used on an axis of the grid. + + + + + + + + In a gml:MultiPointCoverage the domain set is a gml:MultiPoint, that is a collection of arbitrarily distributed geometric points. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiPoint. +In a gml:MultiPointCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the points of the gml:MultiPoint are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the points of the gml:MultiPoint are mapped to the members of the composite value in document order. +- For gml:File encodings the points of the gml:MultiPoint are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiCurveCoverage the domain is partioned into a collection of curves comprising a gml:MultiCurve. The coverage function then maps each curve in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiCurve. +In a gml:MultiCurveCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the curves of the gml:MultiCurve are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the curves of the gml:MultiCurve are mapped to the members of the composite value in document order. +- For gml:File encodings the curves of the gml:MultiCurve are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiSurfaceCoverage the domain is partioned into a collection of surfaces comprising a gml:MultiSurface. The coverage function than maps each surface in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSurface. +In a gml:MultiSurfaceCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the surfaces of the gml:MultiSurface are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the surfaces of the gml:MultiSurface are mapped to the members of the composite value in document order. +- For gml:File encodings the surfaces of the gml:MultiSurface are mapped to the records of the file in sequential order. + + + + + + In a gml:MultiSolidCoverage the domain is partioned into a collection of solids comprising a gml:MultiSolid. The coverage function than maps each solid in the collection to a value in the range set. +The content model is identical with gml:DiscreteCoverageType, but that gml:domainSet shall have values gml:MultiSolid. +In a gml:MultiSolidCoverage the mapping from the domain to the range is straightforward. +- For gml:DataBlock encodings the solids of the gml:MultiSolid are mapped in document order to the tuples of the data block. +- For gml:CompositeValue encodings the solids of the gml:MultiSolid are mapped to the members of the composite value in document order. +- For gml:File encodings the solids of the gml:MultiSolid are mapped to the records of the file in sequential order. + + + + + + A gml:GriddedCoverage is a discrete point coverage in which the domain set is a geometric grid of points. +Note that this is the same as the gml:MultiPointCoverage except that we have a gml:Grid to describe the domain. +The simple gridded coverage is not geometrically referenced and hence no geometric positions are assignable to the points in the grid. Such geometric positioning is introduced in the gml:RectifiedGridCoverage. + + + + + The gml:RectifiedGridCoverage is a discrete point coverage based on a rectified grid. It is similar to the grid coverage except that the points of the grid are geometrically referenced. The rectified grid coverage has a domain that is a gml:RectifiedGrid geometry. + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/datums.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/datums.xsd new file mode 100755 index 00000000..7f847f8a --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/datums.xsd @@ -0,0 +1,310 @@ + + + + + datums.xsd + See ISO/DIS 19136 13.5 +The datums schema components can be divided into three logical parts, which define elements and types for XML encoding of the definitions of: +- Abstract datum +- Geodetic datums, including ellipsoid and prime meridian +- Multiple other concrete types of spatial or temporal datums +These schema components encode the Datum packages of the UML Models of ISO 19111 Clause 10 and ISO/DIS 19136 D.3.10. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + A gml:AbstractDatum specifies the relationship of a coordinate system to the earth, thus creating a coordinate reference system. A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype may be associated with only specific types of coordinate systems. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + + + gml:anchorDefinition is a description, possibly including coordinates, of the definition used to anchor the datum to the Earth. Also known as the "origin", especially for engineering and image datums. The codeSpace attribute may be used to reference a source of more detailed on this point or surface, or on a set of such descriptions. +- For a geodetic datum, this point is also known as the fundamental point, which is traditionally the point where the relationship between geoid and ellipsoid is defined. In some cases, the "fundamental point" may consist of a number of points. In those cases, the parameters defining the geoid/ellipsoid relationship have been averaged for these points, and the averages adopted as the datum definition. +- For an engineering datum, the anchor definition may be a physical point, or it may be a point with defined coordinates in another CRS.may +- For an image datum, the anchor definition is usually either the centre of the image or the corner of the image. +- For a temporal datum, this attribute is not defined. Instead of the anchor definition, a temporal datum carries a separate time origin of type DateTime. + + + + + gml:realizationEpoch is the time after which this datum definition is valid. See ISO 19111 Table 32 for details. + + + + + gml:DatumPropertyType is a property type for association roles to a datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:GeodeticDatum is a geodetic datum defines the precise location and orientation in 3-dimensional space of a defined ellipsoid (or sphere), or of a Cartesian coordinate system centered in this ellipsoid (or sphere). + + + + + + + + + + + + + + + gml:primeMeridian is an association role to the prime meridian used by this geodetic datum. + + + + + gml:ellipsoid is an association role to the ellipsoid used by this geodetic datum. + + + + + gml:GeodeticDatumPropertyType is a property type for association roles to a geodetic datum, either referencing or containing the definition of that datum. + + + + + + + + + A gml:Ellipsoid is a geometric figure that may be used to describe the approximate shape of the earth. In mathematical terms, it is a surface formed by the rotation of an ellipse about its minor axis. + + + + + + + + + + + + + + + gml:semiMajorAxis specifies the length of the semi-major axis of the ellipsoid, with its units. Uses the MeasureType with the restriction that the unit of measure referenced by uom must be suitable for a length, such as metres or feet. + + + + + gml:secondDefiningParameter is a property containing the definition of the second parameter that defines the shape of an ellipsoid. An ellipsoid requires two defining parameters: semi-major axis and inverse flattening or semi-major axis and semi-minor axis. When the reference body is a sphere rather than an ellipsoid, only a single defining parameter is required, namely the radius of the sphere; in that case, the semi-major axis "degenerates" into the radius of the sphere. +The inverseFlattening element contains the inverse flattening value of the ellipsoid. This value is a scale factor (or ratio). It uses gml:LengthType with the restriction that the unit of measure referenced by the uom attribute must be suitable for a scale factor, such as percent, permil, or parts-per-million. +The semiMinorAxis element contains the length of the semi-minor axis of the ellipsoid. When the isSphere element is included, the ellipsoid is degenerate and is actually a sphere. The sphere is completely defined by the semi-major axis, which is the radius of the sphere. + + + + + + + + + + + + + + + + + + + gml:EllipsoidPropertyType is a property type for association roles to an ellipsoid, either referencing or containing the definition of that ellipsoid. + + + + + + + + + A gml:PrimeMeridian defines the origin from which longitude values are determined. The default value for the prime meridian gml:identifier value is "Greenwich". + + + + + + + + + + + + + + gml:greenwichLongitude is the longitude of the prime meridian measured from the Greenwich meridian, positive eastward. If the value of the prime meridian "name" is "Greenwich" then the value of greenwichLongitude shall be 0 degrees. + + + + + gml:PrimeMeridianPropertyType is a property type for association roles to a prime meridian, either referencing or containing the definition of that meridian. + + + + + + + + + gml:EngineeringDatum defines the origin of an engineering coordinate reference system, and is used in a region around that origin. This origin may be fixed with respect to the earth (such as a defined point at a construction site), or be a defined point on a moving vehicle (such as on a ship or satellite). + + + + + + + + + + gml:EngineeringDatumPropertyType is a property type for association roles to an engineering datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:ImageDatum defines the origin of an image coordinate reference system, and is used in a local context only. For an image datum, the anchor definition is usually either the centre of the image or the corner of the image. For more information, see ISO 19111 B.3.5. + + + + + + + + + + + + + + gml:pixelInCell is a specification of the way an image grid is associated with the image data attributes. The required codeSpace attribute shall reference a source of information specifying the values and meanings of all the allowed string values for this property. + + + + + gml:ImageDatumPropertyType is a property type for association roles to an image datum, either referencing or containing the definition of that datum. + + + + + + + + + gml:VerticalDatum is a textual description and/or a set of parameters identifying a particular reference level surface used as a zero-height surface, including its position with respect to the Earth for any of the height types recognized by this International Standard. + + + + + + + + + + gml:VerticalDatumPropertyType is property type for association roles to a vertical datum, either referencing or containing the definition of that datum. + + + + + + + + + A gml:TemporalDatum defines the origin of a Temporal Reference System. This type omits the "anchorDefinition" and "realizationEpoch" elements and adds the "origin" element with the dateTime type. + + + + + + + + + + + + + + The TemporalDatumBaseType partially defines the origin of a temporal coordinate reference system. This type restricts the AbstractDatumType to remove the "anchorDefinition" and "realizationEpoch" elements. + + + + + + + + + + + + + + + + + + + + gml:origin is the date and time origin of this temporal datum. + + + + + gml:TemporalDatumPropertyType is a property type for association roles to a temporal datum, either referencing or containing the definition of that datum. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/defaultStyle.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/defaultStyle.xsd new file mode 100755 index 00000000..aa957984 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/defaultStyle.xsd @@ -0,0 +1,485 @@ + + + + defaultStyle.xsd + + GML is an OGC Standard. + Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only. + + + + + + [complexType of] Top-level property. Used in application schemas to "attach" the styling information to GML data. The link between the data and the style should be established through this property only. + + + + + + + + + + + The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes. + + + + + + [complexType of] The value of the top-level property. It is an abstract element. Used as the head element of the substitution group for extensibility purposes. + + + + + + + + + Predefined concrete value of the top-level property. Encapsulates all other styling information. + + + + + + [complexType of] Predefined concrete value of the top-level property. Encapsulates all other styling information. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for features. + + + + + + [complexType of] The style descriptor for features. + + + + + + + + + + + + + + + + + + + Used to specify the grammar of the feature query mechanism. + + + + + + + + + + + Base complex type for geometry, topology, label and graph styles. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for geometries of a feature. + + + + + + [complexType of] The style descriptor for geometries of a feature. + + + + + + + + + deprecated + Deprecated in GML version 3.1.0. Use symbol with inline content instead. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for topologies of a feature. Describes individual topology elements styles. + + + + + + [complexType of] The style descriptor for topologies of a feature. Describes individual topology elements styles. + + + + + + + + + deprecated + Deprecated in GML version 3.1.0. Use symbol with inline content instead. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for labels of a feature, geometry or topology. + + + + + + [complexType of] The style descriptor for labels of a feature, geometry or topology. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes. + + + + + + [complexType of] The style descriptor for a graph consisting of a number of features. Describes graph-specific style attributes. + + + + + + + + + + + + + + + + + + + + + The symbol property. Extends the gml:AssociationType to allow for remote referencing of symbols. + + + + + + [complexType of] The symbol property. Allows for remote referencing of symbols. + + + + + + + + + + + + + Used to specify the type of the symbol used. + + + + + + + + + + + Label is mixed -- composed of text and XPath expressions used to extract the useful information from the feature. + + + + + + + + + + Defines the geometric transformation of entities. There is no particular grammar defined for this value. + + + + + + Used to vary individual graphic parameters and attributes of the style, symbol or text. + + + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + Graph-specific styling property. + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/deprecatedTypes.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/deprecatedTypes.xsd new file mode 100755 index 00000000..4dba63b3 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/deprecatedTypes.xsd @@ -0,0 +1,1256 @@ + + + + deprecatedTypes.xsd + All global schema components that are part of the GML schema, but were deprecated. See Annex I. + + GML is an OGC Standard. + Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + deprecated + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + + + + + + + + + + + + + + + + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + + + deprecated + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dictionary.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dictionary.xsd new file mode 100755 index 00000000..91d1f392 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dictionary.xsd @@ -0,0 +1,99 @@ + + + + dictionary.xsd + See ISO/DIS 19136 Clause 16. +Many applications require definitions of terms which are used within instance documents as the values of certain properties or as reference information to tie properties to standard information values in some way. Units of measure and descriptions of measurable phenomena are two particular examples. +It will often be convenient to use definitions provided by external authorities. These may already be packaged for delivery in various ways, both online and offline. In order that they may be referred to from GML documents it is generally necessary that a URI be available for each definition. Where this is the case then it is usually preferable to refer to these directly. +Alternatively, it may be convenient or necessary to capture definitions in XML, either embedded within an instance document containing features or as a separate document. The definitions may be transcriptions from an external source, or may be new definitions for a local purpose. In order to support this case, some simple components are provided in GML in the form of +- a generic gml:Definition, which may serve as the basis for more specialized definitions +- a generic gml:Dictionary, which allows a set of definitions or references to definitions to be collected +These components may be used directly, but also serve as the basis for more specialised definition elements in GML, in particular: coordinate operations, coordinate reference systems, datums, temporal reference systems, and units of measure. +Note that the GML definition and dictionary components implement a simple nested hierarchy of definitions with identifiers. The latter provide handles which may be used in the description of more complex relationships between terms. However, the GML dictionary components are not intended to provide direct support for complex taxonomies, ontologies or thesauri. Specialised XML tools are available to satisfy the more sophisticated requirements. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + The basic gml:Definition element specifies a definition, which can be included in or referenced by a dictionary. +The content model for a generic definition is a derivation from gml:AbstractGMLType. +The gml:description property element shall hold the definition if this can be captured in a simple text string, or the gml:descriptionReference property element may carry a link to a description elsewhere. +The gml:identifier element shall provide one identifier identifying this definition. The identifier shall be unique within the dictionaries using this definition. +The gml:name elements shall provide zero or more terms and synonyms for which this is the definition. +The gml:remarks element shall be used to hold additional textual information that is not conceptually part of the definition but is useful in understanding the definition. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sets of definitions may be collected into dictionaries or collections. +A gml:Dictionary is a non-abstract collection of definitions. +The gml:Dictionary content model adds a list of gml:dictionaryEntry properties that contain or reference gml:Definition objects. A database handle (gml:id attribute) is required, in order that this collection may be referred to. The standard gml:identifier, gml:description, gml:descriptionReference and gml:name properties are available to reference or contain more information about this dictionary. The gml:description and gml:descriptionReference property elements may be used for a description of this dictionary. The derived gml:name element may be used for the name(s) of this dictionary. for remote definiton references gml:dictionaryEntry shall be used. If a Definition object contained within a Dictionary uses the descriptionReference property to refer to a remote definition, then this enables the inclusion of a remote definition in a local dictionary, giving a handle and identifier in the context of the local dictionary. + + + + + + + + + + + + + + + + This property element contains or refers to the definitions which are members of a dictionary. +The content model follows the standard GML property pattern, so a gml:dictionaryEntry may either contain or refer to a single gml:Definition. Since gml:Dictionary is substitutable for gml:Definition, the content of an entry may itself be a lower level dictionary. +Note that if the value is provided by reference, this definition does not carry a handle (gml:id) in this context, so does not allow external references to this specific definition in this context. When used in this way the referenced definition will usually be in a dictionary in the same XML document. + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/direction.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/direction.xsd new file mode 100755 index 00000000..2b9ee659 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/direction.xsd @@ -0,0 +1,91 @@ + + + + direction.xsd + See ISO/DIS 19136 Clause 18. +The direction schema components provide the GML Application Schema developer with a standard property element to describe direction, and associated objects that may be used to express orientation, direction, heading, bearing or other directional aspects of geographic features. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + The property gml:direction is intended as a pre-defined property expressing a direction to be assigned to features defined in a GML application schema. + + + + + + + + + + + + + + + + Direction vectors are specified by providing components of a vector. + + + + + + deprecated + + + + + + + + + direction descriptions are specified by a compass point code, a keyword, a textual description or a reference to a description. +A gml:compassPoint is specified by a simple enumeration. +In addition, thre elements to contain text-based descriptions of direction are provided. +If the direction is specified using a term from a list, gml:keyword should be used, and the list indicated using the value of the codeSpace attribute. +if the direction is decribed in prose, gml:direction or gml:reference should be used, allowing the value to be included inline or by reference. + + + + + + + + + + + These directions are necessarily approximate, giving direction with a precision of 22.5°. It is thus generally unnecessary to specify the reference frame, though this may be detailed in the definition of a GML application language. + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dynamicFeature.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dynamicFeature.xsd new file mode 100755 index 00000000..b3248f7b --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/dynamicFeature.xsd @@ -0,0 +1,121 @@ + + + + dynamicFeature.xsd + See ISO/DIS 19136 15.6. +A number of types and relationships are defined to represent the time-varying properties of geographic features. +In a comprehensive treatment of spatiotemporal modeling, Langran (see Bibliography) distinguished three principal temporal entities: states, events, and evidence; the schema specified in the following Subclauses incorporates elements for each. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + Evidence is represented by a simple gml:dataSource or gml:dataSourceReference property that indicates the source of the temporal data. The remote link attributes of the gml:dataSource element have been deprecated along with its current type. + + + + + Evidence is represented by a simple gml:dataSource or gml:dataSourceReference property that indicates the source of the temporal data. + + + + + A convenience group. This allows an application schema developer to include dynamic properties in a content model in a standard fashion. + + + + + + + + + + + States are captured by time-stamped instances of a feature. The content model extends the standard gml:AbstractFeatureType with the gml:dynamicProperties model group. +Each time-stamped instance represents a 'snapshot' of a feature. The dynamic feature classes will normally be extended to suit particular applications. A dynamic feature bears either a time stamp or a history. + + + + + + + + + + + + A gml:DynamicFeatureCollection is a feature collection that has a gml:validTime property (i.e. is a snapshot of the feature collection) or which has a gml:history property that contains one or more gml:AbstractTimeSlices each of which contain values of the time varying properties of the feature collection. Note that the gml:DynamicFeatureCollection may be one of the following: +1. A feature collection which consists of static feature members (members do not change in time) but which has properties of the collection object as a whole that do change in time . +2. A feature collection which consists of dynamic feature members (the members are gml:DynamicFeatures) but which also has properties of the collection as a whole that vary in time. + + + + + + + + + + + + + + + + + + + + + + + + + To describe an event — an action that occurs at an instant or over an interval of time — GML provides the gml:AbtractTimeSlice element. A timeslice encapsulates the time-varying properties of a dynamic feature -- it shall be extended to represent a time stamped projection of a specific feature. The gml:dataSource property describes how the temporal data was acquired. +A gml:AbstractTimeSlice instance is a GML object that encapsulates updates of the dynamic—or volatile—properties that reflect some change event; it thus includes only those feature properties that have actually changed due to some process. +gml:AbstractTimeSlice basically provides a facility for attribute-level time stamping, in contrast to the object-level time stamping of dynamic feature instances. +The time slice can thus be viewed as event or process-oriented, whereas a snapshot is more state or structure-oriented. A timeslice has richer causality, whereas a snapshot merely portrays the status of the whole. + + + + + + + + + + + + + + + + A generic sequence of events constitute a gml:history of an object. +The gml:history element contains a set of elements in the substitution group headed by the abstract element gml:AbstractTimeSlice, representing the time-varying properties of interest. The history property of a dynamic feature associates a feature instance with a sequence of time slices (i.e. change events) that encapsulate the evolution of the feature. + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/feature.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/feature.xsd new file mode 100755 index 00000000..0fa652c1 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/feature.xsd @@ -0,0 +1,104 @@ + + + + feature.xsd + See ISO/DIS 19136 Clause 9. +A GML feature is a (representation of a) identifiable real-world object in a selected domain of discourse. The feature schema provides a framework for the creation of GML features and feature collections. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + The basic feature model is given by the gml:AbstractFeatureType. +The content model for gml:AbstractFeatureType adds two specific properties suitable for geographic features to the content model defined in gml:AbstractGMLType. +The value of the gml:boundedBy property describes an envelope that encloses the entire feature instance, and is primarily useful for supporting rapid searching for features that occur in a particular location. +The value of the gml:location property describes the extent, position or relative location of the feature. + + + + + + + + + + + + + This abstract element serves as the head of a substitution group which may contain any elements whose content model is derived from gml:AbstractFeatureType. This may be used as a variable in the construction of content models. +gml:AbstractFeature may be thought of as "anything that is a GML feature" and may be used to define variables or templates in which the value of a GML property is "any feature". This occurs in particular in a GML feature collection where the feature member properties contain one or multiple copies of gml:AbstractFeature respectively. + + + + + + + + + + + + This property describes the minimum bounding box or rectangle that encloses the entire feature. + + + + + + + + + + + + + + gml:EnvelopeWithTimePeriod is provided for envelopes that include a temporal extent. It adds two time position properties, gml:beginPosition and gml:endPosition, which describe the extent of a time-envelope. +Since gml:EnvelopeWithTimePeriod is assigned to the substitution group headed by gml:Envelope, it may be used whenever gml:Envelope is valid. + + + + + + + + + + + + + + + + The gml:locationName property element is a convenience property where the text value describes the location of the feature. If the location names are selected from a controlled list, then the list shall be identified in the codeSpace attribute. + + + + + The gml:locationReference property element is a convenience property where the text value referenced by the xlink:href attribute describes the location of the feature. + + + + + To create a collection of GML features, a property type shall be derived by extension from gml:AbstractFeatureMemberType. +By default, this abstract property type does not imply any ownership of the features in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of a feature in the collection. A collection shall not own a feature already owned by another object. + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryAggregates.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryAggregates.xsd new file mode 100755 index 00000000..ee083f15 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryAggregates.xsd @@ -0,0 +1,216 @@ + + + + geometryAggregates.xsd + See ISO/DIS 19136 12.3. +Geometric aggregates (i.e. instances of a subtype of gml:AbstractGeometricAggregateType) are arbitrary aggregations of geometry elements. They are not assumed to have any additional internal structure and are used to "collect" pieces of geometry of a specified type. Application schemas may use aggregates for features that use multiple geometric objects in their representations. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + gml:AbstractGeometricAggregate is the abstract head of the substitution group for all geometric aggregates. + + + + + + + + + + + + + + + gml:MultiGeometry is a collection of one or more GML geometry objects of arbitrary type. +The members of the geometric aggregate may be specified either using the "standard" property (gml:geometryMember) or the array property (gml:geometryMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a geometry element via the XLink-attributes or contains the geometry element. + + + + + This property element contains a list of geometry elements. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a geometric aggregate as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiPoint consists of one or more gml:Points. +The members of the geometric aggregate may be specified either using the "standard" property (gml:pointMember) or the array property (gml:pointMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a Point via the XLink-attributes or contains the Point element. + + + + + This property element contains a list of points. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of points as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiCurve is defined by one or more gml:AbstractCurves. +The members of the geometric aggregate may be specified either using the "standard" property (gml:curveMember) or the array property (gml:curveMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element contains a list of curves. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of curves as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiSurface is defined by one or more gml:AbstractSurfaces. +The members of the geometric aggregate may be specified either using the "standard" property (gml:surfaceMember) or the array property (gml:surfaceMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element contains a list of surfaces. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of surfaces as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + A gml:MultiSolid is defined by one or more gml:AbstractSolids. +The members of the geometric aggregate may be specified either using the "standard" property (gml:solidMember) or the array property (gml:solidMembers). It is also valid to use both the "standard" and the array properties in the same collection. + + + + + This property element either references a solid via the XLink-attributes or contains the solid element. A solid element is any element, which is substitutable for gml:AbstractSolid. + + + + + This property element contains a list of solids. The order of the elements is significant and shall be preserved when processing the array. + + + + + A property that has a collection of solids as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic0d1d.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic0d1d.xsd new file mode 100755 index 00000000..c74ddde1 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic0d1d.xsd @@ -0,0 +1,298 @@ + + + + geometryBasic0d1d.xsd + See ISO/DIS 19136 Clause 10. +Any geometry element that inherits the semantics of AbstractGeometryType may be viewed as a set of direct positions. +All of the classes derived from AbstractGeometryType inherit an optional association to a coordinate reference system. All direct positions shall directly or indirectly be associated with a coordinate reference system. When geometry elements are aggregated in another geometry element (such as a MultiGeometry or GeometricComplex), which already has a coordinate reference system specified, then these elements are assumed to be in that same coordinate reference system unless otherwise specified. +The geometry model distinguishes geometric primitives, aggregates and complexes. +Geometric primitives, i.e. instances of a subtype of AbstractGeometricPrimitiveType, will be open, that is, they will not contain their boundary points; curves will not contain their end points, surfaces will not contain their boundary curves, and solids will not contain their bounding surfaces. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + All geometry elements are derived directly or indirectly from this abstract supertype. A geometry element may have an identifying attribute (gml:id), one or more names (elements identifier and name) and a description (elements description and descriptionReference) . It may be associated with a spatial reference system (attribute group gml:SRSReferenceGroup). +The following rules shall be adhered to: +- Every geometry type shall derive from this abstract type. +- Every geometry element (i.e. an element of a geometry type) shall be directly or indirectly in the substitution group of AbstractGeometry. + + + + + + + + + + The attribute group SRSReferenceGroup is an optional reference to the CRS used by this geometry, with optional additional information to simplify the processing of the coordinates when a more complete definition of the CRS is not needed. +In general the attribute srsName points to a CRS instance of gml:AbstractCoordinateReferenceSystem. For well-known references it is not required that the CRS description exists at the location the URI points to. +If no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of. + + + + + + + + The attributes uomLabels and axisLabels, defined in the SRSInformationGroup attribute group, are optional additional and redundant information for a CRS to simplify the processing of the coordinate values when a more complete definition of the CRS is not needed. This information shall be the same as included in the complete definition of the CRS, referenced by the srsName attribute. When the srsName attribute is included, either both or neither of the axisLabels and uomLabels attributes shall be included. When the srsName attribute is omitted, both of these attributes shall be omitted. +The attribute axisLabels is an ordered list of labels for all the axes of this CRS. The gml:axisAbbrev value should be used for these axis labels, after spaces and forbidden characters are removed. When the srsName attribute is included, this attribute is optional. When the srsName attribute is omitted, this attribute shall also be omitted. +The attribute uomLabels is an ordered list of unit of measure (uom) labels for all the axes of this CRS. The value of the string in the gml:catalogSymbol should be used for this uom labels, after spaces and forbidden characters are removed. When the axisLabels attribute is included, this attribute shall also be included. When the axisLabels attribute is omitted, this attribute shall also be omitted. + + + + + + + The AbstractGeometry element is the abstract head of the substitution group for all geometry elements of GML. This includes pre-defined and user-defined geometry elements. Any geometry element shall be a direct or indirect extension/restriction of AbstractGeometryType and shall be directly or indirectly in the substitution group of AbstractGeometry. + + + + + A geometric property may either be any geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same or another document). Note that either the reference or the contained element shall be given, but not both or none. +If a feature has a property that takes a geometry element as its value, this is called a geometry property. A generic type for such a geometry property is GeometryPropertyType. + + + + + + + + + + If a feature has a property which takes an array of geometry elements as its value, this is called a geometry array property. A generic type for such a geometry property is GeometryArrayPropertyType. +The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's CRS. +if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc. + + + + + + + + + + + posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (CRS). +if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc. +The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. +The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions. + + + + + + + + + + + + GML supports two different ways to specify a geometric position: either by a direct position (a data type) or a point (a geometric object). +pos elements are positions that are "owned" by the geometric primitive encapsulating this geometric position. +pointProperty elements contain a point that may be referenced from other geometry elements or reference another point defined elsewhere (reuse of existing points). + + + + + + + + + GML supports two different ways to specify a list of geometric positions: either by a sequence of geometric positions (by reusing the group definition) or a sequence of direct positions (element posList). +The posList element allows for a compact way to specify the coordinates of the positions, if all positions are represented in the same coordinate reference system. + + + + + + + + + For some applications the components of the position may be adjusted to yield a unit vector. + + + + + + + + + + + + + + + deprecated + + + + + + + + + Envelope defines an extent using a pair of positions defining opposite corners in arbitrary dimensions. The first direct position is the "lower corner" (a coordinate position consisting of all the minimal ordinates for each dimension for all points within the envelope), the second one the "upper corner" (a coordinate position consisting of all the maximal ordinates for each dimension for all points within the envelope). +The use of the properties "coordinates" and "pos" has been deprecated. The explicitly named properties "lowerCorner" and "upperCorner" shall be used instead. + + + + + gml:AbstractGeometricPrimitiveType is the abstract root type of the geometric primitives. A geometric primitive is a geometric object that is not decomposed further into other primitives in the system. All primitives are oriented in the direction implied by the sequence of their coordinate tuples. + + + + + + + + The AbstractGeometricPrimitive element is the abstract head of the substitution group for all (pre- and user-defined) geometric primitives. + + + + + A property that has a geometric primitive as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + + + A Point is defined by a single coordinate tuple. The direct position of a point is specified by the pos element which is of type DirectPositionType. + + + + + A property that has a point as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a point via the XLink-attributes or contains the point element. pointProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for Point. + + + + + gml:PointArrayPropertyType is a container for an array of points. The elements are always contained inline in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + gml:AbstractCurveType is an abstraction of a curve to support the different levels of complexity. The curve may always be viewed as a geometric primitive, i.e. is continuous. + + + + + + + + The AbstractCurve element is the abstract head of the substitution group for all (continuous) curve elements. + + + + + A property that has a curve as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a curve via the XLink-attributes or contains the curve element. curveProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractCurve. + + + + + A container for an array of curves. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + + + + + + + + + + + + + + + + + + A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. The number of direct positions in the list shall be at least two. + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic2d.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic2d.xsd new file mode 100755 index 00000000..af990f3c --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryBasic2d.xsd @@ -0,0 +1,140 @@ + + + + geometryBasic2d.xsd + See ISO/DIS 19136 Clause 10. + + GML is an OGC Standard. + Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + gml:AbstractSurfaceType is an abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane. + + + + + + + + The AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements. + + + + + A property that has a surface as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSurface. + + + + + gml:SurfaceArrayPropertyType is a container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported. + + + + + + + + + + + + + + + + + + + A Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. +The elements exterior and interior describe the surface boundary of the polygon. + + + + + A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty. + + + + + A boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings. + + + + + + + + An abstraction of a ring to support surface boundaries of different complexity. +The AbstractRing element is the abstract head of the substituition group for all closed boundaries of a surface patch. + + + + + A property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface. + + + + + + + + + + + + + + + + + + + + + + + + + A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates shall be coincident. The number of direct positions in the list shall be at least four. + + + + + A property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary. + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryComplexes.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryComplexes.xsd new file mode 100755 index 00000000..5c45a86c --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryComplexes.xsd @@ -0,0 +1,111 @@ + + + + geometryComplexes.xsd + See ISO/DIS 19136 12.2. +Geometric complexes (i.e. instances of gml:GeometricComplexType) are closed collections of geometric primitives, i.e. they will contain their boundaries. +A geometric complex (gml:GeometricComplex) is defined by ISO 19107:2003, 6.6.1 as "a set of primitive geometric objects (in a common coordinate system) whose interiors are disjoint. Further, if a primitive is in a geometric complex, then there exists a set of primitives in that complex whose point-wise union is the boundary of this first primitive." +A geometric composite (gml:CompositeCurve, gml:CompositeSurface and gml:CompositeSolid) represents a geometric complex with an underlying core geometry that is isomorphic to a primitive, i.e. it can be viewed as a primitive and as a complex. See ISO 19107:2003, 6.1 and 6.6.3 for more details on the nature of composite geometries. +Geometric complexes and composites are intended to be used in application schemas where the sharing of geometry is important. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + + + A property that has a geometric complex as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + + + + + + + + + + + + + + + + A gml:CompositeCurve is represented by a sequence of (orientable) curves such that each curve in the sequence terminates at the start point of the subsequent curve in the list. +curveMember references or contains inline one curve in the composite curve. +The curves are contiguous, the collection of curves is ordered. Therefore, if provided, the aggregationType attribute shall have the value "sequence". + + + + + + + + + + + + + + + A gml:CompositeSurface is represented by a set of orientable surfaces. It is geometry type with all the geometric properties of a (primitive) surface. Essentially, a composite surface is a collection of surfaces that join in pairs on common boundary curves and which, when considered as a whole, form a single surface. +surfaceMember references or contains inline one surface in the composite surface. +The surfaces are contiguous. + + + + + + + + + + + + + + + gml:CompositeSolid implements ISO 19107 GM_CompositeSolid (see ISO 19107:2003, 6.6.7) as specified in D.2.3.6. +A gml:CompositeSolid is represented by a set of orientable surfaces. It is a geometry type with all the geometric properties of a (primitive) solid. Essentially, a composite solid is a collection of solids that join in pairs on common boundary surfaces and which, when considered as a whole, form a single solid. +solidMember references or contains one solid in the composite solid. The solids are contiguous. + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryPrimitives.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryPrimitives.xsd new file mode 100755 index 00000000..c92fdcda --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/geometryPrimitives.xsd @@ -0,0 +1,979 @@ + + + + geometryPrimitives.xsd + See ISO/DIS 19136 Clause 11. +Beside the "simple" geometric primitives specified in the previous Clause, this Clause specifies additional primitives to describe real world situations which require a more expressive geometry model. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + A curve is a 1-dimensional primitive. Curves are continuous, connected, and have a measurable length in terms of the coordinate system. +A curve is composed of one or more curve segments. Each curve segment within a curve may be defined using a different interpolation method. The curve segments are connected to one another, with the end point of each segment except the last being the start point of the next segment in the segment list. +The orientation of the curve is positive. +The element segments encapsulates the segments of the curve. + + + + + + + + + + + + + + + The property baseCurve references or contains the base curve, i.e. it either references the base curve via the XLink-attributes or contains the curve element. A curve element is any element which is substitutable for AbstractCurve. The base curve has positive orientation. + + + + + OrientableCurve consists of a curve and an orientation. If the orientation is "+", then the OrientableCurve is identical to the baseCurve. If the orientation is "-", then the OrientableCurve is related to another AbstractCurve with a parameterization that reverses the sense of the curve traversal. + + + + + + + + + + A curve segment defines a homogeneous segment of a curve. +The attributes numDerivativesAtStart, numDerivativesAtEnd and numDerivativesInterior specify the type of continuity as specified in ISO 19107:2003, 6.4.9.3. +The AbstractCurveSegment element is the abstract head of the substituition group for all curve segment elements, i.e. continuous segments of the same interpolation mechanism. +All curve segments shall have an attribute interpolation with type gml:CurveInterpolationType specifying the curve interpolation mechanism used for this segment. This mechanism uses the control points and control parameters to determine the position of this curve segment. + + + + + gml:CurveSegmentArrayPropertyType is a container for an array of curve segments. + + + + + + + + This property element contains a list of curve segments. The order of the elements is significant and shall be preserved when processing the array. + + + + + gml:CurveInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A LineStringSegment is a curve segment that is defined by two or more control points including the start and end point, with linear interpolation between them. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + An ArcString is a curve segment that uses three-point circular arc interpolation ("circularArc3Points"). The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be 2 * numArc + 1. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + An Arc is an arc string with only one arc unit, i.e. three control points including the start and end point. As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1". + + + + + + + + + + A Circle is an arc whose ends coincide to form a simple closed loop. The three control points shall be distinct non-co-linear points for the circle to be unambiguously defined. The arc is simply extended past the third control point until the first control point is encountered. + + + + + + + + + + + + + + + + + + + + + + + + + + This variant of the arc computes the mid points of the arcs instead of storing the coordinates directly. The control point sequence consists of the start and end points of each arc plus the bulge (see ISO 19107:2003, 6.4.17.2). The normal is a vector normal (perpendicular) to the chord of the arc (see ISO 19107:2003, 6.4.17.4). +The interpolation is fixed as "circularArc2PointWithBulge". +The number of arcs in the arc string may be explicitly stated in the attribute numArc. The number of control points in the arc string shall be numArc + 1. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + + An ArcByBulge is an arc string with only one arc unit, i.e. two control points, one bulge and one normal vector. +As arc is an arc string consisting of a single arc, the attribute "numArc" is fixed to "1". + + + + + + + + + + + + + + + + + + + + + + + + + + + This variant of the arc requires that the points on the arc shall be computed instead of storing the coordinates directly. The single control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D. +The element radius specifies the radius of the arc. +The element startAngle specifies the bearing of the arc at the start. +The element endAngle specifies the bearing of the arc at the end. +The interpolation is fixed as "circularArcCenterPointWithRadius". +Since this type describes always a single arc, the attribute "numArc" is fixed to "1". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + A gml:CircleByCenterPoint is an gml:ArcByCenterPoint with identical start and end angle to form a full circle. Again, this representation can be used only in 2D. + + + + + + + + + + + + + + + + + + + + + + + + + + The number of control points shall be at least three. +vectorAtStart is the unit tangent vector at the start point of the spline. vectorAtEnd is the unit tangent vector at the end point of the spline. Only the direction of the vectors shall be used to determine the shape of the cubic spline, not their length. +interpolation is fixed as "cubicSpline". +degree shall be the degree of the polynomial used for the interpolation in this spline. Therefore the degree for a cubic spline is fixed to "3". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + + + + + + + + A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions as specified in ISO 19107:2003, 6.4.30. Therefore, interpolation may be either "polynomialSpline" or "rationalSpline" depending on the interpolation type; default is "polynomialSpline". +degree shall be the degree of the polynomial used for interpolation in this spline. +knot shall be the sequence of distinct knots used to define the spline basis functions (see ISO 19107:2003, 6.4.26.2). +The attribute isPolynomial shall be set to "true" if this is a polynomial spline (see ISO 19107:2003, 6.4.30.5). +The attribute knotType shall provide the type of knot distribution used in defining this spline (see ISO 19107:2003, 6.4.30.4). +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + gml:KnotPropertyType encapsulates a knot to use it in a geometric type. + + + + + A knot is a breakpoint on a piecewise spline curve. +value is the value of the parameter at the knot of the spline (see ISO 19107:2003, 6.4.24.2). +multiplicity is the multiplicity of this knot used in the definition of the spline (with the same weight). +weight is the value of the averaging weight used for this knot of the spline. + + + + + + + This enumeration type specifies values for the knots' type (see ISO 19107:2003, 6.4.25). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bezier curves are polynomial splines that use Bezier or Bernstein polynomials for interpolation purposes. It is a special case of the B-Spline curve with two knots. +degree shall be the degree of the polynomial used for interpolation in this spline. +knot shall be the sequence of distinct knots used to define the spline basis functions. +interpolation is fixed as "polynomialSpline". +isPolynomial is fixed as "true". +knotType is not relevant for Bezier curve segments. + + + + + + + + + + + + + + + + + An offset curve is a curve at a constant distance from the basis curve. offsetBase is the base curve from which this curve is defined as an offset. distance and refDirection have the same meaning as specified in ISO 19107:2003, 6.4.23. +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + location, refDirection, inDimension and outDimension have the same meaning as specified in ISO 19107:2003, 6.4.21. + + + + + + + + + + + + + + + + + + + + + + + + A clothoid, or Cornu's spiral, is plane curve whose curvature is a fixed function of its length. +refLocation, startParameter, endParameter and scaleFactor have the same meaning as specified in ISO 19107:2003, 6.4.22. +interpolation is fixed as "clothoid". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + A sequence of geodesic segments. +The number of control points shall be at least two. +interpolation is fixed as "geodesic". +The content model follows the general pattern for the encoding of curve segments. + + + + + + + + + + + + + + + + + + + + A Surface is a 2-dimensional primitive and is composed of one or more surface patches as specified in ISO 19107:2003, 6.3.17.1. The surface patches are connected to one another. +patches encapsulates the patches of the surface. + + + + + + + + + + + + + + + The property baseSurface references or contains the base surface. The property baseSurface either references the base surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for gml:AbstractSurface. The base surface has positive orientation. + + + + + OrientableSurface consists of a surface and an orientation. If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a gml:AbstractSurface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface". + + + + + + A surface patch defines a homogenuous portion of a surface. +The AbstractSurfacePatch element is the abstract head of the substituition group for all surface patch elements describing a continuous portion of a surface. +All surface patches shall have an attribute interpolation (declared in the types derived from gml:AbstractSurfacePatchType) specifying the interpolation mechanism used for the patch using gml:SurfaceInterpolationType. + + + + + gml:SurfacePatchArrayPropertyType is a container for a sequence of surface patches. + + + + + + + + The patches property element contains the sequence of surface patches. The order of the elements is significant and shall be preserved when processing the array. + + + + + gml:SurfaceInterpolationType is a list of codes that may be used to identify the interpolation mechanisms specified by an application schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + A gml:PolygonPatch is a surface patch that is defined by a set of boundary curves and an underlying surface to which these curves adhere. The curves shall be coplanar and the polygon uses planar interpolation in its interior. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + gml:Triangle represents a triangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be four. +The ring (element exterior) shall be a gml:LinearRing and shall form a triangle, the first and the last position shall be coincident. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + gml:Rectangle represents a rectangle as a surface patch with an outer boundary consisting of a linear ring. Note that this is a polygon (subtype) with no inner boundaries. The number of points in the linear ring shall be five. +The ring (element exterior) shall be a gml:LinearRing and shall form a rectangle; the first and the last position shall be coincident. +interpolation is fixed to "planar", i.e. an interpolation shall return points on a single plane. The boundary of the patch shall be contained within that plane. + + + + + + + + + + + + + + + A ring is used to represent a single connected component of a surface boundary as specified in ISO 19107:2003, 6.3.6. +Every gml:curveMember references or contains one curve, i.e. any element which is substitutable for gml:AbstractCurve. In the context of a ring, the curves describe the boundary of the surface. The sequence of curves shall be contiguous and connected in a cycle. +If provided, the aggregationType attribute shall have the value "sequence". + + + + + + A property with the content model of gml:RingPropertyType encapsulates a ring to represent a component of a surface boundary. + + + + + + + + A gml:PointGrid group contains or references points or positions which are organised into sequences or grids. All rows shall have the same number of positions (columns). + + + + + + + + + + + + + + + + + + + + + + + + + The element provides a substitution group head for the surface patches based on parametric curves. All properties are specified in the derived subtypes. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.40. +If provided, the aggregationType attribute shall have the value "set". + + + + + + + + + + + + + + + + if provided, rows gives the number of rows, columns the number of columns in the parameter grid. The parameter grid is represented by an instance of the gml:PointGrid group. +The element provides a substitution group head for the surface patches based on a grid. All derived subtypes shall conform to the constraints specified in ISO 19107:2003, 6.4.41. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A polyhedral surface is a surface composed of polygon patches connected along their common boundary curves. This differs from the surface type only in the restriction on the types of surface patches acceptable. +polygonPatches encapsulates the polygon patches of the polyhedral surface. + + + + + A triangulated surface is a polyhedral surface that is composed only of triangles. There is no restriction on how the triangulation is derived. +trianglePatches encapsulates the triangles of the triangulated surface. + + + + + + + + + + + + + + + + + + + + + + + + A tin is a triangulated surface that uses the Delauny algorithm or a similar algorithm complemented with consideration of stoplines (stopLines), breaklines (breakLines), and maximum length of triangle sides (maxLength). controlPoint shall contain a set of the positions (three or more) used as posts for this TIN (corners of the triangles in the TIN). See ISO 19107:2003, 6.4.39 for details. + + + + + gml:LineStringSegmentArrayPropertyType provides a container for line strings. + + + + + + + + gml:AbstractSolidType is an abstraction of a solid to support the different levels of complexity. The solid may always be viewed as a geometric primitive, i.e. is contiguous. + + + + + + + + The AbstractSolid element is the abstract head of the substituition group for all (continuous) solid elements. + + + + + A property that has a solid as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none. + + + + + + + + + + This property element either references a solid via the XLink-attributes or contains the solid element. solidProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSolid. + + + + + gml:SolidArrayPropertyType is a container for an array of solids. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements is not supported. + + + + + + + + + + + + + + + + + + + A solid is the basis for 3-dimensional geometry. The extent of a solid is defined by the boundary surfaces as specified in ISO 19107:2003, 6.3.18. exterior specifies the outer boundary, interior the inner boundary of the solid. + + + + + + + + + + + A shell is used to represent a single connected component of a solid boundary as specified in ISO 19107:2003, 6.3.8. +Every gml:surfaceMember references or contains one surface, i.e. any element which is substitutable for gml:AbstractSurface. In the context of a shell, the surfaces describe the boundary of the solid. +If provided, the aggregationType attribute shall have the value "set". + + + + + + This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element, which is substitutable for gml:AbstractSurface. + + + + + A property with the content model of gml:ShellPropertyType encapsulates a shell to represent a component of a solid boundary. + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml.xsd new file mode 100755 index 00000000..a6168f8c --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml.xsd @@ -0,0 +1,26 @@ + + + + gml.xsd + + GML is an OGC Standard. + Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. + To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gmlBase.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gmlBase.xsd new file mode 100755 index 00000000..4a3465e4 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gmlBase.xsd @@ -0,0 +1,201 @@ + + + + gmlBase.xsd + See ISO/DIS 19136 7.2. +The gmlBase schema components establish the GML model and syntax, in particular +- a root XML type from which XML types for all GML objects should be derived, +- a pattern and components for GML properties, +- patterns for collections and arrays, and components for generic collections and arrays, +- components for associating metadata with GML objects, +- components for constructing definitions and dictionaries. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + This element has no type defined, and is therefore implicitly (according to the rules of W3C XML Schema) an XML Schema anyType. It is used as the head of an XML Schema substitution group which unifies complex content and certain simple content elements used for datatypes in GML, including the gml:AbstractGML substitution group. + + + + + The abstract element gml:AbstractGML is "any GML object having identity". It acts as the head of an XML Schema substitution group, which may include any element which is a GML feature, or other object, with identity. This is used as a variable in content models in GML core and application schemas. It is effectively an abstract superclass for all GML objects. + + + + + + + + + + + + + + + + + + + + XLink components are the standard method to support hypertext referencing in XML. An XML Schema attribute group, gml:AssociationAttributeGroup, is provided to support the use of Xlinks as the method for indicating the value of a property by reference in a uniform manner in GML. + + + + + + deprecated + + + + + + Applying this pattern shall restrict the multiplicity of objects in a property element using this content model to exactly one. An instance of this type shall contain an element representing an object, or serve as a pointer to a remote object. +Applying the pattern to define an application schema specific property type allows to restrict +- the inline object to specified object types, +- the encoding to "by-reference only" (see 7.2.3.7), +- the encoding to "inline only" (see 7.2.3.8). + + + + + + + + + + + + Encoding a GML property inline vs. by-reference shall not imply anything about the "ownership" of the contained or referenced GML Object, i.e. the encoding style shall not imply any "deep-copy" or "deep-delete" semantics. To express ownership over the contained or referenced GML Object, the gml:OwnershipAttributeGroup attribute group may be added to object-valued property elements. If the attribute group is not part of the content model of such a property element, then the value may not be "owned". +When the value of the owns attribute is "true", the existence of inline or referenced object(s) depends upon the existence of the parent object. + + + + + + This element shows how an element + declaration may include a Schematron constraint to limit the property to act + in either inline or by-reference mode, but not both. + + + + + gml:abstractReference may be used as the head of a subtitution group of more specific elements providing a value by-reference. + + + + + gml:ReferenceType is intended to be used in application schemas directly, if a property element shall use a "by-reference only" encoding. + + + + + + + + gml:abstractInlineProperty may be used as the head of a subtitution group of more specific elements providing a value inline. + + + + + + + + + + + If the value of an object property is another object and that object contains also a property for the association between the two objects, then this name of the reverse property may be encoded in a gml:reversePropertyName element in an appinfo annotation of the property element to document the constraint between the two properties. The value of the element shall contain the qualified name of the property element. + + + + + The value of this property is a text description of the object. gml:description uses gml:StringOrRefType as its content model, so it may contain a simple text string content, or carry a reference to an external description. The use of gml:description to reference an external description has been deprecated and replaced by the gml:descriptionReference property. + + + + + The value of this property is a remote text description of the object. The xlink:href attribute of the gml:descriptionReference property references the external description. + + + + + The gml:name property provides a label or identifier for the object, commonly a descriptive name. An object may have several names, typically assigned by different authorities. gml:name uses the gml:CodeType content model. The authority for a name is indicated by the value of its (optional) codeSpace attribute. The name may or may not be unique, as determined by the rules of the organization responsible for the codeSpace. In common usage there will be one name per authority, so a processing application may select the name from its preferred codeSpace. + + + + + Often, a special identifier is assigned to an object by the maintaining authority with the intention that it is used in references to the object For such cases, the codeSpace shall be provided. That identifier is usually unique either globally or within an application domain. gml:identifier is a pre-defined property for such identifiers. + + + + + The attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs. + + + + + To create a collection of GML Objects that are not all features, a property type shall be derived by extension from gml:AbstractMemberType. +This abstract property type is intended to be used only in object types where software shall be able to identify that an instance of such an object type is to be interpreted as a collection of objects. +By default, this abstract property type does not imply any ownership of the objects in the collection. The owns attribute of gml:OwnershipAttributeGroup may be used on a property element instance to assert ownership of an object in the collection. A collection shall not own an object already owned by another object. + + + + + + + + A GML Object Collection is any GML Object with a property element in its content model whose content model is derived by extension from gml:AbstractMemberType. +In addition, the complex type describing the content model of the GML Object Collection may also include a reference to the attribute group gml:AggregationAttributeGroup to provide additional information about the semantics of the object collection. This information may be used by applications to group GML objects, and optionally to order and index them. +The allowed values for the aggregationType attribute are defined by gml:AggregationType. See 8.4 of ISO/IEC 11404:1996 for the meaning of the values in the enumeration. + + + + + + + + + + + + + + + + To associate metadata described by any XML Schema with a GML object, a property element shall be defined whose content model is derived by extension from gml:AbstractMetadataPropertyType. +The value of such a property shall be metadata. The content model of such a property type, i.e. the metadata application schema shall be specified by the GML Application Schema. +By default, this abstract property type does not imply any ownership of the metadata. The owns attribute of gml:OwnershipAttributeGroup may be used on a metadata property element instance to assert ownership of the metadata. +If metadata following the conceptual model of ISO 19115 is to be encoded in a GML document, the corresponding Implementation Specification specified in ISO/TS 19139 shall be used to encode the metadata information. + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml_3_2_1-ReadMe.txt b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml_3_2_1-ReadMe.txt new file mode 100755 index 00000000..5a3fec3c --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/gml_3_2_1-ReadMe.txt @@ -0,0 +1,46 @@ +OpenGIS(r) GML schema version 3.2.1 / ISO 19136 - ReadMe.txt + +The root document of the GML schema is file "gml.xsd" + +The schema has been validated with Xerces-J, Xerces C++ and XSV. + +GML 3.2.1 (ISO 19136) + + * Published GML 3.2.1 schemas from OGC 07-036 + * validated with oXygen 8.2 (xerces-J 2.9.0) - Kevin Stegemoller + * validated with Xerces-J, Xerces-C++ and XSV - Clemens Portele + +-- 2007-09-06 + +Changes made to these GML 3.2.1 / ISO 19136 schemas: + * added ReadMe.txt + * changed gmd.xsd references to "../../iso/19139/20070417/gmd/gmd.xsd" + * changed xlink references to be relative to /xlink/1.0.0/xlinks.xsd + available from http://schemas.opengis.net/xlink/1.0.0/xlinks.xsd . + * removed xlinks schema and directory + +Changes made to these ISO 19139 schemas by OGC: + * added ReadMe.txt + * changed ISO_19136 path to /gml/3.2.1/ + * changed xlink references to be relative to /xlink/1.0.0/xlinks.xsd + available from http://schemas.opengis.net/xlink/1.0.0/xlinks.xsd . + * removed xlinks schema and directory + +OGC GML 3.2.1 / ISO 19136 schemas files will be published at: +- http://schemas.opengis.net/gml/3.2.1/ +- http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19136_Schemas/ + +Files in the folder "ISO/19139/20070417" are also published at +- http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/ + +-- 2007-08-17 + +The Open Geospatial Consortium, Inc. official schema repository is at + http://schemas.opengis.net/ . +Policies, Procedures, Terms, and Conditions of OGC(r) are available + http://www.opengeospatial.org/ogc/policies/ . +Additional rights of use are described at + http://www.opengeospatial.org/legal/ . + +Copyright (c) 2007 Open Geospatial Consortium, Inc. All Rights Reserved. + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/grids.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/grids.xsd new file mode 100755 index 00000000..c7fcc983 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/grids.xsd @@ -0,0 +1,77 @@ + + + + grids.xsd + See ISO/DIS 19136 20.2. +An implicit description of geometry is one in which the items of the geometry do not explicitly appear in the encoding. Instead, a compact notation records a set of parameters, and a set of objects may be generated using a rule with these parameters. This Clause provides grid geometries that are used in the description of gridded coverages and other applications. +In GML two grid structures are defined, namely gml:Grid and gml:RectifiedGrid. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + The gml:Grid implicitly defines an unrectified grid, which is a network composed of two or more sets of curves in which the members of each set intersect the members of the other sets in an algorithmic way. The region of interest within the grid is given in terms of its gml:limits, being the grid coordinates of diagonally opposed corners of a rectangular region. gml:axisLabels is provided with a list of labels of the axes of the grid (gml:axisName has been deprecated). gml:dimension specifies the dimension of the grid. +The gml:limits element contains a single gml:GridEnvelope. The gml:low and gml:high property elements of the envelope are each integerLists, which are coordinate tuples, the coordinates being measured as offsets from the origin of the grid along each axis, of the diagonally opposing corners of a "rectangular" region of interest. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A rectified grid is a grid for which there is an affine transformation between the grid coordinates and the coordinates of an external coordinate reference system. It is defined by specifying the position (in some geometric space) of the grid "origin" and of the vectors that specify the post locations. +Note that the grid limits (post indexes) and axis name properties are inherited from gml:GridType and that gml:RectifiedGrid adds a gml:origin property (contains or references a gml:Point) and a set of gml:offsetVector properties. + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/measures.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/measures.xsd new file mode 100755 index 00000000..ef5bb7e6 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/measures.xsd @@ -0,0 +1,75 @@ + + + + measures.xsd + See ISO/DIS 19136 17.3. +gml:MeasureType is defined in the basicTypes schema. The measure types defined here correspond with a set of convenience measure types described in ISO/TS 19103. The XML implementation is based on the XML Schema simple type "double" which supports both decimal and scientific notation, and includes an XML attribute "uom" which refers to the units of measure for the value. Note that, there is no requirement to store values using any particular format, and applications receiving elements of this type may choose to coerce the data to any other type as convenient. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + The value of a physical quantity, together with its unit. + + + + + This is a prototypical definition for a specific measure type defined as a vacuous extension (i.e. aliases) of gml:MeasureType. In this case, the content model supports the description of a length (or distance) quantity, with its units. The unit of measure referenced by uom shall be suitable for a length, such as metres or feet. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The gml:angle property element is used to record the value of an angle quantity as a single number, with its units. + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/observation.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/observation.xsd new file mode 100755 index 00000000..942a883b --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/observation.xsd @@ -0,0 +1,108 @@ + + + + observation.xsd + See ISO/DIS 19136 Clause 19. +A GML observation models the act of observing, often with a camera, a person or some form of instrument. An observation feature describes the "metadata" associated with an information capture event, together with a value for the result of the observation. This covers a broad range of cases, from a tourist photo (not the photo but the act of taking the photo), to images acquired by space borne sensors or the measurement of a temperature 5 meters below the surfaces of a lake. +The basic structures introduced in this schema are intended to serve as the foundation for more comprehensive schemas for scientific, technical and engineering measurement schemas. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + The content model is a straightforward extension of gml:AbstractFeatureType; it automatically has the gml:identifier, gml:description, gml:descriptionReference, gml:name, and gml:boundedBy properties. +The gml:validTime element describes the time of the observation. Note that this may be a time instant or a time period. +The gml:using property contains or references a description of a sensor, instrument or procedure used for the observation. +The gml:target property contains or references the specimen, region or station which is the object of the observation. This property is particularly useful for remote observations, such as photographs, where a generic location property might apply to the location of the camera or the location of the field of view, and thus may be ambiguous. +The gml:subject element is provided as a convenient synonym for gml:target. This is the term commonly used in phtotography. +The gml:resultOf property indicates the result of the observation. The value may be inline, or a reference to a value elsewhere. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A gml:DirectedObservation is the same as an observation except that it adds an additional gml:direction property. This is the direction in which the observation was acquired. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras. + + + + + + + + + + + + + + gml:DirectedObservationAtDistance adds an additional distance property. This is the distance from the observer to the subject of the observation. Clearly this applies only to certain types of observations such as visual observations by people, or observations obtained from terrestrial cameras. + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/referenceSystems.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/referenceSystems.xsd new file mode 100755 index 00000000..2939e0bd --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/referenceSystems.xsd @@ -0,0 +1,81 @@ + + + + referenceSystems.xsd + See ISO/DIS 19136 13.2. +The reference systems schema components have two logical parts, which define elements and types for XML encoding of the definitions of: +- Identified Object, inherited by the ten types of GML objects used for coordinate reference systems and coordinate operations +- High-level part of the definitions of coordinate reference systems +This schema encodes the Identified Object and Reference System packages of the UML Model for ISO 19111. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + gml:IdentifiedObjectType provides identification properties of a CRS-related object. In gml:DefinitionType, the gml:identifier element shall be the primary name by which this object is identified, encoding the "name" attribute in the UML model. +Zero or more of the gml:name elements can be an unordered set of "identifiers", encoding the "identifier" attribute in the UML model. Each of these gml:name elements can reference elsewhere the object's defining information or be an identifier by which this object can be referenced. +Zero or more other gml:name elements can be an unordered set of "alias" alternative names by which this CRS related object is identified, encoding the "alias" attributes in the UML model. An object may have several aliases, typically used in different contexts. The context for an alias is indicated by the value of its (optional) codeSpace attribute. +Any needed version information shall be included in the codeSpace attribute of a gml:identifier and gml:name elements. In this use, the gml:remarks element in the gml:DefinitionType shall contain comments on or information about this object, including data source information. + + + + + + + + gml:AbstractCRS specifies a coordinate reference system which is usually single but may be compound. This abstract complex type shall not be used, extended, or restricted, in a GML Application Schema, to define a concrete subtype with a meaning equivalent to a concrete subtype specified in this document. + + + + + + + + + + + + + + + The gml:domainOfValidity property implements an association role to an EX_Extent object as encoded in ISO/TS 19139, either referencing or containing the definition of that extent. + + + + + + + + + + + The gml:scope property provides a description of the usage, or limitations of usage, for which this CRS-related object is valid. If unknown, enter "not known". + + + + + gml:CRSPropertyType is a property type for association roles to a CRS abstract coordinate reference system, either referencing or containing the definition of that CRS. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporal.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporal.xsd new file mode 100755 index 00000000..b807732f --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporal.xsd @@ -0,0 +1,293 @@ + + + + temporal.xsd + See ISO/DIS 19136 15.2. +The GML temporal schemas include components for describing temporal geometry and topology, temporal reference systems, and the temporal characteristics of geographic data. The model underlying the representation constitutes a profile of the conceptual schema described in ISO 19108. The underlying spatiotemporal model strives to accommodate both feature-level and attribute-level time stamping; basic support for tracking moving objects is also included. +Time is measured on two types of scales: interval and ordinal. An interval scale offers a basis for measuring duration, an ordinal scale provides information only about relative position in time. +Two other ISO standards are relevant to describing temporal objects: ISO 8601 describes encodings for time instants and time periods, as text strings with particular structure and punctuation; ISO 11404 provides a detailed description of time intervals as part of a general discussion of language independent datatypes. +The temporal schemas cover two interrelated topics and provide basic schema components for representing temporal instants and periods, temporal topology, and reference systems; more specialized schema components defines components used for dynamic features. Instances of temporal geometric types are used as values for the temporal properties of geographic features. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + gml:AbstractTimeObject acts as the head of a substitution group for all temporal primitives and complexes. + + + + + + + + + + gml:AbstractTimePrimitive acts as the head of a substitution group for geometric and topological temporal primitives. + + + + + + + + + + + + + + gml:TimePrimitivePropertyType provides a standard content model for associations between an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive and another object. + + + + + + + + + + gml:validTime is a convenience property element. + + + + + gml:RelatedTimeType provides a content model for indicating the relative position of an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive. It extends the generic gml:TimePrimitivePropertyType with an XML attribute relativePosition, whose value is selected from the set of 13 temporal relationships identified by Allen (1983) + + + + + + + + + + + + + + + + + + + + + + + + + + + + gml:AbstractTimeComplex is an aggregation of temporal primitives and acts as the head of a substitution group for temporal complexes. + + + + + + + + + + gml:TimeGeometricPrimitive acts as the head of a substitution group for geometric temporal primitives. +A temporal geometry shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. The GPS calendar is an alternative reference systems in common use. +The two geometric primitives in the temporal dimension are the instant and the period. GML components are defined to support these as follows. + + + + + + + + + + + + gml:TimeInstant acts as a zero-dimensional geometric primitive that represents an identifiable position in time. + + + + + + + + + + + + + + gml:TimeInstantPropertyType provides for associating a gml:TimeInstant with an object. + + + + + + + + + + gml:TimePeriod acts as a one-dimensional geometric primitive that represents an identifiable extent in time. +The location in of a gml:TimePeriod is described by the temporal positions of the instants at which it begins and ends. The length of the period is equal to the temporal distance between the two bounding temporal positions. +Both beginning and end may be described in terms of their direct position using gml:TimePositionType which is an XML Schema simple content type, or by reference to an indentifiable time instant using gml:TimeInstantPropertyType. +Alternatively a limit of a gml:TimePeriod may use the conventional GML property model to make a reference to a time instant described elsewhere, or a limit may be indicated as a direct position. + + + + + + + + + + + + + + + + + + + + + + gml:TimePeriodPropertyType provides for associating a gml:TimePeriod with an object. + + + + + + + + + + The method for identifying a temporal position is specific to each temporal reference system. gml:TimePositionType supports the description of temporal position according to the subtypes described in ISO 19108. +Values based on calendars and clocks use lexical formats that are based on ISO 8601, as described in XML Schema Part 2:2001. A decimal value may be used with coordinate systems such as GPS time or UNIX time. A URI may be used to provide a reference to some era in an ordinal reference system . +In common with many of the components modelled as data types in the ISO 19100 series of International Standards, the corresponding GML component has simple content. However, the content model gml:TimePositionType is defined in several steps. +Three XML attributes appear on gml:TimePositionType: +A time value shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. Components for describing temporal reference systems are described in 14.4, but it is not required that the reference system be described in this, as the reference may refer to anything that may be indentified with a URI. +For time values using a calendar containing more than one era, the (optional) calendarEraName attribute provides the name of the calendar era. +Inexact temporal positions may be expressed using the optional indeterminatePosition attribute. This takes a value from an enumeration. + + + + + + + + + + + + These values are interpreted as follows: +- "unknown" indicates that no specific value for temporal position is provided. +- "now" indicates that the specified value shall be replaced with the current temporal position whenever the value is accessed. +- "before" indicates that the actual temporal position is unknown, but it is known to be before the specified value. +- "after" indicates that the actual temporal position is unknown, but it is known to be after the specified value. +A value for indeterminatePosition may +- be used either alone, or +- qualify a specific value for temporal position. + + + + + + + + + + + The simple type gml:TimePositionUnion is a union of XML Schema simple types which instantiate the subtypes for temporal position described in ISO 19108. + An ordinal era may be referenced via URI. A decimal value may be used to indicate the distance from the scale origin . time is used for a position that recurs daily (see ISO 19108:2002 5.4.4.2). + Finally, calendar and clock forms that support the representation of time in systems based on years, months, days, hours, minutes and seconds, in a notation following ISO 8601, are assembled by gml:CalDate + + + + + + + + + This element is used directly as a property of gml:TimeInstant (see 15.2.2.3), and may also be used in application schemas. + + + + + The length of a time period. + + + + + + + + + gml:duration conforms to the ISO 8601 syntax for temporal length as implemented by the XML Schema duration type. + + + + + gml:timeInterval conforms to ISO 11404 which is based on floating point values for temporal length. +ISO 11404 syntax specifies the use of a positiveInteger together with appropriate values for radix and factor. The resolution of the time interval is to one radix ^(-factor) of the specified time unit. +The value of the unit is either selected from the units for time intervals from ISO 31-1:1992, or is another suitable unit. The encoding is defined for GML in gml:TimeUnitType. The second component of this union type provides a method for indicating time units other than the six standard units given in the enumeration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalReferenceSystems.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalReferenceSystems.xsd new file mode 100755 index 00000000..c08f9684 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalReferenceSystems.xsd @@ -0,0 +1,217 @@ + + + + temporalReferenceSystems.xsd + See ISO/DIS 19136 15.5. +A value in the time domain is measured relative to a temporal reference system. Common types of reference systems include calendars, ordinal temporal reference systems, and temporal coordinate systems (time elapsed since some epoch). The primary temporal reference system for use with geographic information is the Gregorian Calendar and 24 hour local or Coordinated Universal Time (UTC), but special applications may entail the use of alternative reference systems. The Julian day numbering system is a temporal coordinate system that has an origin earlier than any known calendar, at noon on 1 January 4713 BC in the Julian proleptic calendar, and is useful in transformations between dates in different calendars. +In GML seven concrete elements are used to describe temporal reference systems: gml:TimeReferenceSystem, gml:TimeCoordinateSystem, gml:TimeCalendar, gml:TimeCalendarEra, gml:TimeClock, gml:TimeOrdinalReferenceSystem, and gml:TimeOrdinalEra. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + A reference system is characterized in terms of its domain of validity: the spatial and temporal extent over which it is applicable. The basic GML element for temporal reference systems is gml:TimeReferenceSystem. Its content model extends gml:DefinitionType with one additional property, gml:domainOfValidity. + + + + + + + + + + + + + + A temporal coordinate system shall be based on a continuous interval scale defined in terms of a single time interval. +The differences to ISO 19108 TM_CoordinateSystem are: +- the origin is specified either using the property gml:originPosition whose value is a direct time position, or using the property gml:origin whose model is gml:TimeInstantPropertyType; this permits more flexibility in representation and also supports referring to a value fixed elsewhere; +- the interval uses gml:TimeIntervalLengthType. + + + + + + + + + + + + + + + + + + + A calendar is a discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day. +gml:TimeCalendar adds one property to those inherited from gml:TimeReferenceSystem. A gml:referenceFrame provides a link to a gml:TimeCalendarEra that it uses. A gml:TimeCalendar may reference more than one calendar era. +The referenceFrame element follows the standard GML property model, allowing the association to be instantiated either using an inline description using the gml:TimeCalendarEra element, or a link to a gml:TimeCalendarEra which is explicit elsewhere. + + + + + + + + + + + + + + gml:TimeCalendarEra inherits basic properties from gml:DefinitionType and has the following additional properties: +- gml:referenceEvent is the name or description of a mythical or historic event which fixes the position of the base scale of the calendar era. This is given as text or using a link to description held elsewhere. +- gml:referenceDate specifies the date of the referenceEvent expressed as a date in the given calendar. In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true. +- gml:julianReference specifies the Julian date that corresponds to the reference date. The Julian day number is an integer value; the Julian date is a decimal value that allows greater resolution. Transforming calendar dates to and from Julian dates provides a relatively simple basis for transforming dates from one calendar to another. +- gml:epochOfUse is the period for which the calendar era was used as a basis for dating. + + + + + + + + + + + + + + + + + gml:TimeCalendarPropertyType provides for associating a gml:TimeCalendar with an object. + + + + + + + + + + gml:TimeCalendarEraPropertyType provides for associating a gml:TimeCalendarEra with an object. + + + + + + + + + + A clock provides a basis for defining temporal position within a day. A clock shall be used with a calendar in order to provide a complete description of a temporal position within a specific day. +gml:TimeClock adds the following properties to those inherited from gml:TimeReferenceSystemType: +- gml:referenceEvent is the name or description of an event, such as solar noon or sunrise, which fixes the position of the base scale of the clock. +- gml:referenceTime specifies the time of day associated with the reference event expressed as a time of day in the given clock. The reference time is usually the origin of the clock scale. +- gml:utcReference specifies the 24 hour local or UTC time that corresponds to the reference time. +- gml:dateBasis contains or references the calendars that use this clock. + + + + + + + + + + + + + + + + + gml:TimeClockPropertyType provides for associating a gml:TimeClock with an object. + + + + + + + + + + In some applications of geographic information — such as geology and archaeology — relative position in time is known more precisely than absolute time or duration. The order of events in time can be well established, but the magnitude of the intervals between them cannot be accurately determined; in such cases, the use of an ordinal temporal reference system is appropriate. An ordinal temporal reference system is composed of a sequence of named coterminous eras, which may in turn be composed of sequences of member eras at a finer scale, giving the whole a hierarchical structure of eras of verying resolution. +An ordinal temporal reference system whose component eras are not further subdivided is effectively a temporal topological complex constrained to be a linear graph. An ordinal temporal reference system some or all of whose component eras are subdivided is effectively a temporal topological complex with the constraint that parallel branches may only be constructed in pairs where one is a single temporal ordinal era and the other is a sequence of temporal ordinal eras that are called "members" of the "group". This constraint means that within a single temporal ordinal reference system, the relative position of all temporal ordinal eras is unambiguous. +The positions of the beginning and end of a given era may calibrate the relative time scale. +gml:TimeOrdinalReferenceSystem adds one or more gml:component properties to the generic temporal reference system model. + + + + + + + + + + + + + + Its content model follows the pattern of gml:TimeEdge, inheriting standard properties from gml:DefinitionType, and adding gml:start, gml:end and gml:extent properties, a set of gml:member properties which indicate ordered gml:TimeOrdinalEra elements, and a gml:group property which points to the parent era. +The recursive inclusion of gml:TimeOrdinalEra elements allow the construction of an arbitrary depth hierarchical ordinal reference schema, such that an ordinal era at a given level of the hierarchy includes a sequence of shorter, coterminous ordinal eras. + + + + + + + + + + + + + + + + + + + gml:TimeOrdinalEraPropertyType provides for associating a gml:TimeOrdinalEra with an object. + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalTopology.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalTopology.xsd new file mode 100755 index 00000000..efd7e043 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/temporalTopology.xsd @@ -0,0 +1,141 @@ + + + + temporalTopology.xsd + See ISO/DIS 19136 15.3. +Temporal topology is described in terms of time complexes, nodes, and edges, and the connectivity between these. Temporal topology does not directly provide information about temporal position. It is used in the case of describing a lineage or a history (e.g. a family tree expressing evolution of species, an ecological cycle, a lineage of lands or buildings, or a history of separation and merger of administrative boundaries). The following Subclauses specifies the temporal topology as temporal characteristics of features in compliance with ISO 19108. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + gml:TimeTopologyPrimitive acts as the head of a substitution group for topological temporal primitives. +Temporal topology primitives shall imply the ordering information between features or feature properties. The temporal connection of features can be examined if they have temporal topology primitives as values of their properties. Usually, an instantaneous feature associates with a time node, and a static feature associates with a time edge. A feature with both modes associates with the temporal topology primitive: a supertype of time nodes and time edges. +A topological primitive is always connected to one or more other topological primitives, and is, therefore, always a member of a topological complex. In a GML instance, this will often be indicated by the primitives being described by elements that are descendents of an element describing a complex. However, in order to support the case where a temporal topological primitive is described in another context, the optional complex property is provided, which carries a reference to the parent temporal topological complex. + + + + + + + + + + + + + + gml:TimeTopologyPrimitivePropertyType provides for associating a gml:AbstractTimeTopologyPrimitive with an object. + + + + + + + + + + A temporal topology complex shall be the connected acyclic directed graph composed of temporal topological primitives, i.e. time nodes and time edges. Because a time edge may not exist without two time nodes on its boundaries, static features have time edges from a temporal topology complex as the values of their temporal properties, regardless of explicit declarations. +A temporal topology complex expresses a linear or a non-linear graph. A temporal linear graph, composed of a sequence of time edges, provides a lineage described only by "substitution" of feature instances or feature element values. A time node as the start or the end of the graph connects with at least one time edge. A time node other than the start and the end shall connect to at least two time edges: one of starting from the node, and another ending at the node. +A temporal topological complex is a set of connected temporal topological primitives. The member primtives are indicated, either by reference or by value, using the primitive property. + + + + + + + + + + + + + + gml:TimeTopologyComplexPropertyType provides for associating a gml:TimeTopologyComplex with an object. + + + + + + + + + + A time node is a zero-dimensional topological primitive that represents an identifiable node in time (it is equivalent to a point in space). A node may act as the termination or initiation of any number of time edges. A time node may be realised as a geometry, its position, whose value is a time instant. + + + + + + + + + + + + + + + + gml:TimeNodePropertyType provides for associating a gml:TimeNode with an object + + + + + + + + + + A time edge is a one-dimensional topological primitive. It is an open interval that starts and ends at a node. The edge may be realised as a geometry whose value is a time period. + + + + + + + + + + + + + + + + gml:TimeEdgePropertyType provides for associating a gml:TimeEdge with an object. + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/topology.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/topology.xsd new file mode 100755 index 00000000..2f946dd5 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/topology.xsd @@ -0,0 +1,416 @@ + + + + topology.xsd + See ISO/DIS 19136 Clause 14. +Topology is the branch of mathematics describing the properties of objects which are invariant under continuous deformation. For example, a circle is topologically equivalent to an ellipse because one can be transformed into the other by stretching. In geographic modelling, the foremost use of topology is in accelerating computational geometry. The constructs of topology allow characterisation of the spatial relationships between objects using simple combinatorial or algebraic algorithms. Topology, realised by the appropriate geometry, also allows a compact and unambiguous mechanism for expressing shared geometry among geographic features. +There are four instantiable classes of primitive topology objects, one for each dimension up to 3D. In addition, topological complexes are supported, too. +There is strong symmetry in the (topological boundary and coboundary) relationships between topology primitives of adjacent dimensions. Topology primitives are bounded by directed primitives of one lower dimension. The coboundary of each topology primitive is formed from directed topology primitives of one higher dimension. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + This abstract type supplies the root or base type for all topological elements including primitives and complexes. It inherits AbstractGMLType and hence can be identified using the gml:id attribute. + + + + + + + + + + + + + + gml:AbstractTopoPrimitive acts as the base type for all topological primitives. Topology primitives are the atomic (smallest possible) units of a topology complex. +Each topology primitive may contain references to other topology primitives of codimension 2 or more (gml:isolated). Conversely, nodes may have faces as containers and nodes and edges may have solids as containers (gml:container). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + In the case of planar topology, a gml:Node must have a clockwise sequence of gml:directedEdge properties, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). + + + + + + + + + + + gml:Node represents the 0-dimensional primitive. +The optional coboundary of a node (gml:directedEdge) is a sequence of directed edges which are incident on this node. Edges emanating from this node appear in the node coboundary with a negative orientation. +If provided, the aggregationType attribute shall have the value "sequence". +A node may optionally be realised by a 0-dimensional geometric primitive (gml:pointProperty). + + + + + A gml:directedNode property element describes the boundary of topology edges and is used in the support of topological point features via the gml:TopoPoint expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included node is used: start ("-") or end ("+") node. + + + + + + + + + + + + + + + + + + + + + + + + + + gml:Edge represents the 1-dimensional primitive. +The topological boundary of an Edge (gml:directedNode) consists of a negatively directed start Node and a positively directed end Node. +The optional coboundary of an edge (gml:directedFace) is a circular sequence of directed faces which are incident on this edge in document order. In the 2D case, the orientation of the face on the left of the edge is "+"; the orientation of the face on the right on its right is "-". +If provided, the aggregationType attribute shall have the value "sequence". +An edge may optionally be realised by a 1-dimensional geometric primitive (gml:curveProperty). + + + + + A gml:directedEdge property element describes the boundary of topology faces, the coBoundary of topology nodes and is used in the support of topological line features via the gml:TopoCurve expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included edge is used, i.e. forward or reverse. + + + + + + + + + + + + + + + + + + + + + + + If the topological representation exists an unbounded manifold (e.g. Euclidean plane), a gml:Face must indicate whether it is a universal face or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this. NOTE The universal face is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the map represented by the data set. + + + + + + + + gml:Face represents the 2-dimensional topology primitive. +The topological boundary of a face (gml:directedEdge) consists of a sequence of directed edges. If provided, the aggregationType attribute shall have the value "sequence". +The optional coboundary of a face (gml:directedTopoSolid) is a pair of directed solids which are bounded by this face. A positively directed solid corresponds to a solid which lies in the direction of the negatively directed normal to the face in any geometric realisation. +A face may optionally be realised by a 2-dimensional geometric primitive (gml:surfaceProperty). + + + + + The gml:directedFace property element describes the boundary of topology solids, in the coBoundary of topology edges and is used in the support of surface features via the gml:TopoSurface expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included face is used i.e. inward or outward with respect to the surface normal in any geometric realisation. + + + + + + + + + + + + + + + + + + + + + + A gml:TopoSolid must indicate whether it is a universal topo-solid or not, to ensure a lossless topology representation as defined by Kuijpers, et. al. (see OGC 05-102 Topology IPR). The optional universal attribute of type boolean is used to indicate this and the default is fault. NOTE The universal topo-solid is normally not part of any feature, and is used to represent the unbounded portion of the data set. Its interior boundary (it has no exterior boundary) would normally be considered the exterior boundary of the data set. + + + + + + + + gml:TopoSolid represents the 3-dimensional topology primitive. +The topological boundary of a solid (gml:directedFace) consists of a set of directed faces. +A solid may optionally be realised by a 3-dimensional geometric primitive (gml:solidProperty). + + + + + The gml:directedSolid property element describes the coBoundary of topology faces and is used in the support of volume features via the gml:TopoVolume expression, see below. The orientation attribute of type gml:SignType expresses the sense in which the included solid appears in the face coboundary. In the context of a gml:TopoVolume the orientation attribute has no meaning. + + + + + + + + + + + + + + + + + + + + + + The intended use of gml:TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this feature to other features via shared node definitions. + + + + + + + + + + + The gml:topoPointProperty property element may be used in features to express their relationship to the referenced topology node. + + + + + + + + + + + + + + + gml:TopoCurve represents a homogeneous topological expression, a sequence of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of gml:TopoCurve is to appear within a line feature to express the structural and geometric relationships of this feature to other features via the shared edge definitions. +If provided, the aggregationType attribute shall have the value "sequence". + + + + + + + + + + + The gml:topoCurveProperty property element may be used in features to express their relationship to the referenced topology edges. + + + + + + + + + + + + + + + gml:TopoSurface represents a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of gml:TopoSurface is to appear within a surface feature to express the structural and possibly geometric relationships of this surface feature to other features via the shared face definitions. + + + + + + + + + + + The gml:topoSurfaceProperty property element may be used in features to express their relationship to the referenced topology faces. + + + + + + + + + + + + + + + gml:TopoVolume represents a homogeneous topological expression, a set of directed topologic solids, which if realised are isomorphic to a geometric solid primitive. The intended use of gml:TopoVolume is to appear within a solid feature to express the structural and geometric relationships of this solid feature to other features via the shared solid definitions. + + + + + + + + + + + The gml:topoVolumeProperty element may be used in features to express their relationship to the referenced topology volume. + + + + + + + + + + + + + + + + + + + + gml:TopoComplex is a collection of topological primitives. +Each complex holds a reference to its maximal complex (gml:maximalComplex) and optionally to sub- or super-complexes (gml:subComplex, gml:superComplex). +A topology complex contains its primitive and sub-complex members. + + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The property elements gml:subComplex, gml:superComplex and gml:maximalComplex provide an encoding for relationships between topology complexes as described for gml:TopoComplex above. + + + + + The gml:topoPrimitiveMember property element encodes for the relationship between a topology complex and a single topology primitive. + + + + + + + + + + + + The gml:topoPrimitiveMembers property element encodes the relationship between a topology complex and an arbitrary number of topology primitives. + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/units.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/units.xsd new file mode 100755 index 00000000..a4434e6b --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/units.xsd @@ -0,0 +1,178 @@ + + + + units.xsd + See ISO/DIS 17.2. +Several GML Schema components concern or require a reference scale or units of measure. Units are required for quantities that may occur as values of properties of feature types, as the results of observations, in the range parameters of a coverage, and for measures used in Coordinate Reference System definitions. +The basic unit definition is an extension of the general gml:Definition element defined in 16.2.1. Three specialized elements for unit definition are further derived from this. +This model is based on the SI system of units [ISO 1000], which distinguishes between Base Units and Derived Units. +- Base Units are the preferred units for a set of orthogonal fundamental quantities which define the particular system of units, which may not be derived by combination of other base units. +- Derived Units are the preferred units for other quantities in the system, which may be defined by algebraic combination of the base units. +In some application areas Conventional units are used, which may be converted to the preferred units using a scaling factor or a formula which defines a re-scaling and offset. The set of preferred units for all physical quantity types in a particular system of units is composed of the union of its base units and derived units. +Unit definitions are substitutable for the gml:Definition element declared as part of the dictionary model. A dictionary that contains only unit definitions and references to unit definitions is a units dictionary. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + The element gml:unitOfMeasure is a property element to refer to a unit of measure. This is an empty element which carries a reference to a unit of measure definition. + + + + + + + + + A gml:UnitDefinition is a general definition of a unit of measure. This generic element is used only for units for which no relationship with other units or units systems is known. +The content model of gml:UnitDefinition adds three additional properties to gml:Definition, gml:quantityType, gml:quantityTypeReference and gml:catalogSymbol. +The gml:catalogSymbol property optionally gives the short symbol used for this unit. This element is usually used when the relationship of this unit to other units or units systems is unknown. + + + + + + + + + + + + + + + + The gml:quantityType property indicates the phenomenon to which the units apply. This element contains an informal description of the phenomenon or type of physical quantity that is measured or observed. When the physical quantity is the result of an observation or measurement, this term is known as observable type or measurand. +The use of gml:quantityType for references to remote values is deprecated. + + + + + The gml:quantityTypeReference property indicates the phenomenon to which the units apply. The content is a reference to a remote value. + + + + + The catalogSymbol is the preferred lexical symbol used for this unit of measure. +The codeSpace attribute in gml:CodeType identifies a namespace for the catalog symbol value, and might reference the external catalog. The string value in gml:CodeType contains the value of a symbol that should be unique within this catalog namespace. This symbol often appears explicitly in the catalog, but it could be a combination of symbols using a specified algebra of units. + + + + + A base unit is a unit of measure that cannot be derived by combination of other base units within a particular system of units. For example, in the SI system of units, the base units are metre, kilogram, second, Ampere, Kelvin, mole, and candela, for the physical quantity types length, mass, time interval, electric current, thermodynamic temperature, amount of substance and luminous intensity, respectively. +gml:BaseUnit extends generic gml:UnitDefinition with the property gml:unitsSystem, which carries a reference to the units system to which this base unit is asserted to belong. + + + + + + + + + + + + + + Derived units are defined by combination of other units. Derived units are used for quantities other than those corresponding to the base units, such as hertz (s-1) for frequency, Newton (kg.m/s2) for force. Derived units based directly on base units are usually preferred for quantities other than the fundamental quantities within a system. If a derived unit is not the preferred unit, the gml:ConventionalUnit element should be used instead. +The gml:DerivedUnit extends gml:UnitDefinition with the property gml:derivationUnitTerms. + + + + + + + + + + + + + + A set of gml:derivationUnitTerm elements describes a derived unit of measure. Each element carries an integer exponent. The terms are combined by raising each referenced unit to the power of its exponent and forming the product. +This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent may be positive or negative, but not zero. + + + + + + + + + + + + Conventional units that are neither base units nor defined by direct combination of base units are used in many application domains. For example electronVolt for energy, feet and nautical miles for length. In most cases there is a known, usually linear, conversion to a preferred unit which is either a base unit or derived by direct combination of base units. +The gml:ConventionalUnit extends gml:UnitDefinition with a property that describes a conversion to a preferred unit for this physical quantity. When the conversion is exact, the element gml:conversionToPreferredUnit should be used, or when the conversion is not exact the element gml:roughConversionToPreferredUnit is available. Both of these elements have the same content model. The gml:derivationUnitTerm property defined above is included to allow a user to optionally record how this unit may be derived from other ("more primitive") units. + + + + + + + + + + + + + + + + + + The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type. + + + + + The elements gml:conversionToPreferredUnit and gml:roughConversionToPreferredUnit represent parameters used to convert conventional units to preferred units for this physical quantity type. A preferred unit is either a Base Unit or a Derived Unit that is selected for all values of one physical quantity type. + + + + + The inherited attribute uom references the preferred unit that this conversion applies to. The conversion of a unit to the preferred unit for this physical quantity type is specified by an arithmetic conversion (scaling and/or offset). The content model extends gml:UnitOfMeasureType, which has a mandatory attribute uom which identifies the preferred unit for the physical quantity type that this conversion applies to. The conversion is specified by a choice of +- gml:factor, which defines the scale factor, or +- gml:formula, which defines a formula +by which a value using the conventional unit of measure can be converted to obtain the corresponding value using the preferred unit of measure. +The formula defines the parameters of a simple formula by which a value using the conventional unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type double. These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the base unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters. + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/valueObjects.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/valueObjects.xsd new file mode 100755 index 00000000..13413f2a --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gml/3.2.1/valueObjects.xsd @@ -0,0 +1,245 @@ + + + + valueObjects.xsd + See ISO/DIS 19136 17.5. +The elements declared in this Clause build on other GML schema components, in particular gml:AbstractTimeObject, gml:AbstractGeometry, and the following types: gml:MeasureType, gml:MeasureListType, gml:CodeType, gml:CodeOrNilReasonListType, gml:BooleanOrNilReasonListType, gml:IntegerOrNilReasonList. +Of particular interest are elements that are the heads of substitution groups, and one named choice group. These are the primary reasons for the value objects schema, since they may act as variables in the definition of content models, such as Observations, when it is desired to permit alternative value types to occur some of which may have complex content such as arrays, geometry and time objects, and where it is useful not to prescribe the actual value type in advance. The members of the groups include quantities, category classifications, boolean, count, temporal and spatial values, and aggregates of these. +The value objects are defined in a hierarchy. The following relationships are defined: +- Concrete elements gml:Quantity, gml:Category, gml:Count and gml:Boolean are substitutable for the abstract element gml:AbstractScalarValue. +- Concrete elements gml:QuantityList, gml:CategoryList, gml:CountList and gml:BooleanList are substitutable for the abstract element gml:AbstractScalarValueList. +- Concrete element gml:ValueArray is substitutable for the concrete element gml:CompositeValue. +- Abstract elements gml:AbstractScalarValue and gml:AbstractScalarValueList, and concrete elements gml:CompositeValue, gml:ValueExtent, gml:CategoryExtent, gml:CountExtent and gml:QuantityExtent are substitutable for abstract element gml:AbstractValue. +- Abstract elements gml:AbstractValue, gml:AbstractTimeObject and gml:AbstractGeometry are all in a choice group named gml:Value, which is used for compositing in gml:CompositeValue and gml:ValueExtent. +- Schemas which need values may use the abstract element gml:AbstractValue in a content model in order to permit any of the gml:AbstractScalarValues, gml:AbstractScalarValueLists, gml:CompositeValue or gml:ValueExtent to occur in an instance, or the named group gml:Value to also permit gml:AbstractTimeObjects, gml:AbstractGeometrys. + +GML is an OGC Standard. +Copyright (c) 2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. +To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . + + + + + + + + + + + + + + + + + A gml:Category has an optional XML attribute codeSpace, whose value is a URI which identifies a dictionary, codelist or authority for the term. + + + + + + + + + + + + + + + + + + + + + + + An XML attribute uom ("unit of measure") is required, whose value is a URI which identifies the definition of a ratio scale or units by which the numeric value shall be multiplied, or an interval or position scale on which the value occurs. + + + + + + + + + + + + + gml:AbstractValue is an abstract element which acts as the head of a substitution group which contains gml:AbstractScalarValue, gml:AbstractScalarValueList, gml:CompositeValue and gml:ValueExtent, and (transitively) the elements in their substitution groups. +These elements may be used in an application schema as variables, so that in an XML instance document any member of its substitution group may occur. + + + + + gml:AbstractScalarValue is an abstract element which acts as the head of a substitution group which contains gml:Boolean, gml:Category, gml:Count and gml:Quantity, and (transitively) the elements in their substitution groups. + + + + + gml:AbstractScalarValueList is an abstract element which acts as the head of a substitution group which contains gml:BooleanList, gml:CategoryList, gml:CountList and gml:QuantityList, and (transitively) the elements in their substitution groups. + + + + + This is a convenience choice group which unifies generic values defined in this Clause with spatial and temporal objects and the measures described above, so that any of these may be used within aggregate values. + + + + + + + + + + + Property that refers to, or contains, a Value. Convenience element for general use. + + + + + Property that refers to, or contains, a Value. + + + + + + + + + + + + Property that contains Values. + + + + + + + + + + + gml:CompositeValue is an aggregate value built from other values . It contains zero or an arbitrary number of gml:valueComponent elements, and zero or one gml:valueComponents property elements. It may be used for strongly coupled aggregates (vectors, tensors) or for arbitrary collections of values. + + + + + + + + + + + + + + + + A Value Array is used for homogeneous arrays of primitive and aggregate values. +The member values may be scalars, composites, arrays or lists. +ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the members are homogeneous, the gml:referenceSystem (uom, codeSpace) may be specified on the gml:ValueArray itself and inherited by all the members if desired. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmlsfProfile/2.0/gmlsfLevels.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmlsfProfile/2.0/gmlsfLevels.xsd new file mode 100755 index 00000000..6c1e108b --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmlsfProfile/2.0/gmlsfLevels.xsd @@ -0,0 +1,36 @@ + + + + + Compliance levels schema for Simple features GML 3.2 Profile + Copyright (c) 2011 Open Geospatial Consortium. + + + + + + + Level 0 = no complex-valued properties and minOccurs,maxOccurs + have a value domain of 0 or 1 + Level 1 = complex-valued properties with no restriction on + minOccurs and maxOccurs + Level 2 = no restrictions on type of non-spatial scalar properties + but must only support spatial properties declared in + clause 8 + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/catalogues.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/catalogues.xsd new file mode 100755 index 00000000..f611e0f3 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/catalogues.xsd @@ -0,0 +1,174 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 04-27-2005 17:16:11 ====== Handcrafted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/codelistItem.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/codelistItem.xsd new file mode 100755 index 00000000..06b072ee --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/codelistItem.xsd @@ -0,0 +1,197 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-15-2005 09:14:50 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Constraints: - 1) metadataProperty.card = 0 - 2) dictionaryEntry.card = 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Constraint: codeEntry.type = ML_CodeListDefinition + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/crsItem.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/crsItem.xsd new file mode 100755 index 00000000..e4055a1d --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/crsItem.xsd @@ -0,0 +1,1175 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-15-2005 09:15:11 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/extendedTypes.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/extendedTypes.xsd new file mode 100755 index 00000000..dd9a75c8 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/extendedTypes.xsd @@ -0,0 +1,91 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-14-2005 12:00:20 ====== Handcrafted + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmx.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmx.xsd new file mode 100755 index 00000000..d54f83e1 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmx.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-18-2005 11:12:17 ====== + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmxUsage.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmxUsage.xsd new file mode 100755 index 00000000..add0a6a8 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/gmxUsage.xsd @@ -0,0 +1,167 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 04-27-2005 17:15:30 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gmx/uomItem.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/uomItem.xsd new file mode 100755 index 00000000..2ee80840 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gmx/uomItem.xsd @@ -0,0 +1,192 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 03-15-2005 09:15:02 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XML attributes contraints: - 1) Id is mandatory - 2) codeSpace (type xsd:anyURI) is mandatory + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gsr/gsr.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gsr/gsr.xsd new file mode 100755 index 00000000..43868e04 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gsr/gsr.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:24:48 ====== + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gsr/spatialReferencing.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gsr/spatialReferencing.xsd new file mode 100755 index 00000000..17a8a0ec --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gsr/spatialReferencing.xsd @@ -0,0 +1,35 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:24:48 ====== + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gss/geometry.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gss/geometry.xsd new file mode 100755 index 00000000..787e7eb0 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gss/geometry.xsd @@ -0,0 +1,46 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:14:37 ====== The geometry packages (Figure 4) contain the various classes for coordinate geometry. All of these classes through the root class GM_Object inherit an optional association to a coordinate reference system. All direct positions exposed through the interfaces defined in this standard shall be in the coordinate reference system of the geometric object accessed. All elements of a geometric complex, composite, or aggregate shall be associated to the same coordinate reference system. When instances of GM_Object are aggregated in another GM_Object (such as a GM_Aggregate, or GM_Complex) which already has a coordinate reference system specified, then these elements are assumed to be in that same coordinate reference system unless otherwise specified. - The geometry package has several internal packages that separate primitive geometric objects, aggregates and complexes, which have a more elaborate internal structure than simple aggregates. Figure 4 shows the dependencies between the geometry packages as well as a list of classes for each package - Figure 5 shows the basic classes defined in the geometry packages. Any object that inherits the semantics of the GM_Object acts as a set of direct positions. Its behavior will be determined by which direct positions it contains. Objects under GM_Primitive will be open, that is, they will not contain their boundary points; curves will not contain their end points, surfaces will not contain their boundary curves, and solids will not contain their bounding surfaces. Objects under GM_Complex will be closed, that is, they will contain their boundary points. This leads to some apparent ambiguity. A representation of a line as a primitive must reference its end points, but will not contain these points as a set of direct positions. A representation of a line as a complex will also reference its end points, and will contain these points as a set of direct positions. This means that identical digital representations will have slightly different semantics depending on whether they are accessed as primitives or complexes. - This difference of semantics is most striking in the GM_CompositeCurve. Composite curves are used to represent features whose geometry could also be represented as curve primitives. From a cartographic point of view, these two representations are not different. From a topological point of view, they are different. This distinction appears in the inheritance diagram (Figure 5) as an inheritance relationship between GM_CompositeCurve and GM_OrientableCurve. The primary semantics of a GM_CompositeCurve (see 6.6.5) is as a closed GM_Object, but it may also act as an open GM_Object under GM_Primitive operations (see 6.3.10). Interface protocols depending upon the topological details of this object will have to be distinguished as to whether they have been inherited from GM_Primitive or GM_Complex, where the distinction first occurs. Even though these protocols have been inherited from the same operations defined at GM_Object, they will act differently depending upon the branch of the inheritance tree from which they have inherited semantics. Creators of implementation profiles may take this into account and use a proxy mechanism for realization relationships that cause semantic dissonance. Such a procedure will be necessary in object-oriented programming and databases in systems that disallow multiple inheritance or make limiting assumptions about method binding. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gss/gss.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gss/gss.xsd new file mode 100755 index 00000000..1ecaed46 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gss/gss.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:14:37 ====== This package contains the normative (Geometry and Topology) parts of the model for ISO 19107. This document should be referred to as the official description of the Model. If there are any differences, then ISO 19107 takes precedence. - - This packages also contains example (informative) of applications of 19107. + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gts/gts.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gts/gts.xsd new file mode 100755 index 00000000..f3cf38ab --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gts/gts.xsd @@ -0,0 +1,19 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:18:09 ====== + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/gts/temporalObjects.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/gts/temporalObjects.xsd new file mode 100755 index 00000000..7bd59e8c --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/gts/temporalObjects.xsd @@ -0,0 +1,45 @@ + + + + + This file was generated from ISO TC/211 UML class diagrams == 01-26-2005 12:18:09 ====== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20-language.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20-language.xsd new file mode 100755 index 00000000..c2f98302 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20-language.xsd @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20.xsd new file mode 100755 index 00000000..125d7c5f --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/smil20.xsd @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/smil20/xml-mod.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/xml-mod.xsd new file mode 100755 index 00000000..99a11397 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/smil20/xml-mod.xsd @@ -0,0 +1,42 @@ + + + + + + In due course, we should install the relevant ISO 2- and 3-letter + codes as the enumerated possible values . . . + + + + + + + + + + + + + + + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/ReadMe.txt b/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/ReadMe.txt new file mode 100755 index 00000000..40757e5e --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/ReadMe.txt @@ -0,0 +1,10 @@ +Profile made for Kadaster + +--a profile on: + +This XML Schema Document named xlinks.xsd has been stored here based +on the change request: +OGC 05-068r1 "Store xlinks.xsd file at a fixed location" + +Arliss Whiteside, 2005-11-22 + diff --git a/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/xlinks.xsd b/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/xlinks.xsd new file mode 100755 index 00000000..64200e76 --- /dev/null +++ b/brk/doc/dkkv4/schema/dkk-schema-master/xlink/1.0.0/xlinks.xsd @@ -0,0 +1,37 @@ + + + + + + This is the Xlinks Kadaster profile. It constrains the xlinks schema by + 1/ reducing attributes of simple types to @href only, and + 2/ allowing only @href to appear on elements. + 3/ removing reference to xml.xsd + Kadaster also uses GML, and GML uses Xlinks; this profile covers the GML case as well. + + + + + + + + see https://www.geonovum.nl/nieuws/belangrijke-informatie-over-wijziging-ogc-standaarden + + + + + + + + + + + + + + + diff --git a/brk/etl/README.md b/brk/etl/README.md index 29ed82ec..06046d8f 100644 --- a/brk/etl/README.md +++ b/brk/etl/README.md @@ -1,3 +1,4 @@ +# NLExtract - BRK - DKK BRK inlezen met [Stetl ETL framework](http://stetl.org). door: Just van den Broecke en Frank Steggink @@ -37,9 +38,9 @@ unzip: http://gnuwin32.sourceforge.net/packages/unzip.htm ## Commando -``./etl-brk.sh`` +``./etl.sh`` -Windows: ``etl-brk.cmd`` +Windows: ``etl.cmd`` Gebruikt default opties (database params etc) uit ``options/default.args``. @@ -53,7 +54,7 @@ Een aantal opties kunnen op 2 manieren vervangen worden: 1- Impliciet: Overrule default opties (database params etc) met een eigen lokale file gebaseerd op je lokale hostnaam: ``options/.args`` -2- Expliciet op command line via ``./etl-brk.sh .args`` +2- Expliciet op command line via ``./etl.sh .args`` Windows: ``etl-brk.cmd .args`` Indien methode 2 gebruikt wordt, prevaleren de expliciete opties-file boven 1 en de default opties! diff --git a/brk/etl/conf/etl-brk.cfg b/brk/etl/conf/etl-brk.cfg index 69794463..91694cf9 100644 --- a/brk/etl/conf/etl-brk.cfg +++ b/brk/etl/conf/etl-brk.cfg @@ -15,7 +15,7 @@ [etl] chains = input_sql_pre|schema_name_filter|output_postgres, - input_zip_file|extract_zip_file|output_ogr2ogr, + input_zip_file|extract_zip_file|handle_orl|handle_pand|output_ogr2ogr, input_sql_post|schema_name_filter|output_postgres # Alternative chains for testing @@ -23,22 +23,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput -file_path = sql/delete-duplicates.sql +class = stetl.inputs.fileinput.StringFileInput +file_path = sql/delete-duplicates.sql,sql/finalize-tables.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -48,34 +48,58 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = {zip_files_pattern} name_filter = {filename_match} # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # The ogr2ogr command-line, may use any output here, as long as # the input is a GML file. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource dest_data_source = "PG:dbname={database} host={host} port={port} user={user} password={password} active_schema={schema}" # layer creation options will only be added to ogr2ogr on first run -lco = -lco LAUNDER=YES -lco PRECISION=NO +lco = -lco LAUNDER=YES -lco PRECISION=NO -lco FID64=FALSE # spatial_extent, translates to -spat xmin ymin xmax ymax spatial_extent = {spatial_extent} # gfs template gfs_template = {gfs_template} # miscellaneous ogr2ogr options options = -append -gt 65536 {multi_opts} --config PG_USE_COPY NO --config CPL_ZIP_ENCODING CP437 - + +# Filter to copy openbareruimtelabel features with only one position per feature +[handle_orl] +class = stetlbgt.subfeaturehandler.SubFeatureHandler +temp_file = {temp_dir}/orl-tmp.gml +parent_tag_ns = http://www.geostandaarden.nl/imgeo/2.1 +parent_tag_name = OpenbareRuimteLabel +namespace_mapping = imgeo:http://www.geostandaarden.nl/imgeo/2.1 +child_feature_xpath = imgeo:positie +keep_parent_feature = False +# child_feature_alt_tag_name = +# parent_feature_geom_name = + +# Filter to copy pand features with only the main geometry, or only one nummeraanduiding per feature +[handle_pand] +class = stetlbgt.subfeaturehandler.SubFeatureHandler +temp_file = {temp_dir}/pand-tmp.gml +parent_tag_ns = http://www.opengis.net/citygml/building/2.0 +parent_tag_name = BuildingPart +namespace_mapping = imgeo:http://www.geostandaarden.nl/imgeo/2.1 +child_feature_xpath = imgeo:nummeraanduidingreeks[imgeo:Nummeraanduidingreeks] +keep_parent_feature = True +child_feature_alt_tag_name = BuildingPart_nummeraanduiding +parent_feature_geom_name = imgeo:geometrie2dGrondvlak + # Below alternative outputs are meant for testing # The ogr2ogr command-line, may use any output here, as long as # the input is a GML file. @@ -83,7 +107,7 @@ options = -append -gt 65536 {multi_opts} --config PG_USE_COPY NO --config CPL_ZI # Output to GeoPackage File, will contain all Layers [output_ogr2ogr_gpkg] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = GPKG # destination datasource: path to .gpkg output file @@ -100,4 +124,4 @@ options = -append -gt 65536 {multi_opts} --config CPL_ZIP_ENCODING CP437 # Send to stdout [output_std] -class = outputs.standardoutput.StandardOutput +class = stetl.outputs.standardoutput.StandardOutput diff --git a/brk/etl/etl-brk.cmd b/brk/etl/etl.cmd similarity index 96% rename from brk/etl/etl-brk.cmd rename to brk/etl/etl.cmd index 4a3f413b..e4e0fbbb 100644 --- a/brk/etl/etl-brk.cmd +++ b/brk/etl/etl.cmd @@ -2,7 +2,7 @@ :: :: Dit is een front-end/wrapper batch-script om uiteindelijk Stetl met een configuratie :: (etl-brk.cfg) en parameters (options\myoptions.args) aan te roepen. Dit script is -:: gebaseerd op het shell-script etl-brk.sh. +:: gebaseerd op het shell-script etl.sh. :: :: Author: Frank Steggink @echo off diff --git a/brk/etl/etl-brk.sh b/brk/etl/etl.sh similarity index 86% rename from brk/etl/etl-brk.sh rename to brk/etl/etl.sh index 1b89c4ad..4b26eb82 100755 --- a/brk/etl/etl-brk.sh +++ b/brk/etl/etl.sh @@ -13,11 +13,13 @@ if [ -z "$STETL_HOME" ]; then STETL_HOME=../../externals/stetl fi +BGT_HOME=../../bgt/etl + # Nodig voor imports if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=$STETL_HOME + export PYTHONPATH=$STETL_HOME:${BGT_HOME} else - export PYTHONPATH=$STETL_HOME:$PYTHONPATH + export PYTHONPATH=$STETL_HOME:${BGT_HOME}:$PYTHONPATH fi # Default arguments/options @@ -29,7 +31,7 @@ host_options_file=options/`hostname`.args [ -f "$host_options_file" ] && options_file=$host_options_file -# Evt via commandline overrulen: etl-brk.sh +# Evt via commandline overrulen: etl.sh [ -f "$1" ] && options_file=$1 # Uiteindelijke commando. Kan ook gewoon "stetl -c etl-brk.cfg -a ..." worden indien Stetl installed diff --git a/brk/etl/gfs/brk-v3.gfs b/brk/etl/gfs/brk-v3.gfs new file mode 100644 index 00000000..8c264715 --- /dev/null +++ b/brk/etl/gfs/brk-v3.gfs @@ -0,0 +1,213 @@ + + + Annotatie + Annotatie + 1 + urn:ogc:def:crs:EPSG::28992 + + 10000 + 280000 + 300000 + 625000 + + + namespace + identificatie|Nen3610ID|namespace + String + 7 + + + lokaalID + identificatie|Nen3610ID|lokaalID + Integer + + + classificatiecode + classificatiecode + String + 3 + + + rotatiehoek + rotatiehoek + Real + + + tekst + tekst + String + 36 + + + + Bebouwing + Bebouwing + 2 + urn:ogc:def:crs:EPSG::28992 + + 10000 + 280000 + 300000 + 625000 + + + namespace + identificatie|Nen3610ID|namespace + String + 7 + + + lokaalID + identificatie|Nen3610ID|lokaalID + Integer + + + classificatiecode + classificatiecode + String + 3 + + + bron + bron + String + 5 + + + kwaliteit + kwaliteit + String + 2 + + + objectdatum + objectdatum + String + 10 + + + zichtbaarheidscode + zichtbaarheidscode + Integer + + + + KadastraleGrens + KadastraleGrens + 2 + urn:ogc:def:crs:EPSG::28992 + + 10000 + 280000 + 300000 + 625000 + + + namespace + identificatie|NEN3610ID|namespace + String + 24 + + + lokaalID + identificatie|NEN3610ID|lokaalID + Real + + + type + type + String + 14 + + + logischTijdstipOntstaan + historie|KadasterHistorie|logischTijdstipOntstaan + String + 23 + + + logischTijdstipVervallen + historie|KadasterHistorie|logischTijdstipVervallen + String + 23 + + + + Perceel + Perceel + + urn:ogc:def:crs:EPSG::28992 + + 10000 + 280000 + 300000 + 625000 + + + namespace + identificatie|NEN3610ID|namespace + String + 25 + + + lokaalID + identificatie|NEN3610ID|lokaalID + Integer + + + logischTijdstipOntstaan + historie|KadasterHistorie|logischTijdstipOntstaan + String + 23 + + + gemeente + kadastraleAanduiding|TypeKadastraleAanduiding|kadastraleGemeente|KadastraleGemeenteKeuze|AKRKadastraleGemeenteCode + String + 5 + + + sectie + kadastraleAanduiding|TypeKadastraleAanduiding|sectie + String + 2 + + + perceelnummer + kadastraleAanduiding|TypeKadastraleAanduiding|perceelnummer + Integer + + + waarde + kadastraleGrootte|TypeOppervlak|waarde + Integer + + + perceelnummerRotatie + perceelnummerRotatie + Real + + + deltaX + perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaX + Real + + + deltaY + perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaY + Real + + + begrenzing + + begrenzingPerceel + + Polygon + + + plaatscoordinaten + plaatscoordinaten + Point + + + \ No newline at end of file diff --git a/brk/etl/gfs/brk.gfs b/brk/etl/gfs/brk.gfs index 8c264715..050a336b 100644 --- a/brk/etl/gfs/brk.gfs +++ b/brk/etl/gfs/brk.gfs @@ -1,8 +1,8 @@ - Annotatie - Annotatie - 1 + KadastraleGrens + KadastraleGrens + 2 urn:ogc:def:crs:EPSG::28992 10000 @@ -12,37 +12,75 @@ namespace - identificatie|Nen3610ID|namespace + identificatie|namespace String - 7 + 25 lokaalID - identificatie|Nen3610ID|lokaalID + identificatie|lokaalID + String + + + beginGeldigheid + historie|beginGeldigheid + String + 23 + + + eindGeldigheid + historie|eindGeldigheid + String + 23 + + + tijdstipRegistratie + historie|tijdstipRegistratie + String + 23 + + + eindRegistratie + historie|eindRegistratie + String + 23 + + + historievolgnummer + historie|volgnummer Integer - classificatiecode - classificatiecode + historiestatuscode + typeGrens|TypeGrens|code String - 3 + 1 - rotatiehoek - rotatiehoek - Real + typegrens + typeGrens|TypeGrens|code + Integer - tekst - tekst + perceellinkslokaalID + perceelLinks|lokaalID String - 36 + + perceelrechtslokaalID + perceelRechts|lokaalID + String + + + + + + - Bebouwing - Bebouwing - 2 + Perceel + Perceel + urn:ogc:def:crs:EPSG::28992 10000 @@ -52,49 +90,127 @@ namespace - identificatie|Nen3610ID|namespace + identificatie|namespace String - 7 + 25 lokaalID - identificatie|Nen3610ID|lokaalID + identificatie|lokaalID + String + + + beginGeldigheid + historie|beginGeldigheid + String + 23 + + + eindGeldigheid + historie|eindGeldigheid + String + 23 + + + tijdstipRegistratie + historie|tijdstipRegistratie + String + 23 + + + eindRegistratie + historie|eindRegistratie + String + 23 + + + historievolgnummer + historie|volgnummer Integer - classificatiecode - classificatiecode + historiestatuscode + historie|statusHistorie|StatusHistorie|code String - 3 + 1 - bron - bron + akrgemeentecode + kadastraleAanduiding|TypeKadastraleAanduiding|aKRKadastraleGemeenteCode|AKRKadastraleGemeenteCode|code String 5 - kwaliteit - kwaliteit + akrgemeente + kadastraleAanduiding|TypeKadastraleAanduiding|aKRKadastraleGemeenteCode|AKRKadastraleGemeenteCode|waarde String - 2 + 5 - objectdatum - objectdatum + kadgemeentecode + kadastraleAanduiding|TypeKadastraleAanduiding|kadastraleGemeente|KadastraleGemeente|code String - 10 + 5 + + + kadgemeente + kadastraleAanduiding|TypeKadastraleAanduiding|kadastraleGemeente|KadastraleGemeente|waarde + String + 64 - zichtbaarheidscode - zichtbaarheidscode + sectie + kadastraleAanduiding|TypeKadastraleAanduiding|sectie + String + 2 + + + perceelnummer + kadastraleAanduiding|TypeKadastraleAanduiding|perceelnummer Integer - + + oppervlakte + kadastraleGrootte|TypeOppervlak|waarde + Real + + + perceelnummerRotatie + perceelnummerRotatie + Real + + + deltaX + perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaX + Real + + + deltaY + perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaY + Real + + + begrenzing + + begrenzingPerceel + + Polygon + + + plaatscoordinaten + plaatscoordinaten + Point + + + - KadastraleGrens - KadastraleGrens - 2 + Pand + BuildingPart + + geometrie_vlak + geometrie2dGrondvlak + MultiSurface + urn:ogc:def:crs:EPSG::28992 10000 @@ -102,112 +218,306 @@ 300000 625000 + + + LV_publicatiedatum + LV-publicatiedatum + String + 23 + + + relatieveHoogteligging + relatieveHoogteligging + Integer + + + inOnderzoek + inOnderzoek + String + 5 + + + tijdstipRegistratie + tijdstipRegistratie + String + 23 + + + eindRegistratie + eindRegistratie + String + 23 + namespace identificatie|NEN3610ID|namespace String - 24 + 8 lokaalID identificatie|NEN3610ID|lokaalID - Real + String + 38 + + + - type - type + bronhouder + bronhouder String - 14 + 5 - logischTijdstipOntstaan - historie|KadasterHistorie|logischTijdstipOntstaan + bgt_status + bgt-status String - 23 + 255 - logischTijdstipVervallen - historie|KadasterHistorie|logischTijdstipVervallen + plus_status + plus-status String - 23 + 255 - + + + + identificatieBAGPND + identificatieBAGPND + String + 16 + + + - Perceel - Perceel - - urn:ogc:def:crs:EPSG::28992 + Pand_nummeraanduiding + BuildingPart_nummeraanduiding + + geometrie_nummeraanduiding + nummeraanduidingreeks|Nummeraanduidingreeks|nummeraanduidingreeks|Label|positie|Labelpositie|plaatsingspunt + Point + + EPSG:28992 10000 280000 300000 625000 + namespace identificatie|NEN3610ID|namespace String - 25 + 8 lokaalID identificatie|NEN3610ID|lokaalID - Integer + String + 38 + + - logischTijdstipOntstaan - historie|KadasterHistorie|logischTijdstipOntstaan + objectBeginTijd + creationDate + String + 10 + + + objectEindTijd + terminationDate + String + 10 + + + tijdstipRegistratie + tijdstipRegistratie + String + 23 + + + eindRegistratie + eindRegistratie String 23 - gemeente - kadastraleAanduiding|TypeKadastraleAanduiding|kadastraleGemeente|KadastraleGemeenteKeuze|AKRKadastraleGemeenteCode + LV_publicatiedatum + LV-publicatiedatum + String + 23 + + + bronhouder + bronhouder String 5 - sectie - kadastraleAanduiding|TypeKadastraleAanduiding|sectie + inOnderzoek + inOnderzoek String - 2 + 5 - perceelnummer - kadastraleAanduiding|TypeKadastraleAanduiding|perceelnummer + relatieveHoogteligging + relatieveHoogteligging Integer - waarde - kadastraleGrootte|TypeOppervlak|waarde - Integer + bgt_status + bgt-status + String + 255 - perceelnummerRotatie - perceelnummerRotatie - Real + plus_status + plus-status + String + 255 - deltaX - perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaX - Real + identificatieBAGPND + identificatieBAGPND + String + 16 + + - deltaY - perceelnummerVerschuiving|TypePerceelnummerVerschuiving|deltaY + nummeraanduidingtekst + nummeraanduidingreeks|Nummeraanduidingreeks|nummeraanduidingreeks|Label|tekst + String + 255 + + + nummeraanduidinghoek + nummeraanduidingreeks|Nummeraanduidingreeks|nummeraanduidingreeks|Label|positie|Labelpositie|hoek Real + + identificatieBAGVBOLaagsteHuisnummer + nummeraanduidingreeks|Nummeraanduidingreeks|identificatieBAGVBOLaagsteHuisnummer + String + 16 + + + identificatieBAGVBOHoogsteHuisnummer + nummeraanduidingreeks|Nummeraanduidingreeks|identificatieBAGVBOHoogsteHuisnummer + String + 16 + + + + + OpenbareRuimteLabel + OpenbareRuimteLabel - begrenzing - - begrenzingPerceel - - Polygon - - - plaatscoordinaten - plaatscoordinaten + geometrie_punt + openbareRuimteNaam|Label|positie|Labelpositie|plaatsingspunt Point + EPSG:28992 + + 10000 + 280000 + 300000 + 625000 + + + + LV_publicatiedatum + LV-publicatiedatum + String + 23 + + + relatieveHoogteligging + relatieveHoogteligging + Integer + + + inOnderzoek + inOnderzoek + String + 5 + + + tijdstipRegistratie + tijdstipRegistratie + String + 23 + + + eindRegistratie + eindRegistratie + String + 23 + + + namespace + identificatie|NEN3610ID|namespace + String + 8 + + + lokaalID + identificatie|NEN3610ID|lokaalID + String + 38 + + + + + + bronhouder + bronhouder + String + 5 + + + bgt_status + bgt-status + String + 255 + + + plus_status + plus-status + String + 255 + + + + + + identificatieBAGOPR + identificatieBAGOPR + String + 255 + + + tekst + openbareRuimteNaam|Label|tekst + String + 255 + + + hoek + openbareRuimteNaam|Label|positie|Labelpositie|hoek + Real + + + openbareRuimteType + openbareRuimteType + String + 255 + + - \ No newline at end of file + + diff --git a/brk/etl/sql/delete-duplicates.sql b/brk/etl/sql/delete-duplicates.sql index 74cfb70c..d10c60c5 100644 --- a/brk/etl/sql/delete-duplicates.sql +++ b/brk/etl/sql/delete-duplicates.sql @@ -34,10 +34,9 @@ END; $$ LANGUAGE plpgsql; -SELECT _nlx_dedup_data('annotatie'); -SELECT _nlx_dedup_data('bebouwing'); +SELECT _nlx_dedup_data('pand'); +-- SELECT _nlx_dedup_data('pand_nummeraanduiding'); SELECT _nlx_dedup_data('kadastralegrens'); - SELECT _nlx_dedup_data('perceel'); DROP FUNCTION _nlx_dedup_data(tablename VARCHAR); diff --git a/brk/etl/sql/drop-tables.sql b/brk/etl/sql/drop-tables.sql index 3e4182fa..cb46ae10 100644 --- a/brk/etl/sql/drop-tables.sql +++ b/brk/etl/sql/drop-tables.sql @@ -3,8 +3,9 @@ SET search_path={schema},public; -DROP TABLE IF EXISTS annotatie; -DROP TABLE IF EXISTS bebouwing; +DROP TABLE IF EXISTS pand; +DROP TABLE IF EXISTS pand_nummeraanduiding; +DROP TABLE IF EXISTS openbareruimtelabel; DROP TABLE IF EXISTS kadastralegrens; DROP TABLE IF EXISTS perceel; diff --git a/brk/etl/sql/finalize-tables.sql b/brk/etl/sql/finalize-tables.sql new file mode 100644 index 00000000..b2c01c64 --- /dev/null +++ b/brk/etl/sql/finalize-tables.sql @@ -0,0 +1,29 @@ +-- Auteur: Just van den Broecke +-- Doel: diverse aanpassingen tabellen + +SET search_path={schema},public; + +-- Function to conditionally rename a column +CREATE OR REPLACE FUNCTION _nlx_renamecolumn(tbl VARCHAR, oldname VARCHAR, newname VARCHAR) +RETURNS bool AS +$$ +BEGIN + + IF EXISTS (SELECT 1 + FROM information_schema.columns + WHERE table_schema='{schema}' AND table_name=tbl AND column_name=oldname) THEN + EXECUTE FORMAT('ALTER TABLE %s RENAME COLUMN %s TO %s', tbl, oldname, newname); + RETURN TRUE; + ELSE + RETURN FALSE; + END IF; + +END; +$$ +LANGUAGE plpgsql; + + +select _nlx_renamecolumn('kadastralegrens', 'wkb_geometry', 'grenslijn'); + +-- Mogelijk later: unieke kad_key +-- cast(gemeente || sectie || lpad(cast(perceelnummer as character varying(5)), 5, '00000') || 'G0000' as character varying(256)) as kad_key, diff --git a/brk/etl/test/brk-dump.sh b/brk/etl/test/brk-dump.sh new file mode 100755 index 00000000..ff99cedc --- /dev/null +++ b/brk/etl/test/brk-dump.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Maak DB dump. +# + +export PGPASSWORD=postgres + +pg_dump \ +--host localhost \ +--port 5432 \ +--username postgres \ +--no-password \ +--format custom \ +--no-owner \ +--compress 7 \ +--encoding UTF8 \ +--verbose \ +--file brk-test.dump \ +--schema test \ +brk diff --git a/brk/etl/test/brk-restore.sh b/brk/etl/test/brk-restore.sh new file mode 100755 index 00000000..e995cf0e --- /dev/null +++ b/brk/etl/test/brk-restore.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Restore BAG made with bag-dump.sh. +# +# Author: Just van den Broecke - 2020 +# + +export PGPASSWORD=postgres +pg_restore -Fc -d brk -h localhost -p 5432 -U postgres brk-test.dump diff --git a/brk/etl/test/input-v3/fl/Annotatie.gml b/brk/etl/test/input-v3/fl/Annotatie.gml new file mode 100755 index 00000000..ca9ef484 --- /dev/null +++ b/brk/etl/test/input-v3/fl/Annotatie.gml @@ -0,0 +1,182 @@ + + + + + + GBKN.NL + 3582510 + + + Z07 + + + 152907.448 476942.491 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582525 + + + Z07 + + + 153162.637 476675.336 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582445 + + + Z07 + + + 151125.335 478663.453 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582321 + + + Z07 + + + 164850.0 476712.667 + + + 0 + Nuldernauw + + + + + + + GBKN.NL + 3582362 + + + Z07 + + + 150849.363 478884.778 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582370 + + + Z07 + + + 150478.449 479237.137 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582393 + + + Z07 + + + 154086.245 475727.436 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582397 + + + Z07 + + + 153638.703 476246.322 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582405 + + + Z07 + + + 153927.242 475957.77 + + + 0 + Eemmeer + + + + + + + GBKN.NL + 3582413 + + + Z07 + + + 151601.212 478184.283 + + + 0 + Eemmeer + + + \ No newline at end of file diff --git a/brk/etl/test/input-v3/fl/Bebouwing.gml b/brk/etl/test/input-v3/fl/Bebouwing.gml new file mode 100755 index 00000000..2645251d --- /dev/null +++ b/brk/etl/test/input-v3/fl/Bebouwing.gml @@ -0,0 +1,202 @@ + + + + + + GBKN.NL + 33055926 + + + B01 + NOP + + + 185068.855 515687.206 184994.288 515805.582 185170.481 515916.57 185213.757 515847.869 185220.775 515852.29 185225.441 515844.883 185229.271 515847.296 185241.521 515827.849 + + + T3 + 2004-06-25 + 0 + + + + + + + GBKN.NL + 33055927 + + + B01 + NOP + + + 185314.256 515841.934 185755.893 516119.959 185736.469 516150.814 185722.945 516142.301 185686.017 516200.961 185685.716 516200.774 + + + T3 + 2004-06-25 + 0 + + + + + + + GBKN.NL + 33084383 + + + B04 + Lely + + + 163149.567 500685.64 163156.35 500685.04 163164.1 500683.79 163171.87 500682.38 163177.92 500680.74 163180.42 500679.91 163184.48 500678.36 163187.42 500677.07 163191.87 500675.01 163197.15 500672.95 163202.9 500671.22 163209.9 500669.7 163216.97 500668.82 163224.46 500668.69 163231.99 500669.3 163239.21 500670.56 163246.2 500672.43 163252.2 500674.65 163259.74 500677.58 163271.82 500682.36 163281.73 500686.23 163288.41 500688.83 163293.2 500690.53 163298.11 500691.9 163303.08 500692.91 163308.11 500693.52 163313.75 500693.85 163318.28 500693.83 163324.93 500693.27 163331.44 500692.23 163338.19 500691.05 163343.3 500689.81 163348.91 500688.1 163354.8 500685.74 163359.96 500683.1 163364.92 500680.02 163369.49 500676.71 163374.32 500672.59 163380.43 500666.17 163386.54 500658.85 163391.71 500652.83 163396.04 500647.46 163406.686 500634.711 163409.237 500636.868 + + + T2 + 2006-05-01 + 0 + + + + + + + GBKN.NL + 33165969 + + + B01 + Lely + + + 157752.241 502012.47 157660.648 501933.924 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33165970 + + + B01 + Lely + + + 157745.439 502020.403 157653.846 501941.857 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33166162 + + + B04 + Lely + + + 157589.703 504422.242 157590.745 504422.191 157599.387 504421.594 157702.958 504415.035 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33166662 + + + B01 + Lely + + + 158383.43 501541.52 158500.91 501548.72 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33166819 + + + B01 + Lely + + + 158798.621 501696.751 158801.056 501656.78 158870.94 501661.088 158868.475 501701.029 158798.621 501696.751 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33166822 + + + B01 + Lely + + + 158775.006 501060.009 158750.127 501058.406 158749.364 501070.091 158750.561 501070.169 158749.922 501079.958 158773.603 501081.504 158772.224 501102.619 158797.47 501104.267 158797.571 501102.72 158806.353 501103.294 158806.99 501093.529 158808.166 501093.624 158809.437 501073.608 158808.201 501073.528 158808.811 501063.787 158800.081 501063.304 158800.159 501061.765 158775.006 501060.009 + + + T2 + 2005-11-01 + 0 + + + + + + + GBKN.NL + 33167160 + + + B01 + Lely + + + 160655.388 500381.469 160647.746 500505.382 + + + T2 + 2005-11-01 + 0 + + + \ No newline at end of file diff --git a/brk/etl/test/input-v3/fl/Kadastralegrens.gml b/brk/etl/test/input-v3/fl/Kadastralegrens.gml new file mode 100755 index 00000000..74f892ed --- /dev/null +++ b/brk/etl/test/input-v3/fl/Kadastralegrens.gml @@ -0,0 +1,212 @@ + + + + + + NL.IMKAD.KadastraleGrens + 120056341 + + + + + 169041.946 523602.993 169099.904 523596.3 169137.118 523595.939 + + + Definitief + + + 2015-04-20T11:41:19.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120058055 + + + + + 140118.537 488765.782 140104.37 488758.14 140103.63 488757.29 140103.539 488756.978 140103.471 488756.621 140103.441 488756.258 140103.45 488755.895 140103.496 488755.534 140103.58 488755.18 140104.902 488752.812 + + + Definitief + + + 2015-04-20T07:31:39.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120062019 + + + + + 169846.142 525672.287 169846.102 525668.788 169841.544 525668.84 169841.584 525672.339 169846.142 525672.287 + + + Definitief + + + 2015-04-20T15:45:57.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120064639 + + + + + 169856.634 525562.824 169856.899 525588.841 + + + Definitief + + + 2015-04-20T15:45:57.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120066483 + + + + + 169856.61 525560.53 169856.634 525562.824 + + + Definitief + + + 2015-04-20T15:45:57.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120070949 + + + + + 169783.31 525103.657 169783.398 525112.277 + + + Definitief + + + 2015-04-20T13:39:41.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120086841 + + + + + 169751.946 521793.775 169752.328 521777.239 + + + Definitief + + + 2015-04-20T09:42:24.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120094318 + + + + + 141143.057 488302.244 141148.823 488303.12 141155.443 488307.419 141220.041 488363.381 141265.556 488402.096 141313.792 488442.654 141350.322 488473.165 141384.002 488500.007 141397.283 488510.505 + + + Definitief + + + 2015-04-20T14:35:54.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120101568 + + + + + 169489.336 523879.491 169504.23 523879.367 + + + Definitief + + + 2015-04-20T11:41:19.000 + + + + + + + + + NL.IMKAD.KadastraleGrens + 120102165 + + + + + 169479.74 524778.792 169847.578 524774.836 + + + Definitief + + + 2015-04-20T13:39:41.000 + + + + + \ No newline at end of file diff --git a/brk/etl/test/input-v3/fl/Perceel.gml b/brk/etl/test/input-v3/fl/Perceel.gml new file mode 100755 index 00000000..0f618106 --- /dev/null +++ b/brk/etl/test/input-v3/fl/Perceel.gml @@ -0,0 +1,522 @@ + + + + + + NL.IMKAD.KadastraalObject + 120090993 + + + + + 2009-03-27T23:59:59.000 + + + + + + + LLS00 + + + M + 1916 + + + + + + + 159853.064 504107.836 159847.875 504107.52 159847.889 504107.291 159843.934 504107.05 159844.077 504104.714 159840.124 504104.475 159840.138 504104.245 159837.943 504104.112 159828.215 504105.112 159828.566 504099.313 159853.49 504100.829 159853.064 504107.836 + + + + + + + 138 + + + 0 + + + 0 + 0 + + + + + 159834.397 504102.044 + + + + + + + + + NL.IMKAD.KadastraalObject + 120031707 + + + + + 2009-03-27T23:59:59.000 + + + + + + + AMR04 + + + O + 3322 + + + + + + + 142297.955 488158.182 142292.846 488159.934 142287.48 488161.773 142287.22 488160.94 142282.27 488162.68 142279.996 488156.029 142280.211 488155.978 142290.717 488152.387 142302.14 488148.533 142304.635 488155.889 142303.064 488156.428 142297.955 488158.182 + + + + + + + 178 + + + 0 + + + 0 + 0 + + + + + 142297.741 488153.791 + + + + + + + + + NL.IMKAD.KadastraalObject + 120118807 + + + + + 2009-03-27T23:59:59.000 + + + + + + + AMR04 + + + P + 3907 + + + + + + + 145934.344 488719.056 145946.84 488697.98 145962.512 488707.272 145950.016 488728.348 145948.302 488727.332 145934.344 488719.056 + + + + + + + 446 + + + 0 + + + 0 + 0 + + + + + 145946.299 488720.497 + + + + + + + + + NL.IMKAD.KadastraalObject + 120028713 + + + + + 2009-03-27T23:59:59.000 + + + + + + + NOP00 + + + AZ + 5765 + + + + + + + 179073.51 526022.37 179078.88 526008.13 179106.47 526018.42 179101.16 526032.69 179073.51 526022.37 + + + + + + + 449 + + + 0 + + + 0 + 0 + + + + + 179098.282 526021.974 + + + + + + + + + NL.IMKAD.KadastraalObject + 120080509 + + + + + 2009-03-27T23:59:59.000 + + + + + + + NOP00 + + + AZ + 6610 + + + + + + + 179101.825 525960.919 179102.491 525959.155 179125.426 525967.726 179124.73 525969.6 179101.825 525960.919 + + + + + + + 48 + + + 0 + + + 9.91 + -7.03 + + + + + 179110.695 525963.035 + + + + + + + + + NL.IMKAD.KadastraalObject + 120028711 + + + + + 2009-03-27T23:59:59.000 + + + + + + + NOP00 + + + AZ + 4804 + + + + + + + 179081.967 526090.269 179053.905 526079.856 179060.084 526062.948 179088.333 526073.407 179081.967 526090.269 + + + + + + + 537 + + + 0 + + + 0 + 0 + + + + + 179078.204 526080.649 + + + + + + + + + NL.IMKAD.KadastraalObject + 120117019 + + + + + 2009-03-27T23:59:59.000 + + + + + + + URK00 + + + C + 1651 + + + + + + + 170360.592 519843.129 170360.46 519834.54 170385.48 519834.15 170385.608 519843.084 170380.714 519843.044 170379.726 519843.036 170379.727 519843.186 170369.731 519843.232 170369.73 519843.082 170366.831 519843.097 170360.592 519843.129 + + + + + + + 220 + + + 0 + + + 0 + 0 + + + + + 170364.144 519841.143 + + + + + + + + + NL.IMKAD.KadastraalObject + 120077624 + + + + + 2009-03-27T23:59:59.000 + + + + + + + AMR04 + + + O + 4482 + + + + + + + 142843.383 489401.349 142847.654 489405.223 142820.111 489433.989 142814.704 489428.794 142842.093 489400.178 142843.383 489401.349 + + + + + + + 298 + + + 0 + + + 0 + 0 + + + + + 142836.7 489410.792 + + + + + + + + + NL.IMKAD.KadastraalObject + 120119310 + + + + + 2009-03-27T23:59:59.000 + + + + + + + AMR04 + + + Q + 5520 + + + + + + + 140705.624 485891.597 140697.427 485899.962 140690.119 485907.418 140687.6 485909.988 140683.314 485905.788 140685.834 485903.219 140693.141 485895.762 140701.339 485887.398 140705.624 485891.597 + + + + + + + 155 + + + -45.6 + + + 0 + 0 + + + + + 140699.526 485894.281 + + + + + + + + + NL.IMKAD.KadastraalObject + 120095784 + + + + + 2009-03-27T23:59:59.000 + + + + + + + AMR04 + + + Q + 4128 + + + + + + + 141399.817 485717.562 141408.171 485714.706 141419.27 485710.911 141423.999 485709.294 141427.16 485718.542 141422.281 485720.211 141411.333 485723.955 141402.978 485726.812 141402.854 485726.448 141399.817 485717.562 + + + + + + + 250 + + + 0 + + + 0 + 0 + + + + + 141406.101 485720.887 + + + + + \ No newline at end of file diff --git a/brk/etl/test/input-v4/files/dkk_kadastralegrens.gml b/brk/etl/test/input-v4/files/dkk_kadastralegrens.gml new file mode 100644 index 00000000..c046dc85 --- /dev/null +++ b/brk/etl/test/input-v4/files/dkk_kadastralegrens.gml @@ -0,0 +1,182 @@ + + + + + + 2006-08-11T15:55:45.000 + 2006-08-11T15:55:45.000 + 0 + + + G + Geldig + + + + + NL.IMKAD.KadastraleGrens + 230041151 + + 119282.363 481964.963 119288.454 481964.761 + + + 3 + Definitief + + + + NL.IMKAD.KadastraalObject + 11720047170000 + + + NL.IMKAD.KadastraalObject + 11720047070000 + + + + + + + 2006-08-11T15:55:45.000 + 2006-08-11T15:55:45.000 + 0 + + + G + Geldig + + + + + NL.IMKAD.KadastraleGrens + 230041152 + + 119282.378 481967.792 119282.394 481970.792 + + + 3 + Definitief + + + + NL.IMKAD.KadastraalObject + 11720046870000 + + + NL.IMKAD.KadastraalObject + 11720047270000 + + + + + + + 2006-08-11T15:55:45.000 + 2006-08-11T15:55:45.000 + 0 + + + G + Geldig + + + + + NL.IMKAD.KadastraleGrens + 230041153 + + 119282.378 481967.792 119288.488 481967.760 + + + 3 + Definitief + + + + NL.IMKAD.KadastraalObject + 11720047270000 + + + NL.IMKAD.KadastraalObject + 11720047170000 + + + + + + + 2006-08-11T15:55:45.000 + 2006-08-11T15:55:45.000 + 0 + + + G + Geldig + + + + + NL.IMKAD.KadastraleGrens + 230041154 + + 119282.394 481970.792 119288.504 481970.760 + + + 3 + Definitief + + + + NL.IMKAD.KadastraalObject + 11720047370000 + + + NL.IMKAD.KadastraalObject + 11720047270000 + + + + + + + 2019-10-23T12:56:53.000 + 2019-10-23T12:57:28.000 + 0 + + + G + Geldig + + + + + NL.IMKAD.KadastraleGrens + 230041155 + + 119282.464 481973.926 119288.520 481973.890 119288.504 481970.760 + + + 3 + Definitief + + + + NL.IMKAD.KadastraalObject + 11720511170000 + + + NL.IMKAD.KadastraalObject + 11720047370000 + + + + diff --git a/brk/etl/test/input-v4/files/dkk_openbareruimtelabel.gml b/brk/etl/test/input-v4/files/dkk_openbareruimtelabel.gml new file mode 100644 index 00000000..3f73b29c --- /dev/null +++ b/brk/etl/test/input-v4/files/dkk_openbareruimtelabel.gml @@ -0,0 +1,483 @@ + + + + + 2015-05-18 + 2016-11-03T13:31:29 + 0 + false + 2016-11-03T11:49:21.000 + + + NL.IMGeo + G0358.00df515610c947ceb2ec9eeec7c4897e + + + G0362 + bestaand + geenWaarde + 0362300000030902 + + + Meerhuysen + + + 119157.696 480295.029 + 1.4 + + + + + 119192.337 480326.194 + -88.9 + + + + + 119190.653 480261.763 + -88.9 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.04490e93d78e404e9d2b2158f5fa7f8b + + + G0362 + bestaand + geenWaarde + 0362300000046191 + + + Spoorlaan + + + 118385.893 480386.343 + -85.6 + + + + + 118383.987 480432.681 + -85.8 + + + + + 118382.386 480258.144 + -89.4 + + + + + Weg + + + + + 2015-05-18 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0358.04a3f0ff0b4a448dbd54a24d38ed8b1f + + + G0362 + bestaand + geenWaarde + 0362300000035955 + + + Oud Mijl + + + 119152.255 480234.299 + 1.5 + + + + + 119220.247 480232.405 + 1.4 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.081ea387e7494fb8b1577faa0f1fe134 + + + G0362 + bestaand + geenWaarde + 0362300000037516 + + + De Pauwentuin + + + 119703.612 480276.389 + -88.5 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.0880c07bf9a0446bb94594aba09c9486 + + + G0362 + bestaand + geenWaarde + 0362300000018384 + + + Hoeksewaard + + + 119575.521 481441.740 + 2.6 + + + + + 119616.219 481391.421 + -87.2 + + + + + 119576.665 481393.777 + 3 + + + + + 119572.202 481339.556 + 3 + + + + + Weg + + + + + 2015-05-18 + 2017-09-27T13:53:36 + 0 + false + 2017-09-27T09:27:03.000 + + + NL.IMGeo + G0358.099cc457c0fa4b59969011a341388990 + + + G0362 + bestaand + geenWaarde + 0362300000001031 + + + Princesselaan + + + 118520.810 480959.866 + -87.8 + + + + + 118659.475 480909.937 + 2.6 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.0b43107292ea45f5805dd793945659ea + + + G0362 + bestaand + geenWaarde + 0362300000041688 + + + Rodenburghlaan + + + 118965.984 480232.404 + -88.4 + + + + + 118969.348 480350.387 + -88.5 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.0d538526ede546ec87222a08692c77a1 + + + G0362 + bestaand + geenWaarde + 0362300000004502 + + + De Beerebijt + + + 119735.158 480351.205 + 1.4 + + + + + 119674.278 480352.839 + 1.5 + + + + + Weg + + + + + 2015-05-18 + 2016-11-03T13:31:29 + 0 + false + 2016-11-03T11:49:21.000 + + + NL.IMGeo + G0358.0da839ece7454365830211e6eca313e9 + + + G0362 + bestaand + geenWaarde + 0362300000041025 + + + Rie Cramerstraat + + + 120116.207 481055.520 + 74.3 + + + + + 120060.647 481039.564 + 74.3 + + + + + 119988.440 480981.741 + -15.7 + + + + + 120036.163 480995.475 + -15.6 + + + + + 120090.631 481010.838 + -16 + + + + + 120001.217 481015.784 + 74.3 + + + + + Weg + + + + + 2015-05-18 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0358.0e5471dc90374fd7a410ff578ee9537a + + + G0362 + bestaand + geenWaarde + 0362300000029807 + + + Margriete van Clevelaan + + + 119009.512 481508.532 + -86.3 + + + + + 119018.325 481644.984 + 88.1 + + + + + Weg + + + + + 2015-05-18 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0358.0eaefcf98be2429095173914a3881c3a + + + G0362 + bestaand + geenWaarde + 0362300000045764 + + + Smeenklaan + + + 117904.685 480184.141 + 7.2 + + + + + 118051.339 480167.664 + 7.2 + + + + + Weg + + + + + 2015-05-18 + 2016-07-13T10:07:57 + 0 + false + 2016-07-13T07:32:02.000 + + + NL.IMGeo + G0358.11134949750343acb96a6f534d4b394a + + + G0362 + bestaand + geenWaarde + 0362300000019585 + + + Iepenrodelaan + + + 119334.632 481539.320 + -87.5 + + + + + Weg + + + diff --git a/brk/etl/test/input-v4/files/dkk_pand.gml b/brk/etl/test/input-v4/files/dkk_pand.gml new file mode 100644 index 00000000..30ded9fb --- /dev/null +++ b/brk/etl/test/input-v4/files/dkk_pand.gml @@ -0,0 +1,474 @@ + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.07a7d566b46949b29a2d80fc9e20b7fd + + + G0362 + bestaand + geenWaarde + 0362100001083912 + 119183.675 480439.880 119183.682 480440.215 119183.582 480440.217 119183.631 480442.766 119183.731 480442.764 119183.745 480443.514 119183.095 480443.526 119178.621 480443.612 119178.644 480444.807 119169.541 480445.040 119169.537 480444.820 119169.031 480430.858 119169.551 480430.843 119176.414 480430.659 119176.556 480436.446 119176.645 480440.043 119183.675 480439.880 + + + + + 8-8B + + + 119173.243 480433.795 + 1.5 + + + + + 0362010002038979 + 0362010002209638 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-09-04T11:32:58.000 + + + NL.IMGeo + G0362.00083b85a0914e1c8eb549e3c25691eb + + + G0362 + bestaand + geenWaarde + 0362100001088216 + 119491.000 480827.537 119490.828 480827.543 119490.838 480827.823 119490.658 480827.829 119490.648 480827.549 119484.832 480827.746 119484.435 480818.527 119484.378 480816.657 119484.351 480815.755 119490.456 480815.549 119490.477 480816.221 119490.544 480818.340 119491.000 480827.537 + + + + + 6 + + + 119487.762 480824.645 + 1.9 + + + + + 0362010002007528 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-08-27T14:17:57.000 + + + NL.IMGeo + G0362.0076fefbce0b4c6ea03d97f208c7f2a1 + + + G0362 + bestaand + geenWaarde + 0362100001089743 + 119574.792 481391.950 119571.746 481392.097 119571.656 481390.221 119572.236 481390.193 119572.168 481388.774 119568.752 481388.939 119568.757 481389.048 119568.316 481389.069 119568.291 481388.542 119567.343 481388.587 119566.930 481380.147 119568.278 481380.081 119568.283 481380.192 119573.986 481379.915 119573.981 481379.804 119574.250 481379.791 119574.792 481391.950 + + + + + 26 + + + 119570.118 481385.870 + 2.8 + + + + + 0362010002013475 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-08-20T08:41:42.000 + + + NL.IMGeo + G0362.00aaa4ec49d74ab4af802196f508491b + + + G0362 + bestaand + geenWaarde + 0362100001090587 + 119697.392 480523.800 119696.859 480523.650 119696.913 480523.457 119694.602 480522.807 119694.548 480523.000 119693.470 480522.696 119693.524 480522.504 119691.204 480521.851 119691.150 480522.043 119690.178 480521.770 119690.232 480521.577 119687.922 480520.927 119687.868 480521.120 119684.990 480520.310 119685.044 480520.117 119682.724 480519.464 119682.670 480519.657 119681.707 480519.386 119681.761 480519.193 119679.441 480518.540 119679.387 480518.733 119678.319 480518.432 119678.373 480518.240 119676.053 480517.587 119675.999 480517.779 119675.163 480517.544 119676.976 480511.099 119677.387 480509.641 119677.739 480508.388 119678.172 480506.849 119688.232 480509.680 119690.609 480510.350 119700.398 480513.105 119697.392 480523.800 + + + + + 108-142 + + + 119688.415 480512.849 + -15.7 + + + + + 0362010002105002 + 0362010002211300 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-09-04T11:32:58.000 + + + NL.IMGeo + G0362.00e896ea82784ad2a3e9be4945c8d78a + + + G0362 + bestaand + geenWaarde + 0362100001086997 + 119392.376 480642.556 119392.120 480634.062 119398.347 480633.900 119398.430 480637.109 119398.679 480637.102 119398.710 480638.302 119398.461 480638.308 119398.593 480642.398 119392.376 480642.556 + + + + + 63 + + + 119395.287 480639.481 + 1.5 + + + + + 0362010002034646 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.00ffe274fee044ba95e64500a86aa6d5 + + + G0362 + bestaand + geenWaarde + 0362100001084422 + 119157.126 481590.656 119152.834 481590.921 119152.761 481589.724 119152.662 481588.127 119152.597 481587.078 119156.889 481586.813 119157.126 481590.656 + + + + + 87A + + + 119154.234 481589.015 + -86.5 + + + + + 0362010002197946 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-09-01T13:37:23.000 + + + NL.IMGeo + G0362.01250bd557f94bef8edfaeca18beef41 + + + G0362 + bestaand + geenWaarde + 0362100001073320 + 118304.019 480332.515 118298.494 480333.079 118297.493 480323.579 118303.045 480322.979 118304.019 480332.515 + + + + + 22-22A + + + 118300.913 480329.816 + 5.8 + + + + + 0362010002036713 + 0362010002036714 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-08-28T12:26:25.000 + + + NL.IMGeo + G0362.013228c3fa12433ab8b460ad9fab58b6 + + + G0362 + bestaand + geenWaarde + 0362100001077560 + 118719.230 480139.571 118716.231 480139.648 118715.260 480139.167 118713.441 480139.214 118713.199 480129.323 118718.952 480129.167 118719.230 480139.571 + + + + + 77 + + + 118716.290 480136.139 + 1.5 + + + + + 0362010002010450 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.015b13961bb746a28688aedcb24f621f + + + G0362 + bestaand + geenWaarde + 0362100001076362 + 118638.799 480201.300 118638.685 480201.304 118638.679 480200.995 118635.857 480201.059 118635.917 480203.682 118636.011 480203.677 118636.020 480204.230 118630.309 480204.369 118630.034 480195.283 118630.664 480195.265 118631.395 480194.594 118632.995 480194.549 118633.764 480195.178 118635.873 480195.120 118635.881 480195.430 118638.636 480195.354 118638.799 480201.300 + + + + + 82 + + + 118633.338 480198.241 + 1.6 + + + + + 0362010002010455 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.01619f517d634d10aaf58de2d45c5b3b + + + G0362 + bestaand + geenWaarde + 0362100001075185 + 118481.557 480413.209 118475.604 480413.416 118475.359 480406.420 118481.316 480406.213 118481.557 480413.209 + + + + + 2 + + + 118478.817 480409.350 + 2 + + + + + 0362010002014626 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-08-31T08:11:58.000 + + + NL.IMGeo + G0362.016f12d43e034f84aeb203d12618cfb2 + + + G0362 + bestaand + geenWaarde + 0362100001076460 + 118572.226 480330.707 118572.264 480331.767 118571.414 480331.797 118570.862 480332.318 118569.413 480332.368 118568.816 480331.890 118566.597 480331.970 118566.270 480323.817 118571.995 480323.625 118572.226 480330.707 + + + + + 27 + + + 118568.959 480328.883 + 2.1 + + + + + 0362010002010227 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-06-09T11:18:59.000 + + + NL.IMGeo + G0362.0196298aded545f4b56921c5a54abd34 + + + G0362 + bestaand + geenWaarde + 0362100001073478 + 118346.086 481069.468 118339.747 481071.254 118337.212 481061.995 118343.657 481060.181 118346.086 481069.468 + + + + + 16 + + + 118341.041 481064.084 + 15.7 + + + + + 0362010002021487 + + + + + + + 2014-10-31 + 2016-01-07T17:09:33 + 0 + false + 2015-08-12T16:19:31.000 + + + NL.IMGeo + G0362.01a4a58b517e439eb13759f46d27f8b1 + + + G0362 + bestaand + geenWaarde + 0362100001081357 + 118989.107 480789.978 118990.640 480793.275 118987.832 480794.612 118985.115 480788.809 118974.108 480794.037 118971.271 480788.102 118985.199 480781.583 118989.107 480789.978 + + + + + 7 + + + 118980.013 480787.911 + 25.4 + + + + + 0362010002010669 + + + + + diff --git a/brk/etl/test/input-v4/files/dkk_perceel.gml b/brk/etl/test/input-v4/files/dkk_perceel.gml new file mode 100644 index 00000000..35801788 --- /dev/null +++ b/brk/etl/test/input-v4/files/dkk_perceel.gml @@ -0,0 +1,468 @@ + + + + + + NL.IMKAD.KadastraalObject + 11720427170000 + + + 2010-04-28T10:47:24.000 + 2010-04-28T10:47:24.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 4271 + + + 70 + ASD30 + + + + + 118939.329 481816.219 118939.329 481816.163 118939.299 481811.117 118916.907 481811.293 118908.450 481811.360 118908.181 481776.470 118908.078 481759.268 118910.847 481759.252 118913.513 481759.251 118913.834 481757.380 118913.970 481756.606 118914.599 481752.879 118930.750 481755.602 118938.557 481756.921 118938.183 481759.123 118937.813 481761.285 118938.932 481761.473 118940.093 481761.669 118946.200 481762.699 118952.201 481763.711 118951.418 481768.433 118950.423 481774.319 118952.375 481774.675 118954.685 481775.075 118953.055 481784.739 118951.626 481793.090 118949.733 481804.156 118953.199 481806.634 118956.343 481813.004 118949.894 481816.195 118939.329 481816.219 + + + 2420 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 118930.651 481793.833 + + + + + + NL.IMKAD.KadastraalObject + 11720000270000 + + + 2010-02-24T08:10:30.000 + 2010-02-24T08:10:30.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 2 + + + 70 + ASD30 + + + + + 119234.541 481690.316 119234.559 481686.948 119249.395 481687.001 119279.531 481687.506 119296.778 481687.983 119314.027 481688.410 119330.127 481689.034 119347.229 481689.278 119369.345 481689.382 119383.889 481690.191 119392.250 481690.346 119399.389 481690.518 119426.978 481690.469 119446.133 481691.025 119464.504 481691.458 119479.323 481691.640 119490.917 481691.707 119514.223 481692.072 119521.146 481692.747 119539.031 481693.319 119547.736 481693.864 119549.921 481693.924 119565.900 481693.528 119587.625 481693.112 119596.856 481694.002 119663.469 481695.606 119679.337 481695.915 119679.257 481699.165 119424.311 481693.952 119234.541 481690.316 + + + 1490 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119447.782 481692.497 + + + + + + NL.IMKAD.KadastraalObject + 11720000970000 + + + 2006-08-11T15:55:45.000 + 2006-08-11T15:55:45.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 9 + + + 70 + ASD30 + + + + + 119679.257 481699.165 119679.337 481695.915 119704.791 481696.709 119718.509 481697.261 119732.074 481697.273 119750.932 481697.332 119760.452 481697.303 119768.727 481697.774 119774.123 481697.776 119781.181 481697.604 119806.930 481699.391 119810.155 481699.545 119835.599 481699.154 119849.915 481699.429 119862.627 481699.704 119888.341 481700.039 119896.420 481700.323 119905.056 481700.684 119926.560 481700.719 119930.057 481701.039 119937.236 481701.509 119952.898 481701.825 119977.544 481702.114 119982.986 481703.798 119985.350 481703.836 119994.920 481702.740 120014.897 481703.238 120051.328 481703.836 120063.964 481703.958 120085.243 481705.180 120092.813 481705.314 120118.247 481705.864 120145.003 481706.579 120154.395 481706.619 120167.773 481706.778 120167.699 481709.879 119679.257 481699.165 + + + 1680 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119959.670 481703.628 + + + + + + NL.IMKAD.KadastraalObject + 11720001070000 + + + 2011-05-20T14:31:52.000 + 2011-05-20T14:31:52.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 10 + + + 70 + ASD30 + + + + + 119677.796 481758.663 119679.257 481699.165 120167.699 481709.879 120166.242 481770.556 120161.221 481770.299 120045.355 481767.770 119918.010 481764.480 119824.356 481762.836 119742.891 481760.603 119708.932 481759.235 119677.796 481758.663 + + + 29250 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119956.732 481734.444 + + + + + + NL.IMKAD.KadastraalObject + 11720002170000 + + + 2010-02-25T09:42:06.000 + 2010-02-25T09:42:06.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 21 + + + 70 + ASD30 + + + + + 119905.962 481836.550 119906.389 481819.037 119931.706 481819.637 119931.260 481837.188 119921.359 481836.938 119914.180 481836.758 119905.962 481836.550 + + + 438 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119925.211 481827.094 + + + + + + NL.IMKAD.KadastraalObject + 11720002070000 + + + 2010-02-25T09:42:06.000 + 2010-02-25T09:42:06.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 20 + + + 70 + ASD30 + + + + + 119863.382 481815.165 119842.591 481814.628 119843.142 481790.337 119863.942 481790.859 119863.382 481815.165 + + + 502 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119856.085 481795.769 + + + + + + NL.IMKAD.KadastraalObject + 11720013970000 + + + 2010-02-25T09:42:06.000 + 2010-02-25T09:42:06.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 139 + + + 70 + ASD30 + + + + + 119991.510 481829.294 119986.549 481829.169 119977.612 481828.942 119978.349 481799.860 119994.738 481800.276 119994.421 481812.821 119994.203 481821.129 119991.154 481821.048 119991.071 481824.201 119991.644 481824.217 119991.510 481829.294 + + + 451 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 119984.906 481807.873 + + + + + + NL.IMKAD.KadastraalObject + 11720014070000 + + + 2010-02-25T09:42:06.000 + 2010-02-25T09:42:06.000 + 0 + + + G + Geldig + + + + + + + + 42 + Amsterdam + + + AK + 140 + + + 70 + ASD30 + + + + + 119994.203 481821.129 119994.421 481812.821 119994.738 481800.276 120014.516 481800.777 120014.065 481818.833 120013.887 481825.952 120003.241 481825.686 120003.335 481821.908 119997.240 481821.750 119997.254 481821.210 119994.203 481821.129 + + + 455 + + + 1 + Vastgesteld + + + + + 0.0 + + + 0.0 + 0.0 + + + 120005.280 481807.458 + + + diff --git a/brk/etl/test/input-v4/sample.zip b/brk/etl/test/input-v4/sample.zip new file mode 100644 index 00000000..f67892c9 Binary files /dev/null and b/brk/etl/test/input-v4/sample.zip differ diff --git a/brk/etl/test/input/fl.zip b/brk/etl/test/input/fl.zip deleted file mode 100644 index 66cd3e17..00000000 Binary files a/brk/etl/test/input/fl.zip and /dev/null differ diff --git a/brk/etl/test/input/zl.zip b/brk/etl/test/input/zl.zip deleted file mode 100644 index 504ce05e..00000000 Binary files a/brk/etl/test/input/zl.zip and /dev/null differ diff --git a/brt/top1000nl/etl/conf/etl-top1000nl-v1.2.0.cfg b/brt/top1000nl/etl/conf/etl-top1000nl-v1.2.0.cfg index 14042dca..12bce8e1 100644 --- a/brt/top1000nl/etl/conf/etl-top1000nl-v1.2.0.cfg +++ b/brt/top1000nl/etl/conf/etl-top1000nl-v1.2.0.cfg @@ -22,22 +22,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.2.0.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.2.0.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -47,14 +47,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # The ogr2ogr command-line, may use any output here, as long as @@ -62,7 +62,7 @@ file_path = {temp_dir}/fromzip-tmp.gml # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -80,6 +80,6 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://register.geostandaarden.nl/gmlapplicatieschema/top1000nl/1.2.0/top1000nl.xsd enabled = False diff --git a/brt/top1000nl/etl/etl-top1000nl.sh b/brt/top1000nl/etl/etl-top1000nl.sh deleted file mode 100644 index 0dc7d8dc..00000000 --- a/brt/top1000nl/etl/etl-top1000nl.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# -# ETL voor TOP1000NL GML met gebruik Stetl. -# -# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie -# (etl-top1000nl-v1.2.0.cfg) en parameters (options/myoptions.args) aan te roepen. -# -# Author: Just van den Broecke -# - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -pushd $DIR >/dev/null - -# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) -if [ -z "$STETL_HOME" ]; then - STETL_HOME=../../../externals/stetl -fi - -# Nodig voor imports -if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=$STETL_HOME -else - export PYTHONPATH=$STETL_HOME:$PYTHONPATH -fi - -# Default arguments/options -options_file=options/default.args - -# Optionally overules default options file by using a host-based file options/.args -# To add your localhost add .args in options directory -host_options_file=options/`hostname`.args - -[ -f "$host_options_file" ] && options_file=$host_options_file - -# Evt via commandline overrulen: etl-top1000nl.sh -[ -f "$1" ] && options_file=$1 - -# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top1000nl-v1.2.0.cfg -a ..." worden indien Stetl installed -# python $STETL_HOME/stetl/main.py -c conf/etl-top1000nl-v1.2.0.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" -python $STETL_HOME/stetl/main.py -c conf/etl-top1000nl-v1.2.0.cfg -a $options_file - -popd >/dev/null diff --git a/brt/top1000nl/etl/etl-top1000nl.cmd b/brt/top1000nl/etl/etl.cmd similarity index 100% rename from brt/top1000nl/etl/etl-top1000nl.cmd rename to brt/top1000nl/etl/etl.cmd diff --git a/brt/top1000nl/etl/etl.sh b/brt/top1000nl/etl/etl.sh new file mode 100755 index 00000000..d4bf7c7d --- /dev/null +++ b/brt/top1000nl/etl/etl.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# +# ETL voor Top1000NL GML met gebruik Stetl. +# +# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie +# en parameters (options/myoptions.args) aan te roepen. +# +# Author: Just van den Broecke +# + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +pushd $DIR >/dev/null + +NLX_HOME=../../.. + +# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) +if [ -z "${STETL_HOME}" ]; then + STETL_HOME=../../../externals/stetl +fi + +# Nodig voor imports +if [ -z "${PYTHONPATH}" ]; then + export PYTHONPATH=${STETL_HOME}:${NLX_HOME} +else + export PYTHONPATH=${STETL_HOME}:${NLX_HOME}:${PYTHONPATH} +fi + +# Default arguments/options +default_options="-a options/default.args" + +# Optionally overules default options file by using a host-based file options/.args +# To add your localhost add .args in options directory +host_options_file=options/`hostname`.args + +[ -f "${host_options_file}" ] && host_options="-a ${host_options_file}" + +# Evt via commandline overrulen: etl-top50nl.sh or +[ -f "$1" ] && cmd_options="-a $1" + +# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top10nl-v1.2.cfg -a ..." worden indien Stetl installed +# python $STETL_HOME/stetl/main.py -c conf/etl-top10nl-v1.2.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" +args_options="${default_options} ${host_options} ${cmd_options}" +echo "args_options=${args_options}" + +python $STETL_HOME/stetl/main.py -c conf/etl-top1000nl-v1.2.0.cfg ${args_options} + +popd >/dev/null diff --git a/brt/top100nl/etl/conf/etl-top100nl-v1.1.cfg b/brt/top100nl/etl/conf/etl-top100nl-v1.1.cfg index cf374afb..b5f267a3 100644 --- a/brt/top100nl/etl/conf/etl-top100nl-v1.1.cfg +++ b/brt/top100nl/etl/conf/etl-top100nl-v1.1.cfg @@ -23,22 +23,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.1.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.1.sql,sql/update-multiattributes-v1.1.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -48,14 +48,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # Prepare the generic GFS file to optimize the loading speed @@ -68,7 +68,7 @@ input_gfs = {gfs_template} # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -85,19 +85,19 @@ options = -append -gt 65536 {multi_opts} cleanup_input = True [input_dummy_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = data filename_pattern = dummy.zip [extract_dummy_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/dummy.gml delete_file = False # Initialization of all tables with empty file # Note that this is done _after_ loading all the data, since this way the ETL is much faster. [output_ogr2ogr_init] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput dest_format = PostgreSQL dest_data_source = "PG:dbname={database} host={host} port={port} user={user} password={password} active_schema={schema}" gfs_template = {gfs_template} @@ -106,6 +106,6 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://register.geostandaarden.nl/gmlapplicatieschema/top100nl/1.1.0/top100nl.xsd enabled = False diff --git a/brt/top100nl/etl/etl-top100nl.sh b/brt/top100nl/etl/etl-top100nl.sh deleted file mode 100644 index 65d2efff..00000000 --- a/brt/top100nl/etl/etl-top100nl.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -# -# ETL voor TOP100NL GML met gebruik Stetl. -# -# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie -# (etl-top100nl-v1.1.cfg) en parameters (options/myoptions.args) aan te roepen. -# -# Author: Just van den Broecke -# - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -pushd $DIR >/dev/null - -NLX_HOME=../../.. - -# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) -if [ -z "$STETL_HOME" ]; then - STETL_HOME=../../../externals/stetl -fi - -# Nodig voor imports -if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=$STETL_HOME:$NLX_HOME -else - export PYTHONPATH=$STETL_HOME:$NLX_HOME:$PYTHONPATH -fi - -# Default arguments/options -options_file=options/default.args - -# Optionally overules default options file by using a host-based file options/.args -# To add your localhost add .args in options directory -host_options_file=options/`hostname`.args - -[ -f "$host_options_file" ] && options_file=$host_options_file - -# Evt via commandline overrulen: etl-top100nl.sh -[ -f "$1" ] && options_file=$1 - -# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top100nl-v1.1.cfg -a ..." worden indien Stetl installed -# python $STETL_HOME/stetl/main.py -c conf/etl-top100nl-v1.1.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" -python $STETL_HOME/stetl/main.py -c conf/etl-top100nl-v1.1.cfg -a $options_file - -popd >/dev/null diff --git a/brt/top100nl/etl/etl-top100nl.cmd b/brt/top100nl/etl/etl.cmd similarity index 100% rename from brt/top100nl/etl/etl-top100nl.cmd rename to brt/top100nl/etl/etl.cmd diff --git a/brt/top100nl/etl/etl.sh b/brt/top100nl/etl/etl.sh new file mode 100755 index 00000000..ff0bf0b6 --- /dev/null +++ b/brt/top100nl/etl/etl.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# +# ETL voor Top100NL GML met gebruik Stetl. +# +# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie +# (etl-top10nl.cfg) en parameters (options/myoptions.args) aan te roepen. +# +# Author: Just van den Broecke +# + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +pushd $DIR >/dev/null + +NLX_HOME=../../.. + +# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) +if [ -z "${STETL_HOME}" ]; then + STETL_HOME=../../../externals/stetl +fi + +# Nodig voor imports +if [ -z "${PYTHONPATH}" ]; then + export PYTHONPATH=${STETL_HOME}:${NLX_HOME} +else + export PYTHONPATH=${STETL_HOME}:${NLX_HOME}:${PYTHONPATH} +fi + +# Default arguments/options +default_options="-a options/default.args" + +# Optionally overules default options file by using a host-based file options/.args +# To add your localhost add .args in options directory +host_options_file=options/`hostname`.args + +[ -f "${host_options_file}" ] && host_options="-a ${host_options_file}" + +# Evt via commandline overrulen: etl-top50nl.sh or +[ -f "$1" ] && cmd_options="-a $1" + +# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top10nl-v1.2.cfg -a ..." worden indien Stetl installed +# python $STETL_HOME/stetl/main.py -c conf/etl-top10nl-v1.2.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" +args_options="${default_options} ${host_options} ${cmd_options}" +echo "args_options=${args_options}" + +python $STETL_HOME/stetl/main.py -c conf/etl-top100nl-v1.1.cfg ${args_options} + +popd >/dev/null diff --git a/brt/top10nl/etl/conf/etl-top10nl-v1.2.cfg b/brt/top10nl/etl/conf/etl-top10nl-v1.2.cfg index 4a36bf52..43ef0577 100644 --- a/brt/top10nl/etl/conf/etl-top10nl-v1.2.cfg +++ b/brt/top10nl/etl/conf/etl-top10nl-v1.2.cfg @@ -23,22 +23,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.2.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.2.sql,sql/update-multiattributes-v1.2.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -48,14 +48,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # Prepare the generic GFS file to optimize the loading speed @@ -68,7 +68,7 @@ input_gfs = {gfs_template} # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -85,19 +85,19 @@ options = -append -gt 65536 {multi_opts} cleanup_input = True [input_dummy_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = data filename_pattern = dummy.zip [extract_dummy_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/dummy.gml delete_file = False # Initialization of all tables with empty file # Note that this is done _after_ loading all the data, since this way the ETL is much faster. [output_ogr2ogr_init] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput dest_format = PostgreSQL dest_data_source = "PG:dbname={database} host={host} port={port} user={user} password={password} active_schema={schema}" gfs_template = {gfs_template} @@ -106,7 +106,7 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://www.kadaster.nl/schemas/top10nl/vyyyymmdd/TOP10NL_1_2.xsd enabled = False @@ -114,15 +114,15 @@ enabled = False # Send to stdout [output_std] -class = outputs.standardoutput.StandardXmlOutput +class = stetl.outputs.standardoutput.StandardXmlOutput [output_file] -class = outputs.fileoutput.FileOutput +class = stetl.outputs.fileoutput.FileOutput file_path = test/output/top10nl-fc.gml # Output multiple files ala Top10 file chunks GML # Use numbering as in file expression. [output_multifile] -class = outputs.fileoutput.MultiFileOutput +class = stetl.outputs.fileoutput.MultiFileOutput file_path = test/output/top10nl-%03d.gml diff --git a/brt/top10nl/etl/etl.sh b/brt/top10nl/etl/etl.sh index 6324974e..43b16f61 100755 --- a/brt/top10nl/etl/etl.sh +++ b/brt/top10nl/etl/etl.sh @@ -1,4 +1,4 @@ - #!/bin/bash +#!/bin/bash # # ETL voor Top10NL GML met gebruik Stetl. # diff --git a/brt/top250nl/etl/conf/etl-top250nl-v1.2.1.cfg b/brt/top250nl/etl/conf/etl-top250nl-v1.2.1.cfg index d98728c6..ec99f16d 100644 --- a/brt/top250nl/etl/conf/etl-top250nl-v1.2.1.cfg +++ b/brt/top250nl/etl/conf/etl-top250nl-v1.2.1.cfg @@ -22,22 +22,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.2.1.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.2.1.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -47,14 +47,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # The ogr2ogr command-line, may use any output here, as long as @@ -62,7 +62,7 @@ file_path = {temp_dir}/fromzip-tmp.gml # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -80,6 +80,6 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://register.geostandaarden.nl/gmlapplicatieschema/top250nl/1.2.1/top250nl.xsd enabled = False diff --git a/brt/top250nl/etl/etl-top250nl.sh b/brt/top250nl/etl/etl-top250nl.sh deleted file mode 100644 index 1ed55fe0..00000000 --- a/brt/top250nl/etl/etl-top250nl.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# -# ETL voor TOP250NL GML met gebruik Stetl. -# -# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie -# (etl-top250nl-v1.2.1.cfg) en parameters (options/myoptions.args) aan te roepen. -# -# Author: Just van den Broecke -# - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -pushd $DIR >/dev/null - -# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) -if [ -z "$STETL_HOME" ]; then - STETL_HOME=../../../externals/stetl -fi - -# Nodig voor imports -if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=$STETL_HOME -else - export PYTHONPATH=$STETL_HOME:$PYTHONPATH -fi - -# Default arguments/options -options_file=options/default.args - -# Optionally overules default options file by using a host-based file options/.args -# To add your localhost add .args in options directory -host_options_file=options/`hostname`.args - -[ -f "$host_options_file" ] && options_file=$host_options_file - -# Evt via commandline overrulen: etl-top250nl.sh -[ -f "$1" ] && options_file=$1 - -# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top250nl-v1.2.1.cfg -a ..." worden indien Stetl installed -# python $STETL_HOME/stetl/main.py -c conf/etl-top250nl-v1.2.1.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" -python $STETL_HOME/stetl/main.py -c conf/etl-top250nl-v1.2.1.cfg -a $options_file - -popd >/dev/null diff --git a/brt/top250nl/etl/etl-top250nl.cmd b/brt/top250nl/etl/etl.cmd similarity index 100% rename from brt/top250nl/etl/etl-top250nl.cmd rename to brt/top250nl/etl/etl.cmd diff --git a/brt/top50nl/etl/etl-top50nl.sh b/brt/top250nl/etl/etl.sh old mode 100644 new mode 100755 similarity index 76% rename from brt/top50nl/etl/etl-top50nl.sh rename to brt/top250nl/etl/etl.sh index 62e3100a..6b15bf45 --- a/brt/top50nl/etl/etl-top50nl.sh +++ b/brt/top250nl/etl/etl.sh @@ -1,9 +1,9 @@ #!/bin/bash # -# ETL voor TOP50NL GML met gebruik Stetl. +# ETL voor Top250NL GML met gebruik Stetl. # # Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie -# (etl-top50nl-v1.1.cfg) en parameters (options/myoptions.args) aan te roepen. +# en parameters (options/myoptions.args) aan te roepen. # # Author: Just van den Broecke # @@ -37,10 +37,11 @@ host_options_file=options/`hostname`.args # Evt via commandline overrulen: etl-top50nl.sh or [ -f "$1" ] && cmd_options="-a $1" -# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top50nl-v1.1.cfg -a ..." worden indien Stetl installed -# python $STETL_HOME/stetl/main.py -c conf/etl-top50nl-v1.1.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" - +# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top10nl-v1.2.cfg -a ..." worden indien Stetl installed +# python $STETL_HOME/stetl/main.py -c conf/etl-top10nl-v1.2.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" args_options="${default_options} ${host_options} ${cmd_options}" -python $STETL_HOME/stetl/main.py -c conf/etl-top50nl-v1.1.cfg -a ${args_options} +echo "args_options=${args_options}" + +python $STETL_HOME/stetl/main.py -c conf/etl-top250nl-v1.2.1.cfg ${args_options} popd >/dev/null diff --git a/brt/top500nl/etl/conf/etl-top500nl-v1.2.1.cfg b/brt/top500nl/etl/conf/etl-top500nl-v1.2.1.cfg index 0c5cc16d..3a27bb0a 100644 --- a/brt/top500nl/etl/conf/etl-top500nl-v1.2.1.cfg +++ b/brt/top500nl/etl/conf/etl-top500nl-v1.2.1.cfg @@ -22,22 +22,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.2.1.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.2.1.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -47,14 +47,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # The ogr2ogr command-line, may use any output here, as long as @@ -62,7 +62,7 @@ file_path = {temp_dir}/fromzip-tmp.gml # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -80,6 +80,6 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = http://register.geostandaarden.nl/gmlapplicatieschema/top500nl/1.2.1/top500nl.xsd enabled = False diff --git a/brt/top500nl/etl/etl-top500nl.sh b/brt/top500nl/etl/etl-top500nl.sh deleted file mode 100644 index 8d116768..00000000 --- a/brt/top500nl/etl/etl-top500nl.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# -# ETL voor TOP500NL GML met gebruik Stetl. -# -# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie -# (etl-top500nl-v1.2.1.cfg) en parameters (options/myoptions.args) aan te roepen. -# -# Author: Just van den Broecke -# - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -pushd $DIR >/dev/null - -# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) -if [ -z "$STETL_HOME" ]; then - STETL_HOME=../../../externals/stetl -fi - -# Nodig voor imports -if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=$STETL_HOME -else - export PYTHONPATH=$STETL_HOME:$PYTHONPATH -fi - -# Default arguments/options -options_file=options/default.args - -# Optionally overules default options file by using a host-based file options/.args -# To add your localhost add .args in options directory -host_options_file=options/`hostname`.args - -[ -f "$host_options_file" ] && options_file=$host_options_file - -# Evt via commandline overrulen: etl-top500nl.sh -[ -f "$1" ] && options_file=$1 - -# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top500nl-v1.2.1.cfg -a ..." worden indien Stetl installed -# python $STETL_HOME/stetl/main.py -c conf/etl-top500nl-v1.2.1.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" -python $STETL_HOME/stetl/main.py -c conf/etl-top500nl-v1.2.1.cfg -a $options_file - -popd >/dev/null diff --git a/brt/top500nl/etl/etl-top500nl.cmd b/brt/top500nl/etl/etl.cmd similarity index 100% rename from brt/top500nl/etl/etl-top500nl.cmd rename to brt/top500nl/etl/etl.cmd diff --git a/brt/top500nl/etl/etl.sh b/brt/top500nl/etl/etl.sh new file mode 100755 index 00000000..d14882c3 --- /dev/null +++ b/brt/top500nl/etl/etl.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# +# ETL voor Top500NL GML met gebruik Stetl. +# +# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie +# en parameters (options/myoptions.args) aan te roepen. +# +# Author: Just van den Broecke +# + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +pushd $DIR >/dev/null + +NLX_HOME=../../.. + +# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) +if [ -z "${STETL_HOME}" ]; then + STETL_HOME=../../../externals/stetl +fi + +# Nodig voor imports +if [ -z "${PYTHONPATH}" ]; then + export PYTHONPATH=${STETL_HOME}:${NLX_HOME} +else + export PYTHONPATH=${STETL_HOME}:${NLX_HOME}:${PYTHONPATH} +fi + +# Default arguments/options +default_options="-a options/default.args" + +# Optionally overules default options file by using a host-based file options/.args +# To add your localhost add .args in options directory +host_options_file=options/`hostname`.args + +[ -f "${host_options_file}" ] && host_options="-a ${host_options_file}" + +# Evt via commandline overrulen: etl-top50nl.sh or +[ -f "$1" ] && cmd_options="-a $1" + +# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top10nl-v1.2.cfg -a ..." worden indien Stetl installed +# python $STETL_HOME/stetl/main.py -c conf/etl-top10nl-v1.2.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" +args_options="${default_options} ${host_options} ${cmd_options}" +echo "args_options=${args_options}" + +python $STETL_HOME/stetl/main.py -c conf/etl-top500nl-v1.2.1.cfg ${args_options} + +popd >/dev/null diff --git a/brt/top50nl/etl/conf/etl-top50nl-v1.1.cfg b/brt/top50nl/etl/conf/etl-top50nl-v1.1.cfg index e5a7fdc9..9e7a1414 100644 --- a/brt/top50nl/etl/conf/etl-top50nl-v1.1.cfg +++ b/brt/top50nl/etl/conf/etl-top50nl-v1.1.cfg @@ -23,22 +23,22 @@ chains = input_sql_pre|schema_name_filter|output_postgres, # Pre SQL file inputs to be executed [input_sql_pre] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/drop-tables-v1.1.sql,sql/create-schema.sql # Post SQL file inputs to be executed [input_sql_post] -class = inputs.fileinput.StringFileInput +class = stetl.inputs.fileinput.StringFileInput file_path = sql/create-final-tables-v1.1.sql,sql/update-multiattributes-v1.1.sql # Generic filter to substitute Python-format string values like {schema} in string [schema_name_filter] -class = filters.stringfilter.StringSubstitutionFilter +class = stetl.filters.stringfilter.StringSubstitutionFilter # format args {schema} is schema name format_args = schema:{schema} [output_postgres] -class = outputs.dboutput.PostgresDbOutput +class = stetl.outputs.dboutput.PostgresDbOutput database = {database} host = {host} port = {port} @@ -48,14 +48,14 @@ schema = {schema} # The source input ZIP-file(s) from dir, producing 'records' with ZIP file name and inner file names [input_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = {input_dir} filename_pattern = *.[zZ][iI][pP] name_filter=*.[gG][mM][lL] # Filter to extract a ZIP file one by one to a temporary location [extract_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/fromzip-tmp.gml # Prepare the generic GFS file to optimize the loading speed @@ -68,7 +68,7 @@ input_gfs = {gfs_template} # are saved. It has to be the same file as in the ogr2ogr command. # TODO: find a way to use a GML-stream through stdin to ogr2ogr [output_ogr2ogr] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput # destination format: OGR vector format name dest_format = PostgreSQL # destination datasource: name of datasource @@ -85,19 +85,19 @@ options = -append -gt 65536 {multi_opts} cleanup_input = True [input_dummy_zip_file] -class=inputs.fileinput.ZipFileInput +class = stetl.inputs.fileinput.ZipFileInput file_path = data filename_pattern = dummy.zip [extract_dummy_zip_file] -class=filters.zipfileextractor.ZipFileExtractor +class = stetl.filters.zipfileextractor.ZipFileExtractor file_path = {temp_dir}/dummy.gml delete_file = False # Initialization of all tables with empty file # Note that this is done _after_ loading all the data, since this way the ETL is much faster. [output_ogr2ogr_init] -class = outputs.execoutput.Ogr2OgrExecOutput +class = stetl.outputs.execoutput.Ogr2OgrExecOutput dest_format = PostgreSQL dest_data_source = "PG:dbname={database} host={host} port={port} user={user} password={password} active_schema={schema}" gfs_template = {gfs_template} @@ -106,6 +106,6 @@ cleanup_input = True # Validator for XML [xml_schema_validator] -class = filters.xmlvalidator.XmlSchemaValidator +class = stetl.filters.xmlvalidator.XmlSchemaValidator xsd = https://www1.kadaster.nl/1/schemas/top50nl/v20150401/top50nl_1_1.xsd enabled = False diff --git a/brt/top50nl/etl/etl-top50nl.cmd b/brt/top50nl/etl/etl.cmd similarity index 100% rename from brt/top50nl/etl/etl-top50nl.cmd rename to brt/top50nl/etl/etl.cmd diff --git a/brt/top50nl/etl/etl.sh b/brt/top50nl/etl/etl.sh new file mode 100755 index 00000000..5b356594 --- /dev/null +++ b/brt/top50nl/etl/etl.sh @@ -0,0 +1,47 @@ +#!/bin/bash +# +# ETL voor Top50NL GML met gebruik Stetl. +# +# Dit is een front-end/wrapper shell-script om uiteindelijk Stetl met een configuratie +# (etl-top10nl.cfg) en parameters (options/myoptions.args) aan te roepen. +# +# Author: Just van den Broecke +# + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +pushd $DIR >/dev/null + +NLX_HOME=../../.. + +# Gebruik Stetl meegeleverd met NLExtract (kan in theorie ook Stetl via pip install stetl zijn) +if [ -z "${STETL_HOME}" ]; then + STETL_HOME=../../../externals/stetl +fi + +# Nodig voor imports +if [ -z "${PYTHONPATH}" ]; then + export PYTHONPATH=${STETL_HOME}:${NLX_HOME} +else + export PYTHONPATH=${STETL_HOME}:${NLX_HOME}:${PYTHONPATH} +fi + +# Default arguments/options +default_options="-a options/default.args" + +# Optionally overules default options file by using a host-based file options/.args +# To add your localhost add .args in options directory +host_options_file=options/`hostname`.args + +[ -f "${host_options_file}" ] && host_options="-a ${host_options_file}" + +# Evt via commandline overrulen: etl-top50nl.sh or +[ -f "$1" ] && cmd_options="-a $1" + +# Uiteindelijke commando. Kan ook gewoon "stetl -c conf/etl-top10nl-v1.2.cfg -a ..." worden indien Stetl installed +# python $STETL_HOME/stetl/main.py -c conf/etl-top10nl-v1.2.cfg -a "$pg_options temp_dir=temp max_features=$max_features gml_files=$gml_files $multi $spatial_extent" +args_options="${default_options} ${host_options} ${cmd_options}" +echo "args_options=${args_options}" + +python $STETL_HOME/stetl/main.py -c conf/etl-top50nl-v1.1.cfg ${args_options} + +popd >/dev/null diff --git a/brt/top50nl/etl/test/input/sample.zip b/brt/top50nl/etl/test/input/sample.zip new file mode 100644 index 00000000..6ef10477 Binary files /dev/null and b/brt/top50nl/etl/test/input/sample.zip differ diff --git a/externals/stetl b/externals/stetl index abd10416..b512476a 160000 --- a/externals/stetl +++ b/externals/stetl @@ -1 +1 @@ -Subproject commit abd10416bed9a490a4f7d5b48ebce2fb0fbe49b0 +Subproject commit b512476a3db6928242cb59810be16e8fe36ba43b diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..256b3a85 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,25 @@ +# Working requirements +alabaster==0.7.12 +Babel==2.8.0 +certifi==2020.6.20 +chardet==3.0.4 +Deprecated==1.2.10 +docutils==0.16 +GDAL==2.3.1 +idna==2.10 +imagesize==1.2.0 +Jinja2==2.11.2 +lxml==4.5.2 +MarkupSafe==1.1.1 +packaging==20.4 +psycopg2==2.8.5 +Pygments==2.6.1 +pyparsing==2.4.7 +pytz==2020.1 +requests==2.24.0 +six==1.15.0 +snowballstemmer==2.0.0 +Sphinx==3.1.2 +urllib3==1.25.10 +wrapt==1.12.1 +xlrd==1.2.0 \ No newline at end of file diff --git a/stetlcomponents/gfspreparationfilter.py b/stetlcomponents/gfspreparationfilter.py index 2aaf5157..86ca9bdf 100644 --- a/stetlcomponents/gfspreparationfilter.py +++ b/stetlcomponents/gfspreparationfilter.py @@ -162,19 +162,20 @@ def execute_ogrinfo(self, gml_file): return result def parse_ogrinfo_output(self, output_ogrinfo): - pattern = re.compile('Layer name: (\w+:)?(?P\w+).*?Feature Count: (?P[0-9]+)', re.S) + pattern = re.compile(b'Layer name: (\w+:)?(?P\w+).*?Feature Count: (?P[0-9]+)', re.S) matches = pattern.findall(output_ogrinfo) feature_counts = dict([(m[1], int(m[2])) for m in matches]) return feature_counts def prepare_xslt_template(self, feature_counts): - elemtypes = [self.TEST_ELEMTYPE % (key, key) for key in feature_counts.iterkeys()] - featurecounts = [self.TEST_FEATURECOUNT % (key, value, key, value) for key, value in feature_counts.iteritems()] + elemtypes = [self.TEST_ELEMTYPE % (key.decode('utf-8'), key.decode('utf-8')) for key in feature_counts.keys()] + featurecounts = [self.TEST_FEATURECOUNT % (key.decode('utf-8'), value, key.decode('utf-8'), value) for key, value in feature_counts.items()] subst_dict = {} subst_dict['elemtypes'] = ''.join(elemtypes) subst_dict['featurecounts'] = ''.join(featurecounts) + # log.info(str(subst_dict)) template = Template(self.XSLT_TEMPLATE) formatted_xslt = template.safe_substitute(subst_dict) @@ -182,7 +183,8 @@ def prepare_xslt_template(self, feature_counts): return formatted_xslt def transform_input_gfs(self, formatted_xslt): - xslt_doc = etree.fromstring(formatted_xslt) + # log.info(formatted_xslt) + xslt_doc = etree.fromstring(bytes(formatted_xslt, encoding='utf8')) xslt_obj = etree.XSLT(xslt_doc) xml_doc = etree.parse(self.input_gfs) result = xslt_obj(xml_doc)