Skip to content

Instantly share code, notes, and snippets.

@yohanboniface
Created July 8, 2015 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yohanboniface/a00c1c818a40920ab222 to your computer and use it in GitHub Desktop.
Save yohanboniface/a00c1c818a40920ab222 to your computer and use it in GitHub Desktop.
Kosmtik localconfig for osm-bright
/* globals exports */
exports.LocalConfig = function (localizer, project) {
localizer.where('Layer').if({'Datasource.type': 'postgis'}).then({
'Datasource.dbname': 'idf',
'Datasource.password': '',
'Datasource.user': 'ybon',
'Datasource.host': ''
});
localizer.where('Layer').if({id: 'ne_places'}).then({'Datasource.file': '/home/ybon/Code/maps/osm-bright/osm-bright/data/ne_places/10m-populated-places-simple.shp'});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment