Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am experiencing a small screen space offset when using a WMS layer (origin is GeoServer 2.1.4). Looking at the requests from QGIS (1.7.4) to my GeoServer I realised that the aspect ratio between the WIDTH/HEIGHT and the BBOX is different. Calculating the aspect difference back into screen space gives a difference of ~1 pixel - I wonder if it could be the reason for my offset?

Due to devices with non-square pixels it makes sense that the aspect ratio can differ.

But what is the reason for QGIS not enforcing equality between the aspect ratios?

share|improve this question
rounding error? – iant Jun 28 '12 at 12:44
Where in the proces do you propose the rounding error? – Chau Jun 28 '12 at 12:58
probably in the bounding box as that is a floating point calculation as opposed to screen size (integer pixel count)? – iant Jun 28 '12 at 14:21

Your Answer


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

Browse other questions tagged or ask your own question.