Skip to content

Property coordinates #3

@dvh

Description

@dvh

I think we might want to support different coordinate notations. Imagine we have the following GeoJSON in our non-LD response:

geom: {
  geoJson: {
    type: "MultiPolygon",
      coordinates: [...]

A non-schema LD response could be:

ogcgs:hasGeometry: {
   ogcgs:asWKT: "..."

Where geom has become ogcgs:hasGeometry and as there is no geoJson property anymore, it only supports a ogcgs:asWKT string. Perhaps we could do the same for the schema.org extension, for example:

sgeo:hasLocation: {
  sgeo:coordinates: {
    sgeo:asWKT: "...",
    sgeo:asGeoJSON: [...],
    sgeo:asWGS84: [...],
    sgeo:asEPSG28992: [...]

So you could support multiple coordinate systems/notations on a single location.

Any thoughts on this?

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