osmnx which_result 意思
osmnx which_result meaning
我写的时候这是一个非常简单的问题
G = ox.graph_from_place()
我有一个名为which_result
的参数,我在文档中看到了它的定义,但我仍然不明白它的作用。
有人可以帮助我吗?
它发生了一些查询 return 几个结果。如方法文档中所述 graph_from_place
:
(...)
Alternatively, you might try to vary the which_result parameter to use a different geocode result. For example, the first geocode result (ie, the default) might resolve to a point geometry, but the second geocode result for this query might resolve to a polygon, in which case you can use graph_from_place with which_result=2.
它主要被 gdf_from_place
function, which relies on osm_polygon_download
使用,其中这个数字成为参数 limit
作为:
max number of results to return
并被 nominatim_request
function, which in turns (and finally) relies on the Nominatim API, especially in its result-limitation 部分用作参数,其中明确描述了搜索查询,如:
Limit the number of returned results. (Default: 10, Maximum: 50)
我写的时候这是一个非常简单的问题
G = ox.graph_from_place()
我有一个名为which_result
的参数,我在文档中看到了它的定义,但我仍然不明白它的作用。
有人可以帮助我吗?
它发生了一些查询 return 几个结果。如方法文档中所述 graph_from_place
:
(...)
Alternatively, you might try to vary the which_result parameter to use a different geocode result. For example, the first geocode result (ie, the default) might resolve to a point geometry, but the second geocode result for this query might resolve to a polygon, in which case you can use graph_from_place with which_result=2.
它主要被 gdf_from_place
function, which relies on osm_polygon_download
使用,其中这个数字成为参数 limit
作为:
max number of results to return
并被 nominatim_request
function, which in turns (and finally) relies on the Nominatim API, especially in its result-limitation 部分用作参数,其中明确描述了搜索查询,如:
Limit the number of returned results. (Default: 10, Maximum: 50)