2. INTRODUCTION
HDF EOS library was primarily designed to support
raster data from Terra and other follow on projects
An increasing need to use Terra data with GIS
applications for regional and local use
Integration of Terra data with vector data will create new
applications and usage
Many GIS users will be able to access and use Terra data
2
4. Vector Data Requirements
Need to support additional data types
GIS Users require vector data support
ESIP user community requested vector data support
Many ESIP investigators use vector data with Terra data
Advantages:
Terra data will be available to a new community of GIS users
Increase in Terra data use for many new applications
Vector data support will increase data inter use
Enhances data interoperability
Support for OGC WMT implementation
4
6. A Vector Structure
Point Geometry and Attribute
PX
1.0
10.0
15.0
3.0
PX
1.0
1.0
15.0
10.0
Building Number Building Name
1
Physics
2
Earth Science
3
Mathematics
4
Chemistry
6
7. A Vector Structure (cont)
Line Geometry and Attribute
Line ID PX PY
1
1.0 1.0
1
10.0 1.0
1
15.0 15.0
2
15.0 15.0
2
3.0 10.0
3
3.0 10.0
3
1.0 1.0
Street Name
Campus Drive
Stadium Drive
Valley Road
7
8. A Vector Structure (cont)
Polygon Geometry and
Attribute
Polygon ID Line ID
1
1
2
1
3
Contiguity
1
Line ID Left Poly Right Poly
1
1
-1
Section
2
1
-1
Main Campus
3
1
-1
8
10. The Vector Interface
Routine Name
Category
Access
C
FORTRAN
Description
VCopen
VCcreate
Vcopen
Vccreate
VCattach
VCdetach
VCclose
Vcattach
Vcdetach
Vcclose
Definition
VCdefpoint
VCdefline
VCdefpoly
Vcdfpt
Vcdfline
Vcdfpoly
Creates a new file or opens an existing one
Creates a new vector data set and returns a
handle
Attaches to an existing vector data set
Releases a vector data set and frees memory
Closes the HDF-EOS file and deactivates the
vector interface
Define point attribute fields of a vector
Define line attribute fields of a vector
Define polygon attribute fields of a vector
Basic I/O
VCwritepoint
VCreadpoint
VCupdatepoint
VCwriteline
VCreadline
VCupdateline
VCwritepoly
VCreadpoly
Vcwrpt
Vcrdpt
Vcuppt
Vcwrline
Vcrdline
Vcupline
Vcwrpoly
Vcrdpoly
Writes (appends) new point records to a vector
Reads point records from a vector
Updates the specified point records of vector
Writes (appends) new line records to vector
Reads line records from a vector
Updates the specified line records of vector
Writes (appends) new polygon records to a vector
Reads polygon records from a vector
10
13. Tips on Writing a Vector
Attribute fields
– The name, type, order, and number of the
attributes of point, line, and polygon are
defined by users when first using them in a
vector structure.
– Once defined, the attributes are fixed with
respect to the vector.
13