Re: [OpenMap Users] VPF Rendering Bug

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 22 Mar 2006 11:00:51 -0500

Thanks for the fix, Guy!

- Don

On Mar 17, 2006, at 9:52 AM, Guy Pascarella wrote:

> Hey All,
> I was playing around with World Vector Shoreline Plus data at the
> world view
> level. It seems that in certain cases when the dateline is on the
> screen a
> rendering error will occur that only draws the data to one side of the
> dateline.
>
> I had seens similar errors in other plugin/layer code where the
> dateline
> wasn't being checked for. So I replaced the LibrarySelectionTable's
> dateline test with the one from the ShapeLayer
>
> Offending code (com.bbn.openmap.layer.vpf.LibrarySelectionTable) :
> //if ((scale < BROWSE_CUTOFF)
> // && (ll1.getLongitude() > ll2.getLongitude())) {
>
> Fixed code:
> if ((leftLon > rightLon)
> || MoreMath.approximately_equal(leftLon, rightLon,
> .001f))
> {
>
> This was occurring in v4.6.1. Just trying to give back.
>
> -Guy
>
> Guy Pascarella
> Intelligent Software Solutions
> Guy.Pascarella_at_issinc.com <mailto:Guy.Pascarella_at_issinc.com>
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Mar 22 2006 - 11:01:08 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT