Hi,

Frederik Ramm wrote:
I'll debug this further - currently unsure if there's something wrong with the input data or what. The problem occurs about 1h50m hours into processing the job. so it looks more like it is towards the end.

Ok, that was easy; it looks like clipIncompleteEntities is broken in 0.36 because Way.getWayNodes is documented as returning a read-only list, and AreaFilter does this if clipIncompleteEntities is true:

// Remove node references for nodes that are unavailable.
for (Iterator<WayNode> i = filteredWay.getWayNodes().iterator(); i.hasNext();) {
    WayNode nodeReference = i.next();

    if (!availableNodes.get(nodeReference.getNodeId())) {
        i.remove();
    }
}

I'll continue using 0.36 for downloading the hourly diffs and go back to an earlier version for other processing.

Bye
Frederik

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to