Ossim Elevation Preferences Questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Ossim Elevation Preferences Questions

jschatzman
I have read the instructions here:

https://trac.osgeo.org/ossim/wiki/ossimElevationSetup

and I have also read this discussion:

http://osgeo-org.1560.x6.nabble.com/preferences-file-td3767501.html


It is still not clear to me how to host the following elevation datasets in Ossim/OMAR:

GMTED2010

Typical files are as follows in zip archives:

10n000e_20101117_gmted_bln075.tif  10n000e_20101117_gmted_med075.tif
10n000e_20101117_gmted_dsc075.tif  10n000e_20101117_gmted_min075.tif
10n000e_20101117_gmted_max075.tif  10n000e_20101117_gmted_std075.tif
10n000e_20101117_gmted_mea075.tif

ASTER

Typical files are as follows in zip archives:
ASTGTM2_N00E006_dem.tif  ASTGTM2_N00E006_num.tif  README.pdf


The documentation in the ASTER READMEs is pretty clear. What does not seem to be clear to me is exactly what capabilities the Ossim elevation manager has, and exactly what has to be done to enable the GMTED2010 and ASTER data in it.

1) Source.type can apparently be dted_cell, srtm_cell, dted_directory, srtm_directory, or general_raster_directory. EXACTLY what is meant by each of these? Presumably, each has a set of directory structures and file naming conventions and file types each requires/accepts. Are those rules documented somewhere?

2) I am guessing that I need to use general_raster_directory for this data. In the case of general_raster, what directory structure and file naming conventions are supported?

3) Do I need to generate additional metadata to support GMTED2010 and ASTER?

Also, exactly how does the elevation manager arbitrate between the numbered sets of elevation data?

When there are holes in on source does it automatically try the next coarser resolution?

Does elevation manager have the ability to distinguish between "resolution" and "accuracy" of the elevation data?

Thanks!

Jim




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ossim Elevation Preferences Questions

Andyjo
Hi James,
1) If you just have a bunch of geotiff's, put them all in a directory and
use something like:
elevation_manager.elevation_source1.connection_string:
$(OSSIM_DATA)\the_folder_you_unzipped_everything_into // $(OSSIM_DATA) is
just an environment variable, you can put full paths in there too
elevation_manager.elevation_source1.type: image_directory
elevation_manager.elevation_source1.geoid.type: identity /// Use identify if
your DEM is ellipsoidal heights, use whatever geoid string otherwise, for
instance geoid1996

Everything in  the directory specified in 'connection_string' is checked to
see if it's valid (geotiff for instance), any ossimImageReader should work
(I think). If you have random text files, maybe a windows Thumbs.db file,
they will be checked and thrown out (and a warning will spit out).
I believe there are more advanced elevation managed/source options in the
bleeding edge build, but I'm running code from 2013...

2) I believe general_raster_directory just looks as all files in the
directory. I believe there is an option to recuse through directory trees in
newer builds.

3) If your DEM's are already georeferenced, they should be fine. If they
aren't they I think you can create a .geom file next to each image with it's
projection information (someone else prob. has better details on that)

4ish) The elevation_source# specified the 'layer' of elevation data, put
your highest resolution data to lower number (starting at 1). This layering
scheme can help you out if you have high resolution lidar for a small area,
and then your data falls off onto a base source, etc...

The rest I'm not sure.. good luck!


-Andy

-----Original Message-----
From: Schatzman, James [mailto:[hidden email]]
Sent: Wednesday, March 01, 2017 11:18 PM
To: [hidden email]
Subject: [OSSIM] Ossim Elevation Preferences Questions

I have read the instructions here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_ossim_wi
ki_ossimElevationSetup&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyolgGeY2Zhl
U&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9Gxlyt9HQ_
wv94OLF5k2oaXbB6M&s=4tAaUMXEbXUJ8XBJbPWCKD_w1SAcVox-6wWnlZVprFc&e=

and I have also read this discussion:

https://urldefense.proofpoint.com/v2/url?u=http-3A__osgeo-2Dorg.1560.x6.nabb
le.com_preferences-2Dfile-2Dtd3767501.html&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ng
k1qezfsYHyolgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2
oUDGiuKsOu9Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=KR1_UDSulIsGAKMIp0J3IMmiojfF0fwojpHs
hQdvGRo&e=


It is still not clear to me how to host the following elevation datasets in
Ossim/OMAR:

GMTED2010

Typical files are as follows in zip archives:

10n000e_20101117_gmted_bln075.tif  10n000e_20101117_gmted_med075.tif
10n000e_20101117_gmted_dsc075.tif  10n000e_20101117_gmted_min075.tif
10n000e_20101117_gmted_max075.tif  10n000e_20101117_gmted_std075.tif
10n000e_20101117_gmted_mea075.tif

ASTER

Typical files are as follows in zip archives:
ASTGTM2_N00E006_dem.tif  ASTGTM2_N00E006_num.tif  README.pdf


The documentation in the ASTER READMEs is pretty clear. What does not seem
to be clear to me is exactly what capabilities the Ossim elevation manager
has, and exactly what has to be done to enable the GMTED2010 and ASTER data
in it.

1) Source.type can apparently be dted_cell, srtm_cell, dted_directory,
srtm_directory, or general_raster_directory. EXACTLY what is meant by each
of these? Presumably, each has a set of directory structures and file naming
conventions and file types each requires/accepts. Are those rules documented
somewhere?

2) I am guessing that I need to use general_raster_directory for this data.
In the case of general_raster, what directory structure and file naming
conventions are supported?

3) Do I need to generate additional metadata to support GMTED2010 and ASTER?

Also, exactly how does the elevation manager arbitrate between the numbered
sets of elevation data?

When there are holes in on source does it automatically try the next coarser
resolution?

Does elevation manager have the ability to distinguish between "resolution"
and "accuracy" of the elevation data?

Thanks!

Jim




----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, SlashDot.org!
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIC
Ag&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyolgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1
HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=FA_M7-6h1
0fia9SfqG0KpGOgDurVfJ-RRq4e_0lxA2E&e=
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_l
ists_listinfo_ossim-2Ddeveloper&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyo
lgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9
Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=0XR-gfL2wDXeoZabQRV-pPpwXCIwMTK19vTwME3hniw&e=

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ossim Elevation Preferences Questions

David Burken-2
Hi Jim,

Sorry for the late response.  I think Andy answered most but see my comments below.

Dave


On 03/01/2017 11:46 PM, Andrew D. Johnson wrote:
Hi James,
1) If you just have a bunch of geotiff's, put them all in a directory and
use something like:
elevation_manager.elevation_source1.connection_string:
$(OSSIM_DATA)\the_folder_you_unzipped_everything_into // $(OSSIM_DATA) is
just an environment variable, you can put full paths in there too
elevation_manager.elevation_source1.type: image_directory
elevation_manager.elevation_source1.geoid.type: identity /// Use identify if
your DEM is ellipsoidal heights, use whatever geoid string otherwise, for
instance geoid1996

Everything in  the directory specified in 'connection_string' is checked to
see if it's valid (geotiff for instance), any ossimImageReader should work
(I think). If you have random text files, maybe a windows Thumbs.db file,
they will be checked and thrown out (and a warning will spit out).
I believe there are more advanced elevation managed/source options in the
bleeding edge build, but I'm running code from 2013...

2) I believe general_raster_directory just looks as all files in the
directory. I believe there is an option to recuse through directory trees in
newer builds.

3) If your DEM's are already georeferenced, they should be fine. If they
aren't they I think you can create a .geom file next to each image with it's
projection information (someone else prob. has better details on that)

4ish) The elevation_source# specified the 'layer' of elevation data, put
your highest resolution data to lower number (starting at 1). This layering
scheme can help you out if you have high resolution lidar for a small area,
and then your data falls off onto a base source, etc...

The rest I'm not sure.. good luck!


-Andy

-----Original Message-----
From: Schatzman, James [[hidden email]] 
Sent: Wednesday, March 01, 2017 11:18 PM
To: [hidden email]
Subject: [OSSIM] Ossim Elevation Preferences Questions

I have read the instructions here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_ossim_wi
ki_ossimElevationSetup&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyolgGeY2Zhl
U&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9Gxlyt9HQ_
wv94OLF5k2oaXbB6M&s=4tAaUMXEbXUJ8XBJbPWCKD_w1SAcVox-6wWnlZVprFc&e= 

and I have also read this discussion:

https://urldefense.proofpoint.com/v2/url?u=http-3A__osgeo-2Dorg.1560.x6.nabb
le.com_preferences-2Dfile-2Dtd3767501.html&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ng
k1qezfsYHyolgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2
oUDGiuKsOu9Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=KR1_UDSulIsGAKMIp0J3IMmiojfF0fwojpHs
hQdvGRo&e= 


It is still not clear to me how to host the following elevation datasets in
Ossim/OMAR:

GMTED2010

Typical files are as follows in zip archives:

10n000e_20101117_gmted_bln075.tif  10n000e_20101117_gmted_med075.tif
10n000e_20101117_gmted_dsc075.tif  10n000e_20101117_gmted_min075.tif
10n000e_20101117_gmted_max075.tif  10n000e_20101117_gmted_std075.tif
10n000e_20101117_gmted_mea075.tif

ASTER

Typical files are as follows in zip archives:
ASTGTM2_N00E006_dem.tif  ASTGTM2_N00E006_num.tif  README.pdf


The documentation in the ASTER READMEs is pretty clear. What does not seem
to be clear to me is exactly what capabilities the Ossim elevation manager
has, and exactly what has to be done to enable the GMTED2010 and ASTER data
in it.

1) Source.type can apparently be dted_cell, srtm_cell, dted_directory,
srtm_directory, or general_raster_directory. EXACTLY what is meant by each
of these? Presumably, each has a set of directory structures and file naming
conventions and file types each requires/accepts. Are those rules documented
somewhere?
dted_directory is in the form of: level/<longitude_dir>/Hlat.ext
e.g:
Repository = /data1/elevation/dted/level2


$ pwd
/data1/elevation/dted/level2/e044
[dburken@tazz e044]$ ls
n32.dt2         n33.omd         n34.omd         n35.ovr         n36.statistics
n32.omd         n33.ovr         n34.ovr         n35.statistics
n32.ovr         n33.statistics  n34.statistics  n36.dt2
n32.statistics  n34.dt2         n35.dt2         n36.omd
n33.dt2         n34.his         n35.omd         n36.ovr

$ pwd
/data1/elevation/dted/level2/e043
[dburken@tazz e043]$ ls
n32.dt2         n33.his         n34.ovr         n36.dt2         n37.ovr
n32.his         n33.omd         n34.statistics  n36.omd         n37.statistics
n32.omd         n33.ovr         n35.dt2         n36.ovr
n32.ovr         n33.statistics  n35.omd         n36.statistics
n32.statistics  n34.dt2         n35.ovr         n37.dt2
n33.dt2         n34.omd         n35.statistics  n37.omd


srtm_directory:
$ pwd
/data1/elevation/srtm/1arc

// flat di
$ ls
N33W118.ovr  N39W076.his  N40W081.omd      N41W084.hgt  N45W087.omd
N33W119.hgt  N39W076.omd  N40W081.ovr      N41W084.his  N45W087.ovr
N33W119.his  N39W076.ovr  N40W082.hgt      N41W084.omd  N45W088.hgt
N33W119.omd  N39W077.hgt  N40W082.his      N41W084.ovr  N45W088.his
...
...


image_directory is just flat.


2) I am guessing that I need to use general_raster_directory for this data.
In the case of general_raster, what directory structure and file naming
conventions are supported?

3) Do I need to generate additional metadata to support GMTED2010 and ASTER?

Also, exactly how does the elevation manager arbitrate between the numbered
sets of elevation data?
Put your best resolution FIRST...
When there are holes in on source does it automatically try the next coarser
resolution?
If first repo getHeightAboveEllipsoid returns nan it goes to the next...

Does elevation manager have the ability to distinguish between "resolution"
and "accuracy" of the elevation data?
Put best resolution first...

Thanks!

Jim




----------------------------------------------------------------------------
--
Check out the vibrant tech community on one of the world's most engaging
tech sites, SlashDot.org!
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwIC
Ag&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyolgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1
HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=FA_M7-6h1
0fia9SfqG0KpGOgDurVfJ-RRq4e_0lxA2E&e=
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_l
ists_listinfo_ossim-2Ddeveloper&d=DwICAg&c=31nHN1tvZeuWBT6LwDN4Ngk1qezfsYHyo
lgGeY2ZhlU&r=7T-tcCZEv1UtWANbvWK5_xMS1HF3pvNdFIgqlwqJo6o&m=sBUXd2oUDGiuKsOu9
Gxlyt9HQ_wv94OLF5k2oaXbB6M&s=0XR-gfL2wDXeoZabQRV-pPpwXCIwMTK19vTwME3hniw&e= 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Loading...