Professional Documents
Culture Documents
Les01 - Spatial Concept
Les01 - Spatial Concept
Welcome to
After
After completing
completing this
this lesson,
lesson, you
you should
should be
be
able
able to
to do
do the
the following:
following:
• Describe
Describe the
the supported
supported geometric
geometric data
data types
types
• Define
Define the
the Oracle8i
Oracle8i Spatial
Spatial data
data model
model
• Describe
Describe aa spatial
spatial layer
layer
• Describe
Describe the
the spatial
spatial query
query model
model
• Describe
Describe the
the concept
concept of
of spatial
spatial indexing
indexing
• Identify
Identify spatial
spatial queries
queries and
and spatial
spatial joins
joins
CAM data
• Points
Points (X1,
(X1, Y1)
Y1)
• Line
Line Strings
Strings (X1,
(X1, Y1,
Y1, Xn,
Xn, Yn)
Yn)
–– self-crossing
self-crossing lines
lines are
are supported
supported
–– lines
lines that
that close
close to
to form
form aa ring
ring have
have no
no area
area
–– straight
straight or
or curved
curved
• Polygons
Polygons (X1,
(X1, Y1,
Y1, Xn,
Xn, Yn)
Yn)
–– Polygons
Polygons areare rotation
rotation independent
independent (8.1.5).
(8.1.5). In
In
8.1.6,
8.1.6, outer
outer rings
rings must
must be
be counter
counter clockwise,
clockwise,
inner
inner rings
rings (voids)
(voids) must
must be
be clockwise.
clockwise.
–– coordinates
coordinates must
must close
close and
and interior
interior is
is implied
implied
–– interior
interior area
area can
can be
be voided
voided using
using additional
additional
polygons
polygons (e.g.
(e.g. polygon
polygon with
with holes)
holes)
–– self-crossing
self-crossing polygons
polygons are
are not
not supported
supported
–– straight
straight or
or curved,
curved, optimized
optimized circle,
circle, rectangle
rectangle
Copyright Intergraph Hong Kong Limited, ®
• Compound
Compound Line
Line Strings
Strings (X1,
(X1, Y1,
Y1, Xn,
Xn, Yn)
Yn)
–– combination
combination of
of straight
straight and
and curved
curved lines
lines
––self
self crossing
crossing lines
lines are
are supported
supported
––lines
lines that
that close
close to
to form
form ring
ring have
have no
no
area
area
• Compound
Compound Polygons
Polygons (X1,(X1, Y1,
Y1, Xn,
Xn, Yn)
Yn)
–– combination
combination of
of straight
straight and
and curved
curved lines
lines
–– same
same semantics
semantics as
as polygons
polygons
Copyright Intergraph Hong Kong Limited, ®
Valid
Not valid
Copyright Intergraph Hong Kong Limited, ®
Spatial layer
•• Consist
Consist of
of geometries
geometries
that
that share
share aa common
common
set
set of
of attributes
attributes
•• Layer
Layer isis aa geometry
geometry
column
column in in aa table
table
States layer
Exact
Secondary Result
Primary Set
Filter
Spatial Layer Filter Reduced
Data Data Set Spatial Exact
Spatial Index Result
Functions
Set
B B B
B I I B B
B I I I I B
B I I I I B
B I I I I B
B I I I B
B I B B B
B B B
• Issued
Issued through
through SQL
SQL
• Contains
Contains aa locational
locational constraint,
constraint, for
for
example:
example:
–– Find
Find all
all policy
policy holders
holders in
in the
the projected
projected
path
path of
of aa hurricane
hurricane
–– Find
Find all
all ATMs
ATMs inin my
my area
area
• A
A join
join of
of two
two layers
layers based
based on
on the
the spatial
spatial
component
component of of the
the layers
layers
• Implemented
Implemented using
using spatial
spatial index
index and
and
spatial
spatial operators
operators
• Very
Very rare
rare
• Example:
Example:
–– Find
Find all
all the
the wetlands
wetlands within
within the
the
national
national parks
parks
Copyright Intergraph Hong Kong Limited, ®