[OSM-dev] OSM-Carto style, ported to vector tiles!

Daniel Koć daniel at xn--ko-wla.pl
Sun Jul 24 17:00:38 UTC 2016


W dniu 24.07.2016 16:23, Rory McCann napisał(a):

> Another mistake. I had forgotten to include some node packages to
> install. If you update the code, and remove the node_modules directory
> and re-run "make tessera" it should all work.

Thanks for the fixes! Although I have still some problems, doing what 
you said causes this error on my system:

└── UNMET PEER DEPENDENCY tilelive-vector@>=2.0.0

and leaves node_modules directory empty.

What works for me is to run this line (I don't know the how the npm 
works, but the precedence of names seems to be important, and mapnik is 
installed along the line):

npm install tilelive-tmsource tilelive-tmstyle tilejson tilelive-http 
tilelive-vector tessera

Now "make tessera" starts tessera, spits a lot of Mapnik warnings and 
when I try to visit http://localhost:8080/pbfs/live, I get only 
navigation elements and no tiles, with such messages on console:

GET /pbfs/live/index.json 200 712.733 ms - 11067
GET /pbfs/live 301 4.354 ms - 53
GET /pbfs/live/ 304 2.393 ms - -
GET /pbfs/live/leaflet/dist/leaflet.css 304 1.362 ms - -
GET /pbfs/live/leaflet/dist/leaflet.js 304 0.674 ms - -
GET /pbfs/live/zepto/zepto.min.js 304 0.927 ms - -
GET /pbfs/live/leaflet-hash/leaflet-hash.js 304 0.728 ms - -
GET /pbfs/live/js/l.control.geosearch.js 304 0.523 ms - -
GET /pbfs/live/js/l.geosearch.provider.nominatim.js 304 0.501 ms - -
GET /pbfs/live/css/l.geosearch.css 304 0.393 ms - -
GET /pbfs/live/images/transparent.png 304 0.287 ms - -
GET /pbfs/live/index.json 304 3.338 ms - -
GET /pbfs/live/images/geosearch.png 304 0.527 ms - -
GET /pngs/live/_/4/7/7 at 2x.pbf 404 1.683 ms - 37
GET /pngs/live/_/4/8/7 at 2x.pbf 404 0.418 ms - 37
GET /pngs/live/_/4/7/8 at 2x.pbf 404 0.244 ms - 37
GET /pngs/live/_/4/8/8 at 2x.pbf 404 0.203 ms - 37
GET /pngs/live/_/4/7/6 at 2x.pbf 404 0.254 ms - 37
GET /pngs/live/_/4/8/6 at 2x.pbf 404 0.249 ms - 37
GET /pngs/live/_/4/6/7 at 2x.pbf 404 0.128 ms - 37
GET /pngs/live/_/4/9/7 at 2x.pbf 404 0.139 ms - 37
GET /pngs/live/_/4/6/8 at 2x.pbf 404 0.163 ms - 37
GET /pngs/live/_/4/9/8 at 2x.pbf 404 0.292 ms - 37
GET /pngs/live/_/4/7/9 at 2x.pbf 404 0.471 ms - 37
GET /pngs/live/_/4/8/9 at 2x.pbf 404 0.159 ms - 37
GET /pngs/live/_/4/6/6 at 2x.pbf 404 0.370 ms - 37
GET /pngs/live/_/4/9/6 at 2x.pbf 404 0.365 ms - 37
GET /pngs/live/_/4/6/9 at 2x.pbf 404 0.151 ms - 37
GET /pngs/live/_/4/9/9 at 2x.pbf 404 0.181 ms - 37
GET /pngs/live/_/4/5/7 at 2x.pbf 404 0.170 ms - 37
GET /pngs/live/_/4/10/7 at 2x.pbf 404 0.518 ms - 38
GET /pngs/live/_/4/5/8 at 2x.pbf 404 0.468 ms - 37
GET /pngs/live/_/4/10/8 at 2x.pbf 404 0.213 ms - 38
GET /pngs/live/_/4/5/6 at 2x.pbf 404 0.130 ms - 37
GET /pngs/live/_/4/10/6 at 2x.pbf 404 0.132 ms - 38
GET /pngs/live/_/4/5/9 at 2x.pbf 404 0.154 ms - 37
GET /pngs/live/_/4/10/9 at 2x.pbf 404 0.325 ms - 38

and I don't know why these 404 errors are there.

-- 
"Low, low, low..." [M. Kempa]



More information about the dev mailing list