Skip to content

GeoRSS-Simple Namespace Reference

The GeoRSS-Simple namespace enables geographic tagging of RSS feeds and items, allowing publishers to associate location information with their content.

Namespace URIhttp://www.georss.org/georss
Prefix<georss:*>
Available inRSS, Atom, RDF

Structure

INFO

TDate represents date fields in the type definitions. When parsing, dates are returned as strings in their original format (see Parsing › Handling Dates for more details). When generating, dates should be provided as JavaScript Date objects.

ts
export type Point = {
  lat: number
  lng: number
}

export type Line = {
  points: Array<Point>
}

export type Polygon = {
  points: Array<Point>
}

export type Box = {
  lowerCorner: Point
  upperCorner: Point
}

export type ItemOrFeed = {
  point?: Point
  line?: Line
  polygon?: Polygon
  box?: Box
  featureTypeTag?: string
  relationshipTag?: string
  featureName?: string
  elev?: number
  floor?: number
  radius?: number
}