我们可以使用仅限法国的服务器的世界更新吗?似乎做出了错误的查询结果
can we used world update for France only server ? seems to make wrong query result
在我的本地立交桥 api 服务器上 只有法国数据 在其上应用每小时行星差异,一些查询响应是错误的。
它不是针对每个查询执行一次:而是每 200 个请求执行一次,有时更多...
例如:
[timeout:360][out:json];way(48.359900103518235,5.708088852670471,48.360439696481784,5.708900947329539)[highway];out ;
return 3 种方式:
{
"version": 0.6,
"generator": "Overpass API 0.7.54.13 ff15392f",
"osm3s": {
"timestamp_osm_base": "2019-09-23T15:00:00Z",
},
"elements": [
{
"type": "way",
"id": 53290349,
"nodes": [...],
"tags": {
"highway": "secondary",
"maxspeed": "100",
"ref": "L 385"
}
},
{
"type": "way",
"id": 238493649,
"nodes": [...],
"tags": {
"highway": "residential",
"name": "Rue du Stand",
"ref": "C 3",
"source": "..."
}
},
{
"type": "way",
"id": 597978369,
"nodes": [...],
"tags": {
"highway": "service"
}
}
]
}
第一个在德国,远东...
我的问题:
在立交桥 api 服务器上,有没有办法只对定义的区域应用差异?它没有记录(这里也没有:https://wiki.openstreetmap.org/wiki/Overpass_API/Installation
或此处:https://wiki.openstreetmap.org/wiki/User:Breki/Overpass_API_Installation#Configuring_Diffs )
如果没有,如何去掉那些错误的结果?
谢谢,
两个问题,所以两个答案:
- 我发现存在法语差异文件:http://download.openstreetmap.fr/replication/europe/france/minute/ 所以我将使用这些差异重新启动我的服务器。
- 摆脱这些错误结果的最好方法是拥有一个一致的服务器:没有世界差异,只有法国数据。
在我的本地立交桥 api 服务器上 只有法国数据 在其上应用每小时行星差异,一些查询响应是错误的。
它不是针对每个查询执行一次:而是每 200 个请求执行一次,有时更多...
例如:
[timeout:360][out:json];way(48.359900103518235,5.708088852670471,48.360439696481784,5.708900947329539)[highway];out ;
return 3 种方式:
{
"version": 0.6,
"generator": "Overpass API 0.7.54.13 ff15392f",
"osm3s": {
"timestamp_osm_base": "2019-09-23T15:00:00Z",
},
"elements": [
{
"type": "way",
"id": 53290349,
"nodes": [...],
"tags": {
"highway": "secondary",
"maxspeed": "100",
"ref": "L 385"
}
},
{
"type": "way",
"id": 238493649,
"nodes": [...],
"tags": {
"highway": "residential",
"name": "Rue du Stand",
"ref": "C 3",
"source": "..."
}
},
{
"type": "way",
"id": 597978369,
"nodes": [...],
"tags": {
"highway": "service"
}
}
]
}
第一个在德国,远东...
我的问题:
在立交桥 api 服务器上,有没有办法只对定义的区域应用差异?它没有记录(这里也没有:https://wiki.openstreetmap.org/wiki/Overpass_API/Installation 或此处:https://wiki.openstreetmap.org/wiki/User:Breki/Overpass_API_Installation#Configuring_Diffs )
如果没有,如何去掉那些错误的结果?
谢谢,
两个问题,所以两个答案:
- 我发现存在法语差异文件:http://download.openstreetmap.fr/replication/europe/france/minute/ 所以我将使用这些差异重新启动我的服务器。
- 摆脱这些错误结果的最好方法是拥有一个一致的服务器:没有世界差异,只有法国数据。