Skip to content

gpf_wfs_get_features - why rejecting geometry in select? #82

Description

@mborne

Context

Seen the following call performed by claude opus 4.7 :

{
  "typename": "BDTOPO_V3:zone_de_vegetation",
  "select": [
    "nature",
    "geometrie"
  ],
  "spatial_operator": "dwithin_point",
  "dwithin_lon": 6.489772,
  "dwithin_lat": 47.153006,
  "dwithin_distance_m": 2500,
  "where": [
    {
      "property": "nature",
      "operator": "in",
      "values": [
        "Forêt fermée de feuillus",
        "Forêt fermée de conifères",
        "Forêt fermée mixte",
        "Forêt ouverte"
      ]
    }
  ],
  "limit": 200
}

...facing the following error :

La propriété 'geometrie' est géométrique. `select` accepte uniquement des propriétés non géométriques.

it seems a bit strange to reject this case

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions