Skip to content

How to best work with codedValues when downloading feature layers from rest servers? #234

Answered by JosiahParry
ar-puuk asked this question in Q&A
Discussion options

You must be logged in to vote

@ar-puuk, please try reinstalled from GitHub and running the following:

library(arcgislayers)

flayer <- arc_open("https://services1.arcgis.com/99lidPhWCzftIe9K/ArcGIS/rest/services/UtahRoads/FeatureServer/0")

res <- arc_select(flayer, n_max = 100)

encode_field_values(res, flayer, field = "CARTOCODE")

@elipousson fixed a small but crucial bug for this functionality.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JosiahParry
Comment options

@ar-puuk
Comment options

@ar-puuk
Comment options

@JosiahParry
Comment options

@ar-puuk
Comment options

Answer selected by ar-puuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants