Querying hosted feature services
Now that we have covered how to access the functions of administration and security of our ArcGIS web infrastructure using ArcREST, we can introduce querying feature services. Although ArcREST is useful in administering your organization’s site, it is also functional in querying and manipulating data that is already hosted in a production environment. In this section, we will demonstrate how to query and save all features to a feature class without having to loop like we did in the previous chapter. We will also cover how to append data to a feature service from a feature and change/update the schema of an existing feature service.
Querying all features and saving as a feature class
In the previous chapter, we had to design a script that would loop over a feature service because the record count was limited to 1,000. With the QueryAllFeatures()
function available through ArcREST, you will no longer need to loop over the features unless you want to build the...