Select to view content in your preferred language

How to display a ArcGIS Server map services layers with many features?

748
3
04-15-2011 11:44 AM
SuiHuang
Frequent Contributor
Hi Everybody:

    I am developmenting a silverlight application to display a FeatureLayer with many polygons (about 100 thousand). In XAML code I added this ArcGIS Server map service into the Map control. When running the application, the map displays some polygons (about 500 to 2000), but not all of them.

    With ArcMap and ArcCatalog I am able to see all those 100 thousands polygons, so the data seems correct. On another hand, if I use QueryTask to do a spatial query on the layer, I will be able to select the polygons that are not displayed on the map.

    How can I make all the polygons displayed?

    Thank you.

My development environment:
-- .Net 4
-- C# and Visual Studio 2010
-- Silverlight 4
-- ArcGIS API for Microsoft Silverlight/WPF
-- ArcGIS Server 9.31 map services
0 Kudos
3 Replies
SanajyJadhav
Deactivated User
Have you tried changing the limit of 1000 (or 500, I guess) on the number of features returned by server.If you are on 9.3, then you would have to edit serviceName.cfg file.In that file,you would have to change the number to return more number of features.

Hope this helps.
0 Kudos
SuiHuang
Frequent Contributor
Hi sanjayjadhav:

    I consulted out ArcGIS Server support team, and I was told that the serviceName.cfg only controls the number of returned assets by query, but not display. Is it true? or is there any parameter that controls the display?
    Thank you.

Have you tried changing the limit of 1000 (or 500, I guess) on the number of features returned by server.If you are on 9.3, then you would have to edit serviceName.cfg file.In that file,you would have to change the number to return more number of features.

Hope this helps.
0 Kudos
JenniferNery
Esri Regular Contributor
FeatureLayer by default is in Snapshot mode where it retrieves all the features from the service through a query. Therefore the service limit is also imposed on FeatureLayer. The default is 500 for ArcGIS Server 9.3.1 and 1000 for ArcGIS Server 10, but this limit is configurable using the Parameters tab of the Service Properties dialog box in ArcCatalog or Manager.
0 Kudos