Page MenuHomePhabricator

Implement tm2source for osm2pgsql db
Closed, ResolvedPublic

Description

OSM Bright is a good starting style to use for mapbox studio. But, to use it, we must adapt the local data source that was imported into a postgis database using osm2pgsql.

For now, the very simple initial repo is at https://github.com/nyurik/osm2pgsql-osm-bright.tm2source - please clone and submit pull requests.

Useful links:

Event Timeline

Yurik assigned this task to MaxSem.
Yurik raised the priority of this task from to Needs Triage.
Yurik updated the task description. (Show Details)
Yurik added a project: Maps.
Yurik added subscribers: Yurik, MaxSem.

We might want to prod mapbox to implement source autoreload, or maybe even do it ourselves. A quick and dirty hack would be to edit resources/app/lib/source.js and comment out line 99: if (cache[id]) return callback(null, cache[id]); -- this way you can use CTRL+R to reload the map (style) after changing sql in a separate studio instance where you edit SQl.

Yurik set Security to None.
Yurik updated the task description. (Show Details)
MaxSem moved this task from Backlog to In progress on the Maps-Sprint board.
MaxSem added a subscriber: Maps-Sprint.
MaxSem removed a subscriber: Maps-Sprint.

All other issues should be filed as separate bugs.