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


[Parser]
name = 4_Positon_Code_End_Parser
tagging_mode = max
tag_field = BEZEICHNER
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 = "PR"
geom_tag_poly = "Y"
geom_tag_point = "Z"
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

# Pseudo field project number
[Field]
name = VORGANGSNR
info = BW-PROJEKTR
type = Text
value = 0000_0000

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

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

# Profilnagel
[Field]
name = PRNAGEL
info = N/A
type = Text
empty_allowed = No
separator = space
merge_separators = Yes

# 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

