R-ArcGIS / arcgislayers

Access ArcGIS Data and Location Services
http://r.esri.com/arcgislayers/
Apache License 2.0
47 stars 10 forks source link

Add support for the `updateDefinition` REST API endpoints #127

Open elipousson opened 10 months ago

elipousson commented 10 months ago

Is your feature request related to a problem? Please describe.

Adding support for the updateDefinition Feature Layer endpoint with a function named something like update_feature_layer() and also the updateDefinition Feature Service endpoint with something like update_feature_server() would be great.

The implementation could include a mix of more general, e.g. arc_update(), or more focused, e.g. update_layer_properties() or update_layer_fields(), functions to help turned a data frame or list into the JSON format required for these operations.

Describe the solution you'd like

Based on the examples from the updateDefinition documentation, here are the features that I am most interested in seeing supported:

Describe alternatives you've considered

I have not yet explored implementation but can share a reprex if I have an opportunity to give this a try.

Additional context

Any features related to the layer "renderer" may also relate to this issue for {arcgisutils} https://github.com/R-ArcGIS/arcgisutils/issues/4