Internet Draft draft-daviel-http-geo-header が定義する [[HTTP]] 拡張頭欄。類似の draft-daviel-html-geo-tag は [[HTML]] の META 要素用の値の定義。 *例 -geo.position: 48.54;-123.84;120 北緯48.54度西経123.84度基準点から120メートル上の資源。 -geo.position: -10;60 南緯10度東経60度 -geo.region: CA-ON カナダ・オンタリオ -geo.region: GB イングランド (大ブリテン) -Accept-Geo: position,region サーバーあるいは代理者が、 geo.position と geo.region の両方を受け付ける用意がある。 *BNF ;; draft-daviel-http-geo-header を元に、意味を変えない程度に整理。 -UCASE = %x41-5A ; A-Z -country = 2UCASE ; 2-letter code from ISO3166 -region = 1*3UCASE / 2DIGIT ; region code from ISO3166-2 -sign = "+" / "-" ;; 南緯, 西経が「-」 -latitude = [sign] *2DIGIT ["." *DIGIT] ;; 緯度 0°〜90° -longitude = [sign] *3DIGIT ["." *DIGIT] ;; 経度 0°〜180° -elevation = [sign] *DIGIT ["." *DIGIT] ;; 標高 -position = latitude ";" longitude [";" elevation] -georegion = country ["-" region] -accept-field = "position" / "region" -geo.position = "geo.position:" *WSP position -geo.region = "geo.region:" *WSP georegion -accept.geo = "Accept-Geo:" *WSP accept-field *1("," accept-field) ;; 符号だけで数値無しとか、小数点あって小数部なしとか許されるけどいいんかね? *SEE ALSO -[[RFC822と仲間達の頭領域名]] --[[Accept:欄]] -[[HTTP]] -[[HTML]]