[gdal-dev] help with gdalwarp

2009-01-04 Thread Alex Bernstein
Hi all, Sorry for a newbie question. I've been reading this list and searching elsewhere for a few days now to try to figure this out, but I'm still missing something. I need to reproject a map from Plate Caree projection to Lambert Azimuthal Equal Area projection centered on 0N,15E with

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Joaquim Luis
Alex Bernstein wrote: Hi all, Sorry for a newbie question. I've been reading this list and searching elsewhere for a few days now to try to figure this out, but I'm still missing something. I need to reproject a map from Plate Caree projection to Lambert Azimuthal Equal Area projection centered

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Alex Bernstein
On Sun, Jan 4, 2009 at 11:00 PM, Joaquim Luis jl...@ualg.pt wrote: Alex, The world file name must follow the conventions. If your file is called NE2_land_only.jpg than the world file name must be either NE2_land_only.jgw or NE2_land_only.wld Joaquim, renaming the world file to

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Joaquim Luis
Alex Bernstein wrote: On Sun, Jan 4, 2009 at 11:00 PM, Joaquim Luis jl...@ualg.pt wrote: Joaquim, renaming the world file to NE2_land_only.jgw was one of first things I've done, sorry I forgot to mention that. So it's not reason for the problems I'm having with reprojection. The coordinates

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Alex Bernstein
Joaquim, Thanks for trying to help. I'm actually just interested in the map of Africa from this global map. May be I'll try to figure out gdal commands to crop and transform just the relevant region. --Alex On Mon, Jan 5, 2009 at 1:05 AM, Joaquim Luis jl...@ualg.pt wrote: Alex Bernstein wrote:

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Joaquim Luis
Alex Bernstein wrote: Joaquim, Thanks for trying to help. I'm actually just interested in the map of Africa from this global map. May be I'll try to figure out gdal commands to crop and transform just the relevant region. That will work fine. I just tried with Mirone and checked against GMT

Re: [gdal-dev] help with gdalwarp

2009-01-04 Thread Alex Bernstein
Seems to have worked! I used: gdal_translate -a_srs +proj=longlat +datum=wgs84 -projwin -30 45 60 -45 -co TFW=YES -co INTERLEAVE=PIXEL -of Gtiff source_images\NE2_land_only.jpg test.tif gdalwarp -t_srs +proj=laea +lat_0=0 +lon_0=15 +x_0=0 +y_0=0 -r lanczos -co INTERLEAVE=PIXEL -co TFW=YES -of