ArcGis for flex 中QueryTask查詢結果限制(1000)問題

ArcGis  中QueryTask查詢結果限制(1000)問題

轉載於:http://www.cnblogs.com/pandy/archive/2011/08/29/2157307.html

查詢官網得到解決方案如下:

To prevent queries that request unlimited numbers of features (e.g., empty WHERE statements and statements that are always true), use MaxRecordCount to set the maximum number of features. 

By default, the maximum for ArcGIS Server 10.0 is 1000 features (and 500 features for for ArcGIS Server 9.3).

You can modify this for a specific MapService in its configuration file. For a default windows installation, the file is C:\Program Files\ArcGIS\server\user\cfg\[YourMapService].cfg

 

步驟一:找到arcgis安裝目錄下你發佈的地圖文件的 config配置文件(本機:E:\Program Files\ArcGIS\Server10.0\server\user\cfg目錄下)

步驟二:在此文件中修改<MaxRecordCount></MaxRecordCount> 節點數值後,重新啓動ArcGIS Server Object Manager服務後,即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章