Point File DeskGet COGO
Handoff checks

Split a large survey CSV without losing a point at the seam

Partition parsed records, retain a batch manifest and reconcile overlapping identifiers before combining the results of several imports.

On this pagePlan the boundary with a small exampleSplit records rather than physical linesBuild a manifest at the moment of splittingProve the merge before importing again

A field export can be too large for a browser tool or awkward to review in one import. Point File Desk rejects input longer than 3,000,000 JavaScript string code units. A file’s byte size can differ from that count, especially when notes include non-ASCII characters. Use batches with comfortable headroom. Splitting by a fixed number of characters can cut directly through a numeric coordinate or a quoted description.

Plan the boundary with a small example

Suppose a test file contains seven data records with identifiers A11, A12, A13, A14, A15, A16 and A17 in source order. Choose groups of three for a rehearsal. Batch 1 contains A11 through A13, batch 2 contains A14 through A16, and batch 3 contains A17. The counts sum to seven. A12 and A16 might later turn out to share a location, but that has no bearing on their membership as distinct input records.

Keep source order unless there is a specific reason to sort. A crew’s collection sequence often assists later diagnosis. If sorting is required, create a source sequence field in a companion table before sorting. A file row number alone is fragile once someone filters the sheet, inserts a record or produces another export.

Split records rather than physical lines

Use a CSV-aware reader configured for the actual delimiter and quoting convention. A description can contain a quoted line break, which occupies more than one physical line while remaining one logical record. Identify the header once and exclude it from the data count. If the intermediate reader needs headers, write a correct header in each batch. Count those repeated headers separately from the seven observations.

For the browser formatter, paste one batch, choose its real source order, then verify the first and last records in the output. The preview displays up to ten rows, so examining only the preview is inadequate for a long batch. Open the downloaded file with a CSV reader and compare its entire set of source identifiers.

Build a manifest at the moment of splitting

Batch Source positions Data records First Last
1 1–3 3 A11 A13
2 4–6 3 A14 A16
3 7 1 A17 A17

First and last identifiers help a person recognize the right file. They cannot detect an internal substitution. Keep a full list of source positions and identifiers, or compute a digest over the ordered normalized records for a larger job. Preserve a record occurrence count when identifiers may legally repeat. Comparing only sets would erase evidence that one repeated observation went missing.

Prove the merge before importing again

Consider an incorrect result with batch 1 ending at A13 and batch 2 beginning at A13. The combined count can still reach seven if A14 is accidentally absent. Compare the occurrence counts against the manifest. A13 appears twice and A14 zero times. The problem can now be isolated to the boundary instead of investigating every row in the drawing.

Track each batch’s import result in the destination. A partial import needs reconciliation before a retry, particularly where duplicate point numbers trigger renumbering. Keep the unmodified source, the batch versions and the recorded import counts together. That lets a second operator identify exactly which observations remain outstanding when work resumes the next day.

If a particular row makes one batch fail, keep its original source position in the exception report. A message such as “row 2 in batch 3” is hard to act on after the files have been renamed. The original position and identifier let the field team locate the observation directly.

References

See how to import your point file into COGO