Thematic Mapping with Google Maps. "US-KS":{code:"US-KS", name:"Kansas", center:{lat:38.4959185,lng:98.326385},

Slides:



Advertisements
Similar presentations
Get Started with GIS Mapping Part 1of 3 Madhu Lakshmanan.
Advertisements

Geographic Information Systems Using ESRI ArcGIS 9.3 Join and Relate Tables.
Importing Google Earth Data into a GIS Jason Parent Center for Land use Education and Research.
SAS Programming:File Merging and Manipulation. Reading External Files (review) data barf; * create the dataset BARF; infile ’s:\mysas\Table7.1'; * open.
JavaScript Part 6. Calling JavaScript functions on an event JavaScript doesn’t have a main function like other programming languages but we can imitate.
GEOG 319/658 November 24, Planning Data & Metadata Geography Programming Feedback, repeat as needed.
EAS781 Practical Geophysics: The Tools and How to Use Them ArcGis Introduction ArcView ArcInfo ArcGis ?
Census Geography: Maps & Apps Joe Germuska NewsApps Developer Chicago Tribune 0:00.
GIS Brownbag Series Attributes. In the beginning… Earliest GIS systems did not have attributes Needed separate layers for labels (e.g. names) CAD software.
Basic And Advanced SAS Programming
Mapping ACS Data Jeff Strickland Assistant Professor of History Montclair State University.
Basics of thematic mapping in GIS (ArcMap) Kelly Clonts Presentation for UC Berkeley, D-Lab October 29 th, 2014.
Let SAS Do the Coding for You! Robert Williams Business Info Analyst Sr. WellPoint Inc.
How to Build Tabular Dashboards Using Proc Report
Topics in Data Management SAS Data Step. Combining Data Sets I - SET Statement Data available on common variables from different sources. Multiple datasets.
GIS 1 Attribute Tables. GIS 2 Data table format Rectangular table with one value per cell - Columns (fields) are attributes - Rows are observations (data)
Lecture 4 Geodatabases. Geodatabases Outline  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry 
Integration of APPX Applications with Google Earth © John Selvage, Selvage Custom Software APPX Conference - October 2011.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Mid-Semester Lecture Exam Vocabulary Obvious steps within GIS –Selection and query processes –Working with tables –Classification concepts Projections.
Mapping The Michigan Geographic Framework Tony Olkowski & Jim Shively Center for Geographic Information Michigan Department of Information Technology.
Stacking Rich Text Format (RTF) - %SRiT Duong Tran – Independent Contractor, London, UK Stacking Rich Text Format (RTF) - %SRiT Duong Tran – Independent.
GIS 1 GIS Lecture 4 Geodatabases. GIS 2 Outline Administrative Data Example Data Tables Data Joins Common Datasets Spatial Joins ArcCatalog Geodatabases.
FUNCTIONS AND STORED PROCEDURES & FUNCTIONS AND PROTECTING A DB AND PHP (Chapters 9, 15, 18)
Using SAS® and Google Earth ™ to Access and Display Air Pollution Data RTSUG Meeting September 10, 2008 Joshua Drukenbrod U.S. EPA Office of Air Quality.
Tutorial: Using ArcGIS Server and ESRI ArcGIS API for Javascript Peter Sforza March 7, 2013.
GIS Tutorial 1 Lecture 4 Geodatabases. Outline  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry.
1 Back Up with Each Submit One approach for keeping a dynamic back up copy of your current work.
GIS 1 GIS Lecture 4 Geodatabases Copyright – Kristen S. Kurland, Carnegie Mellon University.
Creating PHPs to Insert, Update, and Delete Data CS 320.
PHP Form Introduction Getting User Information Text Input.
The Digital Archive Database Tool Shih Lin Computing Center Academia Sinica.
Arch: 383 Introduction to GIS Week 2 Introduction to GEOGRAPHIC INFORMATION SYSTEMS Can Kara Faculty of Architecture 2011 ARC 383.
ArcGIS Pro What it is: “essential application for creating and working with spatial data on your desktop.” “It will not replace arcmap” (at least for.
Macro Variable Resolution Enio Presutto York University, Toronto, Canada.
Queries Select by Attribute Select by Location. What is a Query? A query extracts information from a data table for further use –Once extracted you can:
Security Considerations Steve Perry
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Troubleshooting: Web maps & Joins Steve Signell, Instructor Robert Poirier, TA School of Science Rensselaer Polytechnic.
Extending the Operations Dashboard
School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Ergo User Tutorial - Part 3 NCSA, UIUC.
14 Lines and Polygons Mapping in the Cloud Peterson.
Geocoding an Excel file of addresses using Google Maps This example uses Cambridge grocery stores from Reference USA Do not use this method for data that.
GoogleEarth Keyhole Markup Language (KML) Based on Extensible Markup Language (XML) KML files can come from Internet servers or files on your computer.
Topic 10- GIS layers to web
Creating Geographic Rating Area Maps: How to Combine Counties, Split Counties, & use Zip Code Boundaries Rick Andrews Office of the Actuary Centers for.
A Level Computing#BristolMet Session Objectives#U2 S3 MUST use/read programme flow charts accurately SHOULD adapt the calculator programme to include a.
William Perry U.S. Geological Survey Western Ecological Research Center Geography 375 Final Project May 22, 2013.
Use SAS to Automate Hospital Reports generation Cardiac Service BC Stats Team, PHSA Tina Yang.
Industry case study: Data Eric Brumer 2/19/2014. Agenda Belltower Books Belltower Books Trucking: backend & frontend Google maps & javascript.
Using the Macro Facility to Create HTML, XML and RTF output Rick Langston, SAS Institute Inc.
Hints and Tips SAUSAG Q SORTING – NOUNIQUEKEY The NOUNIQUEKEY option on PROC SORT is a useful way in 9.3 to easily retain only those records with.
ArcGIS API for javascript
A Look at Creating & Updating Point Files
Introduction to Dynamic Web Programming
ADVANCED: Troubleshooting: Web maps & Joins
FIGURE 7.1. Simplified representation showing the most common types of databases for GI and maps and the important difference between flat-file and relational.
JavaScript: Array, Loop, Data File
Preliminaries: -- vector, raster, shapefiles, feature classes.
Your 1st Programming Assignment
Working Spatial Data File Geodatabase
Web Maps with Leaflet GEOG 319/658 November 24, 2014.
Exporting GIS Features to CAD Drawings
Dynamic SQL Konstantin Osipov, MySQL AB.
Introduction to JavaScript
Demographics of the North San Joaquin Valley
Extended Registration KS3
Presentation transcript:

Thematic Mapping with Google Maps

"US-KS":{code:"US-KS", name:"Kansas", center:{lat: ,lng: }, EEHDPDGEDEDCFEFDPDGEFBDHCGEFEEGDEFDBFEHLIIIIKIHIGPJHHKIHJIIHLHGHKIIJJJMHIIEIKHJIJ KDIIHGMHAEEIEDFFCEDNCP", numLevels:18, zoomFactor:2}],}, Javascript for State of Kansas

Steps to Extending JS 1)Calculate centroids from shapefile in ArcMap 2)Export shapefile to KML 3)Use online tool to encode KML 4)Put all data in SAS 5)Join data and use SAS to write Javascript 6)Add new javascript to Cartographer.js

Add centroids to shapefile

Layer to KML

Unzip KMZ to view KML

Encode KML

filename encoded 'D:\data\ArcView\shptoKML\encodedKSCounties.txt'; /* read text file containing encoded KML for Kansas Counties */ data test; length points $1865 levels $461 ; infile encoded end=eof lrecl=2000 pad; 'points: "' points $1865. ; 'levels: "' levels $ ; run; SAS Code to read text file

proc sql; create table kml.encoded as select a.*, b.*, c.epoints, c.elevels from kml.countyabbv as a, centers as b, test2 as c where a.county=b.name and b.row=c.row; quit; SAS Code to join data

data _null_; set kml.encoded; put '"KS-' abbv +(-1) '":{code:"KS-' abbv +(-1) '",name:"' name +(-1) ' County, Kansas",center:{lat:' lat +(-1) ',lng:' lon +(-1) '}, polylines:[{ points: "' epoints +(-1) '", levels: "' elevels +(-1) '", numLevels:18,zoomFactor:2}],},'/; run; SAS code to write Javascript

Ready to create map var cartographer = Cartographer( map, { colorize:"#000", colorizeAlpha:.3 } ); cartographer.choropleth([ {region:"KS-DG",val:1855}, {region:"KS-JO",val:1855}, {region:"KS-SA",val:1860}, {region:"KS-EW",val:1867}, {region:"KS-MR",val:1855}, {region:"KS-OS",val:1855}, {region:"KS-LY",val:1857}, {region:"KS-FR",val:1855},…

Keys to Map Include both cartographer.js and raphael.js PHP dynamically writes map Javascript based on user input (variable selected, color, metric…) MySQL stores table of abbreviations, fips, etc which are joined with data to produce map

Xan Wedel Institute for Policy & Social Research The University of Kansas 607 Blake Hall Lawrence, KS