Hi,
Il 25/06/2011 12:48, Antonio Valentino ha scritto:
> Hi Rodolfo,
> can you please confirm that the data type of PALSAR Level 1.5 products
> should be GDT_UInt16 and not GDT_Int16 as in current implementation?
>
> If so I will file a ticket with a patch for fixing the issue.
>
>
> thanks
>
... here it is the patch in case you want to give it a try
ciao
>
>
> Il 17/06/2011 21:28, Rodolfo Bonnin ha scritto:
>> Hello all,
>>
>> I'm just working with some JAXAPalsar images, and I've discovered that
>> there is no retrieval of the coordinate system metadata retrieval in
>> the current driver, the driver documentation says georeferencing is
>> only supported in level 1.5.
>> Has anyone tried to implement the feature for this lower level? I have
>> gathered some good information about how this could be done, but in
>> order to exempt myself to repeat effort, I prefer to consult the list
>> beforehand.
>>
>> Many thanks in advance.
>>
>>
>
>
--
Antonio Valentino
Index: gdal/frmts/jaxapalsar/jaxapalsardataset.cpp
===================================================================
--- gdal/frmts/jaxapalsar/jaxapalsardataset.cpp (revisione 22579)
+++ gdal/frmts/jaxapalsar/jaxapalsardataset.cpp (copia locale)
@@ -232,7 +232,7 @@
nFileType = level_11;
}
else {
- eDataType = GDT_Int16;
+ eDataType = GDT_UInt16;
nFileType = level_15;
}
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev