Skip to content
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
2 of 9 tasks
danbri opened this issue Sep 4, 2014 · 7 comments
Assignees
Labels
schema.org vocab General top level tag for issues on the vocabulary standards + organizations Relationships, liaison, mappings between our work and standards elsewhere

Comments

@danbri
Copy link
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:

@danbri
Copy link
Contributor Author

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 Investigate improvements to GeoShape in collab w/ GeoJSON and others Improvements to Geo-related schemas (e.g. GeoShape) liase with GeoJSON(-LD), W3C GeoSpatialWG et al. Feb 2, 2015
@danbri danbri added the standards + organizations Relationships, liaison, mappings between our work and standards elsewhere label Feb 2, 2015
@danbri danbri modified the milestones: 2015 Q1, 2015 Q2 Apr 17, 2015
@danbri
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
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
Copy link

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
Copy link
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
Copy link
Contributor Author

danbri commented Nov 6, 2015

Fixed in http://schema.org/docs/releases.html#v2.2 - thanks all

@danbri danbri closed this as completed Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
schema.org vocab General top level tag for issues on the vocabulary standards + organizations Relationships, liaison, mappings between our work and standards elsewhere
Projects
None yet
Development

No branches or pull requests

4 participants