- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
.a; node["amenity"="coworking_space-6ren">
我正在使用此立交桥查询来提取意大利的所有联合办公设施。
( area["ISO3166-1"="IT"];) ->.a;
node["amenity"="coworking_space"]
(area.a);
(._;>;);
out body;
如果我尝试使用 FR 作为 ISO3166 国家代码对法国做同样的事情
( area["ISO3166-1"="FR"];) ->.a;
node["amenity"="coworking_space"]
(area.a);
(._;>;);
out body;
我没有得到任何结果,但我确定在法国有类似的节点(我使用自动 bbox 通过单独的查询进行了测试)。
问题:
谢谢,
雅各布
最佳答案
您应该查询 key ISO3166-1:alpha2
或 ISO3166-1:alpha3
并仅将 ISO3166-1
用作后备.这些键在 country code 中有解释。维基页面。
relation for the state of Italy有标签 ISO3166-1
而 relation for the state of France没有。但两者都具有您在 ISO3166-1:alpha2
键中寻找的值。
关于openstreetmap - osm立交桥按国家查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42832571/
为了研究,我们必须开发一款基于位置的 Android 游戏。目前我们使用 OSMDroid 来显示 map 。玩家必须收集资源(如木头、石头等)。这些资源目前以硬编码的 long/lat 存储在我们的
如果我想查询一个区域内的某些对象,这很容易: area(...); node(area)[natural=peak]; out; 但是如果该区域被定义为 OSM 数据库中的关系呢?我可以像这样查询区域
我正在努力摸索立交桥,所以我希望有人能够提供帮助。 我有一条从 GPX 文件导入的路线。这已“捕捉”到 OSM 数据,因此我拥有路线上每个点的纬度/经度。其中每一个都与一个 OSM 节点一致,但我没有
我正在关注这个http://wiki.openstreetmap.org/wiki/Overpass_API/Installation使用 vagrant 在 Ubuntu 上安装 OSM3S 服务器
我已按照以下安装说明进行操作: http://wiki.openstreetmap.org/wiki/Overpass_API/install 最初一切都完美无缺,但我想尝试使用我自己的自定义 map
我在 map 上找到了一个点,现在我只想获取该点所在的城市(或郊区)的名称。我的第一次尝试是这样的: 但是如果郊区节点不在我的边界框中,这对我不起作用。是否有类似 arou
通过 Overpass API,我从 OSM 获取此(折线)数据作为 JSON 文件: { "version": 0.6, "generator": "Overpass API", "el
我正在使用 Overpass API 查询 OpenStreetMap 以查找指定位置附近具有特定名称的巴士站: http://overpass-api.de/api/interpreter?data
我是一名优秀的程序员,十分优秀!