Skip to content

Invalid geometries not flagging as an issue #2860

Description

@sianteesdale

We received an email from Newcastle to say some of their TPZ data is not appearing in the platform. They particularly highlighted a case where circles of trees were not appearing near the train station. The map below shows our platform vs the data they think should be there:

Image

Endpoint: https://gismo.newcastle.gov.uk/geoserver/gis/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=gis%3ATPO_OpenData&maxFeatures=9000&outputFormat=application%2Fjson

When I explored the endpoint data in QGIS, I got weird lines instead of circles:

Image

And exploring the data in code showed there were 7,473 out of their 8,212 polygons (91%) were invalid.

Image

When Swati and I looked through the issues list, which is where invalid geometries are highlighted, nothing was showing this level of issues: https://datasette.planning.data.gov.uk/performance/endpoint_dataset_issue_type_summary?_sort=rowid&endpoint_url__exact=https%3A%2F%2Fgismo.newcastle.gov.uk%2Fgeoserver%2Fgis%2Fows%3Fservice%3DWFS%26version%3D1.0.0%26request%3DGetFeature%26typeName%3Dgis%253ATPO_OpenData%26maxFeatures%3D9000%26outputFormat%3Dapplication%252Fjson

Manage also doesn't raise any issues too: https://provide.planning.data.gov.uk/check/results/jnc5ShmbzBTQHbUtPSML8z/1

This ticket is to explore:

  • Why are these entities not appearing as issues on system
  • If needed, fix the issues code to handle cases like this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions