[gdal-dev] /vsisubfile/ and using MrSID SDK for JPEG2000 in NITF

2009-01-13 Thread Frank Warmerdam
Folks, I have implemented a new VSI driver allowing subregions of any file to be treated as a file object. The syntax is: /vsisubfile/_, So, for instance, to read a jpeg2000 datastream in a file named /data/abc.ntf with the data stream starting at byte 1000 and being 5000 bytes long you would

Re: [gdal-dev] S57 field definition incorrect

2009-01-13 Thread Frank Warmerdam
ogr user wrote: I am using OGR to load S57 format files and it appears that at least for some fields the field type is incorrectly returned by OGR. Fields of type "integer list" (denoted L in s57attributes.csv, enumeration list) are identified as string type by OGRField::GetType(). The problem w

[gdal-dev] S57 field definition incorrect

2009-01-13 Thread ogr user
I am using OGR to load S57 format files and it appears that at least for some fields the field type is incorrectly returned by OGR. Fields of type "integer list" (denoted L in s57attributes.csv, enumeration list) are identified as string type by OGRField::GetType(). The problem with that is that O

Re: [gdal-dev] Write 8-bit image...

2009-01-13 Thread Christopher Barker
Tripp Lowe wrote: I see in the docs that /"GDAL raster data types are Byte UInt16 Int16 UInt32 Int32 Float32 Float64 CInt16 CInt32 CFloat32 CFloat64"/. How do I specify an 8-bit data type? That would be "Byte" on any machine

FW: [gdal-dev] how to convert netCDF image

2009-01-13 Thread Gong, Shawn (Contractor)
hi list, I use gdal 1.6.0 to ingest netCDF images that are in lat/lon. But they are flipped upside down, and longitude is displayed as around +300E (should be -60E Cdn East shoreline) I have followed the ticket #2654 and checked the last night's SVN but it was not updated. So I made changes t

[gdal-dev] Write 8-bit image...

2009-01-13 Thread Tripp Lowe
Hey Folks, I'm trying to write a perl script to write an 8-bit image. I've been able to modify the "Creating a raster dataset" example using Geo::GDAL ( http://map.hut.fi/doc/Geo-GDAL/html/create_raster.html ) to output float32 and U16 images, but I can't figure out how to output an 8-bit image.

Re: [gdal-dev] how to acces to PDS meta data

2009-01-13 Thread Frank Warmerdam
Ludovic Mercier wrote: Hi all, I try to use gdal and otb (http://smsc.cnes.fr/PLEIADES/lien3_vm.htm) with pds file. I try to get value associated to a key (meta-data). for an exemple the file : Index of /gdal/data/mc02.img contain : SPACECRAFT_NAME= "MARS GLOBAL SURVEYOR" INSTRUM

Re: [gdal-dev] oci libraries to connect ogr and oracle spatial

2009-01-13 Thread Frank Warmerdam
Otto Dassau wrote: Hi, I want to build gdal with oracle oci support and would like to know, if there is a list of oracle library packages I need for that. I found this page in the internet for oracle 11.1.0.7.0: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.

[gdal-dev] oci libraries to connect ogr and oracle spatial

2009-01-13 Thread Otto Dassau
Hi, I want to build gdal with oracle oci support and would like to know, if there is a list of oracle library packages I need for that. I found this page in the internet for oracle 11.1.0.7.0: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html with following

[gdal-dev] Generate GeoTiff raster file from scattered data with concrete colours

2009-01-13 Thread Félix Pedrera García
Hello, I would be very thankful to have some guidelines on how to generate a GeoTiff raster file from data in a CSV file. The data has this format: 505750,4249750,0 506000,4249750,0 508000,4249750,0 508250,4249750,1 508500,4249750,1 51,4249750,2 510250,4249750,0 510500,4249750,0 511000,424

[gdal-dev] how to acces to PDS meta data

2009-01-13 Thread Ludovic Mercier
Hi all, I try to use gdal and otb (http://smsc.cnes.fr/PLEIADES/lien3_vm.htm) with pds file. I try to get value associated to a key (meta-data). for an exemple the file : Index of /gdal/data/mc02.img contain : SPACECRAFT_NAME= "MARS GLOBAL SURVEYOR" INSTRUMENT_NAME=