[OpenMap Users] Re:openmap images in servlet

From: Chhaya Mudgal <chhaya@imcs.marine.rutgers.edu>
Date: Thu Mar 11 2004 - 14:43:18 EST

Hi,

I have several layers of data that is displayed using servlet. I am using
MapRequstHandler (createImage()method) to get the image of all the layers and show
it as image on the web.

I am using html input type= image so that I can get x and y coordinates of the image
when the form is submit. From x,y values I can successfully get lat and lon.

The problem is that getting RGB color from the pixel values of the image at x and y
are wrong. I have satellite image overlayed on other data layers and using x,y
values I want to find out the RGB values of the satellite image layer.

I am using pixelgrabber to grab the pixel values, I tried it on original satellite
image and I get good RGB pixel values but when I try it on the image created using
imageServer (even of the single layer)the RGB pixel values are wrong.

I am wondering about following
1. there are multiple layers is that the reason for wrong RGB values, well I have
tried using single layer it is still wrong.
2. I am using OMScalingRaster in one of the layer to scale animage, is the final
image in the layer using the scaled version for the pixel values or the original
bigger version for the pixel values.

Has any tried getting pixel values from the image in servlet using mouseclick or
mouseover.

any ideas or help will be highly appreciated.

thanks

Chhaya

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Mar 11 14:44:08 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT