Re: [OpenMap Users] stipes in layer...

From: MARTIJN VAN DER PAUW <martijnp@meteocon.nl>
Date: Wed Oct 23 2002 - 06:27:37 EDT

I do about the following.

I put a OMGrid filled with a 2D array in a LocationLayer. There, I
generate the grid with a slightly modified SimpleColorGenerator
(SimpleColorGenerator gives same corrupt effect). I generate it with
a Mercator Projection on the Netherlands (about
2degEast,50degNorth )

Everytime a user requests an image, the grid size might be
different. I seems that when the grid is square, there are no corrupt
things in the image. I even think the corruptancy starts at the point
the height or width is larger than its width,height.

-------------------------------------------------------------------------------------------------
The reason why I let the size of the grid differ is that it costs a lot
less time to render.
Otherwise, when I zoom in a lot, the render time is extremely long.

Op 23 Oct 2002, om 7:49, Allan Doyle schreef:

> On Wednesday, October 23 2002 at 07:16:01(+0200) MARTIJN VAN DER PAUW
> wrote:
> > Hello,
> >
> > I thought i send it before, but I couldn't find it back:
> >
> >
> > Depending on the projection I use in the imageserver, I regurlarly
> get > corrupte grid layers. The good looking grid stops somewhere, on
> a > lat of > lon. The latest grid values stay in memory and those are
> painted > over the > rest of the grid. example: >
> http://www.regen.nl/temp/screendump21102002a.gif > > It seems to
> depend on the lon/lat. In the example, when I move the > projection
> more to the right, the disturbance starts earlier/later. > When
> moving more to the north or south i get it at the right of > image as
> well. It looks a bit like a method that's not ready while the > image
> is already processed.
>
> This looks like a classic projection blow-up. We used to see it
> horizontally when we first were developing the projections and
> polygons would close the wrong way around the world or fly off to the
> edge of the screen. I think the clues would be which projection you
> are using and what the lat/lon values of the edges where it breaks
> are.
>
> Maybe someone with better knowledge of the projection/generate code
> would know where to look.
>
> Allan
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Allan Doyle http://www.intl-interfaces.com
> adoyle@intl-interfaces.com
>

Martijn van der Pauw, internetontwikkelaar.
Meteo Consult
martijn@weer.nl
tel: 0317 - 399800
fax: 0317 - 423164
http://www.weer.nl

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Oct 23 08:29:34 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT