syndicated-media / sn-spec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geolocation

farski opened this issue · comments

Some shows/episodes are related to specific places. I'm guessing there are good ways at this point of referencing locations with various levels of specificity (coordinates, geohashes, etc)

commented

it might be worth contacting this startup: https://www.detour.com/.

commented

For just adding a single geotag to an entire episode, something like the GeoJSON spec (RFC7946... the 2016 version) may provide some inspiration.

And if displaying this in a uniform way is important, may also be helpful to add a viewport lat/long.

commented

To attach multiple time-based geotags, applicable at different times during playback ... how about just array-ifying those and adding a timestamp/duration to each geotag?

<item>
  <location type="Point" timestamp="0"><lat>102.0</lat><lon>0.5</lon></location>
  <location type="Polygon" timestamp="65">
    <coordinates>
      <lat>102.0</lat><lon>0.5</lon>
    </coordinates>
    <coordinates>
      <lat>103.0</lat><lon>1.99</lon>
    </coordinates>
    <coordinates>
      <lat>104.0</lat><lon>0.77</lon>
    </coordinates>
    <coordinates>
      <lat>105.0</lat><lon>1.3</lon>
    </coordinates>
  </location>
  <location type="Point" timestamp="171"><lat>102.0</lat><lon>0.5</lon></location>
</item>

Browsing through Detour's data ... it seems like they use an array of geolocation points, but don't assign any timestamp to them.

commented

@sandikbarr also mentions CZML for more describing geotags over time. Though it hasn't been submitted to IETF or OGC yet.

Existing references for RSS:

1 This document appears to be slightly broken here. I'm quite sure that before "Optional element to specify geographical information", there's supposed to be a "5.24. media:location" heading.