Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to a standard file format such as GeoJSON #6

Open
codebot opened this issue Nov 20, 2019 · 3 comments
Open

migrate to a standard file format such as GeoJSON #6

codebot opened this issue Nov 20, 2019 · 3 comments

Comments

@codebot
Copy link
Contributor

codebot commented Nov 20, 2019

The current file format is just a random splat of structures to YAML. This was just done to get up and running quickly.

Suggestion by @ablakey to move to GeoJSON seems reasonable due to its use in many existing tools, such as QGIS. At the end of the day we just need to represent some spatial shapes and annotations in some file format.

That will require using JSON parsers in C++ (for the current "offline" Qt GUI) and Python (for the generators). I'm sure there are many options. This one looks nice for C++: https://github.com/nlohmann/json but the goal is to pick one that is already packaged up in Ubuntu 18, so we don't have to do it ourselves, or add another source dependency.

@gavanderhoorn
Copy link

I'm sure there are many options. This one looks nice for C++: https://github.com/nlohmann/json

Yes, it does, and it is.

but the goal is to pick one that is already packaged up in Ubuntu 18

Seems it is: nlohmann-json-dev, for Bionic, Cosmic and Disco.

@codebot
Copy link
Contributor Author

codebot commented Nov 20, 2019

oh awesome, thanks @gavanderhoorn !

gbiggs pushed a commit that referenced this issue Mar 27, 2021
Release 1 - Changelogs and version bump
@codebot
Copy link
Contributor Author

codebot commented Oct 4, 2021

Experimenting now with GeoPackage http://geopackage.org It seems pretty great so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants