Read and draw maps in the standalone viewer and the tray - #916
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DiffEngineViewer can now compare maps, read and drawn with GeoConvert 2.1.0. As with documents, this only happens in the standalone tool (
DiffEngineViewer.Windows/.Mac/.Linux) and the viewer installed with DiffEngineTray. The copy bundled in the DiffEngine package doesn't change.What it does
drawn the sameordrawings differ..geojson,.topojson,.kml,.gpxand.wktshow the file itself..kmz,.wkb,.fgband.geoparquetshow their features as GeoJSON, read in the background the way a PDF's text is..svg, DiffEngine doesn't treat.geojson,.kmlor.gpxas text. So all nine extensions are offered to the viewer, and only when the copy it resolved has the documents folder, as for PDFs..jsonand.csv, which would claim every JSON and CSV snapshot..parquet, which mostly isn't geographic.How
DocumentFile.IsDrawnis split in two. It used to answer two questions at once, because an SVG gives the same answer to both. A FlatGeobuf doesn't: it's one picture, but its text is read out of it.IsDrawnnow means "one picture", which is what the screen code uses.IsSourcemeans "the text is the file", whichFileSideuses.DocumentExtensions.RoutedreplacesPagedas the list DiffEngine offers the viewer. It's the paged formats plus the maps.GeoConvert.dll(about 390 KB) andSystem.IO.Hashing.dll(about 55 KB). Both are in the third-party notices.Tests
.pdf,.geojsonand.fgb, both with and without the documents folder.