[georss] proposal for country code in GeoRSS
Marc
marc at geonames.org
Sat May 27 14:12:28 EDT 2006
Hi Carl
I hope you don't mind that I continue this thread about address encoding.
Do you have an url for the GML address encoding? All I was able to find
is an old (Feb 2003) 0.1 draft for it.
> of expressing a address content standard as XML, I would look at the
> OGC OpenLS Core Spec Document as well as the OASIS xal draft. In terms
> of GML and GeoRSS GML, here is a snippet
>
> <gml:city>Anytown</gml:city>
> <gml:state>MD</gml:state>
> <gml:zipCode>20910</gml:zipCode>
> <gml:countryCode>USA</gml:countryCode>
The GML address encoding looks a tiny little bit unwieldy, as the
structure depends on the region of the word for which the address is
specified.
In the above mentioned draft there is the also an example for a Japanese
address :
<gml:town>Anytown</gml:town>
<gml:city>Anytown</gml:city>
<gml:prefecture>MD</gml:prefecture>
<gml:postalCode>20910</gml:postalCode>
The Japanese address has an element 'postalCode' instead of the
'zipCode' element for a US address, an element 'prefecture' instead of
'state' and an additional element 'town'.
Rss is supposed to be a simple general purpose format and I prefer the
ietf draft where a common denominator for all regions and countries is
used : pc for zipCode or postalCode, A1 for state or prefecture, etc.
Regards
Marc
More information about the georss
mailing list