markparr

FeatureLayer -- Can I get all features programmatically

Discussion created by markparr on Jan 3, 2013
Latest reply on Jan 4, 2013 by markparr
I am working on embedding a Runtime Map into a WPF application that I am working on.  This is my first WPF Runtime attempt so I am learning as I go.  Currently, my mapping data source is a SQL Server based ArcGIS Server from which I am using REST services to retrieve various layers.  I am aware of the ArcGIS Service "Maximum Number of Records Returned by Server" Parameter I have played with that and got the desired result of retrieving all of my centerline features.  Initially the default 1000 was the setting and the layer in question has 3300+ features.  I bumped the parameter to 4000 and all was well.

However, what I want to know is if there is a way to get all of the features programmatically?

When using Visual Studios to define a FeatureLayer via the property editor, the URL dialog shows all of the features even when the Service Parameter was set to 1000.  I have attached a picture showing this.  Since Visual Studios is showing all of the features, can I?

Thanks
Mark


[ATTACH=CONFIG]20408[/ATTACH]

Attachments

Outcomes