Example of DOV search methods for interpretations (geotechnische codering)
Use cases explained below
Get ‘geotechnische codering’ in a bounding box
Get ‘geotechnische codering’ with specific properties within a distance from a point
Get ‘geotechnische codering’ in a bounding box with specific properties
Get ‘geotechnische codering’ based on fields not available in the standard output dataframe
Get ‘geotechnische codering’ data, returning fields not available in the standard output dataframe
[1]:
%matplotlib inline
import inspect, sys
[2]:
# check pydov path
import pydov
Get information about the datatype ‘Geotecnische codering’
[3]:
from pydov.search.interpretaties import GeotechnischeCoderingSearch
itp = GeotechnischeCoderingSearch()
A description is provided for the ‘Geotechnische codering’ datatype:
[4]:
itp.get_description()
[4]:
'Een geotechnische codering van een boring is een codering opgesteld vanuit geotechnisch oogpunt, rekening houdend met informatie uit de lithologie, laboproeven en bijhorende sondering(en).'
The different fields that are available for objects of the ‘Geotechnische codering’ datatype can be requested with the get_fields() method:
[5]:
fields = itp.get_fields()
# print available fields
for f in fields.values():
print(f['name'])
pkey_interpretatie
Type_proef
Proefnummer
pkey_boring
x
y
start_interpretatie_mtaw
diepte_tot_m
gemeente
Auteurs
Datum
Opdrachten
betrouwbaarheid_interpretatie
Geldig_van
Geldig_tot
eerste_invoer
geom
diepte_laag_van
diepte_laag_tot
hoofdnaam1_grondsoort
hoofdnaam2_grondsoort
bijmenging1_plaatselijk
bijmenging1_hoeveelheid
bijmenging1_grondsoort
bijmenging2_plaatselijk
bijmenging2_hoeveelheid
bijmenging2_grondsoort
bijmenging3_plaatselijk
bijmenging3_hoeveelheid
bijmenging3_grondsoort
Alternatively, you can list all the fields and their details by inspecting the get_fields() output or the search instance itself in a notebook:
[6]:
itp
[6]:
Een geotechnische codering van een boring is een codering opgesteld vanuit geotechnisch oogpunt, rekening houdend met informatie uit de lithologie, laboproeven en bijhorende sondering(en).
pkey_interpretatie - URL die verwijst naar de gegevens van deze geotechnische coderingen op de website. Voeg '.xml' toe om een XML voorstelling van deze gegevens te verkrijgen.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
Type_proef - Het type van de proef waarvan de geotechnische codering een interpretatie is. Bij een geotechnische codering zal dit altijd 'Boring' zijn.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
- codelist:
Boring - Boring - De geotechnische codering is een interpretatie van een boring.
Proefnummer - Het proefnummer van de boring waarvan de geotechnische codering een interpretatie is.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
pkey_boring - URL die verwijst naar de gegevens van de boring op de website. Voeg '.xml' toe om een XML voorstelling van deze gegevens te verkrijgen.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
x - De x-coördinaat van de boring in het Lambert72 coördinaatsysteem (in meter, EPSG:31370).
- type: float
- notnull: False
- query: True
- cost: 1
- multivalue: False
y - De y-coördinaat van de boring in het Lambert72 coördinaatsysteem (in meter, EPSG:31370).
- type: float
- notnull: False
- query: True
- cost: 1
- multivalue: False
start_interpretatie_mtaw - De hoogte van het aanvangspeil van de boring in het TAW stelsel (in meter).
- type: float
- notnull: False
- query: True
- cost: 1
- multivalue: False
diepte_tot_m - De maximumdiepte van de geotechnische codering in meter. Dit is de 'tot' van de diepste geïnterpreteerde laag.
- type: float
- notnull: False
- query: True
- cost: 1
- multivalue: False
gemeente - De gemeente waarin de boring van deze interpretatie gelegen is.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
Auteurs - De auteur of auteurs van de geotechnische coderingen.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
Datum - De datum waarop de geotechnische codering werd beschreven.
- type: date
- notnull: False
- query: True
- cost: 1
- multivalue: False
Opdrachten - De opdracht(en) waaraan de geotechnische codering gekoppeld is.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
betrouwbaarheid_interpretatie - De betrouwbaarheid van het geheel van de geotechnische codering (goed, twijfelachtig of onbekend). Deze wordt toegekend door een DOV-medewerker verantwoordelijk voor de ingave.
- type: string
- notnull: False
- query: True
- cost: 1
- multivalue: False
Geldig_van - Het tijdstip vanaf wanneer de geotechnische codering geldig is.
- type: date
- notnull: False
- query: True
- cost: 1
- multivalue: False
Geldig_tot - Het tijdstip tot wanneer de geotechnische codering geldig is.
- type: date
- notnull: False
- query: True
- cost: 1
- multivalue: False
eerste_invoer - Het tijdstip waarop deze interpretatie voor het eerst in DOV ingevoerd werd.
- type: datetime
- notnull: True
- query: True
- cost: 1
- multivalue: False
geom - None
- type: geometry
- notnull: False
- query: False
- cost: 1
- multivalue: False
diepte_laag_van - Diepte van de bovenkant van de laag geotechnische codering in meter.
- type: float
- notnull: False
- query: False
- cost: 10
- multivalue: False
diepte_laag_tot - Diepte van de onderkant van de laag geotechnische codering in meter.
- type: float
- notnull: False
- query: False
- cost: 10
- multivalue: False
hoofdnaam1_grondsoort - hoofdnaam (als code) van de laag geotechnische codering
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
AA - AA - amfiboliet
AB - AB - andesiet
AC - AC - anhydriet
AD - AD - ankeriet
AE - AE - arkose
AF - AF - afval
AG - AG - as
AN - AN - ant. n. vloeistofd.
AR - AR - areniet
AT - AT - asfalt
AV - AV - ant. vloeistofdicht
AW - AW - ant. w. vloeistofd.
BA - BA - basalt
BB - BB - bauxiet
BC - BC - bentoniet
BK - BK - baksteen
BS - BS - blauwshist
BT - BT - beton
CA - CA - carbonaatfragmenten
CB - CB - conglomeraat/breccie
CO - CO - steenkool
CT - CT - chert (gebande)
DA - DA - daciet
DB - DB - diatomiet
DC - DC - dioriet
DD - DD - dolerriet
DE - DE - duniet
DK - DK - dolom kalksteen
DL - DL - dolomiet
EA - EA - evaporiet
EC - EC - eclogiet
FA - FA - fosforiet
FE - FE - ijzer
FG - FG - fijn grind
FO - FO - fossielen
FY - FY - fylliet
FZ - FZ - fijn zand
GA - GA - geroerd / gestoord
GB - GB - gabbro
GC - GC - gips
GD - GD - gneiss
GE - GE - graniet
GF - GF - granodioriet
GG - GG - grof grind
GH - GH - groenshist
GI - GI - glimmers
GL - GL - glauconiet
GM - GM - gespleten metamorf
GS - GS - groensteen
GZ - GZ - grof zand
HA - HA - haliet
HB - HB - hematiet
HC - HC - houtskool
HD - HD - hornfels
HT - HT - houtresten
HU - HU - humus
IA - IA - ijzerooliet
IN - IN - intrusief gesteente
KA - KA - kalk
KB - KB - kalksteenbreccie
KC - KC - kalkschiefer
KL - KL - klei
KO - KO - komatiet
KR - KR - krijt
KS - KS - kalksteen
KT - KT - kleisteen
KW - KW - kwartsiet
LA - LA - lateriet
LE - LE - leem
LG - LG - ligniet
LI - LI - limoniet
LS - LS - leisteen
MA - MA - marmer
MB - MB - micashist
ME - ME - mergel
MG - MG - middelmatig grind
MI - MI - migmatiet
MM - MM - metamorf gesteente
MS - MS - schiefer
MY - MY - myloniet
MZ - MZ - middelmatig zand
NN - NN - nummulieten
OK - OK - oölitische kalksteen
OM - OM - organisch materiaal
PA - PA - pegmatiet
PB - PB - peridodiet
PC - PC - poederkool
PD - PD - pyroxeniet
PL - PL - plantenresten
PM - PM - puimsteen
PS - PS - psammiet
PU - PU - puin
PY - PY - pyriet
QU - QU - kwarts
RA - RA - radiolariet
RB - RB - rhyoliet
RO - RO - rots
RV - RV - verweerde rots
SA - SA - sideriet
SC - SC - schelpen
SE - SE - sedimentair
SF - SF - schelpfragmenten
SG - SG - schelpgruis
SH - SH - schalie
SI - SI - silt
SK - SK - schieferige kalkst.
SL - SL - slib
SN - SN - steenfragmenten
SO - SO - scoria
SP - SP - serpentiniet
SS - SS - siltsteen
ST - ST - stenen
SX - SX - silex
SY - SY - shist
TA - TA - teelaarde
TB - TB - tuff
TS - TS - tufsteen (tuffeau)
VA - VA - vulkanisch gesteente
VE - VE - veen
VS - VS - vuursteen
WA - WA - wacksteen
XG - XG - grind
XX - XX - onbekend
XZ - XZ - zand
ZE - ZE - zeepsteen
ZK - ZK - kalkzandsteen
ZL - ZL - zandleem
ZS - ZS - zandsteen
hoofdnaam2_grondsoort - Secundaire grondsoort (als code) van de laag geotechnische codering
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
AA - AA - amfiboliet
AB - AB - andesiet
AC - AC - anhydriet
AD - AD - ankeriet
AE - AE - arkose
AF - AF - afval
AG - AG - as
AN - AN - ant. n. vloeistofd.
AR - AR - areniet
AT - AT - asfalt
AV - AV - ant. vloeistofdicht
AW - AW - ant. w. vloeistofd.
BA - BA - basalt
BB - BB - bauxiet
BC - BC - bentoniet
BK - BK - baksteen
BS - BS - blauwshist
BT - BT - beton
CA - CA - carbonaatfragmenten
CB - CB - conglomeraat/breccie
CO - CO - steenkool
CT - CT - chert (gebande)
DA - DA - daciet
DB - DB - diatomiet
DC - DC - dioriet
DD - DD - dolerriet
DE - DE - duniet
DK - DK - dolom kalksteen
DL - DL - dolomiet
EA - EA - evaporiet
EC - EC - eclogiet
FA - FA - fosforiet
FE - FE - ijzer
FG - FG - fijn grind
FO - FO - fossielen
FY - FY - fylliet
FZ - FZ - fijn zand
GA - GA - geroerd / gestoord
GB - GB - gabbro
GC - GC - gips
GD - GD - gneiss
GE - GE - graniet
GF - GF - granodioriet
GG - GG - grof grind
GH - GH - groenshist
GI - GI - glimmers
GL - GL - glauconiet
GM - GM - gespleten metamorf
GS - GS - groensteen
GZ - GZ - grof zand
HA - HA - haliet
HB - HB - hematiet
HC - HC - houtskool
HD - HD - hornfels
HT - HT - houtresten
HU - HU - humus
IA - IA - ijzerooliet
IN - IN - intrusief gesteente
KA - KA - kalk
KB - KB - kalksteenbreccie
KC - KC - kalkschiefer
KL - KL - klei
KO - KO - komatiet
KR - KR - krijt
KS - KS - kalksteen
KT - KT - kleisteen
KW - KW - kwartsiet
LA - LA - lateriet
LE - LE - leem
LG - LG - ligniet
LI - LI - limoniet
LS - LS - leisteen
MA - MA - marmer
MB - MB - micashist
ME - ME - mergel
MG - MG - middelmatig grind
MI - MI - migmatiet
MM - MM - metamorf gesteente
MS - MS - schiefer
MY - MY - myloniet
MZ - MZ - middelmatig zand
NN - NN - nummulieten
OK - OK - oölitische kalksteen
OM - OM - organisch materiaal
PA - PA - pegmatiet
PB - PB - peridodiet
PC - PC - poederkool
PD - PD - pyroxeniet
PL - PL - plantenresten
PM - PM - puimsteen
PS - PS - psammiet
PU - PU - puin
PY - PY - pyriet
QU - QU - kwarts
RA - RA - radiolariet
RB - RB - rhyoliet
RO - RO - rots
RV - RV - verweerde rots
SA - SA - sideriet
SC - SC - schelpen
SE - SE - sedimentair
SF - SF - schelpfragmenten
SG - SG - schelpgruis
SH - SH - schalie
SI - SI - silt
SK - SK - schieferige kalkst.
SL - SL - slib
SN - SN - steenfragmenten
SO - SO - scoria
SP - SP - serpentiniet
SS - SS - siltsteen
ST - ST - stenen
SX - SX - silex
SY - SY - shist
TA - TA - teelaarde
TB - TB - tuff
TS - TS - tufsteen (tuffeau)
VA - VA - vulkanisch gesteente
VE - VE - veen
VS - VS - vuursteen
WA - WA - wacksteen
XG - XG - grind
XX - XX - onbekend
XZ - XZ - zand
ZE - ZE - zeepsteen
ZK - ZK - kalkzandsteen
ZL - ZL - zandleem
ZS - ZS - zandsteen
bijmenging1_plaatselijk - plaatselijk of niet-plaatselijk
- type: boolean
- notnull: False
- query: False
- cost: 10
- multivalue: False
bijmenging1_hoeveelheid - aanduiding van de hoeveelheid bijmenging
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
M - M - Xhoudend
N - N - geen aanduiding van de hoeveelheid
S - S - sterk Xhoudend
V - V - veel X
W - W - weinig X
Z - Z - weinig Xhoudend
bijmenging1_grondsoort - type grondsoort (als code) van de laag geotechnische codering
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
AA - AA - amfiboliet
AB - AB - andesiet
AC - AC - anhydriet
AD - AD - ankeriet
AE - AE - arkose
AF - AF - afval
AG - AG - as
AN - AN - ant. n. vloeistofd.
AR - AR - areniet
AT - AT - asfalt
AV - AV - ant. vloeistofdicht
AW - AW - ant. w. vloeistofd.
BA - BA - basalt
BB - BB - bauxiet
BC - BC - bentoniet
BK - BK - baksteen
BS - BS - blauwshist
BT - BT - beton
CA - CA - carbonaatfragmenten
CB - CB - conglomeraat/breccie
CO - CO - steenkool
CT - CT - chert (gebande)
DA - DA - daciet
DB - DB - diatomiet
DC - DC - dioriet
DD - DD - dolerriet
DE - DE - duniet
DK - DK - dolom kalksteen
DL - DL - dolomiet
EA - EA - evaporiet
EC - EC - eclogiet
FA - FA - fosforiet
FE - FE - ijzer
FG - FG - fijn grind
FO - FO - fossielen
FY - FY - fylliet
FZ - FZ - fijn zand
GA - GA - geroerd / gestoord
GB - GB - gabbro
GC - GC - gips
GD - GD - gneiss
GE - GE - graniet
GF - GF - granodioriet
GG - GG - grof grind
GH - GH - groenshist
GI - GI - glimmers
GL - GL - glauconiet
GM - GM - gespleten metamorf
GS - GS - groensteen
GZ - GZ - grof zand
HA - HA - haliet
HB - HB - hematiet
HC - HC - houtskool
HD - HD - hornfels
HT - HT - houtresten
HU - HU - humus
IA - IA - ijzerooliet
IN - IN - intrusief gesteente
KA - KA - kalk
KB - KB - kalksteenbreccie
KC - KC - kalkschiefer
KL - KL - klei
KO - KO - komatiet
KR - KR - krijt
KS - KS - kalksteen
KT - KT - kleisteen
KW - KW - kwartsiet
LA - LA - lateriet
LE - LE - leem
LG - LG - ligniet
LI - LI - limoniet
LS - LS - leisteen
MA - MA - marmer
MB - MB - micashist
ME - ME - mergel
MG - MG - middelmatig grind
MI - MI - migmatiet
MM - MM - metamorf gesteente
MS - MS - schiefer
MY - MY - myloniet
MZ - MZ - middelmatig zand
NN - NN - nummulieten
OK - OK - oölitische kalksteen
OM - OM - organisch materiaal
PA - PA - pegmatiet
PB - PB - peridodiet
PC - PC - poederkool
PD - PD - pyroxeniet
PL - PL - plantenresten
PM - PM - puimsteen
PS - PS - psammiet
PU - PU - puin
PY - PY - pyriet
QU - QU - kwarts
RA - RA - radiolariet
RB - RB - rhyoliet
RO - RO - rots
RV - RV - verweerde rots
SA - SA - sideriet
SC - SC - schelpen
SE - SE - sedimentair
SF - SF - schelpfragmenten
SG - SG - schelpgruis
SH - SH - schalie
SI - SI - silt
SK - SK - schieferige kalkst.
SL - SL - slib
SN - SN - steenfragmenten
SO - SO - scoria
SP - SP - serpentiniet
SS - SS - siltsteen
ST - ST - stenen
SX - SX - silex
SY - SY - shist
TA - TA - teelaarde
TB - TB - tuff
TS - TS - tufsteen (tuffeau)
VA - VA - vulkanisch gesteente
VE - VE - veen
VS - VS - vuursteen
WA - WA - wacksteen
XG - XG - grind
XX - XX - onbekend
XZ - XZ - zand
ZE - ZE - zeepsteen
ZK - ZK - kalkzandsteen
ZL - ZL - zandleem
ZS - ZS - zandsteen
bijmenging2_plaatselijk - plaatselijk of niet-plaatselijk
- type: boolean
- notnull: False
- query: False
- cost: 10
- multivalue: False
bijmenging2_hoeveelheid - aanduiding van de hoeveelheid bijmenging
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
M - M - Xhoudend
N - N - geen aanduiding van de hoeveelheid
S - S - sterk Xhoudend
V - V - veel X
W - W - weinig X
Z - Z - weinig Xhoudend
bijmenging2_grondsoort - type grondsoort (als code) van de laag geotechnische codering
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
AA - AA - amfiboliet
AB - AB - andesiet
AC - AC - anhydriet
AD - AD - ankeriet
AE - AE - arkose
AF - AF - afval
AG - AG - as
AN - AN - ant. n. vloeistofd.
AR - AR - areniet
AT - AT - asfalt
AV - AV - ant. vloeistofdicht
AW - AW - ant. w. vloeistofd.
BA - BA - basalt
BB - BB - bauxiet
BC - BC - bentoniet
BK - BK - baksteen
BS - BS - blauwshist
BT - BT - beton
CA - CA - carbonaatfragmenten
CB - CB - conglomeraat/breccie
CO - CO - steenkool
CT - CT - chert (gebande)
DA - DA - daciet
DB - DB - diatomiet
DC - DC - dioriet
DD - DD - dolerriet
DE - DE - duniet
DK - DK - dolom kalksteen
DL - DL - dolomiet
EA - EA - evaporiet
EC - EC - eclogiet
FA - FA - fosforiet
FE - FE - ijzer
FG - FG - fijn grind
FO - FO - fossielen
FY - FY - fylliet
FZ - FZ - fijn zand
GA - GA - geroerd / gestoord
GB - GB - gabbro
GC - GC - gips
GD - GD - gneiss
GE - GE - graniet
GF - GF - granodioriet
GG - GG - grof grind
GH - GH - groenshist
GI - GI - glimmers
GL - GL - glauconiet
GM - GM - gespleten metamorf
GS - GS - groensteen
GZ - GZ - grof zand
HA - HA - haliet
HB - HB - hematiet
HC - HC - houtskool
HD - HD - hornfels
HT - HT - houtresten
HU - HU - humus
IA - IA - ijzerooliet
IN - IN - intrusief gesteente
KA - KA - kalk
KB - KB - kalksteenbreccie
KC - KC - kalkschiefer
KL - KL - klei
KO - KO - komatiet
KR - KR - krijt
KS - KS - kalksteen
KT - KT - kleisteen
KW - KW - kwartsiet
LA - LA - lateriet
LE - LE - leem
LG - LG - ligniet
LI - LI - limoniet
LS - LS - leisteen
MA - MA - marmer
MB - MB - micashist
ME - ME - mergel
MG - MG - middelmatig grind
MI - MI - migmatiet
MM - MM - metamorf gesteente
MS - MS - schiefer
MY - MY - myloniet
MZ - MZ - middelmatig zand
NN - NN - nummulieten
OK - OK - oölitische kalksteen
OM - OM - organisch materiaal
PA - PA - pegmatiet
PB - PB - peridodiet
PC - PC - poederkool
PD - PD - pyroxeniet
PL - PL - plantenresten
PM - PM - puimsteen
PS - PS - psammiet
PU - PU - puin
PY - PY - pyriet
QU - QU - kwarts
RA - RA - radiolariet
RB - RB - rhyoliet
RO - RO - rots
RV - RV - verweerde rots
SA - SA - sideriet
SC - SC - schelpen
SE - SE - sedimentair
SF - SF - schelpfragmenten
SG - SG - schelpgruis
SH - SH - schalie
SI - SI - silt
SK - SK - schieferige kalkst.
SL - SL - slib
SN - SN - steenfragmenten
SO - SO - scoria
SP - SP - serpentiniet
SS - SS - siltsteen
ST - ST - stenen
SX - SX - silex
SY - SY - shist
TA - TA - teelaarde
TB - TB - tuff
TS - TS - tufsteen (tuffeau)
VA - VA - vulkanisch gesteente
VE - VE - veen
VS - VS - vuursteen
WA - WA - wacksteen
XG - XG - grind
XX - XX - onbekend
XZ - XZ - zand
ZE - ZE - zeepsteen
ZK - ZK - kalkzandsteen
ZL - ZL - zandleem
ZS - ZS - zandsteen
bijmenging3_plaatselijk - plaatselijk of niet-plaatselijk
- type: boolean
- notnull: False
- query: False
- cost: 10
- multivalue: False
bijmenging3_hoeveelheid - aanduiding van de hoeveelheid bijmenging
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
M - M - Xhoudend
N - N - geen aanduiding van de hoeveelheid
S - S - sterk Xhoudend
V - V - veel X
W - W - weinig X
Z - Z - weinig Xhoudend
bijmenging3_grondsoort - type grondsoort (als code) van de laag geotechnische codering
- type: string
- notnull: False
- query: False
- cost: 10
- multivalue: False
- codelist:
AA - AA - amfiboliet
AB - AB - andesiet
AC - AC - anhydriet
AD - AD - ankeriet
AE - AE - arkose
AF - AF - afval
AG - AG - as
AN - AN - ant. n. vloeistofd.
AR - AR - areniet
AT - AT - asfalt
AV - AV - ant. vloeistofdicht
AW - AW - ant. w. vloeistofd.
BA - BA - basalt
BB - BB - bauxiet
BC - BC - bentoniet
BK - BK - baksteen
BS - BS - blauwshist
BT - BT - beton
CA - CA - carbonaatfragmenten
CB - CB - conglomeraat/breccie
CO - CO - steenkool
CT - CT - chert (gebande)
DA - DA - daciet
DB - DB - diatomiet
DC - DC - dioriet
DD - DD - dolerriet
DE - DE - duniet
DK - DK - dolom kalksteen
DL - DL - dolomiet
EA - EA - evaporiet
EC - EC - eclogiet
FA - FA - fosforiet
FE - FE - ijzer
FG - FG - fijn grind
FO - FO - fossielen
FY - FY - fylliet
FZ - FZ - fijn zand
GA - GA - geroerd / gestoord
GB - GB - gabbro
GC - GC - gips
GD - GD - gneiss
GE - GE - graniet
GF - GF - granodioriet
GG - GG - grof grind
GH - GH - groenshist
GI - GI - glimmers
GL - GL - glauconiet
GM - GM - gespleten metamorf
GS - GS - groensteen
GZ - GZ - grof zand
HA - HA - haliet
HB - HB - hematiet
HC - HC - houtskool
HD - HD - hornfels
HT - HT - houtresten
HU - HU - humus
IA - IA - ijzerooliet
IN - IN - intrusief gesteente
KA - KA - kalk
KB - KB - kalksteenbreccie
KC - KC - kalkschiefer
KL - KL - klei
KO - KO - komatiet
KR - KR - krijt
KS - KS - kalksteen
KT - KT - kleisteen
KW - KW - kwartsiet
LA - LA - lateriet
LE - LE - leem
LG - LG - ligniet
LI - LI - limoniet
LS - LS - leisteen
MA - MA - marmer
MB - MB - micashist
ME - ME - mergel
MG - MG - middelmatig grind
MI - MI - migmatiet
MM - MM - metamorf gesteente
MS - MS - schiefer
MY - MY - myloniet
MZ - MZ - middelmatig zand
NN - NN - nummulieten
OK - OK - oölitische kalksteen
OM - OM - organisch materiaal
PA - PA - pegmatiet
PB - PB - peridodiet
PC - PC - poederkool
PD - PD - pyroxeniet
PL - PL - plantenresten
PM - PM - puimsteen
PS - PS - psammiet
PU - PU - puin
PY - PY - pyriet
QU - QU - kwarts
RA - RA - radiolariet
RB - RB - rhyoliet
RO - RO - rots
RV - RV - verweerde rots
SA - SA - sideriet
SC - SC - schelpen
SE - SE - sedimentair
SF - SF - schelpfragmenten
SG - SG - schelpgruis
SH - SH - schalie
SI - SI - silt
SK - SK - schieferige kalkst.
SL - SL - slib
SN - SN - steenfragmenten
SO - SO - scoria
SP - SP - serpentiniet
SS - SS - siltsteen
ST - ST - stenen
SX - SX - silex
SY - SY - shist
TA - TA - teelaarde
TB - TB - tuff
TS - TS - tufsteen (tuffeau)
VA - VA - vulkanisch gesteente
VE - VE - veen
VS - VS - vuursteen
WA - WA - wacksteen
XG - XG - grind
XX - XX - onbekend
XZ - XZ - zand
ZE - ZE - zeepsteen
ZK - ZK - kalkzandsteen
ZL - ZL - zandleem
ZS - ZS - zandsteen
Example use cases
Get ‘Geotechnische codering’ in a bounding box
Get data for all the ‘Geotechnische codering’ interpretations that are geographically located within the bounds of the specified box.
The coordinates are in the Belgian Lambert72 (EPSG:31370) coordinate system and are given in the order of lower left x, lower left y, upper right x, upper right y.
[7]:
from pydov.util.location import Within, Box
df = itp.search(location=Within(Box(108281, 197850, 108282, 197851, epsg=31370)))
df.head()
[000/001] .
[000/001] .
[7]:
| pkey_interpretatie | pkey_boring | betrouwbaarheid_interpretatie | x | y | start_interpretatie_mtaw | diepte_laag_van | diepte_laag_tot | hoofdnaam1_grondsoort | hoofdnaam2_grondsoort | bijmenging1_plaatselijk | bijmenging1_hoeveelheid | bijmenging1_grondsoort | bijmenging2_plaatselijk | bijmenging2_hoeveelheid | bijmenging2_grondsoort | bijmenging3_plaatselijk | bijmenging3_hoeveelheid | bijmenging3_grondsoort | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2011... | goed | 108281.2 | 197850.2 | 7.99 | 0.0 | 0.5 | FZ | NaN | False | N | LE | False | N | PL | NaN | NaN | NaN |
| 1 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2011... | goed | 108281.2 | 197850.2 | 7.99 | 0.5 | 1.0 | LE | NaN | False | V | XZ | NaN | NaN | NaN | NaN | NaN | NaN |
| 2 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2011... | goed | 108281.2 | 197850.2 | 7.99 | 1.0 | 3.0 | FZ | NaN | False | W | LE | NaN | NaN | NaN | NaN | NaN | NaN |
| 3 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2011... | goed | 108281.2 | 197850.2 | 7.99 | 3.0 | 4.5 | FZ | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| 4 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2011... | goed | 108281.2 | 197850.2 | 7.99 | 4.5 | 5.0 | FZ | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
The dataframe contains one ‘Geotechnische codering’ interpretation where ten layers (‘laag’) were identified. The available data are flattened to represent unique attributes per row of the dataframe.
Using the pkey_interpretatie field one can request the details of this interpretation in a webbrowser:
[8]:
for pkey_interpretatie in set(df.pkey_interpretatie):
print(pkey_interpretatie)
https://www.dov.vlaanderen.be/data/interpretatie/2011-172244
Get ‘Geotechnische codering’ with specific properties within a distance from a point
Next to querying interpretations based on their geographic location within a bounding box, we can also search for interpretations matching a specific set of properties. For this we can build a query using a combination of the ‘Geotechnische codering’ fields and operators provided by the WFS protocol.
A list of possible operators can be found below:
[9]:
[i for i,j in inspect.getmembers(sys.modules['owslib.fes2'], inspect.isclass) if 'Property' in i]
[9]:
['PropertyIsBetween',
'PropertyIsEqualTo',
'PropertyIsGreaterThan',
'PropertyIsGreaterThanOrEqualTo',
'PropertyIsLessThan',
'PropertyIsLessThanOrEqualTo',
'PropertyIsLike',
'PropertyIsNotEqualTo',
'PropertyIsNull',
'SortProperty']
In this example we build a query using the PropertyIsGreaterThan and PropertyIsEqualTo operators to find all interpretations that are at least 20 m deep, that are deemed appropriate for a range of 1 km from a defined point:
[10]:
from owslib.fes2 import And, PropertyIsGreaterThan, PropertyIsEqualTo
from pydov.util.location import WithinDistance, Point
query = And([PropertyIsEqualTo(propertyname='Betrouwbaarheid',
literal='goed'),
PropertyIsGreaterThan(propertyname='diepte_tot_m',
literal='20'),
])
df = itp.search(query=query,
location=WithinDistance(Point(153145, 206930, epsg=31370), 1000))
df.head()
[000/001] .
[000/003] ...
[10]:
| pkey_interpretatie | pkey_boring | betrouwbaarheid_interpretatie | x | y | start_interpretatie_mtaw | diepte_laag_van | diepte_laag_tot | hoofdnaam1_grondsoort | hoofdnaam2_grondsoort | bijmenging1_plaatselijk | bijmenging1_hoeveelheid | bijmenging1_grondsoort | bijmenging2_plaatselijk | bijmenging2_hoeveelheid | bijmenging2_grondsoort | bijmenging3_plaatselijk | bijmenging3_hoeveelheid | bijmenging3_grondsoort | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1971... | goed | 153993.0 | 206978.0 | 14.8 | 0.00 | 2.00 | FZ | NaN | False | N | LE | NaN | NaN | NaN | NaN | NaN | NaN |
| 1 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1971... | goed | 153993.0 | 206978.0 | 14.8 | 2.00 | 3.00 | FZ | LE | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| 2 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1971... | goed | 153993.0 | 206978.0 | 14.8 | 3.00 | 3.75 | FZ | NaN | False | N | LE | False | N | SX | False | N | SF |
| 3 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1971... | goed | 153993.0 | 206978.0 | 14.8 | 3.75 | 4.25 | FZ | NaN | False | N | GL | NaN | NaN | NaN | NaN | NaN | NaN |
| 4 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1971... | goed | 153993.0 | 206978.0 | 14.8 | 4.25 | 13.00 | FZ | NaN | False | N | GL | NaN | NaN | NaN | NaN | NaN | NaN |
Once again we can use the pkey_interpretatie as a permanent link to the information of these interpretations:
[11]:
for pkey_interpretatie in set(df.pkey_interpretatie):
print(pkey_interpretatie)
https://www.dov.vlaanderen.be/data/interpretatie/2012-180862
https://www.dov.vlaanderen.be/data/interpretatie/2012-180863
https://www.dov.vlaanderen.be/data/interpretatie/2012-180861
Get ‘Geotechnische codering’ in a bounding box based on specific properties
We can combine a query on attributes with a query on geographic location to get the interpretations within a bounding box that have specific properties.
The following example requests the interpretations of boreholes only, within the given bounding box.
(Note that the datatype of the literal parameter should be a string, regardless of the datatype of this field in the output dataframe.)
[12]:
from owslib.fes2 import PropertyIsEqualTo
query = PropertyIsEqualTo(
propertyname='Type_proef',
literal='Boring')
df = itp.search(
location=Within(Box(153145, 206930, 154145, 207930, epsg=31370)),
query=query
)
df.head()
[000/001] .
[000/021] ..c.cc...............
[12]:
| pkey_interpretatie | pkey_boring | betrouwbaarheid_interpretatie | x | y | start_interpretatie_mtaw | diepte_laag_van | diepte_laag_tot | hoofdnaam1_grondsoort | hoofdnaam2_grondsoort | bijmenging1_plaatselijk | bijmenging1_hoeveelheid | bijmenging1_grondsoort | bijmenging2_plaatselijk | bijmenging2_hoeveelheid | bijmenging2_grondsoort | bijmenging3_plaatselijk | bijmenging3_hoeveelheid | bijmenging3_grondsoort | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1970... | goed | 153963.0 | 207151.0 | 15.54 | 0.00 | 0.75 | FZ | LE | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| 1 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1970... | goed | 153963.0 | 207151.0 | 15.54 | 0.75 | 1.25 | FZ | LE | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| 2 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1970... | goed | 153963.0 | 207151.0 | 15.54 | 1.25 | 1.75 | LE | NaN | False | N | FZ | NaN | NaN | NaN | NaN | NaN | NaN |
| 3 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1970... | goed | 153963.0 | 207151.0 | 15.54 | 1.75 | 1.90 | KL | NaN | False | V | FZ | False | W | GL | NaN | NaN | NaN |
| 4 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/1970... | goed | 153963.0 | 207151.0 | 15.54 | 1.90 | 2.75 | KL | NaN | False | V | FZ | False | W | GL | NaN | NaN | NaN |
We can look at one of the interpretations in a webbrowser using its pkey_interpretatie:
[13]:
for pkey_interpretatie in set(df.pkey_interpretatie):
print(pkey_interpretatie)
https://www.dov.vlaanderen.be/data/interpretatie/2013-182280
https://www.dov.vlaanderen.be/data/interpretatie/2013-182279
https://www.dov.vlaanderen.be/data/interpretatie/2012-180855
https://www.dov.vlaanderen.be/data/interpretatie/2012-180863
https://www.dov.vlaanderen.be/data/interpretatie/2012-180853
https://www.dov.vlaanderen.be/data/interpretatie/2013-182360
https://www.dov.vlaanderen.be/data/interpretatie/2013-182282
https://www.dov.vlaanderen.be/data/interpretatie/2012-180864
https://www.dov.vlaanderen.be/data/interpretatie/2013-182359
https://www.dov.vlaanderen.be/data/interpretatie/2012-180852
https://www.dov.vlaanderen.be/data/interpretatie/2013-182276
https://www.dov.vlaanderen.be/data/interpretatie/2013-182275
https://www.dov.vlaanderen.be/data/interpretatie/2024-385644
https://www.dov.vlaanderen.be/data/interpretatie/2012-180866
https://www.dov.vlaanderen.be/data/interpretatie/2013-182278
https://www.dov.vlaanderen.be/data/interpretatie/2013-182281
https://www.dov.vlaanderen.be/data/interpretatie/2013-182358
https://www.dov.vlaanderen.be/data/interpretatie/2012-180867
https://www.dov.vlaanderen.be/data/interpretatie/2012-180861
https://www.dov.vlaanderen.be/data/interpretatie/2012-180862
https://www.dov.vlaanderen.be/data/interpretatie/2012-180851
Get ‘Geotechnische codering’ based on fields not available in the standard output dataframe
To keep the output dataframe size acceptable, not all available WFS fields are included in the standard output. However, one can use this information to select interpretations as illustrated below.
For example, make a selection of the interpretations in municipality the of Antwerp, before 1/1/1990:
!remark: mind that the municipality attribute is merely an attribute that is defined by the person entering the data. It can be ok, empty, outdated or wrong!
[14]:
from owslib.fes2 import And, PropertyIsEqualTo, PropertyIsLessThan
query = And([PropertyIsEqualTo(propertyname='gemeente',
literal='Antwerpen'),
PropertyIsLessThan(propertyname='Datum',
literal='2010-01-01')]
)
df = itp.search(query=query,
return_fields=('pkey_interpretatie', 'Datum'))
df.head()
[000/001] .
[14]:
| pkey_interpretatie | Datum | |
|---|---|---|
| 0 | https://www.dov.vlaanderen.be/data/interpretat... | 2005-01-12 |
| 1 | https://www.dov.vlaanderen.be/data/interpretat... | 2005-02-10 |
| 2 | https://www.dov.vlaanderen.be/data/interpretat... | 2005-02-10 |
| 3 | https://www.dov.vlaanderen.be/data/interpretat... | 2007-03-26 |
| 4 | https://www.dov.vlaanderen.be/data/interpretat... | 2007-03-26 |
Get ‘Geotechnische codering’ data, returning fields not available in the standard output dataframe
As denoted in the previous example, not all available fields are available in the default output frame to keep its size limited. However, you can request any available field by including it in the return_fields parameter of the search:
[15]:
query = PropertyIsEqualTo(
propertyname='gemeente',
literal='Leuven')
df = itp.search(query=query,
return_fields=('pkey_interpretatie', 'pkey_boring',
'x', 'y', 'start_interpretatie_mtaw', 'gemeente', 'Auteurs', 'Proefnummer'))
df.head()
[000/001] .
[15]:
| pkey_interpretatie | pkey_boring | x | y | start_interpretatie_mtaw | gemeente | Auteurs | Proefnummer | |
|---|---|---|---|---|---|---|---|---|
| 0 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2006... | 173963.00 | 176901.00 | 16.38 | Leuven | Luyten, Marc - VO - Afdeling Geotechniek | GEO-06/172-B1 |
| 1 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2006... | 173939.00 | 176863.00 | 17.08 | Leuven | Luyten, Marc - VO - Afdeling Geotechniek | GEO-06/172-B3 |
| 2 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2005... | 173878.78 | 177091.69 | 17.74 | Leuven | Luyten, Marc - MVG - Afdeling Geotechniek | GEO-05/043-B1 |
| 3 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2005... | 173884.96 | 177091.37 | 17.67 | Leuven | Luyten, Marc - MVG - Afdeling Geotechniek | GEO-05/043-B2 |
| 4 | https://www.dov.vlaanderen.be/data/interpretat... | https://www.dov.vlaanderen.be/data/boring/2005... | 173912.61 | 177102.32 | 16.33 | Leuven | Luyten, Marc - MVG - Afdeling Geotechniek | GEO-05/043-B3 |
Visualize results
Using Folium, we can display the results of our search on a map.
[16]:
# import the necessary modules (not included in the requirements of pydov!)
import folium
from folium.plugins import MarkerCluster
from pyproj import Transformer
[17]:
# convert the coordinates to lat/lon for folium
def convert_latlon(x1, y1):
transformer = Transformer.from_crs("epsg:31370", "epsg:4326", always_xy=True)
x2,y2 = transformer.transform(x1, y1)
return x2, y2
df['lon'], df['lat'] = zip(*map(convert_latlon, df['x'], df['y']))
# convert to list
loclist = df[['lat', 'lon']].values.tolist()
[18]:
# initialize the Folium map on the centre of the selected locations, play with the zoom until ok
fmap = folium.Map(location=[df['lat'].mean(), df['lon'].mean()], zoom_start=12)
marker_cluster = MarkerCluster().add_to(fmap)
for loc in range(0, len(loclist)):
folium.Marker(loclist[loc], popup=df['Proefnummer'][loc]).add_to(marker_cluster)
fmap
[18]: