<html 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" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Jerome,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I know Jeremy Morley doesn&#8217;t watch
these lists too much, but his ICEDS service<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?SERVICE=WCS&amp;REQUEST=DescribeCoverage&amp;Coverage=srtm">http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?SERVICE=WCS&amp;REQUEST=DescribeCoverage&amp;Coverage=srtm</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>offers srtm data in different projections.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>His website also gives full config details
for MapServer configuration, a subset of which is on the MapServer website
under WCS use cases.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
  color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
  color:navy'>Norman</span></font></st1:place></st1:City><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Jérôme Martin<br>
<b><span style='font-weight:bold'>Sent:</span></b> 01 February 2007 01:06<br>
<b><span style='font-weight:bold'>To:</span></b> MAPSERVER-USERS@LISTS.UMN.EDU<br>
<b><span style='font-weight:bold'>Subject:</span></b> [UMN_MAPSERVER-USERS] WCS
and Reprojection with TileItem</span></font><font color=black><span
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>Hi,<br>
<br>
I'm using mapserv like WMS and now, I would like use the WCS service to get
DEM, from DTED files. <br>
<br>
To do this, i used gdaltindex software to create a shapefile to have only one
entry on my mapfile with the &quot;TILEITEM&quot; keyword. <br>
<br>
I precise my dted file are LatLon, in EPSG:4326. <br>
<br>
So when i did a request Getmap from the server, i had the result i wanted for,
in lat-lon. <br>
But my problem was when i tried to send the request, but with CRS=epsg:32631
(UTM Zone N31) by example (BBOX in 32631 too), nothing work and the server send
me a file with the good boundingbox envelloppe, but with no data, only 0. <br>
<br>
When I tried to do a resquest with CRS=epsg:4326 (BBOX in 4326)&nbsp; and
RESPONSE_CRS=epsg:32631, i have the same empty 0 file, and the server doesn't
warn me any error. Just a file with 0m data elevation. <br>
<br>
I'm really surprised, because the OGC documents about the WCS Service tell the
response_crs can be used to have a reprojection, and the how-to user case from
the mapserver website tell this option can be used. <br>
<br>
So when i try to put only one file with the DATA keyword, i was really
surprised to see a request in another crs gave me the good reprojection and the
right results, so the reprojection works on only one file, but not in shapefile
tileitem. So Did I do something wrong, or this is it a bug from mapserv ?<br>
<br>
Moreover, i am already using mapserver with the WMS service, and i have only
shapefile tileitem entries on my wms mapfile : the reprojection works perfectly
! (the shapefile are created from the gdaltindex tool). <br>
<br>
I can't put each file on my mapfile, because i thousands files and this will be
affect the performances of mapserv (moreover, i think it exist a limitation of
the maximum number of layers in a mapfile). <br>
<br>
So do you would have any idea about this problem, or do you know an easy
exemple of a wcs service server who delivers DEM data in differents
reprojections ?<br>
<br>
thanks you for the help,<br>
<br>
sincerly, <br>
<br>
Jérôme Martin<br>
<br>
<br>
<br>
<br>
J'ai donc configuré un server wcs, et j'ai également crée un fichier shp via
gdaltindex afin de n'avoir qu'une seule entrée dans le mapfile regroupant
plusieurs fichiers DTED. <br>
<br>
Je précise que les fichiers sont en latlon EPSG:4326<br>
<br>
En faisant une requête avec CRS=epsg:4326, j'ai donc le résultat attendu, soit
un fichier tiff (ce que je voulais) en latlon. <br>
Par contre, lorsque je fais une requête avec CRS=epsg:32631 (UTM zone N31) par
exemple, là, tout se complique puisque la réponse que me renvoye le server
semble bonne au niveau des dimensions, mais je n'ai uniquement que des 0, les
données d'élévation disparaissent. <br>
<br>
Je précise que j'ai déjà un server WMS utilisant exclusivement des tileindex
(via gdaltindex) et que la reprojection se passe parfaitement. Mais en WCS,
rien ne <st1:State w:st="on"><st1:place w:st="on">marche</st1:place></st1:State>
plus pour la reprojection. <br>
<br>
Par contre, si je prend un fichier seul (fichier.dt1) que je rajoute dans mon
mapfile wcs, alors dans ce cas là, la reprojection <st1:State w:st="on"><st1:place
 w:st="on">marche</st1:place></st1:State> bien et ne pose pas de problème. Je
ne peux cependant pas résoudre mon problème comme cela car je ne peux inclure
des milliers de fichiers dans mon mapfile, et je ne peux pas non plus modifier
les fichiers dted en entrée (d'autant plus que je ne veux pas distinguer
séparement chaque fichier dted dnas mes requêtes). <br>
<br>
Comment puis-je résoudre mon problème ? quelqu'un a-t-il déjà été confronté à
ce type de problème sous WCS ? <br>
<br>
cordialement,<br>
<br>
<!-- / message --><!-- controls -->Jérôme <a name="vB::QuickEdit::93083"></a><a
href="http://www.forumsig.org/editpost.php?do=editpost&amp;p=93083"><span
style='text-decoration:none'><img border=0 width=68 height=22 id="_x0000_i1025"
src="cid:image001.gif@01C745E4.E9F78000" alt="Modifier/Supprimer le message"
title="Modifier/Supprimer le message"></span></a><o:p></o:p></span></font></p>

</div>

</body>

</html>