![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Dec 2010
Posts: 71
![]() |
I use geoserver published a geotiff file, install bil plugin, but the client sends a request to get the. bil file only get the following code, what is the reason? Is the type of geotiff error?
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://192.168.0.102:8888/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1" >
<ServiceException>
BGCOLOR -9999.0 incorrectly specified (0xRRGGBB format expected)
</ServiceException>
</ServiceExceptionReport>
Last edited by Patrick Hogan; 04-22-2013 at 05:01 PM. |
|
|
|
|
|
#2 |
|
Worldwind Developer
Join Date: Jan 2006
Location: Hobart, Australia
Posts: 754
![]() |
That's an error due to a mismatch between how WorldWind expects a WMS to behave and how Geoserver does behave. Here is a hack that fixes it. I will try to modify the plugin to allow -9999.0 as a possible bgcolor.
Cheers, whatnick.
__________________
Coding This and That in World Wind and helping new people out, as long as they don't pester too much. Currently blogging at: http://whatnicklife.blogspot.com Working at: Aerometrex - http://aerometrex.com.au/blog/ Impact so far: ![]() |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hi,
i get the same error mentioned above. But I don't see how the *hack* is solving it. It seems to me like a conflict of geoserver expecting a hex value and world wind expecting a number. Either one results in an error. I'm using Geoserver 2.2beta with the the dds/bil extenstion (http://docs.geoserver.org/stable/en/...dds/index.html) and World Wind SDK 1.3 Other solutions? Cheers, Kristina |
|
|
|
#4 |
|
Member
Join Date: Jul 2009
Posts: 30
![]() |
While it might impose some extra work, you might consider using MapServer to dish up your GeoTIFF as BIL. It happily handles the -9999 value for background, can serve bil in multiple formats (including the 16 bit signed that WW demands). I use it (MapServer) to serve worldwide GMTED and ASTER that are stored as compressed GeoTIFF files.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jun 2012
Location: Münster, Germany
Posts: 18
![]() |
Are there any updates concerning that issue? I'm VERY unhappy with mapserver (no GUI sucks) and would like to use geoserver again...
|
|
|
|
|
|
#6 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Xander, I've been trying to get mapserver to serve up .bils. I don't seem to be able to get it to work. I've got the GMTED2010 geotiffs on my server. The .bil files that I get on the client end are very strange. All of the low bytes have a value, and the high bytes are all zero. It seems to be coming from the mapserver like that. I can pass the URL to the mapserver, and that's what is downloaded. Did you have to do anything special to get MapServer to serve up Int16 .bils?
|
|
|
|
|
|
#7 |
|
NASA Employee
Join Date: Aug 2004
Location: Moffett Field, CA
Posts: 116
![]() |
I'll be giving gmted2010 a look with my mapserver setup in about a week. I've been looking for more elevation examples to test against.
|
|
|
|
|
|
#8 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Hi Randy, I'm using MS4W, latest version, straight out of the box. The gdal in there says it supports Ehdr, so it should be able to serve .bils. I would also like to be able to serve DTED 0, 1 and 2, NED, CTED, and GTOPO30, but first things first.
|
|
|
|
|
|
#9 |
|
Super Member
Join Date: Jan 2006
Location: Eden, Utah
Posts: 1,779
![]() |
Just to follow up, I took the Crater Lake sample tiff file that comes with the SDK, pointed a map server layer at it, and it worked perfectly. Elevation looked exactly as expected. I'm not sure what's different about the .TIFs for the GMTED2010 data. I also dropped one of those TIFs into the data directory right along side the crater lake file. Changed the importelevation sample java file to point to the GMTED geotif, and it failed to open the file when I tried to run it. I guess I'll spend some time on the USGS EarthExplorer site trying to figure out what's different about their geotifs.
Last edited by Patrick Hogan; 04-13-2013 at 05:37 AM. |
|
|
|
![]() |
| 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 |
| Error importing Geotiff | BrunoSpy | Development Help | 20 | 04-18-2011 08:51 AM |
| Geotiff File error | tbrooks | Development Help | 3 | 04-06-2011 05:22 PM |
| built error | Unregistered | Builds | 1 | 09-13-2009 10:15 AM |
| Error list: | mercury88 | Bug Reports | 6 | 04-22-2007 11:03 AM |
| WorldWind.Log for V1.4Beta | James_In_Utah | Developers' Corner | 1 | 12-30-2006 12:58 AM |