Please be as kind as to have a look at the attached image and say what is your first thought of the probable reasons for such malfunction.

The setup is Tilestache/Mapnik/Nginx. PostgreSQL database contains OSM data and works just fine with the "standard" setup of Apache/mod_tile/Mapnik.

alt text

asked 22 Apr '18, 18:06

Mixroc's gravatar image

Mixroc
11225
accept rate: 0%

edited 22 Apr '18, 18:07

1

What happens if you zoom in - do the triangles get bigger?

(22 Apr '18, 19:06) SomeoneElse ♦
1

@SomeoneElse

Hi! Thanks for the reply.

If I zoom in, it, basically, remains in essence the same - a matrix of tiles of the same size with the background shifted in the same triangle manner, only at a larger scale.

alt text

If I zoom out, though, it becomes even more strange, as the map is almost normal, but there are defects in the background, with similar regular displaced light/dark triangles at the top of the screen, next to the Polar Circle, and, in addition to that, with long but narrow irregular diagonal triangles stretched out from three (in this particular case) locations in Europe with their top vertices converging somewhere above Iceland.

alt text

(22 Apr '18, 20:07) Mixroc
1

Another view at about mid-zoom: alt text

(22 Apr '18, 20:16) Mixroc
1

One of the views of the world:

alt text

(22 Apr '18, 20:21) Mixroc

The short answer is that I don't know - the land / sea boundaries aren't "consistently wrong" across zoom levels (and as you say it works OK with Apache/mod_tile/Mapnik). Things to check might include:

  • Processes getting killed while generating tiles
  • What "OSM data" (as opposed to just boundaries) looks like when you zoom right in
  • Trying to ask somewhere that TileStache users might hang out (github, I'm guessing?)
  • Any lingering 32bit vs 64bit issues (I'm guessing that everything is 64bit throughout, but just checking)
  • Any potential endian issues if the environment where it doesn't work is different to where it does

... but as you can probably tell I'm mostly guessing here.

permanent link

answered 22 Apr '18, 21:07

SomeoneElse's gravatar image

SomeoneElse ♦
31.3k63322726
accept rate: 15%

@SomeoneElse

Hey! Thanks anyway. After wasting a whole day fiddling with various ways to install mapnik and the rest of the toolchain, fighting new non-compliances and errors where there were none before, I finally managed to get it working in a virtual machine with no problems at all, using - TADA! - exactly the same software I used before, but obviously different releases of it. The glithcy system was running bunsenlabs, the current successfull one is running ubuntu 16.04. The devil must have been in details, who knows where.

Cheers!

permanent link

answered 24 Apr '18, 20:43

Mixroc's gravatar image

Mixroc
11225
accept rate: 0%

Your answer
toggle preview

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:

×366
×307
×221
×140
×1

question asked: 22 Apr '18, 18:06

question was seen: 468 times

last updated: 24 Apr '18, 20:43

powered by OSQA