I'm following the outline here, to load a DEM:
http://sourceforge.net/apps/mediawiki/qlandkartegt/index.php?title=Use_SRTM_data_as_Digital_Elevation_Model_(DEM)

I'm using the OpenCycleMap, the 1st time thru I got an error when I
loaded the DEM, so I modified the gdalwarp cmd to use the correct
parameters:

gdalwarp -t_srs "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs" -r cubic $file
$file.tif; 

Then after stitching the files together and optimizing as shown here,
http://sourceforge.net/apps/mediawiki/qlandkartegt/index.php?title=Use_SRTM_data_as_Digital_Elevation_Model_(DEM)

I still get an error when trying to load the DEM:
"DEM projection does not match the projection of the basemap.

Map: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs

DEM: +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
+units=m +no_defs"

Sure enuf this matches the output from gdalrsinfo
localhost:gdalsrsinfo j12.tif

PROJ.4 : '+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378137 +b=6378137
+units=m +no_defs '

Some of the parameters (lat_ts=0, +nadgrids=@null) are not being applied

I'm new at this and don't know what I'm doing :)
Can someone tell me what's wrong?
Is possible that I could just ignore the error message?



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to