A Journey of Solving a GIS Automation Problem: from Google to Settle#

1. A Land Cover Map Created in ArcGIS#

ArcGIS Pro arcgis_landcover

2. Question: How to transfer the symbology to another software?#

QGIS qgis_landcover

3. Let’s ask Google.#

3.1 Google Search 1: “arcgis pro export symbology”#

3.2 Google Search 2: “save all symbols as a style arcgis pro”#

3.3 Google Search 3: “arcpy get rgb of symbology”#

4. Solution: Access properties of symbology through arcpy.mp module#

4.1 Develop the code#

  • Think of the end goal: i.e., a pandas DataFrame containing all classes in a symbology with associated color rgb values.

  • What are the specific usage scenarios?

  • What tools are available? arcpy.mp, pandas

  • Establish a preliminary strategy (roadmap) to the final product.

  • Continue researching to figure out the nuts and bolts.

4.2 Save for future use#

  • GitHub Gist

  • Let’s talk about git.