Ticket #126 (new defect)
Layer loading - insufficient error reporting
| Reported by: | gwaldron | Owned by: | |
|---|---|---|---|
| Priority: | minor (requested / unfunded) | Milestone: | Not Yet Scheduled |
| Component: | osgEarth | Version: | 1.3 |
| Severity: | reported | Keywords: | |
| Cc: |
Description
From the list.. layer has no SRS, but there is no status available.
Original:
---
what is the recommended way to check if a (height) layer contains valid data?
It seems to be that if I am adding a single (height) layer to a map that (the layer) does not contain valid or sufficient information the whole map is not displayed.
In my case I read data from an ARC Grid file without spatial reference information and attached it to a geocentric earth map. In this case nothing is shown (even not the earth) because the depth range is now invalid (interval is [MAX_Value .. MIN_Value] instead of probably [MIN_Value .. MAX_Value]).
How can I find out programmatically that something went wrong? The problem seems to be that the error is only detected by osgEarth when the map node is actually built and not earlier (and then the depth range is invalid).
Hartwig
