Skip to content

Feature with null id, null geometry and empty properties #30

@wazolab

Description

@wazolab

Problem

Some entries contain a feature with id: null, geometry: null, and only { links: 0 } in properties. All other expected fields (objtype, tags, username, version, created, deleted, id) are missing.

This crashes the LoCha component in transformFeatures and in rendering components that expect these fields.

Example

/api/0.1/projects/espana_navarra_aquitania_emergency/changes_logs.json, entry [45]:

{
  "id": null,
  "type": "Feature",
  "geometry": null,
  "properties": {
    "links": 0
  }
}

The entry has 34 features total, only this one is malformed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions