This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(sf) | |
library(httr2) | |
library(ggplot2) | |
# based on https://community.esri.com/t5/gis-blog/ | |
# accessing-arcgis-rest-services-using-r/ba-p/898451 | |
api_query <- url_parse("https://geo.abs.gov.au") | |
api_root <- "/arcgis/rest/services" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(sf) | |
library(spData) | |
library(gganimate) | |
data(world) | |
# see also: https://proj.org/operations/projections/index.html | |
projs <- list( | |
"Mercator" = "+proj=merc", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################################################## | |
# | |
# Requirements: You'll need ArcGIS Desktop 10.1 or higher with Python 2.7+ | |
# | |
# If you want to change Transparency for all the layers in your ArcMap MXD quickly, this will do the trick. | |
# | |
# 1. Copy / Paste the initial commands and function definitions below into an MXD's Python command shell, one-by-one | |
# 2. Use the command "setLayerTransparenciesTo(75)" to change every transparency to 75, or whatever you want | |
# (As a side note, notice that the Group Layers are set to 0 transparency. Play with this if you want!) | |
# |