logo separator

[mkgmap-dev] [PATCH v1] Decide in style file if a way is closed automatically

From Steve Ratcliffe steve at parabola.me.uk on Sat Oct 27 13:32:12 BST 2012

Hi

> Afer a quick code inspection I would say: Looks good! The only thing
> that must be checked carefully is the new meaning of the isClosed()
> method. I am quite sure that there are some places at least in the
> multipolygon code that relies on
> isClosed() == true =>
> getPoints().get(0).equals(getPoints().get(getPoints().size()-1))

Yes agreed. The first thing I'm going to do is find out how common it
is that isClosed() != isClosedOld().

Perhaps the multi-poly code can make good use of isComplete()?

..Steve




More information about the mkgmap-dev mailing list