OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

altitude in flat terrain


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb]
View previous topic :: View next topic  
Author Message
vijeesht
Newbie


Joined: 27 May 2015
Posts: 3

PostPosted: Wed May 27, 2015 7:43 am    Post subject:
altitude in flat terrain
Reply with quote

Hi,

I generated a vpb terrain from imagery and elevation data which are in latlon WGS84 projection. In the output database the altitude seems to be in degrees. is that true? if yes whats the reference? how can i convert into meters?

I'm using osgdem as:
osgdem -t texture_file.tif -d elevation_file.tif -o output.ive



Thank you!

Cheers,
Vijeesh
Back to top
View user's profile Send private message
vijeesht
Newbie


Joined: 27 May 2015
Posts: 3

PostPosted: Mon Jun 08, 2015 8:26 am    Post subject:
altitude in flat terrain
Reply with quote

Hi,

I generated a vpb terrain from imagery and elevation data which are in latlon WGS84 projection. In the output database the altitude seems to be in degrees. is that true? if yes whats the reference? how can i convert into meters?

I'm using osgdem as:
osgdem -t texture_file.tif -d elevation_file.tif -o output.ive



Thank you!

Cheers,
Vijeesh

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63830#63830







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10776

PostPosted: Mon Jun 08, 2015 9:00 am    Post subject:
altitude in flat terrain
Reply with quote

Hi Vijeesh,

osgdem will assume the coordinate systems of the input if your don't
provide any guidance on the output format. I you run 'osgdem -h' in
the console the command line options will be listed, these include:


--geocentric Build a database in geocentric (i.e. whole earth) database.

and:

--wkt <WKT string>
Set the coordinates system of source imagery, DEM or
destination database in WellKnownText form.
--wkt-file <WKT file>
Set the coordinates system of source imagery, DEM or
destination database by as file containing WellKownText
definition.

In the case of the --wkt usage, you'll want to place this before the
-o, but after the -d and -t entries otherwise you'll override their
coordinate systems. The WellKnownText format is passed onto the GDAL
to do the reprojection, and it's syntax is written up on GDAL website.

Robert


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> VirtualPlanetBuilder [vpb] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts How to query height of terrain given ... vinothrajendran4 VirtualPlanetBuilder [vpb] 0 Tue Mar 14, 2017 2:43 pm View latest post
No new posts Height of terrain bhanu406 General 5 Fri Mar 03, 2017 7:56 am View latest post
No new posts Error building terrain with shapefile... robertosfield VirtualPlanetBuilder [vpb] 0 Mon Feb 06, 2017 9:11 am View latest post
No new posts Error building terrain with shapefile... vinothrajendran4 VirtualPlanetBuilder [vpb] 0 Mon Feb 06, 2017 6:24 am View latest post
No new posts How to change terrain elevation manua... vinothrajendran4 VirtualPlanetBuilder [vpb] 1 Wed Jan 04, 2017 5:00 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP