Openstreetmap is now distributed in ODbL than CCBYSA.
Module should change according to license change.

 // OpenStreetMap Mapnik
  $layer = new stdClass();
  $layer->api_version = 1;
  $layer->name = 'osm_mapnik';
  $layer->title = 'OSM Mapnik';
  $layer->description = 'The main OpenStreetMap map';
  $layer->data = array(
    'baselayer' => TRUE,
    'attribution' => t('
      ©OpenStreetMap contributors:open license',
        '@openstreetmap' => '',
        '@odbl' => '',


yarma’s picture


be careful that only the raw data is now under ODbl, the default Mapnik tiles are still using CC-BY-SA.

So for a simple map display there is no change to do !


  • "OpenStreetMap is open data, licensed under the Open Data Commons Open Database License (ODbL). " => the raw vectorial osm data
  • "The cartography in our map tiles, and our documentation, are licensed under the Creative Commons Attribution-ShareAlike 2.0 license (CC-BY-SA). " => the map tiles as displayed by openlayers
ifrik’s picture

The best solution is to credit it as stated on
© OpenStreetMap contributors
and link that to - instead of generally to OpenStreetMap and without the year.

ifrik’s picture

Version: 6.x-2.0-beta1 » 7.x-2.x-dev

This should be fixed in 7 and backported to 6

ifrik’s picture

Status: Active » Needs work
Pol’s picture

Status: Needs work » Fixed

Thanks, fixed on dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.