[osg-users] problem with shapefile height when loaded in osgviewer

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Thu Feb 16 04:48:53 PST 2017



Hi Vinoth,
> Hi Community,
>
> I am loading a shapefile(.shp) for a small city using osgviewer. All i get is overlay of those shapefiles on the surface.
>
> Why am i not rendered with height from those shapefiles ??
What do you mean by height? Shapes in shapefiles are two-dimensional 
entities with properties in a database.

>
> Am i missing something??
>
> The shapefiles are from OpenStreetMap.
OSG will simply render those flat shapes and there is no further 
handling of attributes
>
> I hereby attach the output from osgviewer for reference.....
OSGEarth IIRC has facilities to generate buildings etc. on the fly using 
shapefiles.


Cheers
Sebastian
>
> Thank you!
>
> Cheers,
> Vinoth
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70211#70211
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list