Hi

> please review this piece of code:
>                   if(foundType.isRoad() &&
>                          !MapObject.hasExtendedType(foundType.getType()))
>                               addRoad(way, foundType);
>                   else
>                               addLine(way, foundType);
>
> Is it intended that ways with extendedType are added as lines (and not
> roads) no matter what isRoad() returns?

An extended type cannot be a road, so the check is
intended, but its an error in the style and should be caught there
and not in this piece of code.

..Steve
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to