{"_id":"@dhi-gras/terracotta-react","_rev":"16-9b9c75ae79dbcaf26cf1ac73feafd781","name":"@dhi-gras/terracotta-react","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.2":{"name":"@dhi-gras/terracotta-react","version":"1.0.2","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.0.2","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"416ca3009508bc9f7acf8cef0f32df9089428024","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.0.2.tgz","fileCount":24,"integrity":"sha512-7KLTQKEESA41mz5uAOL7l8Rp7x0tpLvdlEl6Trf9TKc69vtRMIU3iiuZ83qEunKGNgnkp5eEU72bSnX4nrhgRw==","signatures":[{"sig":"MEQCIHLIpiN/M5K2dPls4IvdX6hwRdFz06hLbA8/7RZ1dIaOAiAf5kFutIyF/VqFooUfjJCo5K9D7CTDdJMaiVV9EUMT9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246459},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"6.14.15","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.0.2_1636637524888_0.5617670219505577","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@dhi-gras/terracotta-react","version":"1.1.0","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.1.0","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"33bd02eff2fdd44f3c818341d65fea2ac34b5286","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.1.0.tgz","fileCount":24,"integrity":"sha512-vwMX0xlzVZsMUdIeuVJBoyUxcNfarCAlJU2W8vSbTKpxfhHv9IBMaOjNm3hKBVHQZO3DN67UlVGIySW/Fs2Fpg==","signatures":[{"sig":"MEUCIAQ8ky2mGWLK7+ne1fsgdCyX3dXp0THccmhR/nx9Z3bmAiEAzliB+O7WInQm28u1+9gTvL+32r/2dQYX4ZW6k46QCG8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn5hDCRA9TVsSAnZWagAAcDYP/R3apdsmmn+loHo+BSPV\nPuNd9TV+YI1nL1LJN+63SgLty84pPyufGhp9u+X018CAc/yBODdeUVUCVpFK\nXiX3/33Cw7Nd/PAJrlaS1MpKwfJhpJ3pUN1SP8xuHpbg4fl6Tj/2WlXZWiKV\nohne0QIshbOPB/7cdbnRtpIG3pzydRT+Qv1sTTskVqP52l3Mw6nrIvd2KVL0\njq6M8p+CLI/2FeyMrsdInfe5744M6+wnM1NQm3TqtPWrlikXK7s6TLE5pkcd\npqfwXw5gS/VgqMPxKdA0lfsMAb4MS8MgDrk3DLVrtZ3riqWXPYzmUCGmoIrR\njtLp9W7jjwDhXQjIp4KPz5DX0SC9nW/Spo55rVYVgX05GwCn9wndNJEsjiTH\nUPpQ4N53cDLvSQHhDHl+DfefmaDE2Xl/19Zb11bswmexu9ZhboNdwzDQ3LSM\nqkWtFA6woVcS+4LAu1YISKMyWbdaC446mNJxKukXLEU+k+xR+jAj5ZYkpOCi\nG/+YVzc0sqwmKSwcEeJbLdrJRKn4JL/BVeZgU4x7Nypu3EHSbvFVSbtYNab9\nHtliFhIB5vmuBCB22cBNVaZBaldXeVd0r/mHEaoFJvhORT7lOBfyShkAF8nH\nz9V2FWPMh03i343d7/+yU5x035POfVV7fP5WljLGYmnmcVrsVaLW+3ne6jsV\nvWB3\r\n=oAU1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"6.14.15","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.1.0_1637849155766_0.2514227183858171","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@dhi-gras/terracotta-react","version":"1.1.1","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.1.1","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"75c4603d659e103a1827a3cc2c4de9358052d96a","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.1.1.tgz","fileCount":25,"integrity":"sha512-4ugeV3eh1aqPmDt8tSJKanpbJLry9yaPmIHM1nbEsVoWsMJZV+xi4X9K+cj66Sx1s6bQI9aL4kqRTOpCDxmMJg==","signatures":[{"sig":"MEYCIQD7Lvnu5vhQjCna4hZw4QOY0d5abU5tIuLjmcVhDelDagIhAImfs7StDi9jaW/lCmCeFPWTzsFs2T8Mx0YlSB5riKYg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":260634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoO+2CRA9TVsSAnZWagAAJAAP/2oVZcTLulQJNwlIO0Xn\nq+z4KSuFbRbMkL4ftVcOuYCrpt48YOtAlq9EbPdXApZqSPWd7vCku7stNt/Z\ns49hfv3qsObC6+6DbOMYjmvDsdSdvUf/Np9uFPd/DUuSPXRwJlYQja+HVaW3\ng/1i/suKa9Lrv3kS1wJUcG7eEkC+72soK/z5e5ge0LTP0h6xJEfzFFUXPGvr\nhUrch0GE9CvqFog5DcxJjGeg99idH6jaWtz0VMFGIUJF3zP9kRc1KjXuW35P\nq7qixC3fgkw3W6D4i6G4UyhqdmgdDS2dCwavOF0zBKnfKslChIVccilppVQ6\ngLAzTrR2mMLgGg/AHMi5yNNUbaoT0dy4MPtly9+DSd6ol6OSK3MQet6LbZgy\nUEX4q9nf9lJ3+Rn9t6WFoDPTov8jawWTyTGpH47Dwb1D6w8mhwvCH/qn/uxo\nzI+N6MiR+DOhRKXKt2HQoM2owiJ4Z8tftdyxT3CcrzfsOK8SGrVpjM0ob0uN\nDpB4i8WbTF0nUB8vCOOLYBZfMG0BKYIyEA8pc/ViNsE5st7hDbGqAMz66Ab+\nQHHTW5f3rUOHYXmyJb0AwvvPzx2lb6ZgZz7wNf9MFVfqdUh3LjqTvq4Ue1SF\naEdZf+2WLZzipSfAGmgLsUatnxudMQ5KcR72EcbyVd8wcGr+DKpaPNDK6550\nQVyV\r\n=TBzm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"6.14.15","description":"<div align=\"left\">","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.1.1_1637937077953_0.8258302218972973","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@dhi-gras/terracotta-react","version":"1.2.0","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.2.0","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"a20fda355d45708e1e87cae2d474e7357f6d796e","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.2.0.tgz","fileCount":24,"integrity":"sha512-u2akPGVrfg6bVnr9CBG9kYG5J4T1G8S0GZSUemu+TtRqeYB+IK+YQlAqZ9zSDF0yHwrupE0o783r48FTucsF4Q==","signatures":[{"sig":"MEYCIQC+7fLO7EnUrSFac8r48XP//C6v3lvlG+TrdEKpqZFIGAIhANcTjrhDxMhbz8zFzbinikVvQ1mWhDN72tmOgJ4oyoMc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpMaBCRA9TVsSAnZWagAA8xYP/1EdPTLicGRxUyfE5jVa\nJeXFN8zD6wDqDYt8Nu4kUSLu3HvT4m5JZOjteL4ssq7M/w0mULLeTetlxqSf\nmGMuXaliNXd8RqD7tiKMggIG69wZFcN/SezCworg+x8DExXPirt+orFuL6mN\n4CPpT0Vi8jr5P3lo7nFi1417r/94KiHIXUOVUjiV6i4lxwOlB6oIUaCDGVul\n0CtMXYIM3DfLOqA9iZ2g7lKolKE9wHd4IOFLoYxJaWFBW9c6BBITwVmDuzub\n8FVtG6dH93p5wNX8oE0rqNlG4+JdEc5mvMNjqark++TaK99qmZjdA52yZj7M\nM5qaFx7w34PwNmKPXvzFzQE7HP/s+EOT6nbJASbDwsENi4N29mt9RWYk1YEi\nR6dr+dtFIqLbs7NoZFjolDHT/WvVXWt8GgcYbY2nGYpScJge3N+bMzQGXsIZ\nbfA04xU79Dw89xQ36Ji1/0AoZ9cFNLR8UpC1eaTWCHz6ID75xALBMEkM7xhn\ngzcmKYP/J7ifzPTorQmPmNzGdh6jS6Gh/ISQN8VPXkjPIAPBg4dGvXlUzfSh\nqwcAcxjan/YsVfrn/Vc9rEux2R6zTEDasyZcbV6Tade3sGm1HoX+sIxQvUfy\n0a8MMltRBq9n6Poj/rKMMDHfrJ0Pu0TlVWvY/zat+mbCOxuFwTsmIa55icIX\nNHeX\r\n=dNrI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"6.14.15","description":"<div align=\"left\">","directories":{},"_nodeVersion":"14.18.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.2.0_1638188673542_0.2628616063323408","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@dhi-gras/terracotta-react","version":"1.2.1","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.2.1","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"74ea09b20802a1205ab864a69e81bb491f75896f","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.2.1.tgz","fileCount":24,"integrity":"sha512-8Kxp0iyD3fWcpm3EqxNAh1FampLO0JfQ1Sz+vgM+Q/9ym5xDz2stRl9FoXY7HDS/Uxv5BvAWQVUin37xYtHDLA==","signatures":[{"sig":"MEYCIQDD/hoiuD+nVv1UqLXWpU9CU/1E8HX3NoBEzBLkL+nxaAIhAJjj8wsVUepUdG4SC1PSxw0jD19w8hdA7Tbt3EFJRNSv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqLxyCRA9TVsSAnZWagAAR4cP/A1bclsg1IUXkTUVaWcF\nZuG3CFbA0065bEPSsrlcWEW8NVaWgpaqnr3vPWNaN9zrG+c2LoKkBDc8isKL\nDjnnkd/vXj7coxIjAQhWrMZgFclkb+O0kE0N9/zv4zXnNYiHLIuYlmwFMFmj\ntFs7FwiIaQkl3+NAuqFPGI/3GUyX77H6iC7D/pmBNoIV33i0mS6K0XpG1RLN\n9BPIgYm1uilhqrDC6WRwXrWzVekw7VFdx8FDsdXcBsnOSfo7oGKtpIf7Bvi0\niqRt4GMie1moPbPGEziG/pvG8Z2RtxaLjEVLzH5XCYuWYCm3VxBePRWc+Di+\nv2mGlxJuwWKQHumckX6CdZ6YVkWUacAHw6+vi0jTYOfLH8mVloSt13e28OC5\nLP1iQcvvFOjSZ4IkeOWRvoDnFQTikMKK1367hgaEoa/2+4Wks1khLTI90oXG\nkQNG81RSfSjVSlqTXynZ5TCL+WAj6126WaUyON7frF70iOj+qtuG+FyvNfIK\ndIioVFElVN529aAxiprU66siqLIWZt7+FzKihvuvZHAl3RqVYNSkSV41zKM/\nLht8y72oIQMFsEUS34OJUA6q7dlnCTSM0TecasI4CHz+SCT7zylXoCTiTA3A\njK08MI3/B/BkriV182E0zLbasxcVVGAXCTusotEhSQ2LMTI0EObJcTUJNh2u\nvx0h\r\n=W0KX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"gitHead":"59d326ad0ff661dbbdd39f5fc9637b9c54371e59","scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"7.24.2","description":"<div align=\"left\">","directories":{},"_nodeVersion":"16.13.0","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.2.1_1638448242727_0.929519860166302","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@dhi-gras/terracotta-react","version":"1.2.2","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.2.2","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"584a8b8e569cb09f2becbff79fc9b181820ad05f","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.2.2.tgz","fileCount":24,"integrity":"sha512-DQSPqC9Qlt/u67IeLHnVUrP7cRzLszS2gfUbWvDnnFmUFWkg3pUh4wdNMFxvXpLw5l9nvjCcgAWfyu1dy/VsHA==","signatures":[{"sig":"MEQCIFDt7jmO7yA/DXGlZsfbl3jWI7Y6oWZuiioInzFvHNKXAiBUMN5Q45chCONhAvfy6P6liOqgsYPFNM1sdX/u3AtafQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqNw8CRA9TVsSAnZWagAAeQ8P/16PkBLomTIIF0XHaiZ3\nGdibE719rTadry88DboR+FIr3zn0zVQmgiuzDPg3+Y+wFEOW1AjdlEbjWZRo\n8GsXUKb6C3vJrz1WOKFvTYwLvq3t9l1bP1HtZBP93kaphpjyObjfyXLyTAFL\nJd0kUahSYZHFWsjxu4vVBZADLS2a/UKqk0xpOUgIVIjyBkKPeydwqlog9ALP\ncDZn/WFJTUfVcj74dOM0LjebG4uJvykHf9arFBLCguQspi1CymggXW0b/ay7\nmi31PgD5Fz8MLxeCdZyKJm0OFlQDm/nQgADZUDQkITyiXALqL72myyU+779d\nUjNPzweMm0aT6nPkKw8afl7g0Osnw5bsfbhkwj18RnSy725WSSWSjsyQwlLd\nqNWRbSsl4J4IvEg0EP97vOZ5GJU5it0U9ohvUdZy3N35U5OxQD61JVO05jHr\ntrXZDGUigEB0A42ThomX+0nN6lMRG01mYx831zcR45agzP6TJwci4QgLlmm7\nUgbocwcXDS/BbrVatFcY8lLceADyktsmtnV82h4ASvvV72yICyve/fxuzZF0\ngr4WNaC7PipNs2yVR9Sp+FQq/RGWOh7lGyDDA8zgyNqZaHCW2NDXTKn4x9dr\n2O1rieuD0eMrtenT+0W/1I29pMeb/wprILX4/whpFFSn3dRTNgex8oJVwGc2\nj/Pk\r\n=if56\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"gitHead":"2c1a71fd0f69d93cb57858a3db8c811d41d0d8bf","scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"deprecated":"dependencies not working properly","repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"7.24.2","description":"<div align=\"left\">","directories":{},"_nodeVersion":"16.13.0","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3","@danmarshall/deckgl-typings":"^4.9.8"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.2.2_1638456380692_0.9758727828842195","host":"s3://npm-registry-packages"}},"1.2.3":{"name":"@dhi-gras/terracotta-react","version":"1.2.3","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.2.3","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"c4779a8f8c6c5064c148caecfdd388170b6fb59b","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.2.3.tgz","fileCount":24,"integrity":"sha512-sOn/hqWyEnpk3l4ZXgqJMIsCXyo8xuNqbyyy7fOkTGb8gt24MO78udqkjcxRcAypk1NKJbgFgSh4B4ACSc11XQ==","signatures":[{"sig":"MEUCIAt37fi5o+ybzz/3HoMFb4pTA3RnuP01S4IloFEg7SpFAiEArNnbvOJ790SDoZKGqQlH70DcnobWrjBYxdde6Hkdzdo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":272778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhswIpCRA9TVsSAnZWagAA0HUP+gOhtfbTeh1AmjPNkCbf\n1z+ciajqSEkSCgbIiuD2SRttJrLds64Xh2EqQ5f7CjQ2SCHQd+VyXYqUoblV\nXu40W6kJ8QHnbGKdrh/FP6KJFlIVrxSVeeJKrXmK7Sau3/W1rBi6dBS9trld\na6szubotTsQW6Py8D+BZuPvQQI5yyNKll8SV0jPLJUEVEkkekIX/Bav3Za62\nxryX0WzD2YVPq5ky2EE0YCya0ZKiaCMf9Wg6TqDaMDMT8vskfg/7zHzxcVH0\nvLZor1J3Jho7Ou/PIsf6clip/igI6FwVTOrEaivIvAFypaENkCUKNhNW3sul\nEryFLU3Myyk1t6rpN7fn0yKbA4onmXAkFrmOksuQ/OgdC6HB9HIjVJKVNR0d\nXJioF7tvfFHt2FJb+g4F3zOaoQGNUSgWl3AYupeul/XhQ/D0F0NPw+8GP4lI\nzLG7M3U0omO0JSjdiKd0IdR52kMgKR+UCSgv9VkcQIX2xAGwJ8fncU3/Fty9\ntcpFjHhUqMZXAiwcZCghNM9LXStcJOl1QS7NmgTzv3tLAXZMW0kD8D9T5TDb\nLpprOqkWiX5LJV4j63rD1+pF3g/OrGj0mfLLyrkrGmHUwzM5bkMiP2Aqgw6y\nKOsF+bFaSQPiDX9nXGUVrKkFivmqnWQc53HbNU1Fp2bklVdZVs7yALMa3/rJ\n2Shz\r\n=O2hh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"gitHead":"477716ed53baa01252983e46170f4dc944217298","scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"7.24.2","description":"<div align=\"left\">","directories":{},"_nodeVersion":"16.13.0","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","@danmarshall/deckgl-typings":"^4.9.8"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.2.3_1639121448966_0.6140457734325915","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@dhi-gras/terracotta-react","version":"1.3.0","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.3.0","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"d778ce526add39fd7c23e67c581237f9cba146eb","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.3.0.tgz","fileCount":24,"integrity":"sha512-TDE5cLV1q4ai9TnMSopIAFmP9/bMczOsdOmXbvUYJS/RqfKSqxAJgcQurTsZUP9JaZPSqWCueN2MdUPcDumkNg==","signatures":[{"sig":"MEYCIQDW5xP5tyVHof9Qhthot9w2sTZ6DTstUejjEt0e5P2x4QIhAJ3JsLa6eEBawxnSdpHtnEMjuslHVs6DotT3MYWeiUJ2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuGQWCRA9TVsSAnZWagAAxSgP/2fbLJUON12FZ77JCaHW\no1zZ+6GY4BrlrwTPjY2ls2x3mff+gMjlrolDcQ9O5Cf77RTDE0aVgIFCIrrV\nEYPjgcsrKZPI/yIh8sp6GffOSJfi3vfiRMwNHxgmInHnDMe4lAwT7UavWWK9\nkZYOysm3UZeCLStN07yz0SgXXJ9+QvYApOLq9vRvgos+4OgZ2fpZjfxuQngR\n+VILhxkYvgr3N+RwM0KN8fHltDfk4DZsA3JKia/pK0gJAcPwgnLzmDiKGaLO\nWN1hZSY0+Zbf7XY/rnIYlJDcHZ4lUCie0rfiDK129gKxV3nO63DCFvMVncIS\npJ/W+fx1MjH1HISkuJgkv/TivGCnZb6GcxEQrTAWUmeVAadL3MsyvAw6F7hY\n4oxG10ma7l0BlHN7Yc287pedQluPArxlBtWujXdnQypzup7lCzIEL2kj92ex\n4YXzTpVGsF+wW62wp7VoWkZBlJYm4fvNfk4upXWcgd2kN6KWmgUUV2g/Fanl\n0GdvX64QilV/qJMZnQJRbrDOdStCybkeHFxnKY+jFOTMyDZMAi1i15FRwipG\nFpGYZW5wVAK8Y4oOZZGYQGMo9yPsSvHV7Nw3RxpyevFj0NIPAb1EBMfeo6pR\nMGVxXOjv/ZwF4BIFNZEZR42qWDBi4P0R+0okvb+oIdqq6Zv9K2l7/GU2bjQ7\nki4/\r\n=kUi3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"gitHead":"b09f1bb0d3a5a45e34498142a37708fb88c2a837","scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"7.24.2","description":"<div align=\"left\">","directories":{},"_nodeVersion":"16.13.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","@danmarshall/deckgl-typings":"^4.9.8"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.3.0_1639474198832_0.10957652223429926","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@dhi-gras/terracotta-react","version":"1.3.1","author":{"name":"DHI"},"license":"MIT","_id":"@dhi-gras/terracotta-react@1.3.1","maintainers":[{"name":"j08lue","email":"josl@dhigroup.com"},{"name":"rihra","email":"rira@dhigroup.com"},{"name":"rabe-dhi","email":"rabe@dhigroup.com"},{"name":"brir","email":"brir@dhigroup.com"}],"homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"dist":{"shasum":"c4987acd42ba6c12e713163caa9c6d1b55ae6aad","tarball":"https://registry.npmjs.org/@dhi-gras/terracotta-react/-/terracotta-react-1.3.1.tgz","fileCount":24,"integrity":"sha512-VE3aOHatGGizR+qBaePSarwBUmY0XnrvG21aIpR9+uEm4Rwf2xnu49TtbN7OoJcbBgMvQ3jyyzO2AjnOUneVEQ==","signatures":[{"sig":"MEUCIEZ+tJCAcT6zCfC4Stt3TjrUtQtmFlU7OcTkSHv0DzuqAiEA6dTdZs5+xzmyA1/UWGIuSc/zQUhmADhv+W8Ee8Grj5c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwZGCCRA9TVsSAnZWagAAyfkP/0SQWPUOJN01ePgZwIMW\nKM0yXDkz+cO1lVd19/7ePGKidwFfhQS5z+jtHBcT5yz0qzRUt14HOwNIj080\nxqhcB/MBCpwo1UMgoyMrsVe7rWJHANjVFxzD8DG7bKu/FC2qkcH/AZDY2v4S\n6weLnKyNSc8l5WRZ6e72bfyFABnG3pHQ6xy1MSh2LN4SpvbgpUYqH9ztm+jF\nL19g2I7eDuG87gf2gI26sdyE7u6E2fzg7SN7ZH52n62ItW1twak5UCGB2sVO\n/vhKhuGfe1NFDN0VUJYtmz3xiOOM36PgblwE31y73iU5zS92wNP2Mn3MxV7C\nUsVlpmW1SZiLGibO0ithMtZSKEqk+1qrU8Aoaxze5BAL+W+0hEL4FreJg8HW\n5p/Q2/KG4PjspDPRvepRCO/lnBLenLMx/xJhyppMdEHJNSF1hPk2EtBoL8fz\n8gZn7uIoucX2C+4vUKxRQaSLz7KO+uBuWQOrKrYLcPYQG3UlFxYVas0k+uPo\nQG61JaRYC/xr2nZR6nXSmCXsX5WuodbOaVBfxP98gC5sFtzHghJNigzcqUJM\n+PwmwANxoy00PfP0YQAowFRKhRiMKOCTvAmt82TmXtNhgG6E+u9hgCyXVFxI\nGuVUcbcAsFv8OcvORB6MorSKZa8ACoL2cAcXVZ+AOcvsb8ZsCNb6SPtamXIU\n4RWc\r\n=CEFG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/terracotta-react.esm.js","engines":{"node":">=10"},"gitHead":"53a6e3b68e914b55424b3dcfa94e59abe08b0eca","scripts":{"lint":"eslint .","build":"tsdx build","start":"tsdx watch","prepare":"yarn build","lint:fix":"eslint . --fix","preinstall":"rm -rf node_modules","semantic-release":"npx semantic-release"},"typings":"dist/index.d.ts","_npmUser":{"name":"rabe-dhi","email":"rabe@dhigroup.com"},"repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"_npmVersion":"7.24.2","description":"<div align=\"left\">","directories":{},"_nodeVersion":"16.13.1","dependencies":{"@deck.gl/core":"^8.6.3","@deck.gl/layers":"^8.6.3","@deck.gl/geo-layers":"^8.6.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","@danmarshall/deckgl-typings":"^4.9.8"},"peerDependencies":{"react":">=17","deck.gl":">=8.6.0","react-dom":">=17"},"_npmOperationalInternal":{"tmp":"tmp/terracotta-react_1.3.1_1640075649936_0.051771474527923855","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-11-11T13:32:04.843Z","modified":"2024-08-30T10:51:41.318Z","1.0.2":"2021-11-11T13:32:05.181Z","1.1.0":"2021-11-25T14:05:55.930Z","1.1.1":"2021-11-26T14:31:18.098Z","1.2.0":"2021-11-29T12:24:33.670Z","1.2.1":"2021-12-02T12:30:42.880Z","1.2.2":"2021-12-02T14:46:20.882Z","1.2.3":"2021-12-10T07:30:49.130Z","1.3.0":"2021-12-14T09:29:58.969Z","1.3.1":"2021-12-21T08:34:10.057Z"},"bugs":{"url":"https://github.com/DHI-GRAS/terracotta-react/issues"},"author":{"name":"DHI"},"license":"MIT","homepage":"https://github.com/DHI-GRAS/terracotta-react#readme","repository":{"url":"git+https://github.com/DHI-GRAS/terracotta-react.git","type":"git"},"description":"<div align=\"left\">","maintainers":[{"email":"ilip@dhigroup.com","name":"ilip"},{"email":"adra@dhigroup.com","name":"adelina03"},{"email":"deyi@dhigroup.com","name":"deyi-dhi"}],"readme":"\n<div align=\"left\">\n\n[![CI - build & release](https://github.com/DHI-GRAS/terracotta-react/actions/workflows/main.yml/badge.svg)](https://github.com/DHI-GRAS/terracotta-react/actions/workflows/main.yml)\n[![Latest](https://img.shields.io/npm/v/@dhi-gras/terracotta-react/latest)](https://www.npmjs.com/package/@dhi-gras/terracotta-react)\n![NPM](https://img.shields.io/npm/l/@dhi-gras/terracotta-react)\n[![semantic-release](https://img.shields.io/badge/semantic-release-e10079.svg?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n</div>\n<img src=\"https://grasdatastorage.blob.core.windows.net/images/tc-logo-banner.svg\">\n<h1 align=\"left\">@dhi-gras/terracotta-react</h1>\n\nReact implementation of a context wrapper for abstracting away some of the logic around the [Terracotta](https://github.com/DHI-GRAS/terracotta) XYZ tile server.\n\nTerracotta is a pure Python tile server that runs as a WSGI app on a dedicated webserver or as a serverless app on AWS Lambda. It is built on a modern Python 3.6 stack, powered by awesome open-source software such as [Flask](http://flask.pocoo.org), [Zappa](https://github.com/Miserlou/Zappa), and [Rasterio](https://github.com/mapbox/rasterio).\n\n## Why Terracotta-react\n- Abstracts away the logic around what endpoints you should hit to get the right datasets and display them on a map. All of it through a friendly API.\n- Uses the highly performant [Deck.gl](https://deck.gl/) based on the WebGL framework.\n- Includes TypeScript definitions, therefore, it prevents unpredictable type errors when used in your app. The types are available by importing them from the package.\n\n## Prerequisites\n\nCheck the `peerDependencies` of the [terracotta-react package](./packages/terracotta-react).\n\n## Usage\n\nInstall the package\n\n```\nyarn add @dhi-gras/terracotta-react\n\n// or\n\nnpm install @dhi-gras/terracotta-react\n```\n\n# TerracottaContextProvider\n\nThe context provider aims to offer a few state values and methods to ease the implementation of Terracotta in your project. \n\n```\nimport React, { FC } from \"react\"\nimport TerracottaProvider from \"@dhi-gras/terracotta-react\"\n\nconst App: FC = () => (\n\t<TerracottaProvider\n\t\thost={'https://your-terracotta-host.com'} // Without the ending \"/\".\n\t>\n\t\t<AppScreen />\n\t</TerracottaProvider>\n)\n\nexport default App\n```\n\n# Hooks\n\n## useTerracotta\n\nThe hook helps you get the values of the context state through your react tree.\n\n```\nimport React, { FC } from \"react\"\nimport { useTerracotta } from \"@dhi-gras/terracotta-react\"\n\nconst AppScreen: FC = () => {\n\tconst { keys, isLoading, getDatasets } = useTerracotta()\n\n\treturn null;\n}\n\nexport default AppScreen\n```\n\n### Provided state values and methods\n\n#### `keys`\n\nAn object respective to the response received from the `/keys` endpoint of the provided terracotta host.\n\nExample: \n```\n[\n\t{\n\t\t\"key\": \"keyName\",\n\t},\n\t{\n\t\t\"key\": \"keyName\",\n\t},\n\t...\n]\n```\n\n#### `isLoading`\n\nA `boolean` value that represents the loading state of the provider. The value changes to `true` when making requests to various terracotta endpoints.\n\n#### `getDatasets`\n\nA method that returns a Promise by making a call to the `/datasets` endpoint. It can take in an argument containing the query parameters used for filtering through the available datasets from the provided Terracotta host.\n\nFor example, in the following call, the method will try to query the terracotta datasets for the `project_id: 2` including the `type: preprocess` and `type: postprocess` with that id.\n\n```\nconst { getDatasets } = useTerracotta()\n\nconst handleDatasets = async () => {\n\ttry{\n\t\tconst response = await getDatasets({\n\t\t\tproject_id: 2,\n\t\t\ttype: [ 'preprocess', 'postprocess' ]\n\t\t})\n\n\t\tconst datasets = response.datasets\n\n\t\treturn datasets\n\n\t}catch(err){\n\t\tconsole.error(err)\n\t}\n}\n```\n\n#### `getMetadata`\n\nA method that returns a Promise by making a call to the `/metadata` endpoint. It can take in an argument containing one of the datasets from the available dataset list. \n\n```\nconst { getMetadata } = useTerracotta()\n\nconst handleMetadata = async () => {\n\ttry {\n\t\tconst metadata = await getMetadata({ ...dataset })\n\n\t\treturn metadata\n\n\t} catch(err) {\n\t\tconsole.error(err)\n\t}\n}\n```\n\n# Deck.gl hooks\n\nThis package includes a few helper functions that can be used during the implementation of Terracotta and Deck.gl. This readme file should give you an overview of what hooks are available and how to use them.\n\n## useTerracottaLayer\n\nThe hook applies the same concept as the `useRasterLayer`, and at the same time it wraps up some of the logic around rendering the terracotta raster/s.\n\nThe layer can take in more than one dataset and show it on the map, especially when there are multiple tiles to be displayed for the same area of interest.\n\n### Usage\n\n```\nimport { useTerracottaLayer } from \"@dhi-gras/terracotta-react\";\n\nconst datasets = [\n\t{\n\t\t\"key1\": \"\",\n\t\t\"key2\": false,\n\t\t\"key3\": 0\n\t},\n\t{\n\t\t\"key1\": \"\",\n\t\t\"key2\": true,\n\t\t\"key3\": 0\n\t}\n]\n\nconst terracotta = useTerracottaLayer({\n\tid: 'post-classification-terracotta-layer',\n\turl: https://www.terracotta-deployment.com,\n\tdatasets: [ ...datasets ],\n\ttype: \"singleband\",\n\tqueryString: \"colormap=binary&stretch_range=[0,1]\" // Depends on the type of data\n\t...otherTileLayerProps\n})\n\n```\n### Props\n\nList of specific props related mainly to Terracotta. The rest of the props passed are the same as for the TileLayer and will be applied to the [TileLayer](https://deck.gl/docs/api-reference/geo-layers/tile-layer). \n\n#### `url`*\nThe terracotta instance url without the ending \"/\".\n\n#### `id`*\nThe unique identifier for the given layer.\n\n#### `datasets`\nThis represents the dataset/s that are to be displayed on the map as TileLayers.\n\n#### `type`\n\nThe type is related to the type of data that the user would like to render. The options available are 'singleband' and 'rgb'. You can read more about the differences in the [official documentation](https://terracotta-python.readthedocs.io/en/latest/concepts.html?highlight=singleband#data-model).\n\n#### `queryString`\n\nThe queryString is used to specify the ranges you would like to see for the Red, Green or Blue band through the r_range, b_range, g_range query parameters. \n\nYou can also specify the [colormap](https://terracotta-python.readthedocs.io/en/latest/reference/colormaps.html) and the stretch_range in case of 'singleband' or to specify the colors for the categorical data.\n\n\n## useRasterLayer\n\nThe package exports a generic layer `useRasterLayer` that can be used in conjunction with any type of XYZ server. The layer takes in the same properties as For readming more about it, you can visit the [TileLayer](https://deck.gl/docs/api-reference/geo-layers/tile-layer) documentation.\n\n### Usage\n\n```\nimport { useRasterLayer } from \"@dhi-gras/terracotta-react\";\n\nconst rasterLayer = useRasterLayer({\n\tid: 'post-classification-terracotta-layer',\n\tdata: https://www.terracotta-deployment.com/key1/key2/{z}/{x}/{y}.png,\n\t...otherTileLayerProps\n})\n\n```\n\n# Terracotta specific query parameters\n\nIn order to render the right colormaps for your data, some specific combination of query parameters must be set.\n\n## RGB layers\n\nFor rendering RGB layers, we have to specify the following:\n\n- The bands respective to red, green and blue colors.\n- The ranges respective to each band.\n\n```\nconst rRangeValue = encodeURI([0,1000])\nconst gRangeValue = encodeURI([0,1000])\nconst bRangeValue = encodeURI([0,1000])\n\n`.../{z}/{x}/{y}.png?r=B04&g=B03&b=B02&r_range=${rRangeValue}&g_range=${gRangeValue}&b_range=${bRangeValue}`\n```\n\n## Singleband layers\n\nFor rendering singleband layers, we have the following use-cases\n\n### Cateogorical data\n\nFor categorical data we must specify:\n\n- The `explicit` colormap\n- The `explicit_color_map` values\n\n```\nconst categoricalColors = encodeURI({ \"1\": \"B9D400\", \"2\": \"001BCB\" })\n\n`.../{z}/{x}/{y}.png?colormap=explicit&explicit_color_map=${categoricalColors}`\n```\n\n### Continuous data\n\nFor continuous data we must specify:\n\n- The desired `colormap` from the list of [available colormaps](https://terracotta-python.readthedocs.io/en/latest/reference/colormaps.html).\n- The `stretch_range` for the range of values to be displayed.\n\n```\nconst stretchContinuousColor = encodeURI([0,1])\nconst continuousColor = 'autumn'\n\n`.../{z}/{x}/{y}.png?colormap=autumn&stretch_range=${stretchContinuousColor}`\n```\n","readmeFilename":"README.md"}