In the US

From Points of Interest
Revision as of 15:57, 21 November 2011 by Ahill2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

US city examples

Boston XML

<poi id="http://www.rajsingh.org/pois/45343489" updated="20111021T22:10:00+18:00" created="20040122T09:38:21-5:00">
	<author href="http://www.rajsingh.org/me.rdf" type="application/rdf+xml"/>
	<license href="http://www.creativecommons.org/CC-A/3.0/license/xml" type="text/xml"/>
	<label>
		<value>Boston</value>
		<term>Boston</term>
	</label>
	<description updated="20111021T22:10:00+18:00">
		<value> Boston is the capital of and largest city in Massachusetts, and is one of the oldest
			cities in the United States. The largest city in New England, Boston is regarded as the
			unofficial "Capital of New England" for its economic and cultural impact on the entire
			New England region. The city proper had a population of 617,594 according to the 2010
			U.S. Census.
		</value>
		<author id="http://en.wikipedia.org" href="http://en.wikipedia.org/wiki/Boston" type="text/plain">
			<value>Wikipedia</value>
		</author>
	</description>
	<category scheme="http://www.usgs.gov/placetypes">
		<value>seat of a first-order administrative division</value>
		<term>city</term>	
	</category>
	<link href="http://www.rajsingh.org/pois/45343489.xml" type="text/xml" scheme="http://www.iana.org/assignments/link-relations/link-relations.xml">
		<term>canonical</term>		
	</link>
	<link href="http://en.wikipedia.org/wiki/Boston" type="text/html" scheme="http://www.iana.org/assignments/link-relations/link-relations.xml">
		<term>related</term>
	</link>
	<link href="http://www.geonames.org/maps/google_42.358_-71.06.html" type="text/html" scheme="http://www.iana.org/assignments/link-relations/link-relations.xml">
		<term>related</term>
	</link>
	<location>
		<point>
			<term>centroid</term>
			<Point srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
				<posList>42.358 -71.06</posList>
			</Point>
		</point>
	</location>
</poi>

Boston JSON

{
    "id":"http:\/\/www.rajsingh.org\/pois\/45343489",
    "updated":"20111021T22:10:00+18:00",
    "created":"20040122T09:38:21-5:00",
    "author":
    {
        "href":"http:\/\/www.rajsingh.org\/me.rdf",
        "type":"application\/rdf+xml"
    },
    "license":
    {
        "href":"http:\/\/www.creativecommons.org\/CC-A\/3.0\/license\/xml",
        "type":"text\/xml"
    },
    "label":
    {
        "value":"Boston",
        "term":"Boston"
    },
    "description":
    {
        "value":"Boston is the capital of and largest city in Massachusetts,
         and is one of the oldest\n\t\t\tcities in the United States. The largest city in New England,
         Boston is regarded as the\n\t\t\tunofficial \"Capital of New England\" for its economic and cultural impact on the entire\n\t\t\tNew England region. The city proper had a population of 617,
        594 according to the 2010\n\t\t\tU.S. Census.",
        "updated":"20111021T22:10:00+18:00",
        "author":
        {
            "id":"http:\/\/en.wikipedia.org",
            "href":"http:\/\/en.wikipedia.org\/wiki\/Boston",
            "type":"text\/plain",
            "value":"Wikipedia"
        }
    },
    "category":
    {
        "value":"seat of a first-order administrative division",
        "term":"city",
        "scheme":"http:\/\/www.usgs.gov\/placetypes"
    },
    "link":
    [
        {
            "href":"http:\/\/www.rajsingh.org\/pois\/45343489.xml",
            "type":"text\/xml",
            "term":"canonical",
            "scheme":"http:\/\/www.iana.org\/assignments\/link-relations\/link-relations.xml"
        },
        {
            "href":"http:\/\/en.wikipedia.org\/wiki\/Boston",
            "type":"text\/html",
            "term":"related",
            "scheme":"http:\/\/www.iana.org\/assignments\/link-relations\/link-relations.xml"
        },
        {
            "href":"http:\/\/www.geonames.org\/maps\/google_42.358_-71.06.html",
            "type":"text\/html",
            "term":"related",
            "scheme":"http:\/\/www.iana.org\/assignments\/link-relations\/link-relations.xml"
        }
    ],
    "location":
    {
        "point":
        {
            "term":"centroid",
            "Point":
            {
                "srsName":"http:\/\/www.opengis.net\/def\/crs\/EPSG\/0\/4326",
                "posList":"42.358 -71.06"
            }
        }
    }
}