logo separator

[mkgmap-dev] Way.isClosed()

From WanMil wmgcnfg at web.de on Thu Dec 19 09:54:21 GMT 2013

My understanding is that is_closed() should return:

> way 1 : n1,n2,n3...,n8,n9
false: n1 != n9

> way 2 : n1,n2,n3...,n8,n1
true : n1 == n1

> way 3: nx,n1,n2,n3,nx
true: nx == nx

> way 4: n1,n2,n9
false: n1 != n9

> way 5: n1,n2,n1
true: n1 == n1
> way 6: nx,n2,nx
true: nx == nx (StyledConverter will throw it away because it has less 
than 2 points)


WanMil


More information about the mkgmap-dev mailing list