<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.t1 {
COLOR: #990000
}
SPAN.EmailStyle19 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=FR-CA vLink=purple link=blue>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Julien, Heryk
[mailto:hjulien@nrcan.gc.ca]<BR><B>Sent:</B> Wednesday, July 27, 2005 2:40
PM<BR><B>To:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> RE:
[UMN_MAPSERVER-USERS] USGS DEM and OGC WMS -- Bug<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This is the first
time I get a request to add a USGS DEM to
Mapserver.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I would like to use
the original USGS format to be able to query the DEM using the WMS
getFeatureInfo.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If I convert the
USGSDEM to a simple raster (ex:*.tiff) don’t I loose the elevation
data?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">WCS is interesting
but I can’t use WCS for now since our web clients are not compatible with this
format.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Cheers<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Héryk<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT
color=#0000ff><snip></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff>Hi
Heryk,</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff>I will reply to the whole group,
since there is a bit of a UK mission to encourage
WCS!!</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff>It is possible (indeed I would
encourage it) to create a WCS, and then to make WMS calls to retrieve a
display format</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff>of this data,
so;</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><A
href="http://host/my.map?REQUEST=GetCapabilities&Service=WMS">http://host/my.map?REQUEST=GetCapabilities&Service=WMS</A>
.... or</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><A
href="http://host/my.map?REQUEST=GetCapabilities&Service=WCS">http://host/my.map?REQUEST=GetCapabilities&Service=WCS</A></FONT></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>so the WMS can give you the map, and the WCS can give
you the actual data, it is possible to do this with the same map
file!</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>This means that your current web clients can use the
WMS, but you are also allowing access to actual
coverages.</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>Converting USGSDEM to 16 bit geotiff works well, and
I have done this using
gdal_translate.</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>To quote the
spec;</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>Unlike WMS (OGC document 01-068r3), which filters and
portrays spatial data to return static maps (rendered as pictures by the
server), the Web Coverage Service provides available data together with their
detailed descriptions; allows complex queries against these data; and returns
data with its original semantics (instead of pictures) which can be
interpreted, extrapolated, etc. -- and not just
portrayed.</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>I am about half way through writing a how to for
this, capturing all the help I received from Steve Lime and Frank W when I
approached this. Let me know if I
</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>can help
further.</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005>Norman</SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN><SPAN
lang=EN-CA style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><SPAN
class=110584813-27072005> </P></SPAN></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005><FONT color=#0000ff><SPAN lang=EN-CA
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p><SPAN
class=110584813-27072005></SPAN></o:p></SPAN></FONT></SPAN></o:p></SPAN> </P></DIV></BLOCKQUOTE></BODY></HTML>