Beispiel #1
0
        private void addImageSurfaceLayerAGGLite()
        {
            if (imageSurfaceLayerAGGLite == null)
            {
                TileSourceAGGLite aggLite = new TileSourceAGGLite();
                FeatureSourceOGR  ogr     = new FeatureSourceOGR();
                ogr.url = "E:\\OpenSceneGraph\\data\\world.shp";
                aggLite.featureSource = ogr;

                imageSurfaceLayerAGGLite            = new ImageSurfaceLayer();
                imageSurfaceLayerAGGLite.tileSource = aggLite;
                m_earthRoot.addChild(imageSurfaceLayerAGGLite);
            }
        }
Beispiel #2
0
        private void ribbonButton43_Click(object sender, EventArgs e)
        {
            TileSourceAGGLite aggLite = new TileSourceAGGLite();
            FeatureSourceOGR  ogr     = new FeatureSourceOGR();

            ogr.url = "E:\\OpenSceneGraph\\data\\zhengzhou\\440100郑州冬小麦prj.shp";
            //ogr.url = "E:\\OpenSceneGraph\\data\\henan\\dxmall\\河南省冬小麦.shp";

            aggLite.featureSource = ogr;

            ImageSurfaceLayer imageSurfaceLayer = new ImageSurfaceLayer();

            imageSurfaceLayer.tileSource = aggLite;
            m_earthRoot.addChild(imageSurfaceLayer);
        }
Beispiel #3
0
        private void ribbonButton43_Click(object sender, EventArgs e)
        {
            TileSourceAGGLite aggLite = new TileSourceAGGLite();
            FeatureSourceOGR ogr = new FeatureSourceOGR();
            ogr.url = "E:\\OpenSceneGraph\\data\\zhengzhou\\440100郑州冬小麦prj.shp";
            //ogr.url = "E:\\OpenSceneGraph\\data\\henan\\dxmall\\河南省冬小麦.shp";

            aggLite.featureSource = ogr;

            ImageSurfaceLayer imageSurfaceLayer = new ImageSurfaceLayer();
            imageSurfaceLayer.tileSource = aggLite;
            m_earthRoot.addChild(imageSurfaceLayer);
        }
Beispiel #4
0
        private void addImageSurfaceLayerAGGLite()
        {
            if (imageSurfaceLayerAGGLite == null)
            {
                TileSourceAGGLite aggLite = new TileSourceAGGLite();
                FeatureSourceOGR ogr = new FeatureSourceOGR();
                ogr.url = "E:\\OpenSceneGraph\\data\\world.shp";
                aggLite.featureSource = ogr;

                imageSurfaceLayerAGGLite = new ImageSurfaceLayer();
                imageSurfaceLayerAGGLite.tileSource = aggLite;
                m_earthRoot.addChild( imageSurfaceLayerAGGLite );
            }
        }