maptiler/tileserver-php

geojson->mbt->tileserver: No data presented.

Closed this issue · 4 comments

I wish to construct a pipleline that takes GeoJSON through to self-hosted MapBox vector tiles specification.

  • Tippecanoe converts geojson to .mbt
  • mbutil converts mbt to tiles
  • tileserver-php exposes endpoint for tiles.

Tippecanoe & mbutil both show lots of promising output, indicating they are working. But when I look at the collection on tileserver it is empty.

I fully suspect that this may turn out to be user error. At the very least it may provide input to a more robust README, so that newbies like me don't trip over themselves.

I've x-posted this as a question on gis.stackexchange.com - more details are present there.

Why don't you just try to put the .mbtiles file directly next to tileserver.php?

There is no need to use mbutil.

Yes, I tried that also. In that case, no collection was found at all.

On 11 May 2016 at 16:50, Petr Pridal notifications@github.com wrote:

Why don't you just try to put the .mbtiles file directly next to
tileserver.php?

There is no need to use mbutil.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#83 (comment)

Just two files, edge-speed.mbt & tileserver.php side-by-side.

On 11 May 2016 at 16:51, Jem jem.mawson@gmail.com wrote:

Yes, I tried that also. In that case, no collection was found at all.

On 11 May 2016 at 16:50, Petr Pridal notifications@github.com wrote:

Why don't you just try to put the .mbtiles file directly next to
tileserver.php?

There is no need to use mbutil.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#83 (comment)

Solved in stackexchange. I needed to include .htaccess & rename edge-speed.mbt to edge-speed.mbtiles