New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to Geo-related schemas (e.g. GeoShape) liase with GeoJSON(-LD), W3C GeoSpatialWG et al. #113

Closed
danbri opened this Issue Sep 4, 2014 · 7 comments

Comments

Projects
None yet
4 participants
@danbri
Contributor

danbri commented Sep 4, 2014

http://schema.org/GeoShape
http://schema.org/box
http://schema.org/polygon

See discussion at geojson/geojson-ld#28

Original text: "See http://geowanking.org/pipermail/geowanking_geowanking.org/2012-June/026179.html
Schema.org's design came via rNews from GeoRSS, and there from GML. It needs a fresh look."

This is now a meta bug for improvements to schema.org's geo(spatial) vocabulary:

Geospatial 'core' terms:

Related schema.org vocabulary for locally oriented info:

  • Physical Web e.g. via beacons such as https://github.com/google/physical-web - what kind of richer schemas are needed to support these use cases?
  • Accessibility of Places - schema.org expects to do some work to support scenarios such as 'is there a wheelchair ramp?', see #254
  • Opening Hours markup needs improving - #245
@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Sep 11, 2014

Contributor

See #8

Contributor

danbri commented Sep 11, 2014

See #8

@danbri danbri added this to the 2015 sometime milestone Jan 21, 2015

@danbri danbri self-assigned this Jan 21, 2015

@danbri danbri modified the milestones: 2015 Q1, 2015 sometime Feb 2, 2015

@danbri danbri changed the title from Investigate improvements to GeoShape in collab w/ GeoJSON and others to Improvements to Geo-related schemas (e.g. GeoShape) liase with GeoJSON(-LD), W3C GeoSpatialWG et al. Feb 2, 2015

@danbri danbri modified the milestones: 2015 Q1, 2015 Q2 Apr 17, 2015

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Oct 1, 2015

Contributor

I've added a simple mechanism (a GeoCircle + geoRadius, geoMidpoint) for circular geoshapes after hearing 4 years of feedback that 'circle' is baffling and hard to use. We could do likewise for polygons, boxes etc but radius-based circle is pretty simple. There's a question of whether miles, kilometres or metres would be the best default - any views?

Contributor

danbri commented Oct 1, 2015

I've added a simple mechanism (a GeoCircle + geoRadius, geoMidpoint) for circular geoshapes after hearing 4 years of feedback that 'circle' is baffling and hard to use. We could do likewise for polygons, boxes etc but radius-based circle is pretty simple. There's a question of whether miles, kilometres or metres would be the best default - any views?

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Oct 1, 2015

Contributor

Answering my own question, I've added a range of Distance (schema.org's syntax that allows '5 km' etc.) and noted that it can be used; when it isn't, we default to metres.

See http://sdo-phobos.appspot.com/GeoCircle and http://sdo-phobos.appspot.com/docs/releases.html

Contributor

danbri commented Oct 1, 2015

Answering my own question, I've added a range of Distance (schema.org's syntax that allows '5 km' etc.) and noted that it can be used; when it isn't, we default to metres.

See http://sdo-phobos.appspot.com/GeoCircle and http://sdo-phobos.appspot.com/docs/releases.html

@mfhepp

This comment has been minimized.

Show comment
Hide comment
@mfhepp

mfhepp Oct 1, 2015

Contributor

Note that my hotel proposal also has a mechanism for indicating links between places with distance information, see

http://sdo-hotels.appspot.com/distanceInformation
and
http://sdo-hotels.appspot.com/DistanceSpecification

This allows stating that e.g. a hotel is 5 km from a particular airport or the city center or a touristic spot etc.

Contributor

mfhepp commented Oct 1, 2015

Note that my hotel proposal also has a mechanism for indicating links between places with distance information, see

http://sdo-hotels.appspot.com/distanceInformation
and
http://sdo-hotels.appspot.com/DistanceSpecification

This allows stating that e.g. a hotel is 5 km from a particular airport or the city center or a touristic spot etc.

@letmaik

This comment has been minimized.

Show comment
Hide comment
@letmaik

letmaik Oct 6, 2015

I just tried to use

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Dataset",
  "url": "http://www.example.com",
  "spatial": {
    "geo": {
      "box": "50 4 52 6"
    }
  }
}
</script>

on the testing tool but it complains about the box. Is the tool not up to date or is my json wrong?

letmaik commented Oct 6, 2015

I just tried to use

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Dataset",
  "url": "http://www.example.com",
  "spatial": {
    "geo": {
      "box": "50 4 52 6"
    }
  }
}
</script>

on the testing tool but it complains about the box. Is the tool not up to date or is my json wrong?

@vholland

This comment has been minimized.

Show comment
Hide comment
@vholland

vholland Oct 6, 2015

Contributor

Google's testing tool sometimes gets confused if type declarations are omitted.

The following shows no errors:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Dataset",
  "url": "http://www.example.com",
  "spatial": {
    "geo": {
      "@type": "GeoShape",
      "box": "50 4 52 6"
    }
  }
}
</script>
Contributor

vholland commented Oct 6, 2015

Google's testing tool sometimes gets confused if type declarations are omitted.

The following shows no errors:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Dataset",
  "url": "http://www.example.com",
  "spatial": {
    "geo": {
      "@type": "GeoShape",
      "box": "50 4 52 6"
    }
  }
}
</script>
@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri
Contributor

danbri commented Nov 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment