JSONFeed icon indicating copy to clipboard operation
JSONFeed copied to clipboard

Adopt Location Properties for Items

Open dshanske opened this issue 5 years ago • 3 comments

This is mentioned in https://github.com/manton/JSONFeed/issues/94...specifically that JSONFeed needs location properties, citing GeoRSS and GeoJSON.

There are a few basic options as I see it.

  • Location(optional, array of floats) - that uses the vocabulary of the GeoJSON point. [lon, lat, alt], with Altitude being optional.
  • Location(optional, string) - uses a GEO URI
  • Location(optional, object) - Has optional properties of latitude, longitude, altitude, and name. Name representing the proper name of a location.

dshanske avatar Aug 25 '20 04:08 dshanske

I solved that with a custom property in items, adopting straight from GeoJSON:

     "_geo": {
        "about": "http://geojson.org/",
        "type": "Point",
        "coordinates": [
          -74.008762,
          40.696696
        ]
      }

fboes avatar Nov 18 '20 08:11 fboes