Using the data from the openmap website I am creating an ETOPO layer. Two
problems. The first is I get a gazillion array index errors of the form:
*** ERROR ***
java.lang.ArrayIndexOutOfBoundsException: 9333348:0
*************
ANY thoughts about these errors?
The second problem is a crappy image (in spite of the errors I get an
image_--it's as if it is using 16 colors no matter what I tell it
My properties:
Properties props = new Properties();
props.setProperty("class", "com.bbn.openmap.layer.etopo.ETOPOLayer");
props.setProperty("prettyName", "ETOPO Terrain and Depth");
props.setProperty("path", file.toURI().toString());
props.setProperty("number.colors", "216");
props.setProperty("opaque", "200");
props.setProperty("view.type", "1");
props.setProperty("minute.spacing", "5");
props.setProperty("contrast", "3");
ETOPOLayer etopoLayer = new ETOPOLayer();
etopoLayer.setProperties(props);
What I get:
http://old.nabble.com/file/p28160160/etopo.png
Any help is appreciated.
--
View this message in context: http://old.nabble.com/ETOPO-Array-Out-O%27-Bounds-and-crappy-image-tp28160160p28160160.html
Sent from the OpenMap mailing list archive at Nabble.com.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Apr 06 2010 - 23:48:51 EDT