Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using Geoserver in conjunction with the google maps API to add a raster layer onto a map. It loads fine, however there's some strange problem with opacity at the edge of the layer where you can see a boundary. Have you any idea how to fix this?

Screen shot

(The original is at obstest.heliohost.org/map2.html.)

I'm totally new to gis and to Geoserver so sorry if this is an obvious question!

Thanks.

share|improve this question
    
I should add that when I load the image into qgis or udig it looks fine. –  beacon_bonanza Jan 30 '13 at 9:59
    
It looks like a reprojection artefact. Is the raster being reprojected by GeoServer on the fly to produce the above image? If so, that might explain why it looks OK in QGIS where, perhaps, you are looking at it in its native projection. –  MappaGnosis Jan 31 '13 at 9:43
    
I'm not too sure if it's being reprojected or not. Is there any way to change how it's projected in this case? –  beacon_bonanza Jan 31 '13 at 11:33
1  
Match the projection of the raster (using Warp tool in QGIS) to whatever the projection is in your map above. –  MappaGnosis Jan 31 '13 at 12:17
    
Thanks @MappaGnosis, that did the trick. I didn't think the projection would have been the problem because it looked ok apart from that boundary, but that's just part of being a n00b! If you write up an answer I'll accept it. –  beacon_bonanza Jan 31 '13 at 14:02

1 Answer 1

up vote 2 down vote accepted

This is a reprojection artefact. The raster being reprojected by GeoServer on the fly to produce the above image. This explains why it looks OK in QGIS where you are looking at it in its native projection.

Match the projection of the raster (using Warp tool in QGIS) to whatever the projection is in your map above.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.