Re: [OSM-talk] gdalwarp question

2009-05-07 Thread Andy Allan
On Wed, May 6, 2009 at 6:44 PM, Torsten Mohr tm...@s.netic.de wrote: Hello Jukka, no, thanks for your help, any hint and discussion is really appreciated. Sorry, I misunderstood a bit what you were going to do.  It may well be that for Mapnik you'll need to reproject raster image first. I do

Re: [OSM-talk] gdalwarp question

2009-05-06 Thread Torsten Mohr
Hello Jukka, no, thanks for your help, any hint and discussion is really appreciated. Sorry, I misunderstood a bit what you were going to do. It may well be that for Mapnik you'll need to reproject raster image first. I do not much about Mapnik and while a have been using gdal utilities very

Re: [OSM-talk] gdalwarp question

2009-05-03 Thread Jukka Rahkonen
Torsten Mohr tmohr at s.netic.de writes: Hello, thanks for that hint. Right, the chosen projection won't work around the poles, i don't expect that. In the call to gdalwarp i gave the source projection (EPSG:4326 or WGS84) and as target projection i gave the projection used in

Re: [OSM-talk] gdalwarp question

2009-05-03 Thread Torsten Mohr
Hello Jukka, thanks for your hint, but to my understanding this contradicts the description of RasterImage in Mapnik and the web page that converts blue marble using gdalwarp. In the documentation for RasterImage it says that Mapnik can't (yet) reproject reaster image data, they have to match

Re: [OSM-talk] gdalwarp question

2009-05-03 Thread Juan Lucas Dominguez Rubio
Please do not mislead people. gdalwarp works fine: http://tinyurl.com/germany-blue-marble Regards Juan Lucas Hello Jukka, thanks for your hint, but to my understanding

Re: [OSM-talk] gdalwarp question

2009-05-03 Thread Jukka Rahkonen
Torsten Mohr tmohr at s.netic.de writes: Hello Jukka, thanks for your hint, but to my understanding this contradicts the description of RasterImage in Mapnik and the web page that converts blue marble using gdalwarp. In the documentation for RasterImage it says that Mapnik can't (yet)

Re: [OSM-talk] gdalwarp question

2009-05-03 Thread Torsten Mohr
Awesome! Congratulations, i envy you. I did not want to mislead people, maybe a misunderstanding? I wrote in my mail that my understanding did not lead to a correct image, i meant that somewhere there must be a failure in my misunderstanding. I did not want to say that gdalwarp does not work,

Re: [OSM-talk] gdalwarp question

2009-05-02 Thread Torsten Mohr
Hello, i got much further converting an image with gdalwarp, mainly with these two links: http://egb13.net/2009/04/bending-the-earth-gdalwarp-and-the-blue-marble/ http://en.wikipedia.org/wiki/World_file Basically i got the blue marble (high quality TIF image of the earth, consists of two files,

Re: [OSM-talk] gdalwarp question

2009-05-02 Thread Russ Nelson
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

Re: [OSM-talk] gdalwarp question

2009-05-02 Thread Juan Lucas Dominguez Rubio
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%).

Re: [OSM-talk] gdalwarp question

2009-05-02 Thread Torsten Mohr
Hello, thanks for that hint. Right, the chosen projection won't work around the poles, i don't expect that. In the call to gdalwarp i gave the source projection (EPSG:4326 or WGS84) and as target projection i gave the projection used in osm.xml. But the result is not what i expected and i also

Re: [OSM-talk] gdalwarp question

2009-05-01 Thread Juan Lucas Dominguez Rubio
Hello, i have an image that can be wrapped around a sphere, its x / y coordinates directly map to latitude / longitude. What do you mean by that? Do you mean that when you open it with some GIS app, the status bar tells the correct (lat, lon) of the place where the mouse is? Some GIS apps