Convert decimal-comma point coordinates without changing the field layout
Normalize semicolon-delimited decimal-comma coordinates field by field, then check a distance and a description before exporting a CAD-ready CSV.
71;1204,625;880,125;15,70;Gully, north endOn this page
Establish the source conventionsMake the smallest safe editVerify a difference and a heightHandle exceptions without rounding them awayThe characters in 1204,625 can mean a single coordinate or two adjacent fields. In a file exported with semicolon separators and comma decimals, they describe one value, 1204.625. Replacing every comma in the file has a wider effect than changing the three numeric columns. A feature note containing a comma changes too.
Establish the source conventions
Consider this localized example. It uses semicolons between fields, decimal commas in the three measurements, and a normal comma in the first description.
71;1204,625;880,125;15,70;Gully, north end
72;1207,625;884,125;15,75;Gully outlet
Ask the supplier whether the file contains thousands separators, and whether every numerical value uses the same decimal convention. A token like 1,234 is ambiguous without that information. Here the supplier’s specification says there are no thousands separators. A semicolon-aware reader should therefore return five strings per record before any numeric conversion takes place.
Point File Desk permits semicolon input but expects a decimal point in numeric fields. Selecting the semicolon separator alone will not normalize these decimals. In a spreadsheet import wizard, set the field separator and numeric locale explicitly. In a script, first read using the actual delimiter, then validate and convert only the northing, easting and populated elevation fields.
Make the smallest safe edit
For this specific file, a simple numeric field rule is an optional sign, one or more digits, and an optional comma followed by digits. Reject a second comma, a thousands separator or a mixed decimal convention for review. Replace the one decimal comma inside each validated numeric field with a point. Write the point identifier and description as text without alteration.
The normalized PNEZD delivery should be:
71,1204.625,880.125,15.70,"Gully, north end"
72,1207.625,884.125,15.75,Gully outlet
A CSV writer quotes the first description because the output delimiter is now a comma. If the start of the file reads 71,1204,625,880,125, the decimals have become separate fields. If the description reads “Gully. north end,” the replacement reached outside the numeric columns.
Verify a difference and a height
Subtract point 71 from point 72. The changes are +3.000 north and +4.000 east, giving a horizontal interval of 5.000 in the source unit. The elevation increases by 0.05. These calculations check the decimal interpretation at two scales. A large horizontal offset and a small elevation difference are easily confused when a locale conversion silently treats a comma as a digit-grouping character.
Compare the actual values as well as the interval. Adding the same mistaken offset to both northings leaves the difference unchanged. Read point 71 from the export screen or field notes and confirm the absolute value. Keep the original unit unless the assignment separately calls for a documented conversion.
Handle exceptions without rounding them away
A field export can contain an empty Z, a negative level or a description with semicolons that the source writer has quoted. Try one of each that actually occurs in the job. An empty elevation should stay empty, and a negative level must keep its sign. If a line does not fit the documented format, identify its source record and retain it for clarification rather than guessing which punctuation to remove.
Save a copy of the localized original with the normalization rule. A reviewer should be able to explain exactly why the decimal and the separator changed in the same export. Once normalized, the point-file formatter can swap PNEZD and PENZD without making a second change to the values.
Where the survey includes a signed level below datum, add a check such as a source token of −0,25 and a normalized value of −0.25, using the ordinary ASCII minus sign in the file. Inspect the sign after import. Some printed reports use a typographic minus that looks correct to a person and fails a numeric field validator.