Skip to content
Snippets Groups Projects
  • James Goppert's avatar
    2406510c
    Added a more generic osgqtwidget for map3d. · 2406510c
    James Goppert authored
    Still need to add uas connections. New osgwidget inherits from
    qgraphicsview to expose more functionality to qt. Map3d.ui contains
    the graphics view and some buttons. Currently runs yahoo_heightfield
    by default. Make sure you run qgroundcontrol fromt the top dir or
    it will seg fault, :-). I'll add some error handling soon.
    2406510c
    History
    Added a more generic osgqtwidget for map3d.
    James Goppert authored
    Still need to add uas connections. New osgwidget inherits from
    qgraphicsview to expose more functionality to qt. Map3d.ui contains
    the graphics view and some buttons. Currently runs yahoo_heightfield
    by default. Make sure you run qgroundcontrol fromt the top dir or
    it will seg fault, :-). I'll add some error handling soon.
yahoo_heightfield.earth 908 B
<!--
osgEarth Sample

This example pulls satellite/aerial map tiles from the Yahoo! Maps service.

This is for educational purposes only - it is your responsibility to abide by
the provider's terms of service when using their data.
-->

<map name="Yahoo! Maps" type="geocentric">
    
    <image name="yahoo aerial" driver="yahoo">
        <dataset>satellite</dataset>
    </image>
    
    <loading_policy mode="sequential"/>
    <lighting>false</lighting>
   
    <heightfield name="WorldWind DEM" driver="wms">
        <url>http://onearth.jpl.nasa.gov/wms.cgi</url>
        <layers>worldwind_dem</layers>
        <style>feet_short_int</style>
        <format>tiff</format>
        <elevation_unit>ft</elevation_unit>
    </heightfield>

	<normalize_edges>true</normalize_edges>
    
    <vertical_scale>50</vertical_scale>
    
    <skirt_ratio>0.01</skirt_ratio>

</map>