ngageoint / hootenanny

Hootenanny conflates multiple maps into a single seamless map.
GNU General Public License v3.0
352 stars 74 forks source link

Preserve hoot:status information when exporting data #1062

Closed mattjdnv closed 7 years ago

mattjdnv commented 8 years ago

See https://github.com/DigitalGlobe/VGI-team-repo/issues/113

Tasks: 1) Check the output from enabling hoot.debug.writer 2) Check the output when exporting to OSM 3) Decide if OSM export requires a ConvertOp with a translation script to bend hoot:status into English versions

mattjdnv commented 7 years ago

Added writer.text.status option that prints out the text versions of the enumerated status values 0 => Invalid 1 => Unknown1 2 => Unknown2 3 => Conflated

Asking the customer if they want the text (Unknown1 etc) changed.

mattjdnv commented 7 years ago

Working for OSM file export.

Just realised that I need to look at the OSMApi writer....

mattjdnv commented 7 years ago

@sisskind How do you want to handle the UI part of this?

To enable: Add "-D writer.text.status=true" to the hoot call.

From talking with @kjenkins4567, She would like this to be an option during export, not a default.

mattjdnv commented 7 years ago

Looking at the code and thinking a lot. I don't think the Db writer needs anything.

@sisskind Any UI thoughts?

mattjdnv commented 7 years ago

Core code has been merged. Will close this ticket when the UI work is done.

mattjdnv commented 7 years ago

Re-working this ticket based on funky results from the UI testing.

New code is in branch ui-618