GEOG585: Internet
Mapping: Lab 7
Question 1
The GetCapabilities request for the USGS Framework Data Layers WFS
service is:
http://frameworkwfs.usgs.gov/framework/wfs/wfs.cgi?DATASTORE=Framework&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities
Answer the following questions based upon information provided by the XML
document provided by this request.
- What is the Title of the service? USGS Framework Layer
WFS
- How is the service described by the abstract for the service?
A WFS serving USGS framework layers.
- If you have questions about how to access the service, whom should
you contact? Peter Vretanos
- From the information contained in the <ows:Operation
name="DescribeFeatureType"> section of the metadata
4.1. What are the values of the “TypeName” parameter that correspond
with the various data elements available from the service?
gubs:GovernmentalUnit(CE, MCD, RE, ST) and hyd:HydroElement(ARHI, ARMD,
FLHI, FLMD, LIHI, LIMD, PTHI, PTMD, WBHI, WBMD) 4.2. What “outputFormat” values are supported by the service for the
delivery of feature type descriptions? text/xml;
subtype=gml/3.1.1, text/xml; subtype=gml/3.1.1/profiles/gmlsf/0,
text/xml; subtype=gml/3.1.1/profiles/gmlsf/1, text/xml;
subtype=gml/2.1.2, application/gml+xml;
subtype=gml/3.1.1,application/gml+xml;
subtype=gml/3.1.1/profiles/gmlsf/0,application/gml+xml;
subtype=gml/3.1.1/profiles/gmlsf/1,application/gml+xml;
subtype=gml/2.1.2,text/xml;
subtype=bxfs/0.0.3,BXFS,GML0,XMLSCHEMA,GML2,GML3,GML3L0,GML3L1,SXSDL
- From the information contained in the <ows:Operation
name="GetFeature"> section of the metadata, what “outputFormat” values
are supported by the service for the delivery of feature data?
text/xml; subtype=gml/3.1.1, text/xml;
subtype=gml/3.1.1/profiles/gmlsf/0, text/xml;
subtype=gml/3.1.1/profiles/gmlsf/1, text/xml; subtype=gml/2.1.2,
application/gml+xml; subtype=gml/3.1.1, application/gml+xml;
subtype=gml/3.1.1/profiles/gmlsf/0, application/gml+xml;
subtype=gml/3.1.1/profiles/gmlsf/1, application/gml+xml;
subtype=gml/2.1.2, x-application/gml:3, x-application/gml:3:0,
x-application/gml:3:1, x-application/gml:2, text/xml;
subtype="bxfs/0.0.3", GML0, GML1, GML.1, GML2, GML3, GML3L0, GML3L1,
BXFS, RSS, application/rss+xml, KML,
application/vnd.google-earth.kml+xml, ATOM, application/atom+xml, JSON,
SHAPE, MIF
- From the <FeatureTypeList> element, answer the following questions
about the <FeatureType> named “gubs:GovernmentalUnitST”
6.1. What is the title of this <FeatureType>? Government
Unit (State or Territory)
6.2. What is the default spatial reference system for this
<FeatureType>? EPSG:4269
6.3. What is the bounding box of this <FeatureType>?
-179.14221197 18.9108417 -66.94983061 71.35256069
- Formulate a “GetFeature” request for this service for the
“GovernmentalUnitCE”
<FeatureType>.
http://frameworkwfs.usgs.gov/framework/wfs/wfs.cgi?DATASTORE=Framework&REQUEST=GetFeature&SERVICE=WFS&TYPENAME=GovernmentalUnitCE&VERSION=1.1.0&SRS=4269&BBOX=-179.14221197,18.9108417,-66.94983061,71.35256069&
Run “OGRINFO -so” on the returned GML document. Include
the output of the command in your writeup with the WFS command you generated for the
request.
After you save the file to your local hard drive, you may need to change the
filename so that it ends with .xml so that OGRINFO recognizes it as a GML file. Make sure to
add the layer name from the intial OGRINFO command in the complete command, so that
you see the more detailed information about the specific layer within the returned
GML file (for example: ogrinfo -so <gml file name> <layer name>)
Had to open data source read-only.
INFO: Open of `wfs.cgi.xml'
using driver `GML' successful.
Layer name: GovernmentalUnitCE
Geometry: Unknown (any)
Feature Count: 147
Extent: (-160.247150, 18.910840) - (-109.927190, 46.001060)
Layer SRS WKT:
(unknown)
instanceName: String (15.0)
instanceCode: Integer (0.0)
effectiveDate: String (10.0)
governmentalUnitType: String (20.0)
Question 2
The GetCapabilities request to the DataFed WCS service for the MOD14A1
thermal anomalies data product is:
http://webapps.datafed.net/LPDAAC_G_OL.ogc?SERVICE=WCS&REQUEST=GetCapabilities&VERSION=1.0.0
Answer the following questions based upon the information available from the
provided XML metadata record.
- Whom should you contact with questions about the service?
rhusar@wustl.edu
- What are the names of the two <CoverageOfferingBrief> elements
representing the two data
products that are available from this service? MOD14A1,
MYD14A1
- What can you infer from the content of the <CoverageOfferingBrief>
<gml:timePosition>
elements about the time span for which data are available? Time
frame for data: 2006-05-25T00:00:00 to 2007-08-12T00:00:00
- Formulate a DescribeCoverage request for the “MOD14A1” coverage.
Answer the following
questions from the information provided by the returned metadata record.
4.1. What is the native SRS/CRS for the coverage?
urn:ogc:def:crs:OGC:1.3:CRS84
4.2. What data formats are supported by the service for the delivery of
this coverage? CSV CSVWN cube-header-dump cube-text-dump
dataset dataset-schema GeoTIFF GML image/gif image/jpeg image/png
image/tiff internal JSON NetCDF NetCDF-sts NetCDF-table
ogr-featurecollection sts-header-dump sts-text-dump table-header-dump
table-text-dump
- Formulate a “GetCoverage” request for the “MOD14A1” coverage. Save
the file to your local
hard drive, and use “GDALINFO” to examine the file. Include your
“GetCoverage” request
and output from the GDALINFO command in your writeup.
http://webapps.datafed.net/LPDAAC_G_OL.ogc?SERVICE=WCS&REQUEST=GetCoverage&VERSION=1.0.0&COVERAGE=MOD14A1&CRS=EPSG:4326&BBOX=-180,-90,180,90,0,0&FORMAT=GeoTIFF&WIDTH=-1&HEIGHT=-1&DEPTH=-1&TIME=2006-05-25
Driver: GTiff/GeoTIFF
Files: LPDAAC_G_OL.tiff
Size is 361, 181
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-180.000000000000000,90.000000000000000)
Pixel Size = (0.997229916897507,-0.994475138121547)
Metadata:
TIFFTAG_RESOLUTIONUNIT=1 (unitless)
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-180.0000000, 90.0000000) (180d 0'0.00"W, 90d 0'0.00"N)
Lower Left (-180.0000000, -90.0000000) (180d 0'0.00"W, 90d 0'0.00"S)
Upper Right ( 180.0000000, 90.0000000) (180d 0'0.00"E, 90d 0'0.00"N)
Lower Right ( 180.0000000, -90.0000000) (180d 0'0.00"E, 90d 0'0.00"S)
Center ( 0.0000000, 0.0000000) ( 0d 0'0.01"E, 0d 0'0.01"N)
Band 1 Block=361x1 Type=Byte, ColorInterp=Gray
|