![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 15
![]() |
Hello dear patmurris,following your WWJ_WWConfigLoader codes, I find it cannot load
local geoserver wms data. I make a geos.xml as WW_BRGM.xml. And add "layerset.add(WWConfigLoader.getLaye rSet FromFile( new File("Config/Earth/geos.xml")));" in the WWGlobe.java .But the map cannot display.Thank you very much!The geos.xml is as follows. Best wishes for you! Sincerely yours, Yang geos.xml : <LayerSet Name="GeoS" ShowOnlyOneLayer="false" ShowAtStartup="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerSet. xsd"> <ChildLayerSet Name="wms" ShowOnlyOneLayer="false" ShowAtStartup="false"> <ExtendedInformation> <ToolBarImage>Data\Icons\Interface\BRG M_ logo.png</ToolBarImage> </ExtendedInformation> <QuadTileSet ShowAtStartup="false"> <Name>qujie_Type</Name> <DistanceAboveSurface>0</DistanceAboveSurface> <BoundingBox> <North> <Value>31.8178405761719</Value> </North> <South> <Value>27.2143630981445</Value> </South> <West> <Value>82.0993194580078 </Value> </West> <East> <Value>90.3516540527344</Value> </East> </BoundingBox> <TerrainMapped>true</TerrainMapped> <ImageAccessor> <LevelZeroTileSizeDegrees>22.5</LevelZeroTileSizeDegrees> <NumberLevels>14</NumberLevels> <TextureSizePixels>512</TextureSizePixels> <ImageFileExtension>png</ImageFileExtension> <WMSAccessor> <ServerGetMapUrl>http://localhost:8080/geoserver/wms</ServerGetMapUrl> <Version>1.1.1</Version> <ImageFormat>image/png</ImageFormat> <WMSLayerName>topp:qujie&TRANSPARE NT =TRUE&BGCOLOR=0xFF00FF</WMSLayerName> <UseTransparency>true</UseTransparency> <ServerLogoFilePath>Data\Icons\pecten. pn g</ServerLogoFilePath> </WMSAccessor> </ImageAccessor> <ExtendedInformation> <ToolBarImage /> </ExtendedInformation> <TransparentColor> <Red>255</Red> <Green>0</Green> <Blue>255</Blue> </TransparentColor> </QuadTileSet> </ChildLayerSet> </LayerSet> |
|
|
|
|
|
#2 |
|
Bored Explorer
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,808
![]() |
|
|
|
|
|
|
#3 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Try adding a trace System.out.println() at the end of the urlRetreiver to see if it is called at all, and what kind of url it returns. You can then at least try those urls in a web browser to see if the server returns the proper data or an error message.
It could be the ':' in the layer name 'topp:qujie' that is the problem too. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2007
Posts: 15
![]() |
Thank you very much m_k and patmurris ! Follow your help ,I make it run correctly. But I find the wrong point is because it lack of "styles" param in the xml file tags.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GeoServer Transparency and WMS Browser | randomyachtie | Image Serving & GIS | 5 | 04-15-2009 04:56 AM |
| Problems oin adding layers from WMS GEOserver | asbayomie | Developers' Corner | 2 | 12-27-2008 12:20 PM |
| I can't see WMS data with Worldwind 2.1 and Local Geoserver WMS | vash | Development Help | 15 | 07-10-2007 06:25 PM |
| Relief overlay of WMS data. | globpat | WorldWind General | 2 | 07-03-2007 08:47 PM |
| WMS Browser Problem | armin | Technical Support | 1 | 03-20-2007 04:41 PM |