Hi,

I'm having a hardtime finding documentation on populating the global index with 
ogrfeature data, such that i can use the IntersectionPicker. Can anyone point 
me in the right direction?

    
Code:

auto map = mapnode->getMap();
OGRFeatureOptions feature_opt;
feature_opt.name() = url;
feature_opt.url() = url;
feature_opt.buildSpatialIndex() = true;

FeatureGeomModelOptions fgm_opt;
fgm_opt.featureOptions() = feature_opt;
fgm_opt.styles() = new StyleSheet();

map->addModelLayer( new ModelLayer(url, fgm_opt) );




Now i would like to pick the geometries within the scene. I do ofcourse get to 
see the geometries with correct style. However the picking provides an empty 
result.

... 

Thank you!

Cheers,
Auke-Dirk

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to