Retrieve data from the map module

Once a selection has been made in the map module, we will be able to read out additional parameters from this module. These additional parameters contain information that may be useful in a dialogue, and can be posted to text fields.

To use these data in text fields, you have to enter the correct tag in the value formula field of a text field:

= GeodataKart["data"]["value tag"]

Where Geodatakart is the variable name of the map module you want data from. In the example below, the correct would be GeodataKart2:

Note that module name must be the same as in formula

Data is a fixed value that should not be changed in the formula.

Value tag is the data you want to retrieve, such as gardsnr. See tables below for all data that can be retrieved.

Note! Keep track of the variable name for GeodataKart. If you have more than one map module in a dialogue, each module will automatically get a serial number. Then you quickly find yourself in situations where the variable you want to retrieve data from is called e.g. GeodataMap3.

Different parameters that can be retrieved from the dialogue

Parameters are used in the formula = GeodataKart["data"]["value tag"], where GeodataKart must be the variable of the map module, and value tag is the parameter to extract. The following value tags can be retrieved from the Map module.

Draw in map (point / line / area)

Value tag Description
adresseid Provides a numeric ID of the address
address Provides the street address
postnummer Provides postal code
poststed Provides city
municipality name Provides name of kommune (muncipality)
kommunenr Provides kommunenummer of 4 digits (muncipality number)
gardsnr Provides gårdsnummer
bruksnr Provides bruksnummer
festenr Provides festenummer if available
seksjonsnr Provides section number for the unit
matrikkelenhetid Provides matrikkelenhetid
fylkesnavn Gives the name of the county
layer Provides name to type of unit (property, address, etc.)

 

Choose property

Value tag Description
fylke Gives the name of the county
kommune Provides name of kommune (muncipality)
kommunenr Provides kommunenummer of 4 digits (muncipality number)
gardsnr Provides gårdsnummer
bruksnr Provides bruksnummer
festenr Provides festenummer if available
seksjonsnr Provides section number for the unit
adresse Provides the street address
postnummer Provides postal code
poststed Provides city
areal Provides the plot area
matrikkelenhetid Provides matrikkelenhetid
layer Provides name to type of unit (property, address, etc.)

At the next level in the data structure, you can retrieve the following values by typing the following in the value formula field:

= GeodataKart["data"]["bruksenheter"]["value tag"]

Value tag Description
bruksenhetsnr Provides bruksnummer
bruksenhetsid Provides ID for utility unit
byggid Provides byggid
bygningsnr Provides a unique number for the building
etasjenr Gives the number of the floor
lopenr Provides a serial number
etasjeplankode Provides a floor plan code

 

Velg bygning

Value tag Description
fylke Provides name of fylke (state)
kommune Provides name of kommune (muncipality)
kommunenr Provides kommunenummer of 4 digits (muncipality number)
antalletasjer Provides number of floors in building
bebygdareal Provides built-up area in sqm
antallboenheter Provides the number of housing units in a building
bygningstype Provides building type
naringsgruppe Provides industry group
bygningsnr Provides building number
layer Provides name to type of unit (property, address, etc.)

At the next level in the data structure, you can retrieve the following values by typing the following in the value formula field:

= GeodataKart["data"]["bruksenheter"]["value tag"]

Value tag Description
gardsnr Provides gårdsnummer
bruksnr Provides bruksnummer
festenr Provides festenummer
seksjonsnr Provides the section number
bruksenhetsnr Provides bruksnummer
bruksenhetsid Provides ID for utility unit
byggid Provides byggid
bygningsnr Provides a unique number for the building
etasjenr Gives the number of the floor
lopenr Provides a serial number
etasjeplankode Provides a floor plan code
address Provides the street address
postal code Provides postal code
poststed Provides city
matrikkelenhetid Provides the ID of the unit in the matrikkel

 

Choose address

Value tag Description
fylke Provides name of fylke (state)
kommune Provides name of kommune (muncipality)
kommunenr Provides kommunenummer of 4 digits (muncipality number)
adresseid Provides address ID
adresse Provides street name
postnummer Provides postal code
poststed Provides city
layer Provides name to type of unit (property, address, etc.)

At the next level in the data structure, you can retrieve the following values by typing the following in the value formula field:

= GeodataKart["data"]["bruksenheter"]["value tag"]

Value tag Description
gardsnr Provides gårdsnummer
bruksnr Provides bruksnummer
festenr Provides festenummer
seksjonsnr Provides the section number
bruksenhetsnr Provides bruksnummer
bruksenhetsid Provides ID for utility unit
byggid Provides byggid
bygningsnr Provides a unique number for the building
etasjenr Gives the number of the floor
lopenr Provides a serial number
etasjeplankode Provides a floor plan code
matrikkelenhetid Provides the ID of the unit in the matrikkel

 

Chose postal zone

Value tag Description
postnummer Provides postal code
poststed Provides city
layer Provides name to type of unit (property, address, etc.)