Skip to main content
Solved

Query layers from ArcGIS Server mapservice

  • April 28, 2020
  • 1 reply
  • 145 views

Need to query layers,Layer field attributes from an ArcGIS server mapservice after generating token from url (http://arcgisserver.com/arcgis/rest/services///MapServer/).Now I am struck at how to use generated token next for getting the layer related tables and attributes.Any help on how to use generated token.

Best answer by nielsgerrits

  • Add a FeatureReader.
  • Choose "Esri ArcGIS Server Feature Service" (yes I know, you wrote mapservice, but it works)
  • Enter mapservice url (like https://myarcgisserver.com/arcgis/rest/services/a/b/MapServer)
  • Hit parameters, choose provide token, select attribute with token.
  • Select the layer(s) at FeatureTypes To Read. (You now have to copy paste a valid token to scan the mapservice for layers.)

Tip: I always choose "Single Output Port" over "One per Feature Type" and use an AttributeExposer to Expose attributes. (you can import them instead of entering manually). If you don't, you need to provide a new valid token every single time you make a change in the FeatureReader.

View original
Did this help you find an answer to your question?

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • April 28, 2020
  • Add a FeatureReader.
  • Choose "Esri ArcGIS Server Feature Service" (yes I know, you wrote mapservice, but it works)
  • Enter mapservice url (like https://myarcgisserver.com/arcgis/rest/services/a/b/MapServer)
  • Hit parameters, choose provide token, select attribute with token.
  • Select the layer(s) at FeatureTypes To Read. (You now have to copy paste a valid token to scan the mapservice for layers.)

Tip: I always choose "Single Output Port" over "One per Feature Type" and use an AttributeExposer to Expose attributes. (you can import them instead of entering manually). If you don't, you need to provide a new valid token every single time you make a change in the FeatureReader.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings