See https://systemausfall.org/wikis/howto/DrupalOpenStreetMap for an example application for this set of scripts.