GeoJSON对象命名约定

时间:2016-05-05 12:30:47

标签: json rest geojson

GeoJSON对象可能如下所示:

{
    "type": "Point",
    "coordinates": [
        28.169778, 
        -25.886587
    ]
}

我们可能会将此信息嵌入到其他资源对象中,例如“感兴趣的点”':

{
    "id": "1266f0WqVkGB2BnnVhOvEw",
    "name": "Eco Fushion, Witch-Hazel Ave",
    "type": "TRANSIT",
    "code": "ert222",
    "point": {
        "type": "Point",
        "coordinates": [
            28.169778, 
            -25.886587
        ]
    }
}

在嵌入字段时,是否有任何关于此GeoJSON对象应该命名的约定?

在上面的示例中,我将其称为point

0 个答案:

没有答案