Skip to content

Admin Display Issues #7

@mruknowme

Description

@mruknowme

Installed the plugin and added:

"location": {
      "columnType": {
        "type": "specificType",
        "args": [
          "geometry(POINT,4326)"
        ]
      },
      "type": "json",
      "fieldRenderer": "postgis"
    }

In the admin UI it was showing error in place of this field "no permission to see this field"

Then, just out of curiosity I added normal JSON location2 field using the Admin UI. When saved it changed schema.json record to this:

"location": {
      "columnType": {
        "type": "specificType",
        "args": [
          "geometry(POINT,4326)"
        ]
      },
      "type": "json",
      "fieldRenderer": "postgis",
      "isSpatial": true,
      "srid": 4326,
      "coord_dimension": 2,
      "f_table_schema": "public",
      "geoType": "POINT"
    }

The Admin UI now just shows textarea with null.

Questions:

  1. How do I specify location? Shouldn't there be a UI map to choose a location?
  2. How do I query by location using REST or better GraphQL?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions