{"id":18627580,"url":"https://github.com/ambarja/ee-cptcity","last_synced_at":"2025-04-11T05:31:51.005Z","repository":{"id":137761151,"uuid":"466339915","full_name":"ambarja/ee-cptcity","owner":"ambarja","description":"ee-cptcity is a module for Google Earth Engine where you can find multiple colour palettes of different themes related to cartography, technical illustration and design. Currently ee-cptcity module has more 300 of color palettes available for the users.","archived":false,"fork":false,"pushed_at":"2022-04-08T23:34:17.000Z","size":21036,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-01-29T11:10:53.869Z","etag":null,"topics":["colorpalettes","colors","cptcity","earthengine","esri","googleearthengine","grass","peru","qgis","saga"],"latest_commit_sha":null,"homepage":"https://ambarja.github.io/ee-cptcity/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ambarja.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-05T03:38:38.000Z","updated_at":"2023-08-15T07:15:04.000Z","dependencies_parsed_at":"2023-09-25T02:09:36.684Z","dependency_job_id":null,"html_url":"https://github.com/ambarja/ee-cptcity","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"709a642b81cc404080a337fbb1bbf7f2e312d37d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambarja%2Fee-cptcity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambarja%2Fee-cptcity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambarja%2Fee-cptcity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ambarja%2Fee-cptcity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ambarja","download_url":"https://codeload.github.com/ambarja/ee-cptcity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223460531,"owners_count":17148756,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colorpalettes","colors","cptcity","earthengine","esri","googleearthengine","grass","peru","qgis","saga"],"created_at":"2024-11-07T04:43:00.617Z","updated_at":"2024-11-07T04:43:01.132Z","avatar_url":"https://github.com/ambarja.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# **cptcity for the Google Earth Engine JavaScript API (Code Editor)** \u003ca href=\"#\"\u003e\u003cimg src=\"man/figures/ee-cptcity.gif\" width=\"100%\"\u003e\u003c/a\u003e\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\n## 📋 **Table of contents**\n\n1. What is Google Earth Engine ?\n2. What is cptcity and why ?\n3. Top of the cpt palettes\n4. Calling module and use it!\n\n### 🔴 **1. What is Google Earth Engine ?**\n\n\u003ca href=\"#\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/23284899/152171996-54afdafa-4456-4d63-9c92-dca515b100a8.png\" width=\"100%\"\u003e\u003c/a\u003e\nGoogle Earth Engine is a cloud-based platform that helps access high-performance computing resources for processing and analyzing large geospatial datasets [(Noel Golerick et al.,2017).](https://www.sciencedirect.com/science/article/pii/S0034425717302900)\n\n### 🔴 **2. What is cptcity and why ?**\n\nCptcity is a solium platform where you can find multiple colour palettes for various themes related to cartography, technical illustration and design. The archive supports various formats and is organised by author. Cptcity currently has colour palettes for the most popular desktop Geographic Information Systems such as **QGIS**, **GRASS** , **SAGA** , **ARCGIS** , and others. Currently, it has **7000 colour palettes**, however in this second version of ee-cptcity module more than **300** colour palettes were incorporated along with 2 popular palettes like **rocket** , **mako** and **turbe**.\n\n### 🔴 **3. Top of the cpt palettes**\n\nThe 75 most popular cpt files with the number downloaded shown in parentheses. The arrows indicate the change in rank in the last month. This list is compiled from the files downloaded in the last year (a total of 21,647 files) and is updated irregularly, most recently on 04/03/2022.\n\n\u003ca href=\"http://soliton.vm.bytemark.co.uk/pub/cpt-city/views/totp-cpt.html\"\u003e\n \u003cimg src=\"man/figures/cptcitytop.png\" width=\"100%\"\u003e\n\u003c/a\u003e\n\n### 🔴 **4. Calling module and use it!**\n\n```{r, eval = FALSE}\nvar cpt = require('users/ambarja/ee-cptcity:cptcity');\n```\n\n```{r, eval = FALSE}\nvar srtm = ee.Image('NASA/NASADEM_HGT/001')\n           .select('elevation')\n\nvar viz = {\n  min: 400,\n  max: 4000,\n  palette: cpt.pal.grass_elevation\n  };\n```\n\n```{r, eval = FALSE}\nMap.setZoom(1);\nMap.addLayer(srtm,viz,'Elevation(m)');\n```\n\n\u003cimg src=\"man/figures/p0.png\" width=\"100%\"/\u003e\n\u003cbr\u003e\n\n## 📚 **References**\n\n- _David Montero, 2021, ee-pokepalettes, https://github.com/davemlz/ee-pokepalettes_\n\n- _Gennadii Donchyts, Fedor Baart \u0026 Justin Braaten ,2020,https://github.com/gee-community/ee-palettes_\n\n- _Sergio Ibarra Espinosa, 2017, cptcity, https://github.com/ibarraespinosa/cptcity_\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambarja%2Fee-cptcity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambarja%2Fee-cptcity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambarja%2Fee-cptcity/lists"}