COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University (JHU). Source: ESRI, CSSE
Home » Posts filed under GIS Mapping
COVID-19 Dashboard by the Center for Systems Science and Engineering (CSSE)
in
COVID-19,
GIS,
GIS Mapping
- on Thursday, May 07, 2020
- No comments
Keystone Pipeline System Web Map
in
GIS,
GIS Mapping,
Keystone Pipeline,
Web GIS
- on Saturday, March 11, 2017
- No comments
ESRI has made a cool story map of Keystone Pipeline System. It shows the existing pipelines, traveling pipelines, different phases of the project, and river communities at risk. Source: ESRI
Python code to export layers on Table of contents of mxd to pdf
in
GIS Mapping,
Python code
- on Thursday, August 06, 2015
- 1 comment
# Name: layerstopdf.py
# Date: January 15, 2014
# Author: Sarbajit Gurung
# Description: Export each layer from Table of contents in ArcMap to a pdf document
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
# if pdfs need dates attached to their names then use it, otherwise it can be excluded
import datetime
today = datetime.date.today()
yesterday = today - datetime.timedelta(days=1)
# Define mxd
mxd = arcpy.mapping.MapDocument(r"C:\input\test.mxd")
#set export path to export pdfs
path = r"C:\output\Maps\\"
# turn each layer on and off and export as pdf
for lyr in arcpy.mapping.ListLayers(mxd):
if lyr.name == "LayerA":
lyr.visible = True
arcpy.RefreshTOC()
arcpy.RefreshActiveView()
arcpy.mapping.ExportToPDF(mxd, path + "LayerA_" + yesterday.strftime('%d%b%Y') + ".pdf")
if lyr.name == "LayerA":
lyr.visible = False
arcpy.RefreshTOC()
arcpy.RefreshActiveView()
if lyr.name == "LayerB":
lyr.visible = True
arcpy.RefreshTOC()
arcpy.RefreshActiveView()
arcpy.mapping.ExportToPDF(mxd, path + "LayerB_" + yesterday.strftime('%d%b%Y') +".pdf")
if lyr.name == "LayerB":
lyr.visible = False
arcpy.RefreshTOC()
arcpy.RefreshActiveView()
# so on and so forth for other Layers on your mxd
# you can also store the layer names in an array and create a loop if you have many layers on TOC
# Release mxd
del mxd
Python code to export mxd to pdf with date value on the pdf
in
GIS Mapping,
Python code
- on Thursday, August 06, 2015
- No comments
# Name: Exporttopdf.py
# Date: February 11, 2015
# Author: SGurung
# Description: This code creates pdf map from mxd file. The pdf file can have date value attached on # its name, e.g., "testmap_date.pdf". The code can be scheduled on task scheduler to run it at your
# desired time.
# ---------------------------------------------------------------------------
# import arcpy module
import arcpy
# import datetime module. Date value can be today, yesterday or as defined by user
import datetime
today = datetime.date.today()
yesterday = today - datetime.timedelta(days=1)
# Overwrite output file if it already exist
arcpy.OverWriteOutput =True
# Define the location of mxd
mxd = arcpy.mapping.MapDocument(r"C:\input\test.mxd")
# Define the output location and then date value as needed to be displayed on the pdf file
# %d = day of the month, %b = abbreviated month name, %y = year
pdf = r"C:\output\Maps\\" + "testmap_" + yesterday.strftime('%d%b%Y') + ".pdf"
# Set pdf parameters as per your requirement here:
data_frame = 'PAGE_LAYOUT'
resolution = "300"
image_quality = "NORMAL"
colorspace = "RGB"
compress_vectors = "True"
image_compression = "DEFLATE"
picture_symbol = 'RASTERIZE_BITMAP'
convert_markers = "False"
embed_fonts = "True"
layers_attributes = "NONE"
georef_info = "False"
# Export mxd to pdf
arcpy.mapping.ExportToPDF(mxd, pdf, data_frame, 640, 480, resolution, image_quality, colorspace, compress_vectors, image_compression, picture_symbol, convert_markers, embed_fonts, layers_attributes, georef_info)
# Release mxd
del mxd
GIS Mapping and Cartography to map possible sightings of Caribou in Revelstoke National Park
in
Cartography,
GIS,
GIS Mapping
- on Wednesday, June 04, 2014
The International Cartographic Association defines cartography as the art, science, and technology of making maps, together with their study as scientific documents and works of art which can include all types of maps, plans, charts, and sections, three-dimensional models and globes representing the Earth or any celestial body at any scale (Dent 1993). According to Longley et al. (2005) GIS has fundamentally changed cartography and the way we create, use and think about maps. This study is intended to use ArcGIS software package and create high quality cartographic maps. The datasets available for analysis are the general land cover map of Revelstoke (British Columbia) 1997, the Revelstoke forest cover shape file, and other ArcGIS format files such as boundary, digital elevation model, highways, lakes, glaciers, streams etc. These datasets are used to create two high quality cartographic maps. The first map outlines the general land cover map area clipped with features such as roads, lakes, highways and glaciers. The second map shows the possible sightings of Caribou in the study site during the early winter. The purpose of the first map is to give a general idea of the Revelstoke national park for the tourists and visitors. The purpose of the second map is to assist the conservationist and concerned authorities about the possible sightings of Caribou during the early winter. The main objectives of this study are to i) gain familiarity with ArcGIS, specifically ArcMap,
ArcCatalog, and ArcToolbox and ii) create informative, visually pleasing, well balanced maps using established cartographic principles.
ArcCatalog, and ArcToolbox and ii) create informative, visually pleasing, well balanced maps using established cartographic principles.
Read entire article (It is password protected. Please contact me for liable access to this article.)



