[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] WMS scale calculation
|
We try and follow the wms specification where we can; there has been a fair bit of debate on how to work with different WMS implementations (as it is fairly easy to read the standard differently).
There is a scale utils class which contains the calculations.
Jody
On 19/10/2010, at 7:00 PM, Hochmeister Rudolf wrote:
> Hi,
>
> Our WMS delivers layers with ScaleHint=1.18793, which are calculated
> for a scale of 1:3000 at 91px/inch, which is 0,28mm pixel size(like defined in ogc standard).
>
> It seems like udig-1.1.1 uses 96px/inch or 0,26mm pixel size, because
> scalehint triggers above a scale of 1:3175.
>
> Is there a way to tell udig to use 91px/inch?
> I looked in renderer classes but could only find some calculateScale() methods, but they are not called during WMS rendering.
> RendererUtilities.getDPi() is also never called. Where is the default scale implemented/hardcoded?
>
> cheers,
>
> Rudi Hochmeister
> Magistrat der Stadt Wien
> MA 14 - ADV - Referat EG3
> A 1082 Wien, Rathausstraße 1
> Email: rudolf.hochmeister@xxxxxxxxxx
> Telefon: (+43 1) 4000 91119
> Fax: (+43 1) 4000 7141
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel