# This file is part of survey2gis (http://www.survey-tools.org).


[Parser]
name = 3_Positon_Code_End_Parser
tagging_mode = end
tag_field = objekt
key_field = nummer
# "key_unique=Yes" not strictly required but good for data integrity
key_unique = yes
tag_strict = yes
no_data = -1
geom_tag_line = "$"
geom_tag_poly = "@"
geom_tag_point = "."
coor_x = COORX
coor_y = COORY
coor_z = COORZ
comment_mark = #

# Field definitions

# Index field
[Field]
name = IDX
info = Field with measurement index [0..n]
type = integer
empty_allowed = No
unique = No
separator = space
merge_separators = Yes

# Vorgang
[Field]
name = VORGANG
info = N/A
type = TEXT
empty_allowed = No
separator = space
merge_separators = yes

# Schnitt
[Field]
name = SCHNITT
info = N/A
type = TEXT
empty_allowed = No
separator = _
merge_separators = Yes

# Level
[Field]
name = PLANUM
info = N/A
type = TEXT
empty_allowed = No
separator = _
merge_separators = Yes

# NUMMER 
[Field]
name = NUMMER
info = N/A
type = Text
empty_allowed = no
separator = _
merge_separators = yes

# NUMMERV
[Field]
name = NUMMER2
info = N/A
type = Text
empty_allowed = no
separator = _
merge_separators = yes
skip = Yes

# Objekt
[Field]
name = OBJEKT
info = N/A
type = Text
empty_allowed = No
separator = space
merge_separators = Yes
change_case = upper

@ABG = Ausbruchgrube 
@AH = Abbruchhorizont  
@B  = Befund, unspezifiziert 
@BG = Baugrube 
@BGB = Brandgrab 
@BH = Bauhorizont 
@BRU = Brunnen 
@BS = Brandschicht 
@BT = Brandstelle
@BU = Befund, unsicher
@ES = Estrich
@F = Fund, unspezifiziert
@FB = Fussboden 
@FM = Fundament 
@FS = Feuerstelle 
@G = Grube 
@GA = Grabhuegel 
@GB = Grab 
@GBN = Graebchen 
@GD = Gebaeude 
@GE = gewachsener Boden 
@GEO = Geologie 
@GG = Grabgrube 
@GH = Grubenhaus 
@GN = Graben 
@GR = Grabungsgrenze 
@GRU = untere Grabungsgrenze
@GW = Gewoelbe 
@HE = Herd 
@HS = Herdstelle 
@KA = Kanal 
@KG = Koerpergrab
@KR = Keller 
@LH = Laufhorizont 
@LT = Latrine 
@M = Mauer 
@MA = aufgehendes Mauerwerk 
@MO = Moertel
@MW = Mauerwerk
@OF = Ofen 
@P = Pfostengrube 
@PF = Pflaster 
@PS = Planierschicht 
@R = Rollierung
@S = Pfostenstandspur 
@SH = Schicht 
@STO = Stoerung 
@STZ = Steinsetzung 
@T = Tenne 
@WG = Wandgraebchen 
@ZM = Ziegelmauer


# X Label field: simply contains "X"
[Field]
name = XLABEL
info = Useless field
type = text
empty_allowed = No
separator = space
merge_separators = Yes
skip = Yes

# X Coordinates
[Field]
name = COORX
info = Holds X coordinate
type = double
empty_allowed = No
separator = space
merge_separators = Yes

# Y Label field: simply contains "Y"
[Field]
name = YLABEL
info = Useless field
type = text
empty_allowed = No
separator = space
merge_separators = Yes
skip = Yes

# Y Coordinate
[Field]
name = COORY
info = Holds Y coordinate
type = double
empty_allowed = No
separator = space
merge_separators = Yes

# Z Label field: simply contains "Z"
[Field]
name = ZLABEL
info = Useless field
type = text
empty_allowed = No
separator = space
merge_separators = Yes
skip = Yes

# Z Coordinates
[Field]
name = COORZ
info = Holds Z coordinate
type = double
empty_allowed = No
# last field: must have no separator
