Hi Arthur, You need to replace Spot 7 occurences by Spot 6 in rpc and dimap (don't forget Dataset_Sources/Source_Identification, mission index and so), and change file names too (replace SPOT7 by SPOT6). This trick should help you until spot7 sensor update availability
Rémi Le lundi 11 avril 2016 09:49:59 UTC+2, arthurd a écrit : > > Hi Guillaume, > > Thank you for your answer. Yes I already tried this change, but it doesn't > seem to be the (only?) way OTB identifies the sensor: it doesn't make the > product recognized as a SPOT6. > > Arthur > > Le vendredi 8 avril 2016 14:49:53 UTC+2, Guillaume Pasero a écrit : >> >> Hi, >> >> You could try to patch the DIMAP : in the section >> /Dimap_Document/Metadata_Identification/METADATA_PROFILE, replace the >> profile by one of S6_SENSOR, S6_MOSAIC, S6_ORTHO. >> >> Regards, >> Guillaume >> >> On 03/30/2016 04:25 PM, arthurd wrote: >> >> Hi Manuel and everyone, >> >> About the proposed solution to duplicate the SPOT6 classes, I had a look >> at the code, also on the OSSIM website, and I don't feel so confident on my >> capability to do that. >> >> I was just wondering: is there a way to make the SPOT7 data look like >> SPOT6 to OTB? How does OTB identify the sensor? Is it based on the DIM file >> or even on the filename? Even though it would not be a very clean way to >> go, I would be curious to try. >> >> Thanks >> >> Le mardi 19 janvier 2016 09:14:58 UTC+1, Grizonnet Manuel a écrit : >>> >>> >>> >>> Le 18/01/2016 15:23, arthurd a écrit : >>> > Thank you Manuel, I will have a look to the first solution (not sure >>> to >>> > be able to dig too much into the code to adapt it). >>> > >>> > I didn't know that SPOT7 were sold to Azerbaidjan. Does it mean that >>> OTB >>> > will not officially support it? >>> >>> Hi Arthur, >>> >>> sorry my answer can be confusing (and not quite relevant). There is no >>> reason why Spot7 can not be supported in OTB or OSSIM in the future. >>> >>> Just wanted to say that adding new supported sensors depends on >>> opportunity, contributions...etc and for Spot7 there were perhaps less >>> opportunities now. >>> >>> Just went to the GeoStore and I can see that there are still Spot7 >>> products available in tech catalog (don't know about tasking)...my >>> remark was indeed not relevant :) >>> >>> Regards, >>> >>> > >>> > Best regards >>> > >>> > Le vendredi 15 janvier 2016 16:35:20 UTC+1, Grizonnet Manuel a écrit : >>> > >>> > Hi Arthur, >>> > >>> > Spot6 is supported. There is a remaining issue with TOC >>> computation >>> > (there is a bug open on Mantis related to this problem). >>> > >>> > Never tried spot7 image but metadata should follow the same format >>> > (Spot7 satellite was sell to Azerbaidjan in 2014). >>> > >>> > If you need to add support for Spot7 in OTB it should not be so >>> > complicated. >>> > >>> > You need to duplicated the ossim class which retrieve metadata: >>> > >>> > >>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSpot6Model.cpp >>> >>> > < >>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/Modules/ThirdParty/OssimPlugins/src/ossim/ossimSpot6Model.cpp> >>> >>> >>> > >>> > >>> > And duplicate Metadata class on OTB side: >>> > >>> > >>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/Modules/Core/Metadata/src/otbSpot6ImageMetadataInterface.cxx >>> >>> > < >>> https://git.orfeo-toolbox.org/otb.git/blob/refs/heads/develop:/Modules/Core/Metadata/src/otbSpot6ImageMetadataInterface.cxx> >>> >>> >>> > >>> > >>> > Even better, it should be possible to patch existing Spot6 classes >>> > above >>> > to handle both satellites with the same classes. >>> > >>> > Regards, >>> > >>> > Manuel >>> > >>> > Le 13/01/2016 17:13, arthurd a écrit : >>> > > Hello, >>> > > >>> > > I wonder if SPOT6 and 7 images are supported or not in OTB? >>> > > >>> > > By using otbcli_ReadImageInfo on Pleiades images I can see that >>> it >>> > > detects the right sensor. For SPOT7 on the other hand, no >>> sensor is >>> > > identified and only the most basic parameters are set. (DIM >>> files >>> > are >>> > > present for both Pleiades and SPOT7.) >>> > > >>> > > Thanks for your feedback >>> > > >>> > > -- >>> > > -- >>> > > Check the OTB FAQ at >>> > > http://www.orfeo-toolbox.org/FAQ.html >>> > <http://www.orfeo-toolbox.org/FAQ.html> >>> > > >>> > > You received this message because you are subscribed to the >>> Google >>> > > Groups "otb-users" group. >>> > > To post to this group, send email to [email protected] >>> > <javascript:> >>> > > To unsubscribe from this group, send email to >>> > > [email protected] <javascript:> >>> > > For more options, visit this group at >>> > > http://groups.google.com/group/otb-users?hl=en >>> > <http://groups.google.com/group/otb-users?hl=en> >>> > > --- >>> > > You received this message because you are subscribed to the >>> Google >>> > > Groups "otb-users" group. >>> > > To unsubscribe from this group and stop receiving emails from >>> it, >>> > send >>> > > an email to [email protected] <javascript:> >>> > > <mailto:[email protected] <javascript:>>. >>> > > For more options, visit <https://groups.google.com/d/optout> >>> https://groups.google.com/d/optout >>> > <https://groups.google.com/d/optout>. >>> > >>> > -- >>> > Manuel GRIZONNET >>> > >>> > -- >>> > -- >>> > Check the OTB FAQ at >>> > http://www.orfeo-toolbox.org/FAQ.html >>> > >>> > You received this message because you are subscribed to the Google >>> > Groups "otb-users" group. >>> > To post to this group, send email to [email protected] >>> > To unsubscribe from this group, send email to >>> > [email protected] >>> > For more options, visit this group at >>> > http://groups.google.com/group/otb-users?hl=en >>> > --- >>> > You received this message because you are subscribed to the Google >>> > Groups "otb-users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> > an email to [email protected] >>> > <mailto:[email protected]>. >>> > For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> Manuel GRIZONNET >>> >>> -- >> -- >> Check the OTB FAQ at >> http://www.orfeo-toolbox.org/FAQ.html >> >> You received this message because you are subscribed to the Google >> Groups "otb-users" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/otb-users?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "otb-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> <http://www.c-s.fr> *Guillaume PASERO* >> Responsable technique >> *Business Unit E-SPACE & Geo Information - Département Image & >> Applications* >> >> *CS Systèmes d'Information* >> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 >> 31506 Toulouse Cedex 05 - FRANCE >> +33 561 17 64 21 - [email protected] >> > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
