如果GeoShape页面包含示例或单独的属性被分解而不仅仅是文本,那就太好了。
我对 circle 属性特别感兴趣。我想从诺丁汉市中心(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>
丰富的代码片段工具确实会挑选出数据,但我不相信我使用了正确的格式。特别是因为解析的经度是正数。
> 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_
至于其他的,我认为方块和多边形的格式都是“$lat1,$long1 $lat2,$long2 $lat3,$long3 $lat1,$long1”的正方形。
有人有明确的答案或理由吗?