[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    [postgis-users] PostGIS Raster WMS GeoServer pixel jump problem
From:       Christoph Haselberger <c.haselberger () blpgeo ! at>
Date:       2015-11-24 13:34:05
Message-ID: 28076200.2273.1448372045285.JavaMail.root () blpgeo ! at
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, 



I could visualize PostGIS (2.1.3) raster data with the geoserver (2.6.1, image mosaic \
jdbc) as a wms in openlayers3. But I have a problem, the wms preview (ol2) of the \
geoserver and the ol3 visualisation have a blemish. The extent of the wms jumps into \
the direction of panning for displaying a full pixel. It is not possible to display a \
part of a pixel. It is a low resolution raster dataset with this parameters:  \
                EPSG:4326 
extent: -25, 33, 40.25, 72 
resolution: 0.25 

I use the same raster data stored in the geoserver directory and it works. 

example 
file-based 
http://csc-gis01.x-t.at/geoserver/General/wms?service=WMS&version=1.1.0&request=GetMap \
&layers=General:test_raster&styles=&bbox=-25.0,33.0,40.25,72.0&width=552&height=330&srs=EPSG:4326&format=application/openlayers \


Geoserver PostGIS Raster 
http://csc-gis01.x-t.at/geoserver/wp8/wms?service=WMS&version=1.1.0&request=GetMap&lay \
ers=wp8:pm25_current_mean&styles=&bbox=-25.0,33.0,40.25,72.0&width=552&height=330&srs=EPSG:4326&format=application/openlayers \


Thanks & Best regards 

Christoph 


[Attachment #5 (text/html)]

<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div \
style='font-family: verdana,helvetica,sans-serif; font-size: 10pt; color: \
#000000'>Hi, <br><div \
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div \
style="font-family: verdana,helvetica,sans-serif; font-size: 10pt; color: \
#000000"><br>I could visualize PostGIS (2.1.3) raster data with the geoserver (2.6.1, \
image mosaic jdbc) as a wms in openlayers3. But I have a problem, the wms preview \
(ol2) of the geoserver and the ol3 visualisation have a blemish. The extent of the \
wms&nbsp; jumps into the direction of panning for displaying a full pixel. It is not \
possible to display a part of a pixel. It is a low resolution raster dataset with \
this parameters:&nbsp; <br>EPSG:4326<br>extent: -25, 33, 40.25, 72 <br>resolution: \
0.25<br><br>I use the same raster data stored in the geoserver directory and it \
works.<br><br>example<br>file-based<br><span class="Object" \
id="OBJ_PREFIX_DWT1520_com_zimbra_url"><a target="_blank" \
href="http://csc-gis01.x-t.at/geoserver/General/wms?service=WMS&amp;version=1.1.0&amp; \
request=GetMap&amp;layers=General:test_raster&amp;styles=&amp;bbox=-25.0,33.0,40.25,72 \
.0&amp;width=552&amp;height=330&amp;srs=EPSG:4326&amp;format=application/openlayers">h \
ttp://csc-gis01.x-t.at/geoserver/General/wms?service=WMS&amp;version=1.1.0&amp;request \
=GetMap&amp;layers=General:test_raster&amp;styles=&amp;bbox=-25.0,33.0,40.25,72.0&amp; \
width=552&amp;height=330&amp;srs=EPSG:4326&amp;format=application/openlayers</a></span><br><br>Geoserver \
PostGIS Raster<br><span class="Object" id="OBJ_PREFIX_DWT1521_com_zimbra_url"><a \
target="_blank" href="http://csc-gis01.x-t.at/geoserver/wp8/wms?service=WMS&amp;versio \
n=1.1.0&amp;request=GetMap&amp;layers=wp8:pm25_current_mean&amp;styles=&amp;bbox=-25.0 \
,33.0,40.25,72.0&amp;width=552&amp;height=330&amp;srs=EPSG:4326&amp;format=application \
/openlayers">http://csc-gis01.x-t.at/geoserver/wp8/wms?service=WMS&amp;version=1.1.0&a \
mp;request=GetMap&amp;layers=wp8:pm25_current_mean&amp;styles=&amp;bbox=-25.0,33.0,40. \
25,72.0&amp;width=552&amp;height=330&amp;srs=EPSG:4326&amp;format=application/openlayers</a></span><br><br>Thanks \
&amp; Best regards<br><div>Christoph<br></div><br></div></div><br></div></body></html>



[Attachment #6 (text/plain)]

_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic