Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] scale

Well let us know if it is a trouble for you; the WMS client code is
very modular and if we can "detect" we are using your server we should
be able to normalize a bit. (We already need to normalize across the
different versions of the WMS specification ...).

Jody

On Thu, May 14, 2009 at 7:08 PM, Tore Halset <halset@xxxxxxxxxxx> wrote:
> On May 14, 2009, at 8:32 , andrea antonello wrote:
>
>> If I remember correctly the measure taken is the diagonal of the
>> viewport and the scale is calculated referring to the OGC defined
>> screen dpi and is hardcoded.
>
> Thanks Jody and Andrea!
>
> Switching from UTM 32N to unprojected for my area, the scale is the same but
> the image is squeezed vertically. So, I think the scale is measured
> horizontal only. ArcGIS behaves the opposite way, so it looks like they are
> using vertical scale.
>
> Googling "OGC defined screen dpi" led me to
> http://javadoc.geotools.fr/2.3/org/geotools/renderer/lite/RendererUtilities.html that
> states that the OGC defined DPI is 90. Is that correct? Is looks like my
> uDig 1.1.1 uses 72.
>
> I am creating a WMS server and there are some viewing rules that are based
> on the scale. Yes, I know it is almost impossible to do this correctly as I
> do not know the client DPI and if they use horizontal, vertical or diagonal
> scale.
>
> Regards,
>  - Tore.
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users
>


Back to the top