Re: [Gdal-dev] gdal_merge: merge/mosaic NITF files

2009-01-08 Thread Frank Warmerdam
Charles Chung wrote: Hi all, I am new using GDAL and raster format. Here is my situation. With GDAL 1.6.0dev, I want to merge or mosaic many NITF files into one NITF or GeoTIFF file. Each NITF file is about 284 KB and its characterists are: Driver: NITF/National Imagery Transmission Format Fil

Re: [gdal-dev] GDAL ReadRaster thread-safe?

2009-01-08 Thread Eric Domazlicky
After fixing a bug on my part I was able to figure it out. The only strange this was that the BandMap array had to declared in reverse order from what one would expect. This may be a GDI+ issue but here is my code snippet for the record: Dim bd As BitmapData = TileBmp.LockBits(New Rect

[Gdal-dev] gdal_merge: merge/mosaic NITF files

2009-01-08 Thread Charles Chung
Hi all, I am new using GDAL and raster format. Here is my situation. With GDAL 1.6.0dev, I want to merge or mosaic many NITF files into one NITF or GeoTIFF file. Each NITF file is about 284 KB and its characterists are: Driver: NITF/National Imagery Transmission Format Files: ???.??? Size i

Re: [gdal-dev] GDAL ReadRaster thread-safe?

2009-01-08 Thread Tamas Szekeres
Eric, You could refer to the RasterIO documentation regarding to these parameters: http://www.gdal.org/classGDALDataset.html#e077c53268d2272eebed10b891a05743 If you provide your source data then I could try reading it into a GDI+ bitmap object. Best regards, Tamas 2009/1/8 Eric Domazlicky

Re: [gdal-dev] Unknown file type

2009-01-08 Thread Greg Ederer
This looks like it will be useful. Thanks! Greg Frank Warmerdam wrote: Greg Ederer wrote: Hi, I am a GDAL newbie. I just got handed a group of files with the following description: description of the data 1) content: rain == 10 day precipitation analysis by merging

Re: [gdal-dev] Unknown file type

2009-01-08 Thread Frank Warmerdam
Greg Ederer wrote: Hi, I am a GDAL newbie. I just got handed a group of files with the following description: description of the data 1) content: rain == 10 day precipitation analysis by merging GTS gauge observations and 3 kinds of satellite estimat

[gdal-dev] Unknown file type

2009-01-08 Thread Greg Ederer
Hi, I am a GDAL newbie. I just got handed a group of files with the following description: description of the data 1) content: rain == 10 day precipitation analysis by merging GTS gauge observations and 3 kinds of satellite estimates

Re: [gdal-dev] Measure Value and SDE Read/Write

2009-01-08 Thread Howard Butler
On Jan 8, 2009, at 10:26 AM, Craig Hunter wrote: Hi, We have implemented m-value functionality for the shapefile and sde drivers. This implementation parallels the z-value implementation that already existed in ogr. In addition, we have a working read/ write functionality for (non-versio

Re: [gdal-dev] ogr2ogr shape file extent reprojection

2009-01-08 Thread Frank Warmerdam
santoshamb wrote: At first I used ogr2ogr to convert my data, but eventually I started using the .Net ProjNET library. That is when I noticed something interesting. When converting LineStrings, ogr2ogr and ProjNet yield basically the same results up to 9 or so decimal places which is just fine f

[gdal-dev] GDAL ReadRaster thread-safe?

2009-01-08 Thread Eric Domazlicky
This looks like a great way to go but can anyone explain exactly what the bandmap and bandspace parameters are? I know BandMap is an array but what is it supposed to represent? I want the image data to be read and put into my destination buffer in ARGB format, the source data is in RGBA format. I t

Re: [gdal-dev] GDAL ReadRaster thread-safe?

2009-01-08 Thread Frank Warmerdam
Eric Domazlicky wrote: I am developing a tiling application and I was hoping to up the speed a bit by doing some multithreading. What I want to do is start each of 3 ReadRaster calls in seperate threads (using BeginInvoke delegates), then wait for them to complete and build my RGB image (using

Re: [Gdal-dev] Using mgrs.h in NITF

2009-01-08 Thread Frank Warmerdam
carlj88 wrote: I want to convert geodetic coordinates to MGRS using the code from frmts/nitf/mgrs.c in my QT-application. How do I access these functions from my c++ code? Tried to use 'include "mgrs.h"' but then I don't know how to reference to the function. I would be most greatful since the w

[gdal-dev] Measure Value and SDE Read/Write

2009-01-08 Thread Craig Hunter
Hi, We have implemented m-value functionality for the shapefile and sde drivers. This implementation parallels the z-value implementation that already existed in ogr. In addition, we have a working read/write functionality for (non-versioned) SDE implemented. These enhancements are built on the 1

RE: [gdal-dev] used the GDAL/GEOS libraries (.dll and .lib) in my visual studio .net C++ project

2009-01-08 Thread Kolberg Sjur A
Cui, While you need to tell Visual Studio where to find the GDAL .h files (for compilation) and the .lib files (for linking), it is Windows you need to tell where to find the .dll files for running your executable. Since it is Windows that needs to find the dll's, setting their address in VS

Re: [gdal-dev] used the GDAL/GEOS libraries (.dll and .lib) in my visual studio .net C++ project

2009-01-08 Thread Tom Kazimiers
Hi Chen, > I just set the directory of where the gdal libraries are saved under > the project property setting page - Additional Library Directories' > and include directories. This correct, but the directories are stored there per configuration. So make sure you put in the directory for release A

[gdal-dev] used the GDAL/GEOS libraries (.dll and .lib) in my visual studio .net C++ project

2009-01-08 Thread chen cui
Hello, I have successfully used the GDAL/GEOS libraries (.dll and .lib) in my VC++ project. I just set the directory of where the gdal libraries are saved under the project property setting page - Additional Library Directories' and include directories. But when i run the debugging mode of my p

[Gdal-dev] Using mgrs.h in NITF

2009-01-08 Thread carlj88
I want to convert geodetic coordinates to MGRS using the code from frmts/nitf/mgrs.c in my QT-application. How do I access these functions from my c++ code? Tried to use 'include "mgrs.h"' but then I don't know how to reference to the function. I would be most greatful since the web has about not