ArcGIS特征层提取所有记录
我正在使用请求库查询ArcGIS功能服务URL。查询数据时,我只收到2000个记录,但是我的ArcGIS REST API包含90000条记录。如何在ArcGIS特征层中提取所有记录。我使用了以下代码。
import requests
params = {
"token": token,
"f": "json",
"where": "1=1",
"returnGeometry": "false",
"outFields": "*",
"returnCountOnly":"true",
"outSR": 4326
}
url = FEATURE_LAYER_URL
feature_layer_responce = requests.post(url, params=params)
feature_layer_responce.json()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的ArcGIS功能服务限制了每个请求的记录数量。您需要更改其余端点的
maxRecordCount
值:以防万一您只需要ID:
Your ArcGIS feature service limits the number of records for each request. You would need to change the
maxRecordCount
value for the REST endpoint:In case if you only need the IDs: