Point File DeskGet COGO
File preparation

Keep commas and quotation marks inside survey point descriptions

Follow an observed sign description through CSV quoting, field reordering and a round-trip read so the annotation reaches CAD intact.

From the sample fileSG18,2050.40,833.10,17.25,"Sign, reads ""GATE 3"""
On this pageEncode the note as one fieldTry a round trip before editing the deliveryIsolate a damaged quoteSeparate transfer checks from label checks

A sign legend can contain the same punctuation that separates a point file. Suppose the literal field note reads Sign, reads “GATE 3”. The drafter needs that text exactly. Replacing the comma with a space, deleting the quotation marks or breaking the note into extra fields would change the evidence supplied by the crew.

Encode the note as one field

Use a comma-delimited PNEZD row for this example. The point name is SG18, the northing is 2050.40, the easting is 833.10 and the elevation is 17.25. A CSV writer represents the whole record as:

SG18,2050.40,833.10,17.25,"Sign, reads ""GATE 3"""

Read the final characters from the inside out. Each pair of quotation marks inside the field contributes one literal quotation mark to the note. The outer marks delimit the quoted field. Three marks at the end are correct in this example: two encode the final mark in the legend and one closes the field. A parser should return exactly five values, with the complete note as the fifth.

Try a round trip before editing the delivery

Paste the row into the formatter, select PNEZD input and PENZD output. The preview should show easting 833.10 before northing 2050.40. Read the description in the preview and compare it with the literal note in the first paragraph. Download the CSV and read the saved file as text. Expect this record:

SG18,833.10,2050.40,17.25,"Sign, reads ""GATE 3"""

Reading the two records with a CSV parser should give identical point names, elevations and descriptions. Only the horizontal coordinates exchange positions. Looking for the same sequence of quote characters in two raw files is a weaker check because two writers can legitimately quote different sets of fields.

Isolate a damaged quote

A missing closing mark can cause a reader to absorb the next physical line into a quoted description. The error can appear one or more records later than the point that caused it. Start with the last confidently parsed record and the next few source lines. Compare the sign note with the field book or collector record before deciding which character went missing. Adding a quote to the end of the file might make the parser stop complaining while leaving two points combined into one.

A real line break inside a quoted note can also be valid CSV. Ask whether the receiving CAD importer handles multiline descriptions. If it accepts one point per physical line only, agree on a replacement, such as a single space, and retain the original note in a companion table. Count records with a CSV reader before and after that change. Counting physical lines alone gives a misleading total when a description spans lines.

Separate transfer checks from label checks

Open a test drawing and inspect the point attribute. A label style can shorten, hide or reformat a perfectly intact description. Compare the stored description first. If it agrees with the source, resolve the presentation in the drawing style. If the stored text ends after “Sign,” inspect the import reader and selected point format.

For a repeatable acceptance test, include one ordinary description, one with a comma and one with a quoted legend in the trial file. The three cases isolate basic parsing, quoted field boundaries and embedded quotation marks respectively. Keep SG18 in the handoff note with the literal text the drafter should see. Someone checking a later software update can verify all three cases without guessing what punctuation the crew originally typed.

Keep the punctuation test in the same character encoding as the production file. Curly quotation marks copied from a document editor are different characters from the straight double quote used to mark a CSV field boundary. If a sign legend genuinely contains a typographic quotation mark, keep it inside the description. Use the writer’s normal straight quoting characters around the field.

References

See how to import your point file into COGO