Re: [gdal-dev] nmake.local on windows builds

2011-02-11 Thread Frank Warmerdam
On 11-02-11 06:56 PM, Tamas Szekeres wrote: Frank, While I'm not sure about what changes you intend to do here, I would emphatically disagree removing the current approach with the ability of setting the full path to the external configuration file from the nmake command line. My build system is

Re: [gdal-dev] nmake.local on windows builds

2011-02-11 Thread Tamas Szekeres
Frank, While I'm not sure about what changes you intend to do here, I would emphatically disagree removing the current approach with the ability of setting the full path to the external configuration file from the nmake command line. My build system is higly depend on this setting and if we don't

[gdal-dev] Re: gdal-dev Digest, Vol 81, Issue 27

2011-02-11 Thread Mike Leahy
Hi Joris, You're ahead of me already, as I don't have any real experience with C/C++. However, I would be interested to see specifically how you're getting the SpatialReference objects to work...since I'm at least able to compile and load that particular module. Do you have a bit of sample cod

[gdal-dev] Re: gdapwarp problem

2011-02-11 Thread Adam Dershowitz, Ph.D., P.E.
On Feb 11, 2011, at 10:20 AM, Adam Dershowitz, Ph.D., P.E. wrote: > I am having a problem trying to use gdalwarp. Perhaps I am just missing > something, but I figured I would see if someone can help. > > I downloaded some aerial imagery from here: > http://www.michigan.gov/dnr/0,1607,7-153-

[gdal-dev] nmake.local on windows builds

2011-02-11 Thread Frank Warmerdam
Folks, Some time ago Tamas added a mechanism to nmake.opt (the central include file for windows MSVC nmake based makefiles) so that you could provide an extra definition file on the commandline. eg. nmake -f makefile.vc EXT_NMAKE_OPT=mynmake.opt While this is useful, expecially in cases where

[gdal-dev] MSVC warnings changes

2011-02-11 Thread Frank Warmerdam
Folks, I have spent several hours today cleaning up warnings when building with Microsoft Visual C++. The first step was to move warning suppression out of gdal/port/cpl_port.h and instead passing warning suppression via the compiler commandline line. This is accomplished by setting of the WARNF

Re: [gdal-dev] gdapwarp problem

2011-02-11 Thread Adam Dershowitz, Ph.D., P.E.
On Feb 11, 2011, at 10:59 AM, Jean-Claude Repetto wrote: > On 02/11/11 19:20, Adam Dershowitz, Ph.D., P.E. wrote: >> +proj=omerc +lat_0=0 +lonc=0 +alpha=0 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 >> +datum=NAD83 +units=m +no_defs > > Hello, > > PROJ.4 is more verbose about the problem: > > $ proj +pro

Re: [gdal-dev] gdapwarp problem

2011-02-11 Thread Jean-Claude Repetto
On 02/11/11 19:20, Adam Dershowitz, Ph.D., P.E. wrote: +proj=omerc +lat_0=0 +lonc=0 +alpha=0 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs Hello, PROJ.4 is more verbose about the problem: $ proj +proj=omerc +lat_0=0 +lonc=0 +alpha=0 +k=1 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD

[gdal-dev] gdapwarp problem

2011-02-11 Thread Adam Dershowitz, Ph.D., P.E.
I am having a problem trying to use gdalwarp. Perhaps I am just missing something, but I figured I would see if someone can help. I downloaded some aerial imagery from here: http://www.michigan.gov/dnr/0,1607,7-153-10371_14546-30211--,00.html I want to import it into a UTM zone 17 project. S

Re: [gdal-dev] Image compositing in VRT files

2011-02-11 Thread Jorge Arévalo
2011/2/11 Alain Cembro : > Hello Jorge, > > > --- On Fri, 2/11/11, Jorge Arévalo wrote: > >> You probably can use gdal_vrtmerge.py script in this way: >> >> gdal_vrtmerge.py -o out.vrt >> >> You can modify the out.vrt file to include only the bands >> you're interested in. > > Sorry, it doesn't w

Re: [gdal-dev] Image compositing in VRT files

2011-02-11 Thread Alain Cembro
Hello Jorge, --- On Fri, 2/11/11, Jorge Arévalo wrote: > You probably can use gdal_vrtmerge.py script in this way: > > gdal_vrtmerge.py -o out.vrt > > You can modify the out.vrt file to include only the bands > you're interested in. Sorry, it doesn't work : If I put the roads.tif first, th

[gdal-dev] Reviving the PHP Bindings

2011-02-11 Thread Joris van de Sande
Hello, This is a reply to the PHP Bindings thread that has been started by Mike Leahy.I have just registered with the list, so I was not able to reply to the thread. I am also interested in getting the PHP bindings for GDAL up to date. Right now we're using the gdal command line utilities a lot f

Re: [gdal-dev] Image compositing in VRT files

2011-02-11 Thread Jorge Arévalo
On Fri, Feb 11, 2011 at 12:23 PM, Alain Cembro wrote: > Hello, > I have two sets of tiles. > The first one contain RGB tiles, let us call it" orthophotos". > The first one contain RGBA tiles, let us call it "roads" (with transparent > background) > Is it possible to write a VRT file, so that the

[gdal-dev] Image compositing in VRT files

2011-02-11 Thread Alain Cembro
Hello, I have two sets of tiles. The first one contain RGB tiles, let us call it" orthophotos". The first one contain RGBA tiles, let us call it "roads" (with transparent background) Is it possible to write a VRT file, so that the resulting image would have only 3 channels RGB, and show the roads