There is a difference between a derivative database and a collective database: https://wiki.openstreetmap.org/wiki/License/Use_Cases#Case_4:_I_want_to_publish_something_based_on_OSM_and_some_data_I_obtained_elswhere