[OSM-dev] osmosis --bb/--bp with completeWays

Frederik Ramm frederik at remote.org
Fri Dec 21 15:05:31 GMT 2007


Hi,

   this is probably a question to Karl Newman: In Osmosis, when you
extract an area with complete-ways, it does this:

// If complete ways are desired, stuff the node into a file
if (completeWays) {
   allNodes.add(container);
}
// Only add the node if it lies within the box boundaries.
if (isNodeWithinArea(node)) {
   ...

I wonder if it would not be sufficient to store all nodes that are
*not* in the box bondaries in allNodes? After all, you need allNodes
to dump additional nodes later on; but the ones you have alrady added
will not get added again so you will not need them...?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the dev mailing list