[OSM-talk] Islands that will vanish in the license change

Frederik Ramm frederik at remote.org
Fri Apr 13 10:09:01 BST 2012


Hi,

On 04/13/12 11:00, Paul Norman wrote:
> This technique works well for smaller areas, but when I tried running the
> license check plugin on a 5 GB .osm file it was unhappy.

With very large files, I do manage to get a result from the plugin but 
JOSM's performance rapidly deteriorates (no doubt due to my hapharzardly 
implementing the plugin because as soon as I switch off the license 
check layer things work smoothly again).

In these cases I tend to:

1. load very large file
2. run license check
3. visually identify problem area
4. drop license check result layer
5. select (one of a number of) problem area(s)
6. invert selection
7. purge data
8. re-run license check

That way, I can zoom in on problem areas without always having 
everything loaded.

> I have all the code
> written to do this automatically except the logic, which I'm finding oddly
> difficult.

In addition to the logic in *my* code being difficult, it is also not 
the ultimate algorithm; while there will be little difference between 
the WTFE algorithm/license change plugin and the actual license change 
bot, there may be situations where they make different decisions.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the talk mailing list