Hi, I did quite a few experiments and I dont think tiff files are supported that easily. The directory name is important (e.g., E20 doesnt work but it should be E020). Also, if there is no .hgt or .DT2 file inside the directory, the otb:DEMHandler::Instance()->OpenDEMDirectory() function gets an exception. I changed the name of the tiff file to supported hgt and dt2 formats but I couldnt make it work. Frankly, it would be excellent, if you can provide a directory structure and a file name that you believe to be appropriate for the task. As an example, I used a directory structure something like:
D:\myFiles\E020\N43.tif and I provided "D:\myFiles\" as the dem directory. When there is a .hgt file or a .dt2 file, the otb:DEMHandler::Instance()->OpenDEMDirectory() function works flawlessly but my tif file (which has coordinate information for sure) doesnt seem to be working. I wish we still had the good old way of providing the dem file as it is. All the best Emre On Thursday, September 18, 2014 7:01:06 PM UTC+3, Guillaume Pasero wrote: > > Hi, > > In the Orthorectification application, you can give the path to your TIFF > DEM using the same setting "DEM directory". The TIFF file will be used by > the DEM handler as long as it has its projection information embedded. > > Maybe you should also give a default elevation above ellipsoid so that the > DEM handler returns a reasonable value outside your TIFF DEM. However I > don't know precisely its behaviour in this case. > > Regards, > Guillaume > > Le 18/09/2014 16:43, emre a écrit : > > Hi. I have a small DEM that was generated via orfeo (in tiff format). How > can use that file to orthorectify the left image of the stereo pair? Should > I use setdemdirectorypath as usual (the dem I have is lat-long projection > but it is very small piece of image patch)? If tiff format ok? Is > otbdemhandler capable of reading that info? > > All the best > Emre > -- > -- > 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] > <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 > --- > 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:>. > For more options, visit https://groups.google.com/d/optout. > > > > -- > <http://www.c-s.fr> *Guillaume PASERO* > Ingénieur d'études et développement > *Business Unit E-SPACE & Geo Information* > <https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département > 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] <javascript:> > -- -- 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.
