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

JSON data encoder wrapper supporting GeoJSON and JSON-FG #228

Open
navispatial opened this issue Apr 12, 2024 · 0 comments
Open

JSON data encoder wrapper supporting GeoJSON and JSON-FG #228

navispatial opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request 🌐 geobase Related to the code package "geobase"

Comments

@navispatial
Copy link
Member

Currently in geobase version 1.0.x there is a separate internal GeoJSON decoder implementation, but GeoJSON encoder is shared with WKT encoder. This means that the encoder is not very "JSON object tree or JSON text oriented", making it difficult to add capabilities like pretty printing (of JSON text output).

When #53 shall be implemented a new encoder for JSON based geospatial data formats could be designed:

  • content writer for JSON object tree (wrapping standard JSON encoder)
  • GeoJSON and JSON-FG geometry writers (implementing geometry content interface)
  • designed so that manipulating JSON formatting is possible while streaming data (geometry objects in memory -> geometry content interface -> GeoJSON or JSON-FG encoder -> content writer for JSON object tree -> standard JSON encoder)
@navispatial navispatial added enhancement New feature or request 🌐 geobase Related to the code package "geobase" labels Apr 12, 2024
@navispatial navispatial modified the milestones: v2.0 on dart 3.3+, v3.0 on dart 3.3+ Apr 12, 2024
@navispatial navispatial removed this from the v3.0 on dart 3.3+ milestone May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🌐 geobase Related to the code package "geobase"
Projects
None yet
Development

No branches or pull requests

1 participant