logo separator

[mkgmap-dev] Question reg. LayerFilterChain.addElement

From GerdP gpetermann_muenchen at hotmail.com on Mon Feb 4 17:18:46 GMT 2013

Hi,

maybe I found an error, maybe my understanding is wrong...

I thought that all filters in the chain are executed before any element
is finally passed to eg. the MapBuilder.LineAddFilter.LineAddFilter

But if eg. the LineSplitterFilter calls addElement() instead of doFilter() 
all following filters are skipped and 
MapBuilder.LineAddFilter.LineAddFilter is called directly.
If this is intended, where should a filter that checks for equal coordinates
be placed? I wanted to add it after RemoveEmpty(), but then some 
invalid lines are passed to the map.addMapObject() method.

ciao,
Gerd



--
View this message in context: http://gis.19327.n5.nabble.com/Question-reg-LayerFilterChain-addElement-tp5748072.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list