History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GEOT-1249
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Simone Giannecchini
Reporter: despres damien
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoTools

Arcgrid reader only working with sample data

Created: 23/Apr/07 04:38 AM   Updated: Friday 12:39 PM
Component/s: gc arcgrid
Affects Version/s: 2.4-M0, 2.4-M1, 2.5-M2
Fix Version/s: 2.5-RC0

Environment: Windows XP


 Description  « Hide
ArcgridReader line 521 :
final Category values = new Category("values", demColors, new NumberRange(1, 255), new NumberRange(0, 8849));

this values are correct for the example dataset but completely arbitrary for other datasets. I don't know how to correct it but i think it's not correct to apply such a style in the reader.
I have a dataset with values from 0.0 to 9.0. if i use arcgrid reader, my values becomes 0.0 or 1.0 (because scaled from 0 to 8849.....)

It's like applying an arbitrary SLD directly in the reader.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Simone Giannecchini - 22/Aug/08 12:39 PM
We now have a RasteSymbolizer implementation in case a user wants to change the appearance of a coverage.

The show method of a coverage is meant to be used for quick coverage inspection hence a default color range is provided for coverage, which of course may not fit them all.