Shp file loading problem: shp line vanished

classic Classic list List threaded Threaded
1 message Options
OsgEarth_luo OsgEarth_luo
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Shp file loading problem: shp line vanished

I try to add a shp file with a line; things goes pretty well, but when i zoom in the line to some extent, the line just vanished, when i zoom out the line, it just appeared; i want the line always stay in my sight! i wrote the earth file like this:
<model name="world_boundaries" driver="feature_geom">           
        <features name="world" driver="ogr">
            <url>E:/mapdata/shpFile/sdfgh.shp</url>
            <build_spatial_index>true</build_spatial_index>
            <convert type="line"/>
        </features>       
        <layout tile_size="500000" crop_features="true">
            <level max_range="1e10"/>
        </layout>               
        <styles>
            <style type="text/css"> world { stroke: #ffff00; stroke-width: 2px; stroke-tessellation-size: 100km; render-depth-offset-min-bias: 1000; render-lighting:false; stroke-opacity:1; altitude-clamping:terrain; altitude-technique:gpu; } </style>        </styles>       
    </model>

did i do something wrong, i will really appreciated if any one can correct me....
Loading...