boolean filterWay ( ReaderWay item ) { // ignore broken geometry if ( item . getNodes ( ) . size ( ) < 2 ) return false ; // ignore multipolygon geometry if ( ! item . hasTags ( ) ) return false ; return encodingManager . acceptWay ( item , new EncodingManager . AcceptWay ( ) ) ; }
Filter ways but do not analyze properties wayNodes will be filled with participating node ids .