Select to view content in your preferred language

Dynamic Layers there is a default 1000 return feature limit?

3835
8
12-17-2012 01:40 PM
tomw
by
Emerging Contributor
Hi,

About esri documented "Both FeatureLayers and client side generated Dynamic Layers there is a default 1000 return feature limit imposed by ArcGIS Sever to maintain performance.", It would be great if some one could give me an example when dynamic layer has 1000 return limit.

I have tested to add a feature class through my workspaceid into my dynamic map service and has not problem to draw > 3000 polygons.

I know featurelayer has 1000 limit when to add it.

<esri:FeatureLayer ID="MyFeatureLayer"
                    Url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/Map...>

Please advise.


Thanks,
0 Kudos
8 Replies
AnthonyGiles
Honored Contributor
Tom,

Feature layers differ from a dynamic layers as feature layers bring geometry information across to the client computer to be drawn by the Web browser, the amount of features returned is limited to the default 1000 to enhance performance (though this can be changed).  Feature layers potentially cut down on round trips to the server. A client can request the features it needs, then perform selections and queries on those features without having to request more information from the server.

A dynamic map service returns images that are created on the Server and returned to the client browser. The 1000 feature limit is not enforced when just viewing the layer as you are not technically requesting any features just a graphic representation. If you perform an identify or search query against the dynamic layer this is when the limit will be enforced as you are returning the geometries of each feature.

Hope this makes sense

Regards

Anthony
0 Kudos
tomw
by
Emerging Contributor
Thanks Anthony, sorry i am not sure this is correct answer. we all knew featurelayer is a graphiclayer. I am agree with you there is a limit. For querying Map Service Rest end point, there is a limit of 1000. It is nothing to do with which types of Map Services.
About "Both FeatureLayers and client side generated Dynamic Layers there is a default 1000 return feature limit imposed by ArcGIS Sever to maintain performance", it is talking about draw engines not querying if I am understanding correctly.


Regards,


Tom
0 Kudos
AnthonyGiles
Honored Contributor
Tom,

The feature limit is imposed to maintain performance with the browser client side. You can up the number of features returned in the properties of the service, but you will notice the browsers response time reduces if you have a lot of features.

Regards

Anthony
0 Kudos
tomw
by
Emerging Contributor
Hi Anthony,

I don't think you are getting what I am asking.

Esri documents there is a 1000 limit for the dynamic layers which is a new in 10.1. You may confused with ArcGISDynamicMapServiceLayer. But I think there is no limit,  and my test result shows there is no limit too.

Your first response has mentioned about a querying limit. I do think it is esri refer to. To take a look this Featurelayer, it wouldn't draw up to 1000 by default, but the dynamic layers draw all features from your data source.


Regards,

Tom
0 Kudos
AnthonyGiles
Honored Contributor
Tom,

From what I can tell dynamic layers are functionality provided by a ArcGISDynamicMapServiceLayer, see:

http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Dynamic_workflows_overview/017p000...

http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer...

So the point I made in my first post about dynamic map services would make sense

Regards

Anthony
0 Kudos
tomw
by
Emerging Contributor
Thanks Anthony,

Great! We are on same page now. I am wondering if you ever have go to "ArcGISDynamicMapServiceLayer Class" of ArcGIS API for Silverlight 3.0 page and check this below.

ESRI: "Note: Both FeatureLayers and client side generated Dynamic Layers there is a default 1000 return feature limit imposed by ArcGIS Sever to maintain performance. This maximum number of records returned by ArcGIS Server 1000 (aka. feature limit) can be increased when publishing the ArcGISDynamicMapServiceLayer. The 1000 feature return limit does not apply to a regular ArcGISDynamicMapServiceLayer."

The last part "The 1000 feature return limit does not apply to a regular ArcGISDynamicMapServiceLayer" is very clear. The limit is new for Dynamic Layers. So, the point you made is for ArcGISDynamicMapServiceLayer, and is for all type of Map Services, since 1.2 api (500).

My point is there is not limit, and Dynamic Layers works perfect with no limit and no performance issue at all. I am really happy Esri Server team implemented it. But it documented incorrect and I would like to confirm this as well.

BTW, I am appreciated your response.


Regards,

Tom
0 Kudos
DaveTimmins
Deactivated User
Hi Tom,

the documentation is correct. The 1000 feature limit is the default for query results for a dynamic map service. There is no limit on the number of features drawn as the dynamic service is returned as an image but if you ran a query task against it would use the maximum allowed features value (which defaults to 1000).

Cheers
0 Kudos
tomw
by
Emerging Contributor
This is a part of the document: "The 1000 feature return limit does not apply to a regular ArcGISDynamicMapServiceLayer."

ESRI: "Note: Both FeatureLayers and client side generated Dynamic Layers there is a default 1000 return feature limit imposed by ArcGIS Sever to maintain performance. This maximum number of records returned by ArcGIS Server 1000 (aka. feature limit) can be increased when publishing the ArcGISDynamicMapServiceLayer. The 1000 feature return limit does not apply to a regular ArcGISDynamicMapServiceLayer."
0 Kudos