Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Serving tiles with tileserver-php - land and water polygons missing? #505

Closed
int19h opened this issue Jan 14, 2017 · 5 comments
Closed

Serving tiles with tileserver-php - land and water polygons missing? #505

int19h opened this issue Jan 14, 2017 · 5 comments

Comments

@int19h
Copy link

int19h commented Jan 14, 2017

I apologize if this is the wrong repo - it's kinda hard to figure out where this should go, as I'm not sure where the problem is, exactly.

Briefly, I'm trying to serve an mbtiles file for USA downloaded from osm2vectortiles via tileserver-php (the reason is that the machine serving it is running FreeBSD, and successfully building all the requisite Node modules even for tileserver-gl-lite, much less tileserver-gl, has proven to be very difficult - most native modules seem to assume it's either Linux or OS X, and there's a lot of build script breakage etc).

Based on this bug being closed with "implementation finished", I assumed that this is a supported scenario:
maptiler/tileserver-php#42

Now, when trying to actually test it, using tileserver-php's own index page, I'm seeing the maps, but it seems like the base layer (land and water polygons? not sure what it's called properly) is missing. Here's how it looks:

image

(It is the same at any zoom level)

Now, all I did was follow the instructions on tileserver-php: unpack it into the www folder of a PHP (7.0) enabled Apache 2.4 installation, copy .mbtiles file there, and open it in the browser.

Is there some configuration step that I'm missing specifically for .mbtiles from osm2vectortiles? Do I need to download some separate vector tileset for those polygons?

@int19h
Copy link
Author

int19h commented Jan 31, 2017

Closing it here and opening in tileserver-php instead.

maptiler/tileserver-php#95

@int19h int19h closed this as completed Jan 31, 2017
@hyperknot
Copy link
Contributor

hyperknot commented Jan 31, 2017 via email

@int19h
Copy link
Author

int19h commented Jan 31, 2017

FWIW, I'm having the same exact problem on Windows.

I'd like to avoid Linux in Docker if at all possible, because it consumes quite a lot of space (which, when maps are involved, is already precious).

@hyperknot
Copy link
Contributor

hyperknot commented Jan 31, 2017 via email

@int19h
Copy link
Author

int19h commented Feb 1, 2017

This particular issue is not actually FreeBSD related - note that this is about serving premade tiles, not generating them. Turned out it was entirely a client-side issue: I just needed to set up the styles properly. This is discussed in the comments to the other issue linked above, for those hitting the same problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants