Schema: data

data

Specialized AI4SoilHealth data related objects



Tables


aggregate_region

Aggregate region

Name Type Description
key character_varying
id integer
soil_type_code character_varying
environmental_zone_code character_varying
soil_type_id integer

foreign key to catalog.soil_type.id

environmental_zone_id integer

foreign key to catalog.environmental_zone.id


aggregate_stability

Aggregate stability

Name Type Description
aggregate_stability_index double_precision
observation_id integer

foreign key to data.observation.id

aggregate_stability_app_id integer

foreign key to catalog.aggregate_stability_app.id

app_version character_varying
id integer


asset

Assets from Open Environmental Data Cube

Name Type Description
main_url character_varying
id integer
orig_id character_varying
ignore boolean
asset_catalog_id integer

foreign key to catalog.asset_catalog.id

title character_varying
description character_varying
asset_theme_id integer

foreign key to catalog.asset_theme.id

keywords_list character_varying
asset_version_id integer

foreign key to catalog.asset_version.id

doi character_varying
unit_id integer

foreign key to catalog.unit.id

scale_factor character_varying
person_id integer

foreign key to auth.person.id

providers_list character_varying
license_id integer

foreign key to catalog.license.id

constellation_list character_varying
platform character_varying
instruments_list character_varying
gsd character_varying
start_date date
end_date date
date_step integer
date_offset character_varying
date_unit_id integer

foreign key to catalog.date_unit.id

date_style_id integer

foreign key to catalog.date_style.id

ignore_29feb boolean
depth_list character_varying
main_sld_url character_varying
sld_1_url character_varying
main_qml_url character_varying
color_map character_varying
no_data integer
decimals integer
indicator_id integer

foreign key to data.indicator.id

synonyms character_varying


attribute

Values for non numerical attributes of data sets.

Name Type Description
id integer
attribute_description_id integer

foreign key to data.attribute_description.id

date date
data_source_id integer

foreign key to data.data_source.id

indicator_id integer

foreign key to data.indicator.id

point_id integer

foreign key to data.point.id

depth_id integer

foreign key to data.depth.id


attribute_description

Catalog of non numerical attributes of data sets.

Name Type Description
code character_varying
id integer
indicator_id integer

foreign key to data.indicator.id

name character_varying
value integer
color_id integer

foreign key to general.color.id


bioinformatic_treatment

Bioinformatic treatment

Name Type Description
url character_varying
id integer
name character_varying


catalog

Catalog

Name Type Description
id integer
unit integer


cultivation

Cultivation

Name Type Description
cultivation_year smallint
id integer
point_id integer

foreign key to data.point.id

manure_fertilisation_kg_ha smallint
chemical_fertilisation_kg_ha smallint
pesticides_kg_ha smallint
irrigation_mm smallint
tillage boolean
main_crop_id integer

foreign key to catalog.crop.id

catch_crop_id integer

foreign key to catalog.crop.id

main_yield_kg_ha smallint
catch_yield_kg_ha smallint
person_id integer

foreign key to auth.person.id

start_date date
end_date date
perennial_crop boolean
cultivation_season_end_date date
baresoil_over_whole_season boolean
cultivation_season_start_date date


custom_geometry

User points or polygons for soil health data collection.

Name Type Description
name character_varying
public boolean
geometry geometry
person_id integer

foreign key to auth.person.id

id integer
time_modified timestamp_with_time_zone
time_created timestamp_with_time_zone


custom_geometry_file

Files attached to user points or polygons.

Name Type Description
pitch integer
mime_type character_varying
compass integer
lat double_precision
lon double_precision
geometry geometry
time_created timestamp_with_time_zone
time_modified timestamp_with_time_zone
id integer
custom_geometry_id integer

foreign key to data.custom_geometry.id

name character_varying
extension character_varying


custom_geometry_property

Properties of user points or polygons.

Name Type Description
id integer
custom_geometry_time_id integer

foreign key to data.custom_geometry_time.id

property_id integer

foreign key to data.property.id

value character_varying


custom_geometry_time

Points in time when properties of user points or polygons are collected.

Name Type Description
observation_time timestamp_with_time_zone
id integer
custom_geometry_id integer

foreign key to data.custom_geometry.id


data_source

Catalog of data sources of measurements or attributes.

Name Type Description
date_to date
id integer
ai4soilhealth_pilot boolean
url character_varying
description text
person_id integer

foreign key to auth.person.id

contact_person_id integer

foreign key to auth.person.id

country_id integer

foreign key to general.country.id

public boolean
srid integer
name character_varying
date_from date


depth

Catalog of depths of measurements or attributes.

Name Type Description
id integer
color_id integer

foreign key to general.color.id

name character_varying


edna

Edna

Name Type Description
accession_code character_varying
observation_id integer

foreign key to data.observation.id

nucleotide_archive_id integer

foreign key to data.nucleotide_archive.id

purification_id integer

foreign key to catalog.purification.id

amplification_id integer

foreign key to catalog.amplification.id

extraction_id integer

foreign key to catalog.extraction.id

id integer
sequencing_id integer

foreign key to catalog.sequencing.id

accession_url character_varying


email_template

Email template

Name Type Description
id integer
subject text
body text
time_created timestamp_with_time_zone
time_modified timestamp_with_time_zone


enzyme

Enzyme

Name Type Description
temperature double_precision
id integer
observation_id integer

foreign key to data.observation.id


enzyme_item

Enzyme item

Name Type Description
pmol_min double_precision
is_valid boolean
not_valid_reason character_varying
enzyme_id integer

foreign key to data.enzyme.id

id integer
enzyme_type_id integer

foreign key to catalog.enzyme_type.id

std_err double_precision


equipment

Equipment

Name Type Description
model character_varying
brand_id integer

foreign key to catalog.brand.id

nickname character_varying
id integer
serial_number character_varying
equipment_type_id integer

foreign key to catalog.equipment_type.id

person_id integer

foreign key to auth.person.id


equipment_indicator

Equipment indicator

Name Type Description
gain double_precision
indicator_id integer

foreign key to data.indicator.id

add double_precision
unit_id integer

foreign key to catalog.unit.id

id integer
equipment_id integer

foreign key to data.equipment.id


field_boundary

Field boundary

Name Type Description
ogc_fid integer
crop_type_id integer
geometry geometry
determination_method character_varying
planet:qa smallint
planet:micd real
planet:ca_ratio real
determination_datetime timestamp_with_time_zone
area real
id integer


geometry

Geometries of sites.

Name Type Description
parent_id integer
geometry_type_id integer

foreign key to data.geometry_type.id

id integer
geom geometry
properties json


geometry_statistics

Geometry statistics

Name Type Description
stdev real
n integer
time_span character_varying
max real
mean real
median real
q1 real
q3 real
depth_id integer
y Array.<integer>
x Array.<real>
geometry_type_id integer
id integer
parent_id integer
indicator_id integer
data_source_id integer
min real


geometry_type

Catalog of types of custom geometries.

Name Type Description
name character_varying
id integer


image

Image

Name Type Description
image_lightsource_id integer

foreign key to catalog.image_lightsource.id

file_name character_varying
extension character_varying
mime_type character_varying
compass integer
lat double_precision
lon double_precision
time_created timestamp_with_time_zone
time_modified timestamp_with_time_zone
pitch integer
sample_id integer

foreign key to data.sample.id

simple_observation_id integer

foreign key to data.simple_observation.id

image_substrate_id integer

foreign key to catalog.image_substrate.id

image_setup_id integer

foreign key to catalog.image_setup.id

id integer
name character_varying
image_approach_id integer

foreign key to catalog.image_approach.id

image_camera_id integer

foreign key to catalog.image_camera.id


import_procedure

Utility table to enable different imports

Name Type Description
date date
id integer
sheet character_varying
preprocess character_varying
proc_name character_varying
data_source_id integer

foreign key to data.data_source.id


indicator

Catalog of AI4SoilHealth data indicators.

Name Type Description
decimals_for_display integer
name character_varying
lod character_varying
unit_id integer

foreign key to catalog.unit.id

display_name character_varying
id integer
decimals_for_stats integer
numerical boolean
value_from real
value_to real
data_type_id integer
simple_observation boolean
description character_varying


indicator_color

Coloring scheme of AI4SoilHealth data indicators depending on value.

Name Type Description
indicator_id integer

foreign key to data.indicator.id

value_to real
color_id integer

foreign key to general.color.id

id integer


indicator_lang

Translations of AI4SoilHealth data indicators.

Name Type Description
value character_varying
indicator_id integer

foreign key to data.indicator.id

id integer
lang_id integer

foreign key to meta.lang.id


infiltration

Infiltration

Name Type Description
water_potential real
field_capacity real
saturated_conductivity real
observation_id integer

foreign key to data.observation.id

soil_moisture_method_id integer

foreign key to catalog.soil_moisture_method.id

unit_volume integer
ring_diameter double_precision
soil_moisture_after_infiltration double_precision
id integer
water_content real
wilting_point real


infiltration_time

Infiltration time

Name Type Description
order_no smallint
id integer
duration smallint
infiltration_id integer

foreign key to data.infiltration.id


lab_analysis_method

Lab analysis method

Name Type Description
usda_standard_id integer

foreign key to catalog.usda_standard.id

fao_standard_id integer

foreign key to catalog.fao_standard.id

name character_varying
id integer


lab_analysis_method_indicator

Lab analysis method indicator

Name Type Description
id integer
unit_id integer

foreign key to catalog.unit.id

indicator_id integer

foreign key to data.indicator.id

lab_analysis_method_id integer

foreign key to data.lab_analysis_method.id


laboratory

Laboratory

Name Type Description
url character_varying
id integer
address character_varying
country_id integer

foreign key to general.country.id

contact character_varying
name character_varying


land_use_boundary

Land use boundary

Name Type Description
geometry geometry
ogc_fid integer
dn integer


land_use_cover

Land use cover

Name Type Description
organic_farming boolean
id integer
point_id integer

foreign key to data.point.id

land_usage_detail_id integer
protected boolean
managed boolean


landscape

Landscape

Name Type Description
upward_slope smallint
distance_to_drainage_m smallint
person_id integer

foreign key to auth.person.id

comment text
downward_slope smallint
id integer
point_id integer

foreign key to data.point.id

date_stamp date
major_landform_id integer

foreign key to catalog.major_landform.id

hillslope_position_id integer

foreign key to catalog.hillslope_position.id


logistic

Logistic

Name Type Description
transport_id integer

foreign key to catalog.transport.id

preservation_id integer

foreign key to catalog.preservation.id

observation_id integer

foreign key to data.observation.id

id integer
storage_id integer

foreign key to catalog.storage.id

transport_duration_h smallint
storage_duration_h smallint
person_id integer

foreign key to auth.person.id

observation_type_id integer

foreign key to catalog.observation_type.id


macrofauna

Macrofauna

Name Type Description
id integer
excavation_tool_id integer

foreign key to catalog.macrofauna_excavation_tool.id

person_id integer

foreign key to auth.person.id

monolith_bottom integer
monolith_top integer
weight double_precision
specimen_quantity integer
life_cycle_stage_id integer

foreign key to catalog.life_cycle_stage.id

layer_id integer

foreign key to catalog.layer.id

taxa_id integer

foreign key to data.taxa.id

monolith_id integer

foreign key to catalog.monolith.id

extraction_method_id integer

foreign key to catalog.extraction_method.id

observation_id integer

foreign key to data.observation.id


measurement

Values of numerical measurements.

Name Type Description
depth_id integer

foreign key to data.depth.id

data_source_id integer

foreign key to data.data_source.id

id integer
indicator_id integer

foreign key to data.indicator.id

value real
point_id integer

foreign key to data.point.id

lod character
date date


method_transformation

Method transformation

Name Type Description
lab_analysis_method_from_id integer

foreign key to data.lab_analysis_method.id

transformation character_varying
id integer
lab_analysis_method_to_id integer

foreign key to data.lab_analysis_method.id


microbiometer

Microbiometer

Name Type Description
fungi smallint
id integer
observation_id integer

foreign key to data.observation.id

bacteria smallint
carbon_content double_precision


nucleotide_archive

Nucleotide archive

Name Type Description
url character_varying
info character_varying
proprietor_id integer

foreign key to catalog.proprietor.id

database_name character_varying
id integer


observation

Observation

Name Type Description
id integer
observation_type_id integer

foreign key to catalog.observation_type.id

date_stamp timestamp_with_time_zone
comment character_varying
laboratory_id integer

foreign key to data.laboratory.id

person_id integer

foreign key to auth.person.id

equipment_id integer

foreign key to data.equipment.id

repeat smallint
sample_preparation_id integer

foreign key to catalog.sample_preparation.id

subsample character_varying
sample_id integer

foreign key to data.sample.id


observation_measurement

Observation measurement

Name Type Description
id integer
observation_id integer

foreign key to data.observation.id

indicator_id integer

foreign key to data.indicator.id

value real
std_dev real
lab_analysis_method_id integer

foreign key to data.lab_analysis_method.id

date_stamp timestamp_with_time_zone
person_id integer

foreign key to auth.person.id

unit_id integer

foreign key to catalog.unit.id


point

Points where measurements were taken orr attributes recorded.

Name Type Description
point_abandoned date
position_error double_precision
site_id integer

foreign key to data.site.id

y double_precision
id integer
point_key character_varying
lat double_precision
lon double_precision
data_source_id integer

foreign key to data.data_source.id

sample integer
notes character_varying
l3_id integer

foreign key to general.nuts.id

elev integer
name character_varying
x double_precision
geom geometry
soil_class_id integer

foreign key to catalog.soil_class.id

person_id integer

foreign key to auth.person.id


point_state

Point state

Name Type Description
graminoid_presence boolean
tree_presence boolean
sampling_log_id integer

foreign key to data.sampling_log.id

id integer
bare_soil_presence boolean
gravel_cover_percent smallint
stone_cover_percent smallint
rock_cover_percent smallint
erosion_measure_id integer

foreign key to catalog.erosion_measure.id

visible_wind_erosion boolean
visible_gully_erosion boolean
visible_rill_erosion boolean
visible_sheet_erosion boolean
crop_growth_stage_id integer

foreign key to catalog.crop_growth_stage.id

lichen_moss_presence boolean
forb_presence boolean
shrub_presence boolean


prediction_model

Prediction model

Name Type Description
method character_varying
id integer
indicator_id integer
model bytea


property

Catalog of properties that can be attached to a certain geometry type.

Name Type Description
name character_varying
indicator_id integer

foreign key to data.indicator.id

data_type_id integer
unit_id integer

foreign key to catalog.unit.id

numerical boolean
mask character_varying
id integer


sample

Points in time when properties of user points or polygons are collected.

Name Type Description
min_depth integer
name character_varying
sampling_log_id integer

foreign key to data.sampling_log.id

id integer
comment text
person_id integer

foreign key to auth.person.id

sample_type_id integer

foreign key to catalog.sample_type.id

max_depth integer


sample_mass

Sample mass

Name Type Description
topsoil boolean
repeat smallint
soil_moisture_method_id integer

foreign key to catalog.soil_moisture_method.id

density double_precision
id integer
sample_id integer

foreign key to data.sample.id


sampling_checklist

Sampling checklist

Name Type Description
id integer
point_id integer

foreign key to data.point.id

wet_chemistry boolean
edna boolean
macrofauna boolean
microbiometer boolean
moulder boolean
fieldobs boolean
soil_spectra_no boolean
soil_spectra_mx boolean
soil_spectra_ds boolean
penetrometer_npkphcth boolean
enzymes boolean
ise_ph boolean
infiltration boolean


sampling_log

Sampling log

Name Type Description
id integer
name character_varying
person_id integer

foreign key to auth.person.id

date_stamp timestamp_with_time_zone
point_id integer

foreign key to data.point.id


sampling_log_image

Sampling log image

Name Type Description
sampling_log_id integer

foreign key to data.sampling_log.id

person_id integer

foreign key to auth.person.id

id integer
direction_id integer

foreign key to catalog.direction.id

mime_type character_varying
extension character_varying
file_name character_varying
name character_varying


sampling_log_tool

Sampling log tool

Name Type Description
id integer
depth_restriction integer
equipment_id integer

foreign key to data.equipment.id

sampling_log_id integer

foreign key to data.sampling_log.id

direction_id integer

foreign key to catalog.direction.id


shdc

Shdc

Name Type Description
file_name character_varying
max_zoom integer
sld character_varying
qml character_varying
description character_varying
no_data integer
scale_factor real
indicator_id integer

foreign key to data.indicator.id

property character_varying
id integer
custom_restricted_api json
public_readable_description character_varying
version character_varying
confidence_list character_varying
depth_list character_varying
unit_id integer

foreign key to catalog.unit.id

color_map text


shdc_depth

Shdc depth

Name Type Description
id integer
depth character_varying


shdc_file

Shdc file

Name Type Description
temporal_coverage_start character_varying
value character_varying
id integer
file_name character_varying
wasabi_link character_varying
description text
shdc_id integer

foreign key to data.shdc.id

temporal_coverage_end character_varying
depth_id integer

foreign key to data.depth.id


shdc_soil_type

Shdc soil type

Name Type Description
number_of_occurrances_training_points integer
formatted_code character_varying
wrb_22_code character_varying
code integer
id integer


simple_observation

Simple observation

Name Type Description
person_id integer

foreign key to auth.person.id

date date
value real
id integer
indicator_id integer
name character_varying
comment text
custom_geometry_id integer

foreign key to data.custom_geometry.id


site

Site

Name Type Description
url character_varying
id integer
name character_varying
data_source_id integer

foreign key to data.data_source.id

person_id integer

foreign key to auth.person.id

description text


site_sampling_checklist

Site sampling checklist

Name Type Description
edna boolean
soil_spectra_mx boolean
soil_spectra_ds boolean
penetrometer_npkphcth boolean
soil_spectra_no boolean
fieldobs boolean
moulder boolean
microbiometer boolean
macrofauna boolean
enzymes boolean
infiltration boolean
id integer
ise_ph boolean
site_id integer

foreign key to data.site.id

wet_chemistry boolean


spectra_scan

Spectra scan

Name Type Description
observation_id integer

foreign key to data.observation.id

id integer
na_frequency real
neg_frequency real
ext_frequency real
spectroscopy_method_id integer

foreign key to catalog.spectroscopy_method.id

signal_mean Array.<real>
signal_stddev Array.<real>


spectrometer

Spectrometer

Name Type Description
wavelengths Array.<real>
id integer
equipment_id integer

foreign key to data.equipment.id


spectrum

Spectrum

Name Type Description
data_source_id integer

foreign key to data.data_source.id

id integer
point_id integer

foreign key to data.point.id

values Array.<real>
date date
wavelengths Array.<smallint>


taxa

Taxa

Name Type Description
id integer
vern character_varying
reference character_varying
id_text character_varying
taxa_level_id integer
taxa_status_id integer
extinct boolean
link character_varying
taxa_code_id integer
remarks character_varying
uncertain boolean
synonym boolean
parent_id integer
chrono character_varying
env character_varying
latin_name citext
name character_varying


taxa_function

Taxa function

Name Type Description
name character_varying
id integer
taxa_status_id integer

foreign key to catalog.taxa_status.id


taxa_heterogeneity

Taxa heterogeneity

Name Type Description
barcoding_pipeline_id integer
bioinformatic_treatment_date timestamp_with_time_zone
taxa_id integer

foreign key to data.taxa.id

richness double_precision
shannon double_precision
sequence_reference_id integer

foreign key to catalog.sequence_reference_library.id

bioinformatic_treatment_id integer

foreign key to data.bioinformatic_treatment.id

id integer
edna_id integer

foreign key to data.edna.id

abundance double_precision


taxa_heterogeneity_function

Taxa heterogeneity function

Name Type Description
id integer
taxa_heterogeneity_id integer

foreign key to data.taxa_heterogeneity.id

taxa_function_id integer

foreign key to data.taxa_function.id

info character_varying
quantity double_precision


unit_conversion

Unit conversion

Name Type Description
unit_from_id integer

foreign key to catalog.unit.id

add double_precision
factor double_precision
unit_to_id integer

foreign key to catalog.unit.id

id integer


vw_geom

Vw geom

Name Type Description
parent_id integer
country character_varying
type text
atts text
level2 integer
level1 integer
name character_varying
geometry_type_id integer
id integer


vw_geometry

Vw geometry

Name Type Description
properties text
parent_id integer
id integer
country character_varying
type text
atts text
level2 integer
level1 integer
name character_varying
geometry_type_id integer
geom geometry


weather

Weather

Name Type Description
id integer
temperature_24h_mean real
person_id integer

foreign key to auth.person.id

temperature_24h_min smallint
temperature_24h_max smallint
temperature_1h_mean smallint
precipitation_24h smallint
precipitation_1h smallint
ground_condition_id integer

foreign key to catalog.ground_condition.id

sky_condition_id integer

foreign key to catalog.sky_condition.id

sampling_log_id integer

foreign key to data.sampling_log.id


Functions

copy_color_scheme

Copy color scheme from one indicator to another

Parameters:
Name Type Description
IndicatorIdFrom integer
IndicatorIdTo integer
Source:
Returns:
Type
void

data_asset_import_excel

Data asset import from excel function

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

data_file_metadata_import_excel

Data file metadata import from excel function

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

data_point_import_excel

Data point import from excel function

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

delete_custom_geometry

Delete custom geometry

Parameters:
Name Type Description
PersonId integer
Id integer
Source:
Returns:
Type
void

delete_file

Delete file

Parameters:
Name Type Description
PersonId integer
FileId integer
Source:
Returns:
Type
void

delete_image_from_os

Delete image from os

Source:
Returns:
Type
trigger

delete_simple_observation

Delete simple observation

Parameters:
Name Type Description
Id integer
Source:
Returns:
Type
void

extract_file_name

Extract file name from a path

Parameters:
Name Type Description
s character_varying
Source:
Returns:
Type
character_varying

generate_observations_for_points

Generate observations for points

Parameters:
Name Type Description
SiteId integer
Source:
Returns:
Type
void

get_all_assets

Get all assets

Properties:
Name Type Description
id character_varying
ignore boolean
asset_catalog_id integer
title character_varying
description character_varying
asset_theme_id integer
keywords_list character_varying
asset_version_id integer
doi character_varying
unit_id integer
scale_factor character_varying
person_id integer
providers_list character_varying
license_id integer
constellation_list character_varying
platform character_varying
instruments_list character_varying
gsd character_varying
start_date date
end_date date
date_step integer
date_offset character_varying
date_unit_id integer
date_style_id integer
ignore_29feb boolean
depth_list character_varying
main_sld_url character_varying
sld_1_url character_varying
main_qml_url character_varying
main_url character_varying
asset_catalog_id_val character_varying
asset_theme_id_val character_varying
asset_version_id_val character_varying
unit_id_val character_varying
person_id_val character_varying
license_id_val character_varying
date_unit_id_val character_varying
date_style_id_val character_varying
Source:
Returns:
Type
Object

get_assets

Get assets

Parameters:
Name Type Description
TitleId integer
Depth character_varying
Srid integer
Source:
Returns:
Type
json

get_assets_for_statistics

Get assets for statistics

Parameters:
Name Type Description
IndicatorId integer
Source:
Returns:

integer indicator_idcharacter_varying urlcharacter_varying scale_factorinteger no_datatext time_spaninteger depth_id

Type
Object

get_assets_overload

Get assets

Parameters:
Name Type Description
TitleId integer
Depth character_varying
Srid integer
Source:
Returns:
Type
json

get_catalogs

Get catalogs

Parameters:
Name Type Description
LangId integer
Source:
Returns:
Type
json

get_custom_geometry

Get custom geometry

Parameters:
Name Type Description
PersonId integer
Id integer
Source:
Returns:
Type
json

get_data_source_atts

Get data source data

Parameters:
Name Type Description
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_data_source_data

Get data source data

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_data_source_vals

Get data source values

Parameters:
Name Type Description
DataSourceId integer
Properties:
Name Type Description
point_name character_varying
date date
Source:
Returns:
Type
Object

get_data_source_vals_overload

Get data source values

Parameters:
Name Type Description
DataSourceId integer
Source:
Returns:
Type
json

get_geometries_for_statistics

Get geometries for statistics

Parameters:
Name Type Description
IndicatorId integer
Source:
Returns:

integer parent_idinteger geometry_type_idtext geometrycharacter_varying name

Type
Object

get_geometry

Get geometry based on id, srid and geometry type id

Parameters:
Name Type Description
Id integer
Srid integer
Source:
Returns:
Type
json

get_geometry_overload

Get geometry based on id, srid and geometry type id

Parameters:
Name Type Description
Id integer
Srid integer
Source:
Returns:
Type
json

get_geometry_statistics

Get geometry statistics

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_geometry_statistics_categories

Get geometry statistics categories

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_geometry_statistics_single

Get geometry statistics single

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_geometry_type_properties

Get geometry type properties

Parameters:
Name Type Description
LangId integer
Source:
Returns:
Type
json

get_indicator_legend

Get indicator legend

Parameters:
Name Type Description
LangId integer
IndicatorId integer
Source:
Returns:
Type
json

get_indicator_values

Get indicator values

Parameters:
Name Type Description
IndicatorId integer
DataSourceId integer
Properties:
Name Type Description
lon double_precision
lat double_precision
value real
date date
color_code character_varying
point_key character_varying
nuts_0 character
description character_varying
point_name character_varying
point_id integer
Source:
Returns:
Type
Object

get_indicators_by_nuts

Get indicators by NUTS

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Properties:
Name Type Description
levl_code integer
country character_varying
name_latn character_varying
nuts_id character_varying
indicator character_varying
average numeric
min numeric
max numeric
Source:
Returns:
Type
Object

get_indicators_for_data_source

Get indicators for data source

Parameters:
Name Type Description
DataSourceId integer
LangId integer
Source:
Returns:
Type
json

get_indicators_table

Get indicators in table format

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_intersecting_geometries

Get intersecting geometries

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_locations

Get locations by person id

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Properties:
Name Type Description
id integer
name character_varying
type character_varying
public boolean
Source:
Returns:
Type
Object

get_lucas

Get LUCAS data

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Properties:
Name Type Description
Point character_varying
Depth character_varying
OxAl double_precision
N double_precision
P double_precision
OxFe double_precision
pH_(CaCl2) double_precision
EC double_precision
K double_precision
OC double_precision
pH_(H2O) double_precision
CaCO3 double_precision
Nuts_0 character_varying
Nuts_1 character_varying
Nuts_2 character_varying
Nuts_3 character_varying
Lat double_precision
Lon double_precision
Date date
Elevation integer
Land_cover character_varying
Land_usage character_varying
Main_land_cover character_varying
Detailed_land_cover character_varying
Detailed_land_use character_varying
Source:
Returns:
Type
Object

get_nuts

Get NUTS regions by level, zoom and bounding box

Parameters:
Name Type Description
Level integer
Srid integer
Zoom integer
Extent varchar
IndicatorId integer
DataSourceId integer
Source:
Returns:
Type
json

get_nuts_overload

Get NUTS regions by level, zoom and bounding box

Parameters:
Name Type Description
Level integer
Srid integer
Zoom integer
MinX double_precision
MinY double_precision
MaxX double_precision
MaxY double_precision
IndicatorId integer
DataSourceId integer
Source:
Returns:
Type
json

get_nuts_overload

Get NUTS regions by level, zoom and bounding box

Parameters:
Name Type Description
Level integer
Srid integer
Zoom integer
Extent varchar
IndicatorId integer
DataSourceId integer
Source:
Returns:
Type
json

get_point_history

Get point history

Parameters:
Name Type Description
PointId integer
IndicatorId integer
Properties:
Name Type Description
date date
depth character_varying
value real
Source:
Returns:
Type
Object

get_prediction_model_data

Get prediction model binary data

Parameters:
Name Type Description
PredictionModelId integer
Source:
Returns:
Type
bytea

get_prediction_models_for_data_source

Get prediction models for data source

Parameters:
Name Type Description
DataSourceId integer
LangId integer
Source:
Returns:
Type
json

get_shape_geometry

Get shape geometry

Parameters:
Name Type Description
Id integer
Srid integer
Source:
Returns:
Type
json

get_shape_geometry_overload

Get site geometry

Parameters:
Name Type Description
Id integer
Source:
Returns:
Type
json

get_shapes_for_data_source

Get shapes for data source

Parameters:
Name Type Description
DataSourceId integer
Source:
Returns:
Type
json

get_single_geometry

Get single geometry

Parameters:
Name Type Description
Id integer
Source:
Returns:
Type
json

get_spectra_for_data_source

Get spectra for data source

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:

character_varying namedate datesmallint[] wavelengthsreal[] values

Type
Object

get_spectrum

Get spectrum

Parameters:
Name Type Description
DataSourceId integer
PointId integer
Date timestamp_without_time_zone
Source:
Returns:

smallint wavelengthreal value

Type
Object

get_taxa_children

Get taxa children

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_taxa_hierarchy

Get taxa hierarchy

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:
Type
json

get_taxa_hierarchy_overload

Get taxa hierarchy

Parameters:
Name Type Description
Params text
Source:
Returns:
Type
json

get_tile_layers

Get tile layers

Parameters:
Name Type Description
Srid integer
Properties:
Name Type Description
fid integer
collection_title character_varying
href character_varying
type character_varying
geom text
Source:
Returns:
Type
Object

get_titles

Get titles

Source:
Returns:
Type
json

get_vw_assets

Get vw assets

Source:
Returns:
Type
json

import_croatia

Import croatia data from json (excel)

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_croatia246

Import croatia246 data from json (excel) file

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_danish_points

Import danish points

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_danish_spectra

Import danish spectra

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_lucas2009

Import lucas2009

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_lucas2015att

Import lucas2015att

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_lucas2015pm

Import lucas2015pm

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_shdc

Import shdc

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_shdc_files

Import shdc files

Parameters:
Name Type Description
Json text
Params text
Source:
Returns:
Type
void

import_shdc_soil_type

Import shdc soil type

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_spain

Import spain

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

import_spectra

Import spectra

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_taxa_heterogeneity_function

Import taxa heterogeneity function

Parameters:
Name Type Description
Params text
Json text
Source:
Returns:
Type
void

import_temp

Import temp

Parameters:
Name Type Description
jsonCV text
jsonData text
Source:
Returns:
Type
void

save_image

Save image

Parameters:
Name Type Description
Id integer
SimpleObservationId integer
Name text
FileName text
Extension text
MimeType text
Compass integer
Lat double_precision
Lon double_precision
Source:
Returns:
Type
integer

save_sampling_log_image_metadata

Save sampling log image metadata

Parameters:
Name Type Description
Id integer
Extension text
MimeType text
Source:
Returns:
Type
integer

set_color_map

Set color map associated with an asset

Parameters:
Name Type Description
Id integer
ColorMap text
Source:
Returns:
Type
void

set_color_map_from_sld

Set color map from sld

Parameters:
Name Type Description
Id integer
Sld text
Source:
Returns:
Type
void

set_lon_lat_nuts_for_points

Set lon lat nuts for points in data.point which have no lon and lat and nuts

Parameters:
Name Type Description
srid integer
Source:
Returns:
Type
void

set_point_geom

Set point geom

Source:
Returns:
Type
trigger

set_shape_geometry

Set shape geometry

Parameters:
Name Type Description
Id integer

site id

Srid integer
Properties text
Geometry text
Source:
Returns:
Type
void

set_single_geometry

Set single geometry

Parameters:
Name Type Description
Json text
Source:
Returns:
Type
json

site_itrig

Site itrig

Source:
Returns:
Type
trigger

test

Test

Parameters:
Name Type Description
Params text
PersonId integer
LangId integer
Source:
Returns:

character_varying keydouble_precision latdouble_precision zemljopisna_duljina

Type
Object

test_overload

Test

Source:
Returns:
Type
void

testpp

Testpp

Source:
Returns:
Type
void

update_attribute_description

Update attribute description

Parameters:
Name Type Description
PointId integer
IndicatorId integer
DataSourceId integer
Date character_varying
Value integer
DepthId integer
Source:
Returns:
Type
void

update_compass

Update compass for a custom geometry file (image)

Parameters:
Name Type Description
PersonId integer
Id integer
Value integer
Source:
Returns:
Type
void

update_custom_geometry

set custom geometry

Parameters:
Name Type Description
json json

object containing custom geometry in 'Feature'

Source:
Returns:
Type
void

update_depth_lists

Update depth lists

Source:
Returns:
Type
void

update_geometry_statistics

Update geometry statistics

Parameters:
Name Type Description
Json text
Source:
Returns:
Type
void

update_geometry_statistics_from_points

Update geometry statistics from points

Parameters:
Name Type Description
DataSourceId integer
Source:
Returns:
Type
void

update_point

Update point by id with new geometry

Parameters:
Name Type Description
Id integer
Feature text
Source:
Returns:
Type
void

update_point_lat_lon

Update point by Pointkey with Lat and Lon

Parameters:
Name Type Description
Pointkey varchar
Lat double
Lon double
SiteId int
Source:
Returns:
Type
void

update_taxa

Update taxa

Parameters:
Name Type Description
Json text
Source:
Returns:
Type
void

update_taxa_code

Update taxa code

Parameters:
Name Type Description
Json text
Source:
Returns:
Type
void

update_taxa_level

Update taxa level

Parameters:
Name Type Description
Json text
Source:
Returns:
Type
void