Re: [josm-dev] Autogenerated JAXB files in JOSM SVN

2011-08-20 Thread Giovanni Mascellani
On 15/08/2011 19:14, Jiri Klement wrote: Hi, The files were generated using xjc tool from wms-cache.xsd file. JAXB is used to simplify reading of xml files - xml is automatically transformed into java objects that are easier to process than for example SAX events. Thanks for the

Re: [josm-dev] Autogenerated JAXB files in JOSM SVN

2011-08-20 Thread Paul Hartmann
On 08/20/2011 09:58 AM, Giovanni Mascellani wrote: On 15/08/2011 19:14, Jiri Klement wrote: Hi, The files were generated using xjc tool from wms-cache.xsd file. JAXB is used to simplify reading of xml files - xml is automatically transformed into java objects that are easier to process than

[josm-dev] r4188 - removal of debug code

2011-08-20 Thread Dave Hansen
Hi Dirk, I saw that you removed a bunch of my debugging code in here: r4188 | stoecker | 2011-07-01 00:27:15 -0700 (Fri, 01 Jul 2011) | 1 line improve TMS zoom handling Is there some other way you'd like to see it done? Or, perhaps some way that would be a little bit easier to re-enable it

[josm-dev] [PATCH] tweak tile imagery autozoom behavior

2011-08-20 Thread Dave Hansen
From the code comment: In general, smaller zoom levels are more readable. We prefer big, block, pixelated (but readable) map text to small, smeared, unreadable underzoomed text. So, use .floor() instead of rounding to skew things a bit toward the lower zooms. The second hunk changes the range

[josm-dev] [PATCH] regression in JOSM's tile drawing

2011-08-20 Thread Dave Hansen
I'm seeing some regressions in the imagery portion of JOSM. It does not seem to be drawing tiles from the non-current zoom level. It used to do this. To reproduce: 1. Load an imagery layer 2. Turn off autozoom 3. Zoom out. As soon as the autozoom changes, you get a blank screen instead of

Re: [josm-dev] Autogenerated JAXB files in JOSM SVN

2011-08-20 Thread Giovanni Mascellani
Hi. On 20/08/2011 10:39, Paul Hartmann wrote: Thanks for the explanation. Anyway, I cannot find the file wms-cache.xsd anywhere. Is it on the SVN? If not, could you send me one copy? $ find -name wms-cache.xsd ./data_nodist/wms-cache.xsd Thanks, probably I wrongly assumed that the file has

Re: [josm-dev] r4188 - removal of debug code

2011-08-20 Thread Dirk Stöcker
On Sat, 20 Aug 2011, Dave Hansen wrote: I saw that you removed a bunch of my debugging code in here: r4188 | stoecker | 2011-07-01 00:27:15 -0700 (Fri, 01 Jul 2011) | 1 line improve TMS zoom handling Is there some other way you'd like to see it done? Or, perhaps some way that would be a