Sim*_*ill 6 geocoding semantic-web schema.org
如果GeoShape页面包含示例或单个属性被分解而不仅仅是Text,那将是很好的.
我对圆圈属性特别感兴趣.我想从诺丁汉市中心(52.953,-1.149)定义一个20英里(约32公里)半径的圆圈.
<!DOCTYPE html>
<html>
<head>
<title>Nottingham City Neighbourhood</title>
</head>
<body>
<div itemscope itemtype="http://schema.org/Place">
<div itemprop="geo" itemscope itemtype="http://schema.org/GeoShape">
<meta itemprop="circle" content="52.953 -1.149 32186.88"/>
</div>
</div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
丰富的代码段工具确实会选择数据,但我不相信我使用了正确的格式.特别是因为解析的经度是积极的.
> The following structured data is viewable only in the XML results view
> in Custom Search. More information.
>
> geoshape (source = MICRODATA) circle = 52.953 -1.149 32186.88
>
>
> The following structured data can be used to filter search results in
> Custom Search. More information.
>
> more:pagemap:geoshape more:pagemap:geoshape-circle
> more:pagemap:geoshape-circle:1.149
> more:pagemap:geoshape-circle:32186.88
> more:pagemap:geoshape-circle:52.953
> more:pagemap:geoshape-circle:52.953_
Run Code Online (Sandbox Code Playgroud)
至于其他人,我认为盒子和多边形的格式为"$ lat1,$ long1 $ lat2,$ long2 $ lat3,$ long3 $ lat1,$ long1".
有人有明确的答案或理由吗?
我做了一些考古工作,遵循了与其他人类似的线索。
详细信息:http://lists.w3.org/Archives/Public/public-vocabs/2012Jun/0116.html
复杂的混乱似乎是(正如 Yves Martin 指出的那样)原始 rNews 示例中缺少空格。
我们会改善这种情况,我会在这里报告。