[gdal-dev] NITF with MultiDataSet

Clarke, Trevor tclarke at ball.com
Wed May 1 08:22:35 PDT 2013


Try building a vrt with the NITF datasets.

http://www.gdal.org/gdal_vrttut.html

 

----------------------

Trevor R.H. Clarke

Software Engineer, Ball Aerospace

(937)320-7087

 

From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of xavier lhomme
Sent: Wednesday, May 01, 2013 10:01 AM
To: gdal-dev
Subject: [gdal-dev] NITF with MultiDataSet

 

Hi 

I try to load a NITF with multidataset into ArcGIS Desktop . But ArcGIS
tells me that there is no spatial reference in my file. 

Then I check with gdalinfo which tells me that my file is referenced
with WGS84. 

 

Then I try to convert the file with gdal in GeoTiff format 

I'm using gdal 1.9.2 and try to convert a NITF with multidataset into a
GeoTiFF file.

I'm using ns3361c.tif downloaded from
http://www.gwg.nga.mil/ntb/baseline/software/testfile/Nitfv2_1/scen_2_1.
html
<https://urldefense.proofpoint.com/v1/url?u=http://www.gwg.nga.mil/ntb/b
aseline/software/testfile/Nitfv2_1/scen_2_1.html&k=1GMYaKjmAz8SrwAdnQ9kl
A%3D%3D%0A&r=Ho639Wn0LQPE3P8SnMqwUA%3D%3D%0A&m=fXmXsze96dRFEt%2FSg8aGVjX
F5CVqZ0uiDT2S5Dj1Fr8%3D%0A&s=5b21c39e547e7065be604564da1e4018edfa136e518
1cb66ad1087d5b6f8b0af>  as a sample.

 

I try : 

gdalwarp NITF_IM:0:ns3361nc.nsf test.tif

gdalwarp NITF_IM:1:ns3361nc.nsf test.tif

gdalwarp NITF_IM:2:ns3361nc.nsf test.tif

gdalwarp NITF_IM:3:ns3361nc.nsf test.tif

 

the online doc of gdalwarp explains : Mosaicing into an existing output
file is supported if the output file already exists.

 

but the result test.tif doesn't conains all subdataset. 

 

Thanks in advance. 

 

xlhomme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130501/68afdab7/attachment-0001.html>


More information about the gdal-dev mailing list