[Potlatch-dev] [OpenStreetMap] #3419: Make circular tool is non-deterministic
OpenStreetMap
trac at openstreetmap.org
Sun Feb 13 00:40:05 GMT 2011
#3419: Make circular tool is non-deterministic
------------------------+---------------------------------------------------
Reporter: seav | Owner: potlatch-dev@…
Type: defect | Status: closed
Priority: minor | Milestone:
Component: potlatch2 | Version:
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by stevage):
* status: new => closed
* resolution: => fixed
Comment:
I haven't seen actual non-determinism, but there is something buggy in the
centroid calculation that leads to the centroid sometimes being outside
the polygon. That in turn leads to an oversized circle being created. You
can see this effect on this way:
http://www.openstreetmap.org/browse/way/62162934
Anyway, I have committed a fix that uses a much simpler way to compute a
centroid. [25277]
--
Ticket URL: <http://trac.openstreetmap.org/ticket/3419#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Potlatch-dev
mailing list