Thanks for your response. I indeed want to recreate the OSM style (or adapt it, then recreate from that style).
Seems parsing these files would fairly simple. Though is there a default implementation that handles the style parsing (in case I need to fetch other style info which I do not forsee yet)? Am 29.08.16, 05:28 schrieb "Paul Norman" unter <[email protected]>: >On 8/28/2016 8:07 AM, Stadin, Benjamin wrote: >> we’re defining the data structure for the next version of our 3D map, a >> basic feature of it is the indoor capability. I could write more about >>the >> background, but to keep it short for now: I need to generate an ordered >> list of layers with their table names in the rendering db, so ordered >>from >> „bottom layer to top layer“, out of a Carto CSS style definition (e.g. >> from the actual OSM style def. >> https://github.com/gravitystorm/openstreetmap-carto). > >The typical osm2pgsql rendering database does not have layers. It has >tables for points, lines, polygons, and one for data commonly used at >low zooms. > >OpenStreetMap Carto comes with layers, but these are not layers in the >traditional GIS sense. They are layers which are rendered and the layer >definitions are not intended to be meaningful outside of the specific >style. These regularly change between style versions and copying them is >a bad idea unless you want to recreate that specific style. > >If you do want to do that, the style definitions are in YAML and should >be easy to parse. > >_______________________________________________ >dev mailing list >[email protected] >https://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/dev

