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

I am trying to set up the French OSM style, based on the source code is on cquest's github osmfr-carto. I have imported a small country OSM extract with --hstore.

Lots of SQL queries in this project depend on a SQL table called params, but it is not included, or created anywhere, and it is not documented.

Does anyone know what this table structure should be like, and what values should be in it? The queries look for several values buffer, x_bleed and y_bleed.

asked 11 Jul '16, 10:54

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%


These 2 parameters are used to set the rendering buffer around the metatiles and the "bleed" parameter if you're using mapnik with the "bleed" patch.

This patch tells mapnik/renderd to generate rasters that a a bit larger than your metatile. It avoids many broken text on the edges.

With an unpatched mapnik/renderd:

  • buffer = 128
  • x_bleed = 0
  • y_bleed= 0

with the bleed patch, I'm using:

  • buffer=256
  • x_bleed=256
  • y_bleed=256

This is like rendering a 10x10 metatile, but keeping the 8x8 at the center.

permanent link

answered 11 Jul '16, 11:21

cquest's gravatar image

cquest
6912613
accept rate: 33%

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:

×440
×65
×24
×16
×2

question asked: 11 Jul '16, 10:54

question was seen: 2,507 times

last updated: 11 Jul '16, 11:21

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