SlideShare a Scribd company logo
TRI-COUNTY HEALTH DEPARTMENT
Google Maps Internet Mapping Tools
The TCHD “Sniffer”
CHUG, May 7th, 2009
Hope Dalton, Water Specialist
Lara Juliusson, GIS Coordinator
Jeff McCarron, Environmental Health Specialist II
Presentation Outline
• Environmental Health Inspectors
Territories Project
– Jeff McCarron
• Specialized Uses
– Hope Dalton
• Google Maps Application Programming
Interface & Data Integration
– Lara Juliusson
Environmental Health Inspectors
Territories Project
• Assigning Complaints to Appropriate
Environmental Health Inspector
• After Hours Response Team
• Verification of Establishment Locations
• Point Map Generation
• Site Development and Maintenance
Assigning Environmental Complaints
After Hours Response Team
Verification of Establishment Locations
Point Map Generation
Table of
Addresses in
Excel
Point Map Generation
Development & Maintenance
Development & Maintenance
Specialized Uses
• Spill and Drainage Identification
• Drinking Water Protection
• Land Use Reviews
• Leachfield (ISDS Absorption Area)
Complaints
Spill and Drainage Identification
Cross Connection Site
Spill into Stormwater
Drainage
Cross Connection SiteSpill into
Stormwater
Drainage
Spill Drainage Identification
Elementary School
Park
Lil’ Dry Creek
Spill Site
Drinking Water Protection
Drinking Water Source
Drinking Water Source
Land Use – Special Event
Land Use – Street View
Leachfield Protection
Leachfield
Parking
Unknown Photo Dates
Fall/Winter
Spring/Summer
Leachfield Complaints
Leachfield Complaints
Closer Look at Leachfield
Google Maps Application Programming
Interface & Data Integration
• Google Maps Overview
• Google Maps API
• Custom Data for Google Maps
• Converting GIS to KML / Image
Overlays
• Summary
Google Maps
• A web mapping service application and
technology provided by Google
Google Maps
• A web mapping service application and
technology provided by Google
• Google Maps includes:
– Street maps from TeleAtlas
– Geocoding service using TeleAtlas data
– High-resolution satellite images (< ~1:34,000)
and aerial photos (> ~1:34,000)
– StreetView service
– Plug-in for live traffic information
Google Maps Customization
Google Maps Customization
Google Maps Customization
Google Maps Customization
How to Do It?
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
START OF GOOGLE MAPS WEB PAGE HTML CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-
microsoft-com:vml">
<head>
<link rel="stylesheet" type="text/css" href="gmap.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps</title>
<script
src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQI
AAAAXmHFSoyloculk3L9DqxjtRQmJvD_48Ovm0AfFvsPq1nL1GlxnhQ
k6hwb3Vs2BU0DdyB1KkKSmAQwmg" type="text/javascript"></script>
…….
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
• Get a key from:
http://code.google.com/apis/maps/signup.html
START OF GOOGLE MAPS WEB PAGE HTML CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-
microsoft-com:vml">
<head>
<link rel="stylesheet" type="text/css" href="gmap.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps</title>
<script
src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQI
AAAAXmHFSoyloculk3L9DqxjtRQmJvD_48Ovm0AfFvsPq1nL1GlxnhQ
k6hwb3Vs2BU0DdyB1KkKSmAQwmg" type="text/javascript"></script>
…….
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
• Get a key from:
http://code.google.com/apis/maps/signup.html
• Free, but…
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
• Get a key from:
http://code.google.com/apis/maps/signup.html
• Free, but…
• Terms of Service agreement (TOS):
– No-charge websites
– Requires “public facing” website, ISP
– Do not obscure the Google Logo
– Limited to 15,000 geocode requests per day
– Google may include advertising in the future
Google Maps API
• Google Maps Application Programming Interface
(API) – JavaScript, HTML
• Get a key from:
http://code.google.com/apis/maps/signup.html
• Free, but…
• Terms of Service agreement (TOS):
– No-charge websites
– Requires “public facing” website, ISP
– Do not obscure the Google Logo
– Limited to 15,000 geocode requests per day
– Google may include advertising in the future
• Commercial version: Premier Maps API, starts at
$10,000 per year.
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
Custom Data for Google Maps
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
1. KML, XML, or GML files
Custom Data for Google Maps
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
1. KML, XML, or GML files
Custom Data for Google Maps
KML or XML or GML
ML = Markup Language
Example of a point feature KML file:
<Placemark>
<name>Hospitals</name>
<description>The Children’s Hospital</description>
<Point><coordinates>-104.082203,39.422289,0</coordinates></Point>
</Placemark>
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
1. KML, XML, or GML files
2. WFS: Web Feature Service, returns XML data
Custom Data for Google Maps
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
1. KML, XML, or GML files
2. WFS: Web Feature Service, returns XML data
Custom Data for Google Maps
Example WFS GetFeature Request to EPA’s “geodata.epa.gov”
http://geodata.epa.gov/wfsconnector/com.esri.wfs.Esrimap/NPL_FS?request=GetFeature
&BBOX=-105.37262,39.119407,-103.697205,40.033924&typeName=Superfund_Sites-
0&propertyname=d_igd.ef_npl.facility_name,d_igd.ef_npl.pgm_sys_acrnm
• Types: Feature-based & Image-based
– Feature-based: points, lines, and polygons
– Contains clickable attribute data
1. KML, XML, or GML files
2. WFS: Web Feature Service, returns XML data
Custom Data for Google Maps
Example WFS GetFeature Request to EPA’s “geodata.epa.gov”
http://geodata.epa.gov/wfsconnector/com.esri.wfs.Esrimap/NPL_FS?request=GetFeature
&BBOX=-105.37262,39.119407,-103.697205,40.033924&typeName=Superfund_Sites-
0&propertyname=d_igd.ef_npl.facility_name,d_igd.ef_npl.pgm_sys_acrnm
• Types: Feature-based & Image-based
– Image-based: static image, not clickable,
JPG/PNG/GIF images
– Two types: Tile and Ground Image Overlays
1. Tile overlays: Sets of tiles for different zoom levels
Custom Data for Google Maps
Zoom level 0 = one tile for all of earth
• Types: Feature-based & Image-based
– Image-based: static image, not clickable,
JPG/PNG/GIF images
– Two types: Tile and Ground Image Overlays
1. Tile overlays: Sets of tiles for different zoom levels
Custom Data for Google Maps
Zoom level 0 = one tile for all of earth
Zoom level 1 = four tiles for all of
earth (images increasing in detail)
• Types: Feature-based & Image-based
– Image-based: static image, not clickable,
JPG/PNG/GIF images
– Two types: Tile and Ground Image Overlays
1. Tile overlays: Sets of tiles for different zoom levels
Custom Data for Google Maps
Zoom level 0 = one tile for all of earth
Zoom level 1 = four tiles for all of
earth (images increasing in detail)
Zoom level 2 = 16 tiles
Etc…
Custom Data for Google Maps
– Two types: Tile and Ground Image Overlays
2. Ground Image Overlays
Custom Data for Google Maps
– Two types: Tile and Ground Image Overlays
2. Ground Image Overlays
– WMS: Web Map Service
Example of WMS for Topos:
http://terraservice.net/ogcmap.ashx?
Converting GIS Files to KML
or Image Overlays
Type: KML
Name How is it used Benefits Drawbacks Where to get it
shp2kml 2.0 from
Zonums
Download and install,
use menus and GUIs to
convert a shapefile to a
KML file
Easy to use,
Provides many
formating options,
including multiple
attribute fields in
information
bubble. Can
create graduated
color/size point
output.
Outputs lat/longs
with greater than
6-decimal
places, so large
shapefiles may
be too large to
use as KML http://www.zonums.com/shp2kml.html
GPS Visualizer
Use online to create
Google maps or KMLs
from GPS data (tracks
and waypoints,
including GPX files),
street addresses, or
simple coordinates.
Easy to use, with
lots of formatting
options. Creates
Google Map code
that you can save
and use on your
webpage, or just
create a KML file.
Can create
graduated
color/size point
output.
Does not create
Polygon KML
files http://www.gpsvisualizer.com/
ArcGIS Desktop,
ArcTools
Use in ArcGIS to export
KMLs from GIS Layer
files. The formatting
derives from the layer
formatting
Easy to use. Can
output an entire
map document.
Includes scale
dependency
setting
Limited in
formatting
options to
showing one
attribute ArcToolbox > Conversion Tools > To KML
ArcScripts Code
The ESRI website
Arcscripts database has
~20 scripts for
conversion between
GIS files and KML
You might find one
that does exactly
what you want, or
that you can
modify easily
Custom tailored
to specific
applications http://arcscripts.esri.com/
Write your own
Converter
Use VB or other
programming language
to convert between GIS
files and KML
Can be
customized to do
exactly what you
want, make
modifications to
field names on the
fly, etc.
Could be difficult
depending on
complexity
required
Probably many other
on the web…
Converting GIS Files to KML
or Image Overlays
Type: Image
Name How is it used Benefits Drawbacks Where to get it
GPS Visualizer
Use online to create
georeferenced Images
(JPG/PNG) from GPS
data (tracks and
waypoints, including
GPX files), street
addresses, or simple
coordinates.
Easy to use, with
lots of formatting
options. Creates
images showing
your data on one
of many map
background
choices. Save and
use on your site.
Does not create
tiled output for
multiple zooms. http://www.gpsvisualizer.com/
GMapCreator
Download and install.
Select a shapefile, and
numeric attribute field to
create shaded color
tiled image output. Set
range of zoom levels to
control output size.
Easy to use.
Creates a Google
Maps website that
you can save the
code from and
load on your site.
Creates a color
legend for the
data. Also creates
image tiles named
for use in Google
Maps.
Formatting
options are
somewhat
limited. No way
to label features
on the images. http://www.casa.ucl.ac.uk/software/gmapcreator.asp
Some Catalogs of WFS and WMS Services:
http://www.ogc-services.net/
http://www.sourcepole.com/2006/9/1/wms-map-server-list
http://pugetsound.epageo.org/index.php5?title=Catalog_of_Web_Services
Putting it all Together
Putting it all Together
• Get your Google Maps API key:
http://code.google.com/apis/maps/signup.html
Putting it all Together
• Get your Google Maps API key:
http://code.google.com/apis/maps/signup.html
• Examples:
http://code.google.com/apis/maps/documentation
/examples/index.html
Putting it all Together
• Get your Google Maps API key:
http://code.google.com/apis/maps/signup.html
• Examples:
http://code.google.com/apis/maps/documentation
/examples/index.html
• Great tutorials:
http://econym.googlepages.com/index.htm
Putting it all Together
• Get your Google Maps API key:
http://code.google.com/apis/maps/signup.html
• Examples:
http://code.google.com/apis/maps/documentation
/examples/index.html
• Great tutorials:
http://econym.googlepages.com/index.htm
• Great developer’s group:
http://groups.google.com/group/Google-Maps-
API
The End
Questions?
Contact: Lara: ljuliuss@tchd.org
Acknowledgements:
Lance Dias: Gmaps programmer extraordinaire

More Related Content

What's hot

SEI OSGIS presentation
SEI OSGIS presentationSEI OSGIS presentation
SEI OSGIS presentation
urbanmetabolism
 
GEOcoding and Dynamic segmentation
  GEOcoding  and Dynamic segmentation  GEOcoding  and Dynamic segmentation
GEOcoding and Dynamic segmentation
Abhiram Kanigolla
 
United Maps - Company Profile
United Maps - Company ProfileUnited Maps - Company Profile
United Maps - Company Profile
Stefan Knecht
 
Linear referencing 2014
Linear referencing 2014Linear referencing 2014
Linear referencing 2014
Atiqa khan
 
The use of GIS for the development of the A9 dual-carriageway
The use of GIS for the development of the A9 dual-carriagewayThe use of GIS for the development of the A9 dual-carriageway
The use of GIS for the development of the A9 dual-carriageway
Peter McCready
 
Continental Divide Trail GPS Mapping Project
Continental Divide Trail GPS Mapping ProjectContinental Divide Trail GPS Mapping Project
Continental Divide Trail GPS Mapping Project
kshakarjian
 
Working with Routes and Linear Referencing in ArcGIS
Working with Routes and Linear Referencing in ArcGISWorking with Routes and Linear Referencing in ArcGIS
Working with Routes and Linear Referencing in ArcGIS
John Schaeffer
 
Volunteered Geographic Information and OpenStreetMap
Volunteered Geographic Information and OpenStreetMapVolunteered Geographic Information and OpenStreetMap
Volunteered Geographic Information and OpenStreetMap
chippy
 

What's hot (8)

SEI OSGIS presentation
SEI OSGIS presentationSEI OSGIS presentation
SEI OSGIS presentation
 
GEOcoding and Dynamic segmentation
  GEOcoding  and Dynamic segmentation  GEOcoding  and Dynamic segmentation
GEOcoding and Dynamic segmentation
 
United Maps - Company Profile
United Maps - Company ProfileUnited Maps - Company Profile
United Maps - Company Profile
 
Linear referencing 2014
Linear referencing 2014Linear referencing 2014
Linear referencing 2014
 
The use of GIS for the development of the A9 dual-carriageway
The use of GIS for the development of the A9 dual-carriagewayThe use of GIS for the development of the A9 dual-carriageway
The use of GIS for the development of the A9 dual-carriageway
 
Continental Divide Trail GPS Mapping Project
Continental Divide Trail GPS Mapping ProjectContinental Divide Trail GPS Mapping Project
Continental Divide Trail GPS Mapping Project
 
Working with Routes and Linear Referencing in ArcGIS
Working with Routes and Linear Referencing in ArcGISWorking with Routes and Linear Referencing in ArcGIS
Working with Routes and Linear Referencing in ArcGIS
 
Volunteered Geographic Information and OpenStreetMap
Volunteered Geographic Information and OpenStreetMapVolunteered Geographic Information and OpenStreetMap
Volunteered Geographic Information and OpenStreetMap
 

Viewers also liked

Answering question 1
Answering question 1Answering question 1
Answering question 1
Christopher Lynch
 
Linkedin
LinkedinLinkedin
Linkedin
Imaan Hazir
 
TeachLulu_FullPackage
TeachLulu_FullPackageTeachLulu_FullPackage
TeachLulu_FullPackage
Carley Muller
 
holiness.in.marriage
holiness.in.marriageholiness.in.marriage
holiness.in.marriage
Nancy Earley
 
Países miembros de la ONU-Ficha estructural
Países miembros de la ONU-Ficha estructural Países miembros de la ONU-Ficha estructural
Países miembros de la ONU-Ficha estructural
Rodrigo Cano Aguirre
 
gazettenet_mediterranean
gazettenet_mediterraneangazettenet_mediterranean
gazettenet_mediterranean
Patrick Hoff
 
13 Business Lessons Learned From A Burger
13 Business Lessons Learned From A Burger13 Business Lessons Learned From A Burger
13 Business Lessons Learned From A Burger
Anam Tahir
 
afzal c.v
afzal c.vafzal c.v
Appcc fabrica de ração
Appcc   fabrica de raçãoAppcc   fabrica de ração
Appcc fabrica de ração
Tâmara Porfíro
 
ToTh Newsletter February
ToTh Newsletter FebruaryToTh Newsletter February
ToTh Newsletter February
Natalie Baginski
 
SocGradPrelimExperiencesSurveyReport
SocGradPrelimExperiencesSurveyReportSocGradPrelimExperiencesSurveyReport
SocGradPrelimExperiencesSurveyReport
Gina Spitz, Ph.D.
 
2015 sandys resume
2015 sandys resume2015 sandys resume
2015 sandys resume
sandy dewitt
 
Behind the Bikeshed | Event Space | Shoreditch | London
Behind the Bikeshed | Event Space | Shoreditch | LondonBehind the Bikeshed | Event Space | Shoreditch | London
Behind the Bikeshed | Event Space | Shoreditch | London
Vikki van Someren
 
Bvent Profile
Bvent ProfileBvent Profile
Bvent Profile
BVENT ADVISORS LIMITED
 
11 nurses how to communicate
11 nurses how to communicate11 nurses how to communicate
11 nurses how to communicate
Forward Thinking, LLC
 
Dialogo 2015 proceedings 1
Dialogo 2015 proceedings 1Dialogo 2015 proceedings 1
Dialogo 2015 proceedings 1
antoniu-cătălin păştin
 
Proyecto colaborativo
Proyecto colaborativoProyecto colaborativo
Proyecto colaborativo
yolandagilmarco84
 
gazettenet_HMBnetwork
gazettenet_HMBnetworkgazettenet_HMBnetwork
gazettenet_HMBnetwork
Patrick Hoff
 
Film Studio Research AS Media
Film Studio Research AS MediaFilm Studio Research AS Media
Film Studio Research AS Media
medcalfbro
 

Viewers also liked (20)

Answering question 1
Answering question 1Answering question 1
Answering question 1
 
Linkedin
LinkedinLinkedin
Linkedin
 
TeachLulu_FullPackage
TeachLulu_FullPackageTeachLulu_FullPackage
TeachLulu_FullPackage
 
holiness.in.marriage
holiness.in.marriageholiness.in.marriage
holiness.in.marriage
 
Países miembros de la ONU-Ficha estructural
Países miembros de la ONU-Ficha estructural Países miembros de la ONU-Ficha estructural
Países miembros de la ONU-Ficha estructural
 
gazettenet_mediterranean
gazettenet_mediterraneangazettenet_mediterranean
gazettenet_mediterranean
 
13 Business Lessons Learned From A Burger
13 Business Lessons Learned From A Burger13 Business Lessons Learned From A Burger
13 Business Lessons Learned From A Burger
 
afzal c.v
afzal c.vafzal c.v
afzal c.v
 
Appcc fabrica de ração
Appcc   fabrica de raçãoAppcc   fabrica de ração
Appcc fabrica de ração
 
ToTh Newsletter February
ToTh Newsletter FebruaryToTh Newsletter February
ToTh Newsletter February
 
SocGradPrelimExperiencesSurveyReport
SocGradPrelimExperiencesSurveyReportSocGradPrelimExperiencesSurveyReport
SocGradPrelimExperiencesSurveyReport
 
2015 sandys resume
2015 sandys resume2015 sandys resume
2015 sandys resume
 
Behind the Bikeshed | Event Space | Shoreditch | London
Behind the Bikeshed | Event Space | Shoreditch | LondonBehind the Bikeshed | Event Space | Shoreditch | London
Behind the Bikeshed | Event Space | Shoreditch | London
 
New Email
New EmailNew Email
New Email
 
Bvent Profile
Bvent ProfileBvent Profile
Bvent Profile
 
11 nurses how to communicate
11 nurses how to communicate11 nurses how to communicate
11 nurses how to communicate
 
Dialogo 2015 proceedings 1
Dialogo 2015 proceedings 1Dialogo 2015 proceedings 1
Dialogo 2015 proceedings 1
 
Proyecto colaborativo
Proyecto colaborativoProyecto colaborativo
Proyecto colaborativo
 
gazettenet_HMBnetwork
gazettenet_HMBnetworkgazettenet_HMBnetwork
gazettenet_HMBnetwork
 
Film Studio Research AS Media
Film Studio Research AS MediaFilm Studio Research AS Media
Film Studio Research AS Media
 

Similar to CHUG_presentation_Hope

Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Andrew Turner
 
Maps, mashups and metadata:geospatial standards for access and retrieval
Maps, mashups and metadata:geospatial standards for access and retrievalMaps, mashups and metadata:geospatial standards for access and retrieval
Maps, mashups and metadata:geospatial standards for access and retrieval
Scottish Library & Information Council (SLIC), CILIP in Scotland (CILIPS)
 
Askayworkshop
AskayworkshopAskayworkshop
Askayworkshop
sconnin
 
Advanced Kml
Advanced KmlAdvanced Kml
Advanced Kml
GoogleTecTalks
 
Agi08 Jeremy Morley
Agi08 Jeremy MorleyAgi08 Jeremy Morley
Agi08 Jeremy Morley
Jeremy Morley
 
Library of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservationLibrary of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservation
Andrew Turner
 
Where20 2008 Ruby Tutorial
Where20 2008 Ruby TutorialWhere20 2008 Ruby Tutorial
Where20 2008 Ruby Tutorial
Shoaib Burq
 
Itd Eac 1 13 09
Itd Eac 1 13 09Itd Eac 1 13 09
Itd Eac 1 13 09
aleda_freeman
 
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
pdituri
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
CoLab Athens
 
What are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilitiesWhat are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilities
Microsoft Tech Community
 
Overview of MassGIS Web Mapping Services
Overview of MassGIS Web Mapping ServicesOverview of MassGIS Web Mapping Services
Overview of MassGIS Web Mapping Services
aleda_freeman
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US Routing
MapQuest
 
Mapstraction
MapstractionMapstraction
Mapstraction
lokku
 
Mapc Data Day 7 15 09
Mapc Data Day 7 15 09Mapc Data Day 7 15 09
Mapc Data Day 7 15 09
aleda_freeman
 
Open GeoData, Open GeoTools: An Introduction
Open GeoData, Open GeoTools: An IntroductionOpen GeoData, Open GeoTools: An Introduction
Open GeoData, Open GeoTools: An Introduction
Richard Cantwell
 
Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011
John Reiser
 
Rails Gis Hacks
Rails Gis HacksRails Gis Hacks
Rails Gis Hacks
Shoaib Burq
 
O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0
Andrew Turner
 
Internet-enabled GIS for Planners
Internet-enabled GIS for PlannersInternet-enabled GIS for Planners
Internet-enabled GIS for Planners
John Reiser
 

Similar to CHUG_presentation_Hope (20)

Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
 
Maps, mashups and metadata:geospatial standards for access and retrieval
Maps, mashups and metadata:geospatial standards for access and retrievalMaps, mashups and metadata:geospatial standards for access and retrieval
Maps, mashups and metadata:geospatial standards for access and retrieval
 
Askayworkshop
AskayworkshopAskayworkshop
Askayworkshop
 
Advanced Kml
Advanced KmlAdvanced Kml
Advanced Kml
 
Agi08 Jeremy Morley
Agi08 Jeremy MorleyAgi08 Jeremy Morley
Agi08 Jeremy Morley
 
Library of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservationLibrary of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservation
 
Where20 2008 Ruby Tutorial
Where20 2008 Ruby TutorialWhere20 2008 Ruby Tutorial
Where20 2008 Ruby Tutorial
 
Itd Eac 1 13 09
Itd Eac 1 13 09Itd Eac 1 13 09
Itd Eac 1 13 09
 
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
 
What are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilitiesWhat are customers building with new Bing Maps capabilities
What are customers building with new Bing Maps capabilities
 
Overview of MassGIS Web Mapping Services
Overview of MassGIS Web Mapping ServicesOverview of MassGIS Web Mapping Services
Overview of MassGIS Web Mapping Services
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US Routing
 
Mapstraction
MapstractionMapstraction
Mapstraction
 
Mapc Data Day 7 15 09
Mapc Data Day 7 15 09Mapc Data Day 7 15 09
Mapc Data Day 7 15 09
 
Open GeoData, Open GeoTools: An Introduction
Open GeoData, Open GeoTools: An IntroductionOpen GeoData, Open GeoTools: An Introduction
Open GeoData, Open GeoTools: An Introduction
 
Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011Internet-enabled GIS - Spring 2011
Internet-enabled GIS - Spring 2011
 
Rails Gis Hacks
Rails Gis HacksRails Gis Hacks
Rails Gis Hacks
 
O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0
 
Internet-enabled GIS for Planners
Internet-enabled GIS for PlannersInternet-enabled GIS for Planners
Internet-enabled GIS for Planners
 

CHUG_presentation_Hope

  • 1. TRI-COUNTY HEALTH DEPARTMENT Google Maps Internet Mapping Tools The TCHD “Sniffer” CHUG, May 7th, 2009 Hope Dalton, Water Specialist Lara Juliusson, GIS Coordinator Jeff McCarron, Environmental Health Specialist II
  • 2. Presentation Outline • Environmental Health Inspectors Territories Project – Jeff McCarron • Specialized Uses – Hope Dalton • Google Maps Application Programming Interface & Data Integration – Lara Juliusson
  • 3. Environmental Health Inspectors Territories Project • Assigning Complaints to Appropriate Environmental Health Inspector • After Hours Response Team • Verification of Establishment Locations • Point Map Generation • Site Development and Maintenance
  • 7. Point Map Generation Table of Addresses in Excel
  • 11. Specialized Uses • Spill and Drainage Identification • Drinking Water Protection • Land Use Reviews • Leachfield (ISDS Absorption Area) Complaints
  • 12. Spill and Drainage Identification Cross Connection Site Spill into Stormwater Drainage Cross Connection SiteSpill into Stormwater Drainage
  • 13. Spill Drainage Identification Elementary School Park Lil’ Dry Creek Spill Site
  • 14. Drinking Water Protection Drinking Water Source Drinking Water Source
  • 15. Land Use – Special Event
  • 16. Land Use – Street View
  • 21. Closer Look at Leachfield
  • 22. Google Maps Application Programming Interface & Data Integration • Google Maps Overview • Google Maps API • Custom Data for Google Maps • Converting GIS to KML / Image Overlays • Summary
  • 23. Google Maps • A web mapping service application and technology provided by Google
  • 24. Google Maps • A web mapping service application and technology provided by Google • Google Maps includes: – Street maps from TeleAtlas – Geocoding service using TeleAtlas data – High-resolution satellite images (< ~1:34,000) and aerial photos (> ~1:34,000) – StreetView service – Plug-in for live traffic information
  • 29. How to Do It?
  • 30. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML
  • 31. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML START OF GOOGLE MAPS WEB PAGE HTML CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- microsoft-com:vml"> <head> <link rel="stylesheet" type="text/css" href="gmap.css" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps</title> <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQI AAAAXmHFSoyloculk3L9DqxjtRQmJvD_48Ovm0AfFvsPq1nL1GlxnhQ k6hwb3Vs2BU0DdyB1KkKSmAQwmg" type="text/javascript"></script> …….
  • 32. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML • Get a key from: http://code.google.com/apis/maps/signup.html START OF GOOGLE MAPS WEB PAGE HTML CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- microsoft-com:vml"> <head> <link rel="stylesheet" type="text/css" href="gmap.css" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps</title> <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQI AAAAXmHFSoyloculk3L9DqxjtRQmJvD_48Ovm0AfFvsPq1nL1GlxnhQ k6hwb3Vs2BU0DdyB1KkKSmAQwmg" type="text/javascript"></script> …….
  • 33. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML • Get a key from: http://code.google.com/apis/maps/signup.html • Free, but…
  • 34. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML • Get a key from: http://code.google.com/apis/maps/signup.html • Free, but… • Terms of Service agreement (TOS): – No-charge websites – Requires “public facing” website, ISP – Do not obscure the Google Logo – Limited to 15,000 geocode requests per day – Google may include advertising in the future
  • 35. Google Maps API • Google Maps Application Programming Interface (API) – JavaScript, HTML • Get a key from: http://code.google.com/apis/maps/signup.html • Free, but… • Terms of Service agreement (TOS): – No-charge websites – Requires “public facing” website, ISP – Do not obscure the Google Logo – Limited to 15,000 geocode requests per day – Google may include advertising in the future • Commercial version: Premier Maps API, starts at $10,000 per year.
  • 36. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data Custom Data for Google Maps
  • 37. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data 1. KML, XML, or GML files Custom Data for Google Maps
  • 38. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data 1. KML, XML, or GML files Custom Data for Google Maps KML or XML or GML ML = Markup Language Example of a point feature KML file: <Placemark> <name>Hospitals</name> <description>The Children’s Hospital</description> <Point><coordinates>-104.082203,39.422289,0</coordinates></Point> </Placemark>
  • 39. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data 1. KML, XML, or GML files 2. WFS: Web Feature Service, returns XML data Custom Data for Google Maps
  • 40. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data 1. KML, XML, or GML files 2. WFS: Web Feature Service, returns XML data Custom Data for Google Maps Example WFS GetFeature Request to EPA’s “geodata.epa.gov” http://geodata.epa.gov/wfsconnector/com.esri.wfs.Esrimap/NPL_FS?request=GetFeature &BBOX=-105.37262,39.119407,-103.697205,40.033924&typeName=Superfund_Sites- 0&propertyname=d_igd.ef_npl.facility_name,d_igd.ef_npl.pgm_sys_acrnm
  • 41. • Types: Feature-based & Image-based – Feature-based: points, lines, and polygons – Contains clickable attribute data 1. KML, XML, or GML files 2. WFS: Web Feature Service, returns XML data Custom Data for Google Maps Example WFS GetFeature Request to EPA’s “geodata.epa.gov” http://geodata.epa.gov/wfsconnector/com.esri.wfs.Esrimap/NPL_FS?request=GetFeature &BBOX=-105.37262,39.119407,-103.697205,40.033924&typeName=Superfund_Sites- 0&propertyname=d_igd.ef_npl.facility_name,d_igd.ef_npl.pgm_sys_acrnm
  • 42. • Types: Feature-based & Image-based – Image-based: static image, not clickable, JPG/PNG/GIF images – Two types: Tile and Ground Image Overlays 1. Tile overlays: Sets of tiles for different zoom levels Custom Data for Google Maps Zoom level 0 = one tile for all of earth
  • 43. • Types: Feature-based & Image-based – Image-based: static image, not clickable, JPG/PNG/GIF images – Two types: Tile and Ground Image Overlays 1. Tile overlays: Sets of tiles for different zoom levels Custom Data for Google Maps Zoom level 0 = one tile for all of earth Zoom level 1 = four tiles for all of earth (images increasing in detail)
  • 44. • Types: Feature-based & Image-based – Image-based: static image, not clickable, JPG/PNG/GIF images – Two types: Tile and Ground Image Overlays 1. Tile overlays: Sets of tiles for different zoom levels Custom Data for Google Maps Zoom level 0 = one tile for all of earth Zoom level 1 = four tiles for all of earth (images increasing in detail) Zoom level 2 = 16 tiles Etc…
  • 45. Custom Data for Google Maps – Two types: Tile and Ground Image Overlays 2. Ground Image Overlays
  • 46. Custom Data for Google Maps – Two types: Tile and Ground Image Overlays 2. Ground Image Overlays – WMS: Web Map Service Example of WMS for Topos: http://terraservice.net/ogcmap.ashx?
  • 47. Converting GIS Files to KML or Image Overlays Type: KML Name How is it used Benefits Drawbacks Where to get it shp2kml 2.0 from Zonums Download and install, use menus and GUIs to convert a shapefile to a KML file Easy to use, Provides many formating options, including multiple attribute fields in information bubble. Can create graduated color/size point output. Outputs lat/longs with greater than 6-decimal places, so large shapefiles may be too large to use as KML http://www.zonums.com/shp2kml.html GPS Visualizer Use online to create Google maps or KMLs from GPS data (tracks and waypoints, including GPX files), street addresses, or simple coordinates. Easy to use, with lots of formatting options. Creates Google Map code that you can save and use on your webpage, or just create a KML file. Can create graduated color/size point output. Does not create Polygon KML files http://www.gpsvisualizer.com/ ArcGIS Desktop, ArcTools Use in ArcGIS to export KMLs from GIS Layer files. The formatting derives from the layer formatting Easy to use. Can output an entire map document. Includes scale dependency setting Limited in formatting options to showing one attribute ArcToolbox > Conversion Tools > To KML ArcScripts Code The ESRI website Arcscripts database has ~20 scripts for conversion between GIS files and KML You might find one that does exactly what you want, or that you can modify easily Custom tailored to specific applications http://arcscripts.esri.com/ Write your own Converter Use VB or other programming language to convert between GIS files and KML Can be customized to do exactly what you want, make modifications to field names on the fly, etc. Could be difficult depending on complexity required Probably many other on the web…
  • 48. Converting GIS Files to KML or Image Overlays Type: Image Name How is it used Benefits Drawbacks Where to get it GPS Visualizer Use online to create georeferenced Images (JPG/PNG) from GPS data (tracks and waypoints, including GPX files), street addresses, or simple coordinates. Easy to use, with lots of formatting options. Creates images showing your data on one of many map background choices. Save and use on your site. Does not create tiled output for multiple zooms. http://www.gpsvisualizer.com/ GMapCreator Download and install. Select a shapefile, and numeric attribute field to create shaded color tiled image output. Set range of zoom levels to control output size. Easy to use. Creates a Google Maps website that you can save the code from and load on your site. Creates a color legend for the data. Also creates image tiles named for use in Google Maps. Formatting options are somewhat limited. No way to label features on the images. http://www.casa.ucl.ac.uk/software/gmapcreator.asp Some Catalogs of WFS and WMS Services: http://www.ogc-services.net/ http://www.sourcepole.com/2006/9/1/wms-map-server-list http://pugetsound.epageo.org/index.php5?title=Catalog_of_Web_Services
  • 49. Putting it all Together
  • 50. Putting it all Together • Get your Google Maps API key: http://code.google.com/apis/maps/signup.html
  • 51. Putting it all Together • Get your Google Maps API key: http://code.google.com/apis/maps/signup.html • Examples: http://code.google.com/apis/maps/documentation /examples/index.html
  • 52. Putting it all Together • Get your Google Maps API key: http://code.google.com/apis/maps/signup.html • Examples: http://code.google.com/apis/maps/documentation /examples/index.html • Great tutorials: http://econym.googlepages.com/index.htm
  • 53. Putting it all Together • Get your Google Maps API key: http://code.google.com/apis/maps/signup.html • Examples: http://code.google.com/apis/maps/documentation /examples/index.html • Great tutorials: http://econym.googlepages.com/index.htm • Great developer’s group: http://groups.google.com/group/Google-Maps- API
  • 54. The End Questions? Contact: Lara: ljuliuss@tchd.org Acknowledgements: Lance Dias: Gmaps programmer extraordinaire