Skip to content

gpf_wfs_get_feature_by_id - ensure that it doesn't returns huge geometries #130

Description

@mborne

Problem

Geometries like "ADMINEXPRESS-COG.LATEST:3Adepartement - Vendée" are not adapted for AI usage.

Proposal

Ensure that gpf_wfs_get_feature_by_id doesn't returns suchs geometries by :

  • Returning an error ("geometry is not adapted for LLM usage (too many points : ...)")
  • Returning a simplified version of the geometry (TopologyPreservingSimplifier + coordinate truncating)

Notes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions