Hi Daniele
The image I used as an example exceeds 10MB, so I'm looking for a smaller
image to send you now - I will send that to you soon.

Let me explain how I set this up, maybe you can spot what I did wrong.
1. First, I inserted an image into the database (with a path to where the
GeoTIFF is, and also the coordinates information of the GeoTIFF).
2. Then I went to Geoserver to set up the image mosaic. After pointing the
image mosaic to my database table, Geoserver automatically detected the
bbox, which is in the (-112, 40) area. And it determined this correctly.
3. I manually changed the bbox to the whole world. The reason I do this is I
will be inserting many more images into the database, and they can be from
anywhere in the world. I tried to leave the bbox as (-112, 40), but when I
made an OGC call to view an image outside of the bbox, I was not able to see
it. I concluded that I must set the bbox to the whole world on the image
mosaic.
The OGC call I make is something like this:

http://localhost:8082/geoserver/wms?LAYERS=ohs:OPTICAL_RAW_IMAGES_MOSAIC_LAYER&CQL_FILTER=archive_dataset_id='53'
and
archive_name='ABC'&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/png&SRS=EPSG:4326&BBOX=6.328125,36.9140625,6.50390625,37.08984375&WIDTH=256&HEIGHT=256

I did try leaving the bbox as (-112, 40) instead of changing it to the whole
world, but my image still appeared smaller.

Thanks
eting



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Image-from-ImageMosaic-appears-smaller-than-it-should-be-tp5295047p5296362.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to