Skip to content

Separate type for observations? #2

@gmaclennan

Description

@gmaclennan

For osm-p2p we are introducing the concept of "observation", which is the location of a person making an observation about a place. The location of an observer may not be identical to a place (e.g. standing on a road looking at a building) and a place could have multiple observations over time. The observations could end up forming the geometry of a place e.g. a user taking points or a track along a path or a boundary. The geometry of a place could change over time based on observations.

We could model observations as nodes in a relation, or we could store them as a separate type. I open this discussion for evaluating the pros and cons of each. To kick us off:

  • Modelling as a relation would maintain easy compatibility with existing OSM tools.
  • We could still present the data as relations even if internally we use a separate type.
  • We could present observations as GPX data to OSM tools (https://wiki.openstreetmap.org/wiki/API_v0.6#GPS_traces)
  • Observations could not have a location associated with them (e.g. a story about a place, where the location of the user when recording the story is not relevant or not known). Nodes in OSM must have a lat/lon.
  • We would need additional logic to filter between nodes and observations when displaying data, we would need to filter on a tag that defined a node as an observation, and it would be possible to change an observation into a 'real' node.

Metadata

Metadata

Assignees

No one assigned

    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