<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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 "TILEITEM" 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&eacute;r&ocirc;me Martin<br>
<br>
<br>
<br>
<br>
J'ai donc configur&eacute; un server wcs, et j'ai &eacute;galement cr&eacute;e un fichier
shp via gdaltindex afin de n'avoir qu'une seule entr&eacute;e dans le mapfile
regroupant plusieurs fichiers DTED. <br>
<br>
Je pr&eacute;cise que les fichiers sont en latlon EPSG:4326<br>
<br>
En faisant une requ&ecirc;te avec CRS=epsg:4326, j'ai donc le r&eacute;sultat
attendu, soit un fichier tiff (ce que je voulais) en latlon. <br>
Par contre, lorsque je fais une requ&ecirc;te avec CRS=epsg:32631 (UTM zone
N31) par exemple, l&agrave;, tout se complique puisque la r&eacute;ponse que me
renvoye le server semble bonne au niveau des dimensions, mais je n'ai
uniquement que des 0, les donn&eacute;es d'&eacute;l&eacute;vation disparaissent. <br>
<br>
Je pr&eacute;cise que j'ai d&eacute;j&agrave; un server WMS utilisant exclusivement des
tileindex (via gdaltindex) et que la reprojection se passe
parfaitement. Mais en WCS, rien ne marche 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&agrave;, la reprojection marche bien
et ne pose pas de probl&egrave;me. Je ne peux cependant pas r&eacute;soudre mon
probl&egrave;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&eacute;e (d'autant plus que je ne veux pas distinguer s&eacute;parement
chaque fichier dted dnas mes requ&ecirc;tes). <br>
<br>
Comment puis-je r&eacute;soudre mon probl&egrave;me ? quelqu'un a-t-il d&eacute;j&agrave; &eacute;t&eacute;
confront&eacute; &agrave; ce type de probl&egrave;me sous WCS ? <br>
<br>
cordialement,<br>
<br>
<!-- / message --><!-- controls -->J&eacute;r&ocirc;me <a
 href="http://www.forumsig.org/editpost.php?do=editpost&amp;p=93083"
 name="vB::QuickEdit::93083"><img title="Modifier/Supprimer le message"
 src="cid:part1.07090400.03040303@free.fr"
 alt="Modifier/Supprimer le message" border="0"></a><br>
</body>
</html>