Corrado,<br><br>I see that the two projections are essentially the same. You may not need gdalwarp after all. Try the gdal_translate utility with the -a_srs option to specify the Coordinate System of the output file.<br><br>
Tell us how it goes.<br><br><div class="gmail_quote">On Sat, Jun 4, 2011 at 3:30 PM, Corrado Guarino Lo Bianco <span dir="ltr"><<a href="mailto:guarino@ce.unipr.it">guarino@ce.unipr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
I'm a QLandkarteGT user (QLandkarteGT is based on GDAL) and I'm having a problem related to map formats. I use ecw maps in conjunction with DEM data stored in geotiff files. In the past I was using GDAL 1.7.2 and I had no problems. Recently I switched to GDAL 1.8.0 and now QLandkarteGT says that there is no matching between the projection used for the maps and that used for DEM data, nevertheless I'm still adopting the same files. By means of gdalwarp, I have made several unsuccessful attempts to convert DEM data into a format suitable to be used in conjunction with ecw maps.<br>
Can someone help me?<br>
These are the outputs I get from the ecw and the tiff files when I run gdalinfo:<br>
<br>
Driver: ECW/ERDAS Compressed Wavelets (SDK 3.x)<br>
Files: /media/IGM 25000/IGM 25.000 - Emilia Romagna.ecw<br>
Size is 96000, 64000<br>
Coordinate System is:<br>
PROJCS["NUTM32",<br>
GEOGCS["WGS 84",<br>
DATUM["WGS_1984",<br>
SPHEROID["WGS 84",6378137,298.257223563,<br>
AUTHORITY["EPSG","7030"]],<br>
TOWGS84[0,0,0,0,0,0,0],<br>
AUTHORITY["EPSG","6326"]],<br>
PRIMEM["Greenwich",0,<br>
AUTHORITY["EPSG","8901"]],<br>
UNIT["degree",0.0174532925199433,<br>
AUTHORITY["EPSG","9108"]],<br>
AXIS["Lat",NORTH],<br>
AXIS["Long",EAST],<br>
AUTHORITY["EPSG","4326"]],<br>
PROJECTION["Transverse_Mercator"],<br>
PARAMETER["latitude_of_origin",0],<br>
PARAMETER["central_meridian",9],<br>
PARAMETER["scale_factor",0.9996],<br>
PARAMETER["false_easting",500000],<br>
PARAMETER["false_northing",0],<br>
UNIT["Meter",1]]<br>
Origin = (510000.000000000000000,5000000.000000000000000)<br>
Pixel Size = (2.500000000000000,-2.500000000000000)<br>
Corner Coordinates:<br>
Upper Left ( 510000.000, 5000000.000) ( 9d 7'37.99"E, 45d 9'12.26"N)<br>
Lower Left ( 510000.000, 4840000.000) ( 9d 7'26.87"E, 43d42'46.65"N)<br>
Upper Right ( 750000.000, 5000000.000) ( 12d10'40.88"E, 45d 6'33.26"N)<br>
Lower Right ( 750000.000, 4840000.000) ( 12d 6' 3.79"E, 43d40'15.39"N)<br>
Center ( 630000.000, 4920000.000) ( 10d37'59.07"E, 44d25'17.84"N)<br>
Band 1 Block=96000x1 Type=Byte, ColorInterp=Red<br>
Overviews: 48000x32000, 24000x16000, 12000x8000, 6000x4000, 3000x2000, 1500x1000, 750x500, 375x250<br>
Band 2 Block=96000x1 Type=Byte, ColorInterp=Green<br>
Overviews: 48000x32000, 24000x16000, 12000x8000, 6000x4000, 3000x2000, 1500x1000, 750x500, 375x250<br>
Band 3 Block=96000x1 Type=Byte, ColorInterp=Blue<br>
Overviews: 48000x32000, 24000x16000, 12000x8000, 6000x4000, 3000x2000, 1500x1000, 750x500, 375x250<br>
<br>
<br>
<br>
Driver: GTiff/GeoTIFF<br>
Files: /media/Dati/Documenti/gps tuner/Altimetrie Italia/Emilia Romagna/Emilia_Romagna.tif<br>
Size is 4074, 4262<br>
Coordinate System is:<br>
PROJCS["WGS 84 / UTM zone 32N",<br>
GEOGCS["WGS 84",<br>
DATUM["WGS_1984",<br>
SPHEROID["WGS 84",6378137,298.257223563,<br>
AUTHORITY["EPSG","7030"]],<br>
AUTHORITY["EPSG","6326"]],<br>
PRIMEM["Greenwich",0],<br>
UNIT["degree",0.0174532925199433],<br>
AUTHORITY["EPSG","4326"]],<br>
PROJECTION["Transverse_Mercator"],<br>
PARAMETER["latitude_of_origin",0],<br>
PARAMETER["central_meridian",9],<br>
PARAMETER["scale_factor",0.9996],<br>
PARAMETER["false_easting",500000],<br>
PARAMETER["false_northing",0],<br>
UNIT["metre",1,<br>
AUTHORITY["EPSG","9001"]],<br>
AUTHORITY["EPSG","32632"]]<br>
Origin = (499966.037957447464578,5101878.644408876076341)<br>
Pixel Size = (80.031641738007920,-80.031641738007920)<br>
Metadata:<br>
AREA_OR_POINT=Area<br>
Image Structure Metadata:<br>
COMPRESSION=DEFLATE<br>
INTERLEAVE=BAND<br>
Corner Coordinates:<br>
Upper Left ( 499966.038, 5101878.644) ( 8d59'58.42"E, 46d 4'13.74"N)<br>
Lower Left ( 499966.038, 4760783.787) ( 8d59'58.50"E, 42d59'58.99"N)<br>
Upper Right ( 826014.946, 5101878.644) ( 13d12'35.68"E, 45d59'34.36"N)<br>
Lower Right ( 826014.946, 4760783.787) ( 12d59'42.00"E, 42d55'47.82"N)<br>
Center ( 662990.492, 4931331.216) ( 11d 3' 3.01"E, 44d31' 0.81"N)<br>
Band 1 Block=256x256 Type=Int16, ColorInterp=Gray<br>
<br>
<br>
Thank you for your help,<br>
Corrado<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>