[josm-dev] JOSMng prototype [resend]
Petr Nejedly
Petr.Nejedly at Sun.COM
Sat Feb 9 17:27:47 GMT 2008
Gervase Markham napsal(a):
> Petr Nejedly wrote:
>>> Performance isn't as good (well, it is doing more work) and I get some
>> Lines wider than 1px are much more expensive to paint and the stock style
>> sets 2px even to residential ways.
>
> I think it would be entirely reasonable to draw them narrower if the
> selection area around them remained the same size. (Also, nodes could do
> with being larger...)
Selection would stay (once implemented, way selection is not in there yet)
invariant regardless of painting style/implementation.
>
>>> very strange grey/orange/red "fills" over large parts of the screen
>>> at certain zoom levels. I can provide screenshots and details if it
>>> would help.
>>
>> Yes please. With data source, location and zoom level...
>
> czechia.osm, as given in your original email.
>
> - File | Open | select file | wait
> - File opens, centred on Hrebec
> - Using mousewheel, zoom out four or five times
> - See attached screenshot
> - If the coordinates change, the redraw turns that area back to black.
> - Scrolling around causes the corruption to change and move, but never
> to disappear; it can be grey or orange as well as yellow or pink
> - Zooming in quite a bit further seems to get rid of it
>
> If there was a zoom level indicator, I'd tell you which ones it occurs
> at :-)
Hmm :-)
The current zoom is printed to console, but your zoom was either 448 or 537.
But generally it seems like a problem with graphics drivers or java's drawing
library. The color is one of the highway colors, not any area color, so rendering
of wide lines seems to be broken in specific cases.
I can't reproduce the problem on my side. Could you try playing with Java2D demo
($JDK/demo/jfc/Java2D) or updating java or graphics card drivers?
--
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!
More information about the josm-dev
mailing list