Exports don't say when they drop control characters (KML, GPX), when text is cut at a NUL (Shapefile), or KML fields named like its own columns

Aperta
#2,415 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
data

Direzione di ricerca

Start by reading the related issue #1907 and the work in #2414, then trace the KML and GPX writers through interop::xml() and the Shapefile .dbf reader. Check how export notices count changed values and report affected fields. Done means each of the three silent losses produces a notice with a count and field names, consistent with #1907.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Three more silent losses on export, found while working on #1907 (#2414). Each changes text with no notice:

  • Control characters (KML, GPX): the writer drops control characters from names and data values (interop::xml()). So "a\u{1}" is written as a, and the change isn't said. It also hides the #1907 notices: "a \u{1}" is written as a and read back as a, but the export counts the value before the characters are dropped, so the trim isn't counted either.
  • NUL bytes (Shapefile): reading a .dbf cuts text at the first NUL byte, so "ab\0cd" reads back as "ab" and "\0x" as null.
  • KML fields named like the reader's own columns: a field called folder or style whose values all match the reader's column of that name is dropped on read.

Each needs an export notice with a count and the fields, like the #1907 notices.

Lingua principale
Rust
Stelle
1.9k
Fork
268
Merge medio
11h 1m
PR unite (30g)
942

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opengeos/RustGIS

Tutte le issue di opengeos/RustGIS

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.