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

Graph oriented GeoJSON editing and visual mapping for arborescent data structures #45330

Closed
aourednik opened this issue Sep 29, 2021 · 2 comments

Comments

@aourednik
Copy link

Feature description

An arborescent data editor should be added to QGIS for the unfolding of the full potential of GeoJSON.
One should also be able to map visuals to deep GeoJSON "property" objects. Example: the label editor in layer properties should be able to use an expression like concat("name.en",' (',"name.local",')') to construct labels.

Additional context

Graph databases exist since 2000 but we are still using flat table models to store and edit geodata in GIS solutions. We should move on and stop wandering in NULL fields.

Wouldn't GeoJSON be an excellent format for storing and editing deeply arborescent data?

It has more potential than a flat table with a WKT field currently used by GeoPackage. To use the full potential of the GeoJSON object-oriented format, an appropriate editor should be added to QGIS. Here an example of such an editor by @josdejong

One should also be able to map visuals to JSON object variables. Example: the label editor in layer properties should be able to use an expression like concat("name.y1491.en",' (',"name.y1491.local",')') to obtain a Constantinople (Κωνσταντινούπολις) label from this GeoJSON layer:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "name":{
          "current":{
            "local":"İstanbul",
            "en":"Istabul"
          },
          "y1491":{
            "local":"Κωνσταντινούπολις",
            "en":"Constantinople"
          }
        }
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          29.179687499999996,
          40.91351257612758
        ]
      }
    }
  ]
}

@elpaso
Copy link
Contributor

elpaso commented Sep 30, 2021

Sounds interesting, if you have plans to implement this, I would recommend to create a QEP: https://github.com/qgis/QGIS-Enhancement-Proposals/issues

I doubt that this feature will be implemented quickly and the normal issues get stale and closed automatically after some time.

@aourednik
Copy link
Author

Thank you @elpaso . I've reposted here: qgis/QGIS-Enhancement-Proposals#233

@gioman gioman closed this as completed Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants