Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels duplication when using simplify_clip_resolution/ST_ClipByBox2d #722

Open
rochoa opened this issue Aug 7, 2017 · 0 comments
Open
Labels

Comments

@rochoa
Copy link
Contributor

rochoa commented Aug 7, 2017

Configuring the application to clip the geometries with ST_ClipByBox2d, like in:

--- NO CLIPPING
+++ ST_ClipByBox2d via simplify_clip_resolution
@@ -41,6 +41,7 @@
     // Supported labels: 'user_id', 'user_password' (both read from redis)
     ,postgres_auth_pass: '<%= user_password %>'
     ,postgres: {
+        simplify_clip_resolution: 10000,
         "simplify_geometries":false,
         "user":"publicuser",
         "password":"public",

And using the world_borders_hd dataset with a CartoCSS with labels like:

#layer {
  polygon-fill: #374C70;
  polygon-opacity: 0.9;
}
#layer::labels {
  text-name: [name];
  text-face-name: 'DejaVu Sans Book';
  text-size: 10;
  text-fill: #FFFFFF;
}

The labels, when getting to some zoom level, get duplicated:

screen shot 2017-08-07 at 17 30 01

@rochoa rochoa added the bug label Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant