[josm-dev] JOSM extension for orthogonalizing ways

Brian Quinion openstreetmap at brian.quinion.co.uk
Fri Oct 31 10:09:45 GMT 2008


>> This is my
>> big problem with the current implementation - it creates a rectangle
>> in the current projection with the result that (as you go further
>> north / south) the rectangle become more and more misaligned to
>> physical reality.
>
> If you use the Mercator projection that problem should be less pronounced.

Yup - I switched a while back and it improves things a lot - although
it is still out by a bit.

> It is not easy to do rectangular alignment on the surface of a sphere which
> is basically what you're asking for. The geometry code is complicated
> already even if you're just dealing with projected data!

Indeed! This is the reason I've not tried to fix it myself - it makes
my head hurt :-)

> We could of course simply disable the option for the EPSG:4326 projection.
> Which used to be the default because of the inability of the WMS plugin to
> work properly with anything else. Maybe the new WMS code doesn't break as
> bad when used with Mercator, in that case we could switch the default to
> Mercator.

Disabling or warning the user in EPSG:4326 would seem a major
improvement.  It just worries me that at the moment the tool makes
data less accurate in the default projection - catching out new people
and those least likely to realise there is an issue.

I'm assuming from this that the new code from Harald doesn't resolve
this? As I said not actually read it to check...

Cheers,
--
 Brian




More information about the josm-dev mailing list