Timeline for Self-hosting Mapbox vector tiles
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 15, 2021 at 7:46 | history | suggested | Leo | CC BY-SA 4.0 |
the packages tilelive and mbtiles have moved
|
Jun 15, 2021 at 6:16 | review | Suggested edits | |||
S Jun 15, 2021 at 7:46 | |||||
Jul 26, 2020 at 17:55 | comment | added | maxwell | If I have the .mbtiles file locally on my server can I just provide a path the file instead of the mbtiles:// protocol? | |
Mar 20, 2019 at 2:11 | comment | added | mireille raad | Tilelive seems to be no longer maintained by mapbox. any alternatives/recommendations? | |
S Sep 15, 2018 at 6:43 | history | suggested | LBes | CC BY-SA 4.0 |
Added the explanation of the '///'
|
Sep 15, 2018 at 0:07 | review | Suggested edits | |||
S Sep 15, 2018 at 6:43 | |||||
Sep 18, 2017 at 12:35 | comment | added | Cyril CHAPON | Any word on generating vector tiles ? I'm starting from scratch with a node.js script that parses a file. I know now how to serve vector tiles from any source format with tilelive, but what about making a choice concerning that format, when starting from scratch ? I don't want to pass through Mapbox Studio, I'd like to keep this local. | |
Dec 18, 2016 at 6:43 | comment | added | Devils Dream | @AndreasBilger, I am little bit weak in Linux Solution. I am now using Wamp for developing various mapping solution with leaflet and mbtiles. It will be a great help if you answer similar question with windows solution. Basically I didn't find a way to install Tilelive, Node.js express etc on windows. So can't I install the solution on windows WAMP? Thanks | |
Nov 5, 2016 at 19:54 | comment | added | Devils Dream | Now its showing "Uncaught Error: read float" error | |
Nov 5, 2016 at 19:17 | comment | added | Devils Dream | Still no luck....though amateur....working for few days.....kept server.js, minimal.html, minimal.json and vector.mbtiles (exported from mapbox classic) by creating a folder called "vector_tiles" in my lamp localhost folder html. When trying to access minimal.html by browser 'net::ERR_CONNECTION_REFUSED' error is showing. | |
Oct 29, 2015 at 19:06 | comment | added | Andreas Bilger |
@mheavers I used Mapbox Studio (formerly known as TileMill 2 ) and not TileMill) to create my mbtiles file. In my example above, the server.js (see step 3) loads the mbtiles file using tilelive.load('mbtiles://path/to/osm_roads.mbtiles', ...) . The port and the url path are configured in the same file using app.set('port', 7777); and app.get(/^\/v2\/tiles\/(\d+)\/(\d+)\/(\d+).pbf$/, function(req, res){ ... } .
|
|
Oct 28, 2015 at 16:32 | comment | added | mheavers | you seem to use localhost:7777/v2/tiles/ for the location to your tiles, but where are you getting that path? Or what do you need to do to make sure the exported mbtiles file serves the images to that path? | |
Oct 28, 2015 at 16:16 | comment | added | mheavers | Hi Andreas - I couldn't get this to work - the map displays, but it is just a big blank gray square. I'm not sure where you got your mbtiles source. I've tried exporting some of the default mbtiles from tilemill. | |
Jul 16, 2015 at 14:13 | comment | added | Bwyss | Really helpful, thanks so much, helped me serve vector mbtiles in 5'! | |
Dec 16, 2014 at 19:34 | comment | added | Andreas Bilger |
@cdavis: That seems to depend on the operating system: Three /// are needed for Linux and OS X like e.g. mbtiles:///usr/local/osm_roads.mbtiles . On Windows however only two // are needed if you specify the disk like e.g. mbtiles://D/data/osm_roads.mbtiles .
|
|
Dec 16, 2014 at 0:41 | comment | added | CDavis |
note that you need three /// to define the mbtiles file in: tilelive.load('mbtiles://path/to/osm_roads.mbtiles', function(err, source) {
|
|
Dec 14, 2014 at 15:18 | vote | accept | Andreas Bilger | ||
Dec 14, 2014 at 15:12 | history | answered | Andreas Bilger | CC BY-SA 3.0 |