Export Drone Feature Inventories as GeoJSON Text Sequences
Create an explicitly framed GeoJSON sequence with GDAL, distinguish RS records from line-delimited JSON, and verify the exported feature inventory before handover.

Choose an exchange profile before exporting
An inventory derived from drone imagery can contain many separate features, each with geometry and descriptive attributes. A receiving system may prefer to process those features one at a time rather than first loading a large collection into memory. GeoJSON Text Sequences provide a defined record format for that exchange. This tutorial prepares a feature-only sequence from an identified local vector layer using GDAL. The input names are illustrative and do not represent a NiVO customer dataset. Choosing this representation changes the delivery structure; it does not improve the accuracy of the mapped observations.
Agree the receiving application, supported record framing and required fields before generating the delivery. In this tutorial the exchange profile requires one GeoJSON Feature per record, with a stable project identifier retained in its properties. Define expected geometry types, nullable fields and the meaning of missing values. Decide how source dates and interpretation status travel with each feature or its associated delivery metadata. Keep the accepted master layer unchanged. A sequence is useful when the recipient can actually consume it and preserve its meaning, rather than merely because the filename suggests a modern or compact alternative.
Distinguish record separators from newlines
RFC 8142 defines GeoJSON Text Sequences as UTF-8 GeoJSON texts preceded by an ASCII Record Separator and followed by a Line Feed. The separator byte is hexadecimal 1E. This is different from assuming that every physical text line is a complete feature. A valid GeoJSON object may be pretty-printed with internal line breaks, which the record separator can distinguish from the next object. The standard permits several GeoJSON object types, so the one-Feature-per-record rule here is an agreed delivery profile, not a universal restriction imposed by the sequence standard.
GDAL's GeoJSONSeq driver supports both newline-delimited features and record-separated sequences. Make the chosen behavior explicit with its RS creation option instead of relying on what a recipient infers from the extension. A plain JSON reader expecting one top-level object may also reject a sequence even when each record is valid. Supply the intended reader instructions with the file. Avoid removing separator characters to make a text preview look simpler, because that changes the representation. If a newline-only derivative is required, produce and identify it separately under an agreed compact-record convention and test that actual variant.

Product context only; this photograph does not depict the constructed examples in this article.
Inspect the source and create a fresh output
Use a read-only layer summary to confirm the intended input before conversion. Record the selected layer name, source reference, feature count and field definitions. The example selects a layer named asset_inventory from survey.gpkg and writes a new output named assets.geojsons. Replace those names with the accepted project paths. Use a fresh destination and review existing files before running the command; the example does not request append, update or overwrite. A repeatable export should name its source layer explicitly rather than inadvertently including every layer in a multi-layer survey container.
The output driver documents automatic reprojection to WGS84 longitude and latitude when the input layer uses another spatial reference. Verify the source definition before export and check known positions afterward. Assigning a guessed reference is not a repair for an undocumented input. Record relevant transformation and height assumptions in the delivery notes rather than expecting the sequence framing to carry every geodetic detail. The command syntax below is checked against GDAL documentation, but no real vector layer was converted during article preparation and no project coordinates or feature counts are invented.
ogrinfo -ro -so survey.gpkg asset_inventory
ogr2ogr -f GeoJSONSeq -lco RS=YES assets.geojsons survey.gpkg asset_inventory
ogrinfo -ro -al -so assets.geojsonsVerify identities and values in the exported records
Compare the source and destination summaries, then inspect a representative set of actual output records in the receiving tool. Check stable identifiers, category values, dates, null handling and required properties. Retain a business identifier as a deliberate attribute rather than assuming an application-generated feature number survives every conversion unchanged. A matching total count is useful, but it cannot reveal a missing feature replaced by a duplicate. Compare the expected identifier set and investigate differences. If the agreed inventory allows repeated identifiers, use the appropriate composite key and document what one delivered record represents.
Coordinate precision and attribute representation also deserve review. The GeoJSONSeq driver exposes output precision controls and documents how they interact with source precision information. Choose an appropriate export setting for the intended exchange and verify its effects; the number of displayed decimal places is not evidence of survey accuracy. Review non-finite values and fields that resemble serialized JSON if the dataset contains them, because parser and driver behavior may affect their interpretation. Preserve the source schema and export settings so an unexpected array, string, missing property or rounded coordinate can be traced to a specific conversion decision.
Test framing and interruption behavior separately
Inspect the actual bytes with a suitable viewer or a reader that reports the sequence framing. Confirm the initial Record Separator, record boundaries and expected final Line Feed for the completed output. Do not use a simple newline count as the feature inventory. Keep record counts distinct from geometry-part counts and coordinate counts. For the feature-only profile, every accepted record should parse as a Feature and meet the agreed schema. Parsing the container is only the beginning: invalid geometry, unsupported interpretation or missing required attributes still require their own checks before the delivery is accepted.
RFC 7464 discusses how parsers can continue after incomplete or invalid JSON texts. Recovery can be useful for investigation, but a reader displaying later features does not demonstrate that every earlier record survived. Test the recipient's error reporting on a separate disposable sample with a deliberately interrupted record, and preserve what it reports as omitted or rejected. Keep that test away from the accepted master and delivery file. Define whether any rejected record stops acceptance. A resilient viewer and a complete handover answer different questions; successful recovery must not silently turn a damaged sequence into an apparently approved inventory.
Deliver the sequence with an acceptance record
Package the sequence with a concise opening guide, the source revision, required schema, record-framing choice and verified inventory. Include the byte digest and size of the final copy, then reopen that copy in the intended receiving application. Record the application version and any warnings along with the identifier comparison and reference checks. Do not claim exactly-once delivery merely because the sequence was sent once. If files are appended, merged or resent later, use an explicit revision and duplicate-handling rule that the recipient can apply without guessing from file order or whichever copy arrived most recently.
For a NiVO mapping workflow, this approach connects image-derived interpretation to a repeatable data exchange. Analysts retain the master layer and its quality evidence, while recipients receive a record structure they can parse and a clear description of what those records mean. Keep unsupported areas, observation dates and interpretation limits associated with the data. GeoJSON sequence framing can make incremental processing practical, but the acceptance result should remain concrete: the copied file has the agreed framing, the expected feature identities and properties, and spatial meaning that has been checked for the intended use.



