[josm-dev] Recent addition of explicit multipolygon support in presets

2016-02-17 Thread Simon Poole
A couple of weeks back, see https://josm.openstreetmap.de/ticket/12412 ,
explicit support for multipolygons was added to the presets.

This is, in principle, a good thing, given that preset
matching/application shouldn't be dependent on how an area is
technically modelled . Alas the actually implementation seems to leave a
bit to desire, in that instead of abstracting closed ways that are areas
and multipolygons to one type, now both values have to be set.

While it works in general, there seem to be some arbitrary differences
being made between closed way defined areas and multipolygons (random
example: swimming pools). Likely just oversights, however they do show
that using 1.5 values for the same concept is simply error prone.

I would suggest re-jigging things so that

- "closedway" is used for closed ways without area semantics
(roundabouts etc.)

- a new type value "area" is used for closed ways with implicit and
explicit (via area=yes tag)  area semantics and multipolygons (this
should be reasonably future proof)

The other issue with the changes is that a lot of "relation" type
specifications have been replaced with "multipolygon", which is clearly
correct for landuse, natural etc., however stops matching with site
relations for amenities and similar. Given that site relations are at
least currently not that popular not a big issue, but still annoying.

I haven't opened an issue yet since somebody might have a far better
idea on how to resolve the issue.

Simon



signature.asc
Description: OpenPGP digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JDK 9 EA build 105 is available

2016-02-17 Thread Rory O'Donnell

Hi Wiktor,

I will look into this. I will let you know if this is going to happen.

Rgds,Rory

On 15/02/2016 19:09, Wiktor Niesiobedzki wrote:

Rory,

One question though, is this fix something, that could you could also
consider including in Java 8? We need to plan, how and when to phase
out our work-around code.

Cheers,

Wiktor

2016-02-15 20:02 GMT+01:00 Wiktor Niesiobedzki :

Hi Rory,

I can confirm, that the fix is working and I see now all the header
fields returned.

Thank you very much for the fix.

Cheers,

Wiktor

2016-02-15 19:22 GMT+01:00 Rory O'Donnell :

Hi Vincent,

Early Access b105  for JDK 9 is available
on java.net, it includes a fix for :

  * JDK-8146450 : Java Web Start resource cache doesn't store all HTTP
response headers

Can you confirm fix is working.

Thanks,Rory

--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland

___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev