I need to extract some administrative boundaries from big OSM extract, and put them in .poly file. Are there any tools for this task?
I've tried Perl script by Gary68 (http://svn.openstreetmap.org/applications/utils/gary68/boundaries.pl), but it returned something like ERROR: at least one needed node missing in osm file. ERROR: at least one needed way missing in osm file. ERROR: at least one needed node or way missing.
Also I've installed osmium, but I don't see tool for my task.
What would you advise me?
(Basically I need to get a list of all houses on all streets of a certain city, and do it automatically for number of cities)