Shaprfiles do not show #2651
Replies: 9 comments 1 reply
-
I meant to ask are there any other dlls that have to be in the release folder to shpport shape files. Som examples on line show setting up LineSymbols. Is that required? |
Beta Was this translation helpful? Give feedback.
-
I recently faced this issue when the PROJ_DIR was not set and the projection support database could not be loaded. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I downloaded proj ver 5.0 and set the proj_dir.
Still no display
…On Tue, Oct 29, 2024, 8:30 AM XenonofArcticus ***@***.***> wrote:
I recently faced this issue when the PROJ_DIR was not set and the
projection support database could not be loaded.
—
Reply to this email directly, view it on GitHub
<#2651 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNLDTT3OUQ7WCYXPUHZD2DZ523HHAVCNFSM6AAAAABQYNFRDGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBYGAZTSMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Bruce, please do this and post the output:
Did you install from vcpkg? Build yourself? |
Beta Was this translation helpful? Give feedback.
-
Glenn: C:\Tools\EarthViewer\release>copy ..\simple.earth C:\Tools\EarthViewer\release>osgEarth_features simple.Earth VERTEX glCompileShader "oe_rex_init_model" FAILED VERTEX Shader "oe_rex_normalMapVS" infolog: VERTEX glCompileShader "oe_rex_normalMapVS" FAILED VERTEX glCompileShader "oe_rex_morph" FAILED VERTEX Shader "oe_rex_morph" infolog: VERTEX Shader "oe_rex_morph" infolog: VERTEX glCompileShader "main(vertex)" FAILED VERTEX glCompileShader "main(vertex)" FAILED VERTEX Shader "main(vertex)" infolog: Program "GDALImageLayer" infolog: [osgearth warning] [VirtualProgram] Program will not link! VERTEX Shader "main(vertex)" infolog: glLinkProgram 0000022750E9E510"Terrain image layer" FAILED [osgearth warning] [VirtualProgram] Program will not link! [osgearth warning] [VirtualProgram] Program will not link! C:\Tools\EarthViewer\release> |
Beta Was this translation helpful? Give feedback.
-
Please see #2650 - I believe the answer is the same. Include this in your application: #include <osgEarth/GLUtils>
...
viewer.setRealizeOperation(new GL3RealizeOperation()); |
Beta Was this translation helpful? Give feedback.
-
Glenn:
I already have that line in my code. I tried ogearth_viewer and it did
not show the shape file either. I am wondering if some dlls are missing
…On Wed, Oct 30, 2024, 11:32 PM Glenn ***@***.***> wrote:
Please see #2650 <#2650>
- I believe the answer is the same.
Include this in your application:
#include <osgEarth/GLUtils>
...
viewer.setRealizeOperation(new GL3RealizeOperation());
—
Reply to this email directly, view it on GitHub
<#2651 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNLDTVA2BOWAQZJZQTTOPLZ6DNVTAVCNFSM6AAAAABQYNFRDGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQGA2DQMQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You need to run |
Beta Was this translation helpful? Give feedback.
-
If you are copying DLLs around, you are going to be in a world of hurt. |
Beta Was this translation helpful? Give feedback.
-
I am usig osgEarth 3.7. build 161. on windows 10 using visual Studio 2022. I tried loading shapefile from example data using the example code for features. Basicly create a new osgEarth::OGRFeatureSource, set the name, set the url then mapnode get map add layer feature source. Whe the code hits addLayer it pauses as if it is loading the data but nothing appears. I also tried adding an entry to the Earth file but that did not show anything as well.
Unfortunately I cannot show the actual code becuase I only have internet access through my phone at this time.
Bruce
Beta Was this translation helpful? Give feedback.
All reactions