[worldKit-dev] annotation precision

Mikel Maron mikel_maron at yahoo.com
Thu Aug 30 03:16:56 PDT 2007


Yes, I'd say this is probably a related issue.

----- Original Message ----
From: Ian Mayo <ian at planetmayo.com>
To: Discussion of worldKit use and development <worldkit-dev at lists.brainoff.com>
Sent: Thursday, August 30, 2007 10:50:40 AM
Subject: Re: [worldKit-dev] annotation precision

Hi jean,
I can help with your first issue.

By default worldKit focusses on large scale maps.  The coordinate
system used for large scale plotting doesn't allow a representation
small enough for your small scale mapping - that's why you're seeing
your resolution problem.  Mikel did implement a workaround for this,
the <accuplot> setting.  <accuplot> allows plotting of points on small
scale maps, but it doesn't show lines properly at this scale.  Try
searching the archives for accuplot.  There's also some discussion of
it in trac.

I have contracted a developer to overcome this problem.  I've seen his
demonstration of a valid solution, and a quick inspection of the
sources seems to show very few code changes required.  Possibly few
enough for you to reproduce, though unfortunately I don't have access
to the changes myself to pass them on to you.

Sorry I can't help with the second issue, but I suspect it's related.

Ian.


On 28/08/2007, wri-ano <wri-ano at laposte.net> wrote:
>
> Hi,
>
> I would like to submit 2 bugs, can't find my way through "trac"
>
> 1.Unprecise positionning of points
> 2.Moving polygons
>
> 1.
> it doesn't show on large scale application like those
> "advertised" in the example section, but annotations
> positionning is a bit unprecise. the offset is 0.05 degrees or
> so. both lat and lon.
> I'm using wms on nasa'JPL as explained in the documentation.
> It's like the WMS tiling is somehow shifted to the NorthEast
> by that offset. it may depend on lattitude.
> coordinates are verified.
>
>
> 2.
> The polygons and lines are affected. if you try to draw 2
> polygons side by side, you will still see a small gap between
> them. this gap is about 0.03 degrees, but whhen you multiply
> the number of polygons and/or their edges, this gap may or may
> not be present, so the polygons are shifted in any direction.
> for example, adding a point to a polygon can make it stick to
> its neighbour at the other end of it. Quite erratic.
>
> Sorry I cannot explain this behavior correctly. The best thing
> is to check the example on front page, and zoom in on a
> country border, between saudi arabia and Yemen for example.
> You will see what I mean, in some places, there is a
> no-man's-land, elsewhere it's overlaying. (btw, publishing the
> source of this example would be great)
>
> Once again, those problem does not show for large scale apps,
> but for small scale ones, it makes worldkit unusable.
>
> If you need any more info, just ask me. besides that, worldkit
> would fit so well for my application, I would be happy to help.
>
> it occurs with worldkit 3.3.
>
> Thanks
>
> jean marc
>
_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com






More information about the worldkit-dev mailing list