PaleoEarthLabs wiki

One bucket of limited wisdom

User Tools

Site Tools


tectonicwaters:2018:0924_arcgis_rest_api_colorscheme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tectonicwaters:2018:0924_arcgis_rest_api_colorscheme [2018/09/24 15:07] (current)
christian created
Line 1: Line 1:
 +====== ArcGIS REST API: ColorScheme ======
 +
 +Needed to look up ArcGIS'​s JSON color settings as served by the REST API. So it is listed on their [[https://​developers.arcgis.com/​documentation/​common-data-types/​symbol-objects.htm#​GUID-26A800AE-CAC8-40E6-B381-B3CD517A45C1|Common Data Types -> Symbol objects]] and they indeed use RGBA.
 +
 +To quote from [[https://​developers.arcgis.com/​documentation/​common-data-types/​symbol-objects.htm#​GUID-26A800AE-CAC8-40E6-B381-B3CD517A45C1|ESRI'​s website]]:
 +
 +===== Color =====
 +
 +Color is represented as a four-element array. The four elements represent values for red, green, blue, and alpha in that order. Values range from 0 through 255. If color is undefined for a symbol, the color value is null.
 +
 +===== JSON Syntax =====
 +
 +''​[ <​red>,​ <​green>,​ <​blue>,​ <​alpha>​ ]''​
 +
 +===== JSON Example =====
 +
 +''​[ 67, 0, 255, 40 ]''​
 +
 +
 +Also worth a read: [[https://​en.wikipedia.org/​wiki/​RGBA_color_space]]
 +
 +
 +
 +
 +
 +{{tag>​GIS ESRI ArcMap Color}}
 +
 +
 +~~DISCUSSION~~
  
tectonicwaters/2018/0924_arcgis_rest_api_colorscheme.txt · Last modified: 2018/09/24 15:07 by christian