SlideShare a Scribd company logo
1 of 66
Download to read offline
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
SPATIAL DATA, KML, and the
UNIVERSITY WEB Alan Glennon
spatial.ucsb.edu
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
SPATIAL DATA, KML, and the
UNIVERSITY WEB
• Geographic Data Basics
• Keyhole Markup Language (KML)
• Authoring KML
• Dynamic KML
• Distributing Geographic Data
• Querying Geographic Data
• Policy and Best Practices
Topics
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Mission:
To facilitate the integration of spatial thinking into processes for
learning and discovery in the natural, social, and behavioral
sciences, to promote excellence in engineering and applied
sciences, and to enhance creativity in the arts and humanities.
Engagement:
Hosting events (brownbags, workshops, lectures)
Developing spatial analytic tools
Offering a help desk
Assisting with research proposal development
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Geographic Data
Two practical perspectives:
Data that include or can be harvested for spatial
references
Combinations of spatially-referenced points, polylines,
polygons, and images with their associated attributes
and relationships
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Geographic Data
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Geographic Data
Significance:
visually compelling
provide context and content; close things are
usually more related; spatial order; pattern and trend
recognition
popular; widespread use, particularly on the Internet
professional expectation: Google Maps as a baseline
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
“…it would behove spatial scientists to articulate to
the broader research community the potential of
recording and making accessible spatial data in the
appropriate formats — and the painlessness of the
process.”
A place for everything:
More researchers must record the latitude and longitude of their data.
Editorial: Nature 453, 2 (1 May 2008)
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Spatial Data at the University
Research
data analysis and results dissemination
Classroom
office locations, events, classrooms, miscellaneous
directions, instructional projects
Infrastructure
maps, blueprints, streets, buildings, images, crisis
management, physical resources, natural resources,
office and classrooms, fleet management, planning,
operational support, registrar and personnel
databases
Student
data on personal websites, often integrated with third
party applications and data
NASA World Wind (client and server)
OpenLayers (client)
MapServer (server)
Geoserver (server)
GDAL/OGR (server-based geo-database toolkit)
GRASS (full desktop GIS client)
Google Earth (client)
Google Maps (client)
Microsoft Virtual Earth (client)
ArcGIS Explorer (client)
MapQuest (client)
Google Earth Enterprise (server)
ArcGIS (full desktop GIS client)
ArcGIS Server (server)
deCarta (server)
AutoDesk AutoCad (client)
AutoDesk ProductStream (server)
Oracle Spatial (server)
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Sample Software
FreeOpenSourceProprietary
• ESRI shapefile (.shp)
• KeyHole Markup Language (.kml)
• GeoRSS (.rss, .xml)
• AutoCad DXF (.dxf)
• Census TIGER
• ESRI Coverage
• ESRI Personal Geodatabase
• GeoTIFF
• Digital Raster Graphic (DRG)
• Digital Elevation Model (DEM)
• Spatial Data Transfer Standard (SDTS)
• Image formats like jpg, tiff, gif, and png (often served via a WMS operation)
Considerations when choosing a file type for spatial data:
What software support it? What does your consumer want? Is it fast? What
type of data, complexity, and dynamics can it support? How easy is it to
autogenerate and update (from your database to the new file format)? How
well will it age?
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Example Geographic File Types
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Keyhole Markup Language (KML)
Keyhole Markup Language (KML) is an open source XML-based
specification for expressing geographic data.
Developed as a Google Earth file format to represent
georeferenced points, polylines, polygons, and images
KML has become widely supported by many other software
applications and online mapping services.
Core data within a KML document include longitude, latitude,
elevation, and name descriptions
A sizable number of advanced specifications also exist, including
tags for cartographic customization, viewer position, time, and
iterative data refresh calls.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>HelloWorld1.kml</name>
<Placemark>
<name>Transformers</name>
<description>There are some transformers here.</description>
<Point>
<coordinates>
-119.8512453552352,34.41944355498201,0
</coordinates>
</Point>
</Placemark>
</Document>
</kml>
Something to notice
If the first letter of a tag is upper
case, it can hold child elements. If
the first letter is lower case, it
denotes a simple element—one
that has no possible children.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
...
<Placemark>
<name>Transformers</name>
<description>There are some transformers here.</description>
<Point>
<coordinates>
-119.8512453552352,34.41944355498201,0
</coordinates>
</Point>
</Placemark>
<Placemark>
<name>homebase</name>
<description>Line from baseball field home base to
transformers.</description>
<LineString>
<tessellate>1</tessellate>
<coordinates>-119.8512439751936,34.41944165152853,0
-119.8524251973235,34.41862172899327,0
</coordinates>
</LineString>
</Placemark>
</Document>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
...
</LineString>
</Placemark>
<Placemark>
<name>Transformer Area</name>
<description>An area with electrical equipment in it.</description>
<Polygon>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-119.8511894139676,34.41968857861303,0
-119.8514849728913,34.41956527198274,0
-119.8512914112404,34.4192276886303,0
-119.851011240657,34.41934137112972,0
-119.8511894139676,34.41968857861303,0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
...
</outerBoundaryIs>
</Polygon>
</Placemark>
<GroundOverlay>
<name>aerialphoto</name>
<description>A photograph of the transformers. Pictometry photograph
taken from Microsoft Virtual Earth.</description>
<Icon>
<href>transformers.jpg</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>34.41971426141618</north>
<south>34.41890159916832</south>
<east>-119.8508244826322</east>
<west>-119.851976467865</west>
<rotation>-84.34325349425195</rotation>
</LatLonBox>
</GroundOverlay>
</Document>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
HelloWorld.kml
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
KeyholeMarkupLanguage(KML)Schema
From: http://code.google.com/apis/kml/documentation/kmlreference.html
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Keyhole Markup Language (KML)
Specification Resources:
http://code.google.com/apis/kml
http://www.opengeospatial.org/standards/kml/
http://code.google.com/apis/kml/schema/kml22beta.xsd
KML Examples:
http://code.google.com/apis/kml/documentation/
http://bbs.keyhole.com
http://www.google.com/search?q=filetype%3Akml
Schema Tools:
XML editor
Validating parser (like Xerces-C++)
http://feedvalidator.org
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Authoring KML
Graphical User Interface
Google Earth
Export from ArcGIS
Specialty website and applications (particularly plentiful
for GPS data importing)
Text Editor
Komodo Edit
NotePad++
Parsers, Automation, and Online
OGR from PostgreSQL and MySQL
Coded parsers
EditGrid
Google Docs
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Position the viewer to contain the spot you want to mark, and zoom to
an appropriate viewing scale. To mark the spot, either:
Select Placemark from the Add Menu; or,
Click the Placemark icon on the toolbar menu at the top of
the screen.
AuthoringKMLinGoogleEarth
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Authoring KML in a text editor
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Authoring KML with an online spreadsheet
Google Spreadsheets Tutorial:
http://earth.google.com/outreach/tutorial_mapper.html
source: Google, Inc.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
StylingandCartography
Using the CDATA Element
If you want to write standard HTML inside a <description> tag, you can
put it inside a CDATA tag. If you don't, the angle brackets need to be
written as entity references to prevent Google Earth from parsing the
HTML incorrectly (for example, the symbol > is written as &gt; and the
symbol < is written as &lt;). This is a standard feature of XML and is not
unique to Google Earth.
Source: http://code.google.com/apis/kml/documentation/kml_tut.html
<description>
<![CDATA[
<h1>CDATA Tags are useful!</h1>
<p><font color="red">
Text is <i>more readable</i>
and <b>easier to write</b>
when you can avoid using entity
references.</font></p>
]]>
</description>
<description>
&lt;h1&gt;Entity references are hard
to type!&lt;/h1&gt; &lt;p&gt;&lt;font
color="green"&gt;Text is
&lt;i&gt;more readable&lt;/i&gt; and
&lt;b&gt;easier to write&lt;/b&gt;
when you can avoid using entity
references.&lt;/font&gt;&lt;/p&gt;
</description>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
StylingandCartography
<description>
<![CDATA[
<center>
<a href="http://www.uweb.ucsb.edu/~glennon/geysermap/images2/t25.jpg">
<img src="http://www.uweb.ucsb.edu/~glennon/geysermap/images2/t25tb.jpg"></a>
</center>
<p>
Category: geyser <br>Height: 5 m<br>Duration: 15 min <br>Interval: 2 hours + <br>Description:
<a href="http://www.uweb.ucsb.edu/~glennon/geysermap/info/t25.htm">read more
</a> /
<a href= "http://www.uweb.ucsb.edu/~glennon/geysermap/tatiometadata.htm">metadata
</a>
<p>Source: Glennon and Pfaff (2003)<br>
<center>
<img src="http://www.uweb.ucsb.edu/~glennon/geysermap/ucsbgeog.jpg" alt="UCSB Geography">
]]>
</description>
Source: J. A. Glennon and R.M. Pfaff (2003), El Tatio Geysers, http://turnhole.com/chile.kmz
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
StylingandCartography
Source: J. A. Glennon and R.M. Pfaff (2003), El Tatio Geysers, http://turnhole.com/chile.kmz
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
StylingandCartography
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Style id="transBluePoly">
<LineStyle>
<width>1.5</width>
</LineStyle>
<PolyStyle>
<color>7dff0000</color>
</PolyStyle>
</Style>
<Placemark>
<name>Transformers</name>
<styleUrl>#transBluePoly</styleUrl>
<Polygon>
<extrude>1</extrude>
<altitudeMode>relativeToGround</altitudeMode>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-119.851205,34.419680,42
-119.851008,34.419342,45
-119.851317,34.419221,46
-119.851486,34.419563,43
-119.851205,34.419680,42
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
StylingandCartography
Styling and Cartography
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Network Link
Using the <Link> element with the tag <href>, KML
can reference local and remote files.
The <href> tag can refer to:
An image file used by icons in icon styles,
ground overlays, and screen overlays
A COLLADA file used in the <Model>
element
A KML or KMZ file loaded by a Network
Link
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Network Link Example
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Folder>
<name>Network Links</name>
<visibility>0</visibility>
<open>0</open>
<description>Network link example 1</description>
<NetworkLink>
<name>Random Placemark</name>
<visibility>0</visibility>
<open>0</open>
<description>A simple server-side script that generates a new random
placemark on each call
</description>
<refreshVisibility>0</refreshVisibility>
<flyToView>0</flyToView>
<Link>
<href>http://nanocarta.com/tools/randomsphere.php?sample=100</href>
<refreshMode>onInterval</refreshMode>
<refreshInterval>5</refreshInterval>
</Link>
</NetworkLink>
</Folder>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Network Link Example
One hundred random locations
refreshing every five seconds.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Network Link
http://radar.weather.gov/ridge/kmzgenerator.php
http://www.srh.noaa.gov/gis/kml/
Via a Network Link, a server-side
script could call external
databases or other online
sources.
You could also create a webpage
interface that assembles and
returns a KML based on user
preferences.
For example: Source: NOAA
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Time
In KML, features can be associated with time with
these tags:
<TimeStamp> associates a feature to an
instant in time
<TimeSpan> associates a feature to a
length of time. The tag
requires a begin time
and/or end time.
With respect to rendering, these tags typically
serve as a visibility filter against a timeline.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Time
When Google
Earth reads a
temporal tag
within KML, a
time browser
appears.
Clicking on the
clock icon
brings up
additional time
navigation
options.
Source: Google Earth and Declan Butler; http://www.nature.com/news/author/Declan+Butler
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Temporal Tags Example
…
<Placemark>
<name>Transformers</name>
<description>There are some transformers here.</description>
<Point>
<coordinates>0,0,0<!simplified></coordinates>
</Point>
<TimeSpan>
<begin>1990</begin>
<end>2009</end>
</TimeSpan>
</Placemark>
<Placemark>
<name>homebase</name>
<description>Line from home base to transformers.</description>
<LineString>
<tessellate>1</tessellate>
<coordinates>0,0,0 1,1,0<! simplified></coordinates>
</LineString>
<TimeStamp>
<when>2008-09-24T10:30:15-08:00</when>
</TimeStamp>
</Placemark>
…
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Source: Google Earth
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Source: Google Earth
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
DynamicKML
Temporal Tags Example
Source: Google Earth
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Distribution and Sharing
A) Delivery of raw or auto-assembled KML
KML file is shared via a website, email, or disk
User loads KML into the Google Earth application
B) Delivery of KML from Google Maps
KML is hosted
Google Maps renders KML
C) Delivery of KML with the Google Earth browser plug-in
Webpage created using Google Earth API
Hosted KML is rendered within Google Earth frame
D) Delivery with desktop applications like ArcGIS Explorer,
Virtual Earth, NASA World Wind, etc.
Generally similar to standalone KML (option A)
E) Mediator web service
Website service allows user collaboration, provides
hosting, and file index or discovery mechanism.
Examples: Google MyMaps, Flickr, Platial , Facebook,
Yahoo! FireEagle
(Note: some of these overlap and/or could be combined)
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Distribution and Sharing
F) Server-based delivery
Application and data are hosted. Interface may be
public or, in some cases, secured. Examples: Google
Earth Enterprise, OpenLayers, ArcGIS Server
G) Enterprise relational database manager
Typically for intranet-type usage. Manages multiple user
collaboration, conflicts, and versioning
Oracle Spatial, ArcSDE
H) Search engine discovery of spatial data (an emerging case);
programmatic structured query using various sites’ APIs.
Application launches as defined by user or OS (assisted
by properly configured MIME type). Examples: Google
Search, Yahoo! Pipes, Microsoft Popfly
(Note: some of these overlap and/or could be combined)
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Query
Select Geographic Database Analysis Tasks
Relational-spatial attribute query
Proximity analysis (buffer and
distance calculation)
Spatial joins (intersection and union
comparisons; inside/out)
Network analysis (routing and
optimization; left/right; topology)
Raster comparison (Map Algebra)
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Query
Geocoding
The process of assigning geographic coordinates to a
map feature, description, or address.
Input: Address or location description
Examples: Goleta, CA; 90210; New Zealand
World Trade Center, downtown Los Angeles
Output: Geographic Coordinates
45.2342W, 15.2346N, 1000m asl, WGS84
There are many complicating factors to geocoding.
For example: the grammar of the input, positional
accuracy / vagueness / scale, places with the same
name, foreign languages, deprecated names, new
names, misspellings, etc.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Query
Geocoding
Despite the problems, geocoding is at the core of
many web-based mapping applications.
KML offers the <address> element as an alternative
to coordinates. Google Earth and Google Maps will
attempt to geocode the address and render the
position. Usability will largely depend on the input
address and the intended application.
For example, the following KML uses the street
address of a UCSB electrical transformer station
(shown in the middle left of the screen; geocoded
address is on the bottom right).
Note: In Google Earth and Maps, if a <Point> tag is provided in the
KML also, it will take precedence over an <address>.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>addressexample.kml</name>
<Placemark>
<name>Transformers</name>
<description>Better than nothing.</description>
<address>552 University Road, Santa Barbara, CA
93106</address>
</Placemark>
</Document>
</kml>
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Query
Geocoding Resources
Google Maps API
Yahoo! Maps and FireEagle API
MetaCarta Labs
Geocoder.us
Batchgeocode.com
NGA Geographic Names Search
Mapping Hacks by Erle, Walsh, and Gibson
(available from O’Reilly). How to build your
own geocoder.
Routing and
Service Area
Routing implementations
remain largely proprietary,
though some open source
options are beginning to
emerge.
The Google Maps API offers
access to driving directions.
Proprietary web services are
plentiful.
ArcGIS Server offers routing
functionality.
Image source: ArcGIS Network Analyst, esri.com
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Query:AnalysisResources
Google Earth Developers
Interact with other developers and explore their work.
(http://groups.google.com/group/kml-support)
ArcGIS Explorer
Proprietary virtual globe with analysis functionality, particularly
when coupled with other ESRI products. Note: UCSB has an
ArcGIS site license. (esri.com)
Yahoo! Pipes
Graphical multistep web query that includes spatial data.
(pipes.yahoo.com)
Microsoft Popfly
Graphical multistep web query that includes spatial data.
(popfly.com)
OpenLayers
Javascript slippy map library with a gallery of numerous web
applications. (openlayers.org)
GIS.com
A “paleo” introduction to geographic information and analysis
Query:Example
Source: Yahoo! Pipes; Photos near Wineries, Author: Ido
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Source: ArcGIS Explorer, esri.com
http://www.esri.com/software/arcgis/explorer/graphics/showcase/longbeach-plume-lg.jpg
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices The Policy Landscape
No homogenous body of geographic data web standards
or regulations exist. So far, emerging precedents are
largely arising from privacy and intellectual property law.
Private enterprise is also gauging consumer reaction and
trying to maximize utility, create monetization potential,
and not alienate users.
Accessibility
Suggested Design Practices
Locational Privacy
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices
-Wired.com, September 11, 2008
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Accessibility
Provide a text description of the map’s or data’s purpose.
Provide descriptions of any included, integrated multimedia.
Use clear, descriptive names and labels.
Consider appropriate colors and contrast for people with color
discernment difficulties or other visual impairment
Cite data sources; allowing users to investigate other mechanisms for
its visualization
In technology selection, consider open 3D rendering formats. For
instance, OpenGL calls to a graphics card can be captured and
manipulated. Haptic feedback devices can more readily interpret the
data.
Ensure links are simple, visible, and exposed (no hidden image links)
Be very cautious about rapid blinking and dynamic data refreshes.
Provide warnings as necessary to assist epileptic population.
PolicyandBestPractices
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Best Practices
Validate your KML
Use spaces and indentions even when the KML is
automatically generated (when text editing, be
careful for hidden characters)
Comment within the KML when something is not
obvious (like with network links)
Generally, do not use KML as the database (usually
better as a result of a database). Use KML to
describe the geographic elements of a database.
Also, consider that most software limits renderable
geometry
When hosting, use .htaccess to create MIME
associations for KML and KMZ to Google Earth.
PolicyandBestPractices
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Best Practices
Use GeoRSS to syndicate geographic data (refer to
KML). HTML:RSS::KML:GeoRSS
Maximize link confidence (hide awkward script
calls; links to external resources should be reliable;
make sure the external resource acts like you think
it should).
Provide usage information and instructions for
complex data
Use object identifiers in KML. It will maximize users’
ability to search and access subunits of the data.
Provide data authorship credit (also affords author
responsibility).
PolicyandBestPractices
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup Best Practices
Consider window viewing sizes (large images and
long descriptions can take over an entire
viewscreen).
Allow users control and navigation of layers.
Consider file size, number of points, complexity
(warn as necessary). For instance, use Regionator
to manage large image overlays
Minimize the distraction of legends or screen
overlays.
Do not use the awful (thankfully sparsely
documented) blink style in KML.
Cache geocodes
PolicyandBestPractices
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices
Right to privacy varies greatly by jurisdiction. The
California Constitution, Article 1, Section 1,
describes privacy as an inalienable right.
Spatial and temporal data resolution is a key
component with respect to invasion of privacy.
For example, spatially aggregated U.S. Census
data are available soon after compilation.
Individual Census responses are prohibited from
release for 72 years.
Aggregating multiple individuals’ personal
information is considered less invasive than
individually identifiable information.
Geographic Privacy
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices
Geographic Privacy
Graphic source: David H. Williams/E911-LBS, October 25, 2006,
The associated article argues for privacy considerations to be an fundamental part of Location-Base Service design
http://www.directionsmag.com/article.php?article_id=2323&trv=1
Internet users are comprised of all age groups, including
those that may have no understanding of personal privacy
or its consequences.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices
Always tell users what you want to do with
their location
Let users know when you are collecting their
location information
Give users control of their own data
Make sure users' data are secure
Only allow users to manage their location, but
not others
Don't be creepy
Yahoo! Fire Eagle
Developer Code of Conduct
Source: Fire Eagle Developer Code of Conduct,
http://fireeagle.yahoo.net/developer/documentation/code_of_conduct
Note: These points are paraphrased.
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
PolicyandBestPractices Notice - Individuals must be informed that their data is being
collected and about how it will be used.
Choice - Individuals must have the ability to opt out of the
collection and forward transfer of the data to third parties.
Onward Transfer - Transfers of data to third parties may only occur
to other organizations that follow adequate data protection
principles.
Security - Reasonable efforts must be made to prevent loss of
collected information.
Data Integrity - Data must be relevant and reliable for the purpose
it was collected for.
Access - Individuals must be able to access information held about
them, and correct or delete it if it is inaccurate.
Enforcement - There must be effective means of enforcing these
rules.
International Safe Harbor Privacy Principles
Source: United State International Trade Administration
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
The near Future of Spatial Data
more. everywhere.
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
The Future of Spatial Data
An evolving platform:
extending the geographic model to Eames’ and
Morrisons’ Powers of Ten
The Progression of Internet Maps Interaction:
1. view (see my house)
2. add (tag locations important to me)
3. query (get directions, see patterns)
4a. communicate (sharing and social interaction)
4b. mirror world (more realism/physics)
5. inhabit
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
The Future of Spatial Data
Semantic Spatial Web
(spatially literate, natural language Internet)
3D Internet
(spatially visualized and inhabitable Internet. Virtual
Reality)
Augmented and Mixed Reality
(combination of real world and computer generated
data)
Digital Earth
(spatiotemporal database of everything)
Image Source: NAIP, 2005
• Geographic Data Basics
• Keyhole Markup Language (KML)
• Authoring KML
• Dynamic KML
• Distributing Geographic Data
• Querying Geographic Data
• Policy and Best Practices
Topics
Image Source: NAIP, 2005
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
SPATIAL DATA, KML, and the
UNIVERSITY WEB
17September2008
UniversityofCalifornia,SantaBarbara-WebStandardsGroup
Acknowledgments
Thanks to Guylene Gadal, the UCSB Web
Standards Group, Rhonda Glennon, Mike
Goodchild, Indy Hurt, Josh Bader, Karl
Grossner, and the spatial@ucsb team!
SPATIAL DATA, KML, and the
UNIVERSITY WEB
Image Source: NAIP, 2005
Alan Glennon
spatial.ucsb.edu
alan[at]spatial.ucsb.edu
CONTACT

More Related Content

Similar to UCSB Spatial Data Presentation: Keyhole Markup Language (KML

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 Basicspdituri
 
DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!dclsocialmedia
 
WebServices_Grid.ppt
WebServices_Grid.pptWebServices_Grid.ppt
WebServices_Grid.pptEqinNiftalyev
 
Data Intensive Research with DISPEL
Data Intensive Research with DISPELData Intensive Research with DISPEL
Data Intensive Research with DISPELOscar Corcho
 
RasterFrames - FOSS4G NA 2018
RasterFrames - FOSS4G NA 2018RasterFrames - FOSS4G NA 2018
RasterFrames - FOSS4G NA 2018Simeon Fitch
 
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine LearningRasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine LearningAstraea, Inc.
 
New Directions in Metadata
New Directions in MetadataNew Directions in Metadata
New Directions in Metadatasuyu22
 
Data Profiling in Apache Calcite
Data Profiling in Apache CalciteData Profiling in Apache Calcite
Data Profiling in Apache CalciteJulian Hyde
 
AGS Members' Day 2015 - Data Transfer Format and BIM Presentation
AGS Members' Day 2015 - Data Transfer Format and BIM PresentationAGS Members' Day 2015 - Data Transfer Format and BIM Presentation
AGS Members' Day 2015 - Data Transfer Format and BIM PresentationForumCourt
 
Where20 2008 Ruby Tutorial
Where20 2008 Ruby TutorialWhere20 2008 Ruby Tutorial
Where20 2008 Ruby TutorialShoaib Burq
 
Geo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXGeo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXLuis Bermudez
 
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...Safe Software
 
Grill at bigdata-cloud conf
Grill at bigdata-cloud confGrill at bigdata-cloud conf
Grill at bigdata-cloud confamarsri
 
ERFEG Seminar Fall 2008
ERFEG Seminar Fall 2008ERFEG Seminar Fall 2008
ERFEG Seminar Fall 2008shirabay
 
Q4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis PresentationQ4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis PresentationRob Emanuele
 
CTOs Perspective on Adding Geospatial and Location-based Information
CTOs Perspective on Adding Geospatial and Location-based InformationCTOs Perspective on Adding Geospatial and Location-based Information
CTOs Perspective on Adding Geospatial and Location-based InformationBradley Brown
 
Using KML for Thematic Mapping
Using KML for Thematic MappingUsing KML for Thematic Mapping
Using KML for Thematic MappingBjorn Sandvik
 
CHUG_presentation_Hope
CHUG_presentation_HopeCHUG_presentation_Hope
CHUG_presentation_HopeLara Juliusson
 

Similar to UCSB Spatial Data Presentation: Keyhole Markup Language (KML (20)

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
 
DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!DITA's New Thang: Going Mapless!
DITA's New Thang: Going Mapless!
 
WebServices_Grid.ppt
WebServices_Grid.pptWebServices_Grid.ppt
WebServices_Grid.ppt
 
Data Intensive Research with DISPEL
Data Intensive Research with DISPELData Intensive Research with DISPEL
Data Intensive Research with DISPEL
 
RasterFrames - FOSS4G NA 2018
RasterFrames - FOSS4G NA 2018RasterFrames - FOSS4G NA 2018
RasterFrames - FOSS4G NA 2018
 
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine LearningRasterFrames: Enabling Global-Scale Geospatial Machine Learning
RasterFrames: Enabling Global-Scale Geospatial Machine Learning
 
New Directions in Metadata
New Directions in MetadataNew Directions in Metadata
New Directions in Metadata
 
Data Profiling in Apache Calcite
Data Profiling in Apache CalciteData Profiling in Apache Calcite
Data Profiling in Apache Calcite
 
AGS Members' Day 2015 - Data Transfer Format and BIM Presentation
AGS Members' Day 2015 - Data Transfer Format and BIM PresentationAGS Members' Day 2015 - Data Transfer Format and BIM Presentation
AGS Members' Day 2015 - Data Transfer Format and BIM Presentation
 
Where20 2008 Ruby Tutorial
Where20 2008 Ruby TutorialWhere20 2008 Ruby Tutorial
Where20 2008 Ruby Tutorial
 
Geo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDXGeo Package and OWS Context at FOSS4G PDX
Geo Package and OWS Context at FOSS4G PDX
 
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
Spatial decision support and analytics on a campus scale: bringing GIS, CAD, ...
 
Grill at bigdata-cloud conf
Grill at bigdata-cloud confGrill at bigdata-cloud conf
Grill at bigdata-cloud conf
 
ERFEG Seminar Fall 2008
ERFEG Seminar Fall 2008ERFEG Seminar Fall 2008
ERFEG Seminar Fall 2008
 
Q4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis PresentationQ4 2016 GeoTrellis Presentation
Q4 2016 GeoTrellis Presentation
 
CTOs Perspective on Adding Geospatial and Location-based Information
CTOs Perspective on Adding Geospatial and Location-based InformationCTOs Perspective on Adding Geospatial and Location-based Information
CTOs Perspective on Adding Geospatial and Location-based Information
 
ArcGIS and Multi-D: Tools & Roadmap
ArcGIS and Multi-D: Tools & RoadmapArcGIS and Multi-D: Tools & Roadmap
ArcGIS and Multi-D: Tools & Roadmap
 
Using KML for Thematic Mapping
Using KML for Thematic MappingUsing KML for Thematic Mapping
Using KML for Thematic Mapping
 
CHUG_presentation_Hope
CHUG_presentation_HopeCHUG_presentation_Hope
CHUG_presentation_Hope
 
GIS Research at UCL
GIS Research at UCLGIS Research at UCL
GIS Research at UCL
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

UCSB Spatial Data Presentation: Keyhole Markup Language (KML