On May 2, 2009, at 8:53 AM, Torsten Mohr wrote:
                >
                > But cstr_4.tif is "distorted", Africa is at 20% from the top, 
40% 
                > from the top
                > begins Antarctica and goes down to the bottom (100%).
                
                There are a bunch of projections that don't work near the 
poles.  I'm 
                not an expert, and my book on projections is home, but it's 
quite 
                possible that your chosen projection cannot properly represent 
the 
                poles.
                
                --
                Russ Nelson - http://community.cloudmade.com/blog - 
http://wiki.openstreetmap.org/wiki/User:RussNelson
                r...@cloudmade.com - Twitter: Russ_OSM - 
http://openstreetmap.org/user/RussNelson
                


=================

Yes, I think that's the problem too. Try to use use gdal_translate to crop the 
area of interest, then do what you were doing:

gdal_translate -projwin 4 58 17 45 str_4.tif germany.tif

(I understand str_4.tif is the one that includes Germany)

And then:

gdalwarp -s_srs EPSG:4326 -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 +nadgri...@null +no_defs +over" 
germany.tif germany_sm.tif


regards

Juan Lucas

 

 

 

 

 




_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to