ESRI shapefiles not visible in osgearth_viewer

classic Classic list List threaded Threaded
3 messages Options
MarkL MarkL
Reply | Threaded
Open this post in threaded view
|

ESRI shapefiles not visible in osgearth_viewer

Now that I've finally got osgearth properly installed, I'm attempting to build a .earth file that will contain shorelines only.  I have a data set of ESRI shapefiles that I have successfully viewed in other map display tools that I found on a NOAA site.  However, I haven't yet been able to view them in osgearth_viewer.  I have been able to successfully open the .earth files in the test folder in osgearth.  Here's what I've got in my .earth file so far.  What am I missing?

<?xml version="1.0" ?>
<map name="MyMap" type="geocentric">
    <feature_model name="globe" enabled="true">
        <features name="GSHHS" driver="ogr">
            <url>GSHHS/GSHHS_shp/c/GSHHS_c_L1.shp</url>
            <ogr_driver>ESRI Shapefile</ogr_driver>
        </features>
     </feature_model>
</map>

Thanks,
Mark
Mark
MarkL MarkL
Reply | Threaded
Open this post in threaded view
|

Re: ESRI shapefiles not visible in osgearth_viewer

Update: I set the color option to "0000ffff" which now gives me blue water and white land.

Still need to figure out how to split these enormous shapefiles into smaller tiles at the higher resolutions.
Mark
plevy plevy
Reply | Threaded
Open this post in threaded view
|

Re: ESRI shapefiles not visible in osgearth_viewer

Take a look at some of the tests such as feature_country_boundaries.earth for a layout example:

        <layout tile_size="500000" crop_features="true" paged="true">
            <level max_range="1e10"/>
        </layout>

Feature display layouts

On Wed, Dec 11, 2019 at 9:06 AM MarkL [via osgEarth] <[hidden email]> wrote:
Update: I set the color option to "0000ffff" which now gives me blue water and white land.

Still need to figure out how to split these enormous shapefiles into smaller tiles at the higher resolutions.
Mark



If you reply to this email, your message will be added to the discussion below:
http://forum.osgearth.org/ESRI-shapefiles-not-visible-in-osgearth-viewer-tp7592983p7592984.html
To start a new topic under osgEarth, email [hidden email]
To unsubscribe from osgEarth, click here.
NAML