Oops, I meant to say:

Of course, a scale expressed as a ratio of 1:3780 means that one
unit on the map represents 3780 units on the ground.  So if we were to
print out the new project window as it was first opened, we would see
that one cm on the paper would be equivalent to 3780 cm or 37.8 m in the
real world.  This, of course, assumes that Stefan's math is correct.

Larry
On 8/18/07, Larry Becker <[EMAIL PROTECTED]> wrote:
> Hi Uwe,
>
>   There are two kinds of scale in JUMP.  The internal scale is given by:
>
> internalScale = ModeViewWidth / PixelViewWidth.  (typically units of
> meters/pixel)
>
> The internalScale is used to transform distance between model space
> and screen space (at a particular view's zoom level) via a simple
> multiplication or division.
>
> Stefan modified the Change Style>Scale panel to compute a new display
> scale in late 2005 he called real scale.  He used:
>
>   realScale = ModeViewWidth * 100 / (INCHTOCM / SCREENRES * PixelViewWidth)
>
> This is basically the same equation with the conversion from pixel
> size to model units factored in.  When a new project window is first
> created, the internalScale will be 1 and every pixel will be one model
> unit wide.  The realScale will be 3779.527559055118 or approximately
> 3780 as you reported (given a SCREENRES of 96 and an INCHTOCM of
> 2.54).
>
> Of course, a scale expressed as a ratio of say 1:5000 means that one
> unit on the map represents 5000 units on the ground.  So if we were to
> print out the new project window as it was first opened, we would see
> that one cm on the paper would be equivalent to 5000 cm or 50 m in the
> real world.  This, of course, assumes that Stefan's math is correct.
> :-)
>
> regards,
> Larry Becker
>
>
>
> On 8/18/07, Uwe Dalluege <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > does anybody knows how the scale
> > of Change Style>Scale is calculate?
> >
> > I have a screen resolution of 1280 x 1024 pixel.
> > When I use OpenJUMP with full screen
> > the graphical window has a size of about 1060 x 860 units
> > (coordinate display).
> >
> > The current scale shows me a value of 1:3780.
> >
> > What does it mean?
> >
> > Regards,
> >
> > Uwe
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
>
>
> --
> http://amusingprogrammer.blogspot.com/
>


-- 
http://amusingprogrammer.blogspot.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to