[gdal-dev] how to add the gcp to a tif and make it to a geotiff?

2009-04-07 Thread chao ding
how to add the gcp to a tif and make it to a geotiff? use gdal_translate -gcp we could do this. (in gdal_translate.cpp) else if( EQUAL(argv[i],"-gcp") && i < argc - 4 ) { /* -gcp pixel line easting northing [elev] */ nGCPCount++; pasGCPs = (GDAL_GCP *) CPLRealloc( pasGCPs, sizeof(G

Re: [gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread Reinaldo Escada Chohfi
Hi again, We passed through the "error LINK2001: unresolved external symbol" errors. We are stuck with the following error message now: gr_capi_test.c ..\gdalwin32-1.4.1\include\cpl_port.h(106) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 1786)

[gdal-dev] Summer of Code Mentors

2009-04-07 Thread Frank Warmerdam
Folks, We are supposed to provide Wolf with a list of prioritized projects for the Google Summer of Code ranking today. However, I realize I don't even know who is signed up as a mentor on behalf of GDAL this year other than myself and Tim Keitt. I would appreciate it if any signed up mentors c

Re: [gdal-dev] (1) NITF imagery in polar regions; (2) Memory question

2009-04-07 Thread Frank Warmerdam
Karney, Charles wrote: (1) The documentation for NITF data says that it typically uses a polar projection north of 80N where x = (90-lat) * sin(lon) y = (90-lat) * -cos(lon) (not sure I have the phase of lon right...). I have an ONC image 00028053.on9 where the projection is in this fo

[gdal-dev] (1) NITF imagery in polar regions; (2) Memory question

2009-04-07 Thread Karney, Charles
(1) The documentation for NITF data says that it typically uses a polar projection north of 80N where x = (90-lat) * sin(lon) y = (90-lat) * -cos(lon) (not sure I have the phase of lon right...). I have an ONC image 00028053.on9 where the projection is in this form (lat = 80N is circular

Re: [Gdal-dev] How to enable MSG DRIVER

2009-04-07 Thread Chaitanya kumar CH
Just compiling the files in frmts/msg is not going to be enough. You should compile the code from the main directory (that contains the folders alg,apps,frmts,gcore,ogr,port, etc.). The configure script is in the same directory. If you want, you can disable other drivers using the configure script.

Re: [gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread Mateusz Loskot
Reinaldo Escada Chohfi wrote: Hi Jurgen, Lots of them. What about reading GDAL documentation first? http://trac.osgeo.org/gdal/wiki/BuildingOnWindows "Projects linking against GDAL should include the directory specified in INCDIR in the include path, and the directory specified in LIBDIR in

RE: [gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread John Donovan
Hi Reinaldo, Then you're not linking against some library or other. -John From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Reinaldo Escada Chohfi Sent: 07 April 2009 13:15 To: Jürgen E. Fischer; gdal-dev@lists.osgeo

Re: [gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread Reinaldo Escada Chohfi
Hi Jurgen, Lots of them. Reinaldo At 08:30 AM 4/7/2009, Jürgen E. Fischer wrote: Hi Reinaldo, On Tue, 07. Apr 2009 at 08:12:10 -0300, Reinaldo Escada Chohfi wrote: > I tried compiling ogr-capi_test.c with MS Visual C/C++ 6.0, but get > several errors: > error LINK2001: unresolved external sy

Re: [gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread Jürgen E . Fischer
Hi Reinaldo, On Tue, 07. Apr 2009 at 08:12:10 -0300, Reinaldo Escada Chohfi wrote: > I tried compiling ogr-capi_test.c with MS Visual C/C++ 6.0, but get > several errors: > error LINK2001: unresolved external symbol Which symbols? Jürgen -- Jürgen E. Fischer norBIT GmbH

[gdal-dev] Developing support in MSVC6 & Other

2009-04-07 Thread Reinaldo Escada Chohfi
Folks, I installed the ready Windows binaries (FWTools) including the developer support files. I also downloaded the source files but did not compile it. I tried compiling ogr-capi_test.c with MS Visual C/C++ 6.0, but get several errors: error LINK2001: unresolved external symbol What do

Re: [Gdal-dev] How to enable MSG DRIVER

2009-04-07 Thread APOSTOLOS
Dear list in order to clear the mess i sum the following things i have made:1) created a folder frmts/msg and extracted there my Wavelet 2.04 2) I followed the instructions for the patch for wavelet and changed the libraries 3) I have also downloaded a patch and saved it in frmts/msg/Publi