NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

As you know, carto-css will ask questions to the database and associate the answers to appropriate css through layers.

Is it possible to build a unique global layer with only one question to the database, subdivisions of the css doing the work ? or associate multiple layers to only one db question, the layer being one column of the db answer ?

I know I can find the answer by understanding the way carto css works and then by reading the documentation and learning to use it. But if some kind people may answer, I'ld get a free we

asked 11 May '18, 12:55

AntaC's gravatar image

AntaC
13115
accept rate: 0%


The requests allow to organise the data in layers, and usually you'd like to render bridges over rivers, roads over forest,... See https://tilemill-project.github.io/tilemill/docs/guides/symbol-drawing-order/

Also, if you take everything at once from the database, Im not sure how performance would be affected.

permanent link

answered 12 May '18, 09:14

yvecai's gravatar image

yvecai
1.5k1226
accept rate: 9%

thank you !

(12 May '18, 15:01) AntaC

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×34
×23
×22
×5

question asked: 11 May '18, 12:55

question was seen: 3,572 times

last updated: 12 May '18, 15:01

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum