Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-07 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Lucena, Ivan wrote: Hi Steve, I have a script that was processing MrSID files and need to convert it to support jp2 files also. It seems pretty straight forward except the jp2 files have bands R,G,B,IR and I need to chop these into GeoTif tiles with only R,G,B b

Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-07 Thread Stephen Woodbridge
Lucena, Ivan wrote: Hi Steve, I have a script that was processing MrSID files and need to convert it to support jp2 files also. It seems pretty straight forward except the jp2 files have bands R,G,B,IR and I need to chop these into GeoTif tiles with only R,G,B bands. The script was itera

RE: [gdal-dev] KML problem

2008-11-07 Thread Christopher Condit
Hi Bruce- >I am using OGR to create both a shapefile and a KML file.  The data in the >shapefile looks good and the >values in the KML are the same as in the >shapefile but they are shifted up by 2 places.  There are 2 >extra attributes >in the KML file (Name and Description). My "Longitude" val

Re: [gdal-dev] How do I select 3 of 5 bands for output?

2008-11-07 Thread Lucena, Ivan
Hi Steve, > I have a script that was processing MrSID files and need to convert it > to support jp2 files also. It seems pretty straight forward except the > jp2 files have bands R,G,B,IR and I need to chop these into GeoTif tiles > with only R,G,B bands. > > The script was iterating over t

[gdal-dev] How do I select 3 of 5 bands for output?

2008-11-07 Thread Stephen Woodbridge
Hi again, I have a script that was processing MrSID files and need to convert it to support jp2 files also. It seems pretty straight forward except the jp2 files have bands R,G,B,IR and I need to chop these into GeoTif tiles with only R,G,B bands. The script was iterating over the src image

[gdal-dev] KML problem

2008-11-07 Thread Clay, Bruce
I am using OGR to create both a shapefile and a KML file. The data in the shapefile looks good and the values in the KML are the same as in the shapefile but they are shifted up by 2 places. There are 2 extra attributes in the KML file (Name and Description). My "Longitude" value appears in the "

Re: [gdal-dev] Question to Gdalinfo result

2008-11-07 Thread Markus Neteler
On Wed, Nov 5, 2008 at 4:18 PM, Kai Behncke <[EMAIL PROTECTED]> wrote: > Dear users, I have an aerial image and did a "gdalinfo" to it: > > > The result is (extract): > > Coordinate System is: > GEOGCS["WGS 84", >DATUM["WGS_1984", >SPHEROID["

[gdal-dev] S-57 layers export to ASCII

2008-11-07 Thread Donnet, Sebastien
Hi, I'm not sure I'm in the right spot to post this, but I couldn't find a better place, forgive me if it is not. I'm trying to export 2 layers from a S-57 ENC (Electronic Nautical Chart) into a "human readable" format, such as an ASCII or text file like: X,Y,Z coordinates. Basically, the "

Re: [gdal-dev] JPEG2000 issues

2008-11-07 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi Frank, et al, I'm working with GDAL 1.5.3, released 2008/09/09 built with libjasper so I can process some DOQQ composites and chop them into smaller tiles. Below is a typical image but I get a bunch of errors in gdalinfo. The system has like 6 GB of memory and on

[gdal-dev] JPEG2000 issues

2008-11-07 Thread Stephen Woodbridge
Hi Frank, et al, I'm working with GDAL 1.5.3, released 2008/09/09 built with libjasper so I can process some DOQQ composites and chop them into smaller tiles. Below is a typical image but I get a bunch of errors in gdalinfo. The system has like 6 GB of memory and only about 1.5GB of swap. The

Re: [gdal-dev] resampling artifacts

2008-11-07 Thread Brent Fraser
Thanks Even, I'll try the 1.6.0 beta. Even Rouault wrote: Brent, Have you tried with GDAL 1.6.0 beta ? Much work has been done in that area and those artifacts should have disappeared and people. See http://trac.osgeo.org/gdal/ticket/2627 Le Friday 07 November 2008 00:08:51 Brent Fraser, vo

[gdal-dev] Is GDAL reentrant

2008-11-07 Thread Clay, Bruce
I have a Microsoft application with multiple tabs / property pages. Each tab is controlled by a separate class. I have a separate instance of GDAL in each class. I also had an instance in a popup that I used to connect to the database. After the user logins and the popup window goes away it seem

Re: (nwl) Re: [gdal-dev] Saving data to the TEXT domain NITF

2008-11-07 Thread Kurt Landrus
What about TRE domain data, does the NITF driver support saving data to the TRE domain? I've tried the following code to save tre data, but there is not TRE segment in the new file, and the error code returned is 0. err = GDALSetMetadataItem(dataset, tre, treValue, "TRE"); IFDBG

Re: [gdal-dev] ogr2ogr: why only inserting the first file?

2008-11-07 Thread Even Rouault
Matt, I doubt very much that specifying more than 1 source file to ogr2ogr has ever worked. I've checked up to GDAL 1.4.0 source code and ogr2ogr has only taken one source dataset at a time. I also tried (with GDAL 1.6.0beta): ogr2ogr -f gml test-merge.gml 094a01_3_0.gml ogr2ogr -append -f gml