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


[Parser]
name = 4_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 = no
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 = no

# Level
[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

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

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

@GR = Grabungsgrenze 
@GRU = untere Grabungsgrenze

# 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

