gaeaplus / gaeaplus

Gaea+ is an open source Virtual Globe based on NASA World Wind.
Other
42 stars 26 forks source link

Can't see the wfs layer render #8

Open bicealyh opened 10 years ago

bicealyh commented 10 years ago

I download the latest source, add the wfs layer, but can't see the geometry render in the worldwind. I have sure that the data have download from the ogc server. Why?

My compute Configuration is lenovo T400, system is Windows 7 x64, Graphics card is ATI HD 3400

vcucek commented 10 years ago

Hello, can you please describe the problem in more detail.

Do other wfs layers in demo application work? What kind of wfs geometry you are trying to render (lines, polygons, icons...)? What kind of geometry style you are using? Have you checked log for errors and warnings...

bicealyh commented 10 years ago

Thank you for your reply. this is my reply: (1) Do other wfs layers in demo application work? In addition to "Buildings in Torrent,Spain" layer, I could not see other wfs layers in the demo. (2) What kind of wfs geometry you are trying to render (lines, polygons, icons...)? I try to render both the lines and polygons layers, but fail. Whether wfs layers in demo, or do I add a layer by wfs panel. (3)What kind of geometry style you are using? I added a wfs layer by wfs panel.

bicealyh commented 10 years ago

I can't use the shader, because it give me some errors, like below:

一月 07, 2014 8:00:39 下午 si.xlab.gaea.core.shaders.BasicShaderFactory buildGLSLShader SEVERE: Incomplete BasicShader: /G:/gaeaplus/bin/si/xlab/gaea/core/shaders/data/TerrainLightingAerialPerspective_1.glsl 一月 07, 2014 8:00:39 下午 si.xlab.gaea.core.shaders.ShaderContextImpl enable SEVERE: Trying to enable invalid shader! 一月 07, 2014 8:00:39 下午 si.xlab.gaea.core.shaders.BasicGLSLCompiler loadProgram INFO: Compiling shader: /G:/gaeaplus/bin/si/xlab/gaea/core/shaders/data/Atmosphere_1.glsl Shader source:一月 07, 2014 8:00:39 下午 si.xlab.gaea.core.shaders.BasicGLSLCompiler checkShaderError SEVERE: Error compiling the shader: Vertex shader failed to compile with the following errors: WARNING: 118:1: implicit cast from int to float WARNING: 127:1: implicit cast from int to float WARNING: 128:1: implicit cast from int to float WARNING: 129:1: implicit cast from int to float WARNING: 130:1: implicit cast from int to float WARNING: 131:1: implicit cast from int to float ERROR: 172:1: 'const' : non-matching types for const initializer
ERROR: 173:1: 'const' : non-matching types for const initializer
ERROR: 174:1: '=' : assigning non-constant to 'const float' ERROR: 175:1: '=' : assigning non-constant to 'const float' ERROR: 176:1: '=' : assigning non-constant to 'const float' ERROR: compilation errors. No code generated.

gberginc commented 10 years ago

@bicealyh could you provide the URL of the WFS service so that we can have a look?

bicealyh commented 10 years ago

First, I use the example demo layer: service URL: http://gis.arso.gov.si/geoserver/ows, Feature type name : arso:MV_OPZ_KRT_POP_OBM_KAT.

Second I use my local Geoserver WFS Layer. service URL: http://localhost:8080/geoserver/text/ows, Feature type name : test:test_polygon.

bicealyh commented 10 years ago

Sorry, give the wrong service URL, real service URL is : http://localhost:8080/geoserver/test/ows

bicealyh commented 10 years ago

I have sure that it have downloaded the data, because I check the cache and find the wfs tile data.

vcucek commented 10 years ago

Your graphic card can't compile shaders. I have searched on the internet for similar errors and found out, that it is more or less common on those graphic cards. I suggest that you update your graphic card driver. If you still have a problem, please copy/paste or send to my e-mail whole Gaea+ log.