[gdal-dev] gdal.m4?

2009-01-04 Thread Kurt Schwehr
Hi All, Does anybody have a gdal.m4 or equivalent for autoconf that uses gdal-config that they would be share? I'd like to get something better for the visionworkbench folks so that it can handle the various directories not all being together (e.g. fink has the includes in /sw/include/gdal1

Re: [gdal-dev] gdal.m4?

2009-01-04 Thread Howard Butler
Kurt, You might find http://liblas.org/browser/trunk/configure.ac#L95 helpful. Not super sophisticated, but it could be expanded. There's not too much we can do about packagers stuffing things in different directories if they don't update the gdal-config script though. Howard On Jan

Re: [gdal-dev] gdal.m4?

2009-01-04 Thread Kurt Schwehr
That looks pretty good. Thanks! I'm setting gdal-conf to the right places so that should work. -kurt Howard Butler wrote: Kurt, You might find http://liblas.org/browser/trunk/configure.ac#L95 helpful. Not super sophisticated, but it could be expanded. There's not too much we can do about

[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 gdalwarp.

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 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 NE2_land_only.jgw was

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 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 in world file

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 wrote: > Alex Bernstein wrote: >> >> On Sun

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 co

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=YE