Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Esri Developer

Utility functions

Source:R/utils.R
utils.Rd

Utility functions

Usage

clear_query(x)list_fields(x)pull_field_aliases(x)list_items(x)refresh_layer(x)

Arguments

x

an object of classFeatureLayer,Table, orImageServer.

Value

See Details.

Details

[Experimental]

  • list_fields() returns a data.frame of the fields in aFeatureLayer orTable

  • list_items() returns a data.frame containing the layers or tables in aFeatureServer orMapServer

  • clear_query() removes any saved query in aFeatureLayer orTable object

  • refresh_layer() syncs aFeatureLayer orTable with the remoteresource picking up any changes that may have been made upstream.Returns an object of classx.

  • pull_field_aliases() returns a named list of the field aliases from aFeatureLayer orTable

Examples

if(FALSE){# \dontrun{furl<-paste0("https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/","PLACES_LocalData_for_BetterHealth/FeatureServer/0")flayer<-arc_open(furl)# list fields available in a layerlist_fields(flayer)# remove any queries stored in the query attributeclear_query(update_params(flayer, outFields="*"))# refresh metadata of an objectrefresh_layer(flayer)map_url<-paste0("https://services.arcgisonline.com/ArcGIS/rest/services/","World_Imagery/MapServer")# list all items in a server objectlist_items(arc_open(map_url))}# }

Was this page helpful?

Your browser is no longer supported. Please upgrade your browser for the best experience. See ourbrowser deprecation post for more details.


[8]ページ先頭

©2009-2025 Movatter.jp