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

2016-08-06 Thread stirringhalo stirringhalo
Piggy-backing off this, https://github.com/stirringhalo/openstreetmap-mapboxgl uses the work of Rory McCann for the tileschema and the MapboxGL library to render OSM vector tiles on the client. An MBTiles is generated with the openstreetmap-style branch of OSM2VectorTiles. I have a demo up at 

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

2016-07-25 Thread Daniel Koć
W dniu 25.07.2016 16:50, Daniel Koć napisał(a): So, I don't understand npm issues, but can work around them, but still there are some other problems, including fonts issues, which I don't understand. Maybe it has something to do with Ubuntu version (mine is 16.04 64-bit)? Report after some

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

2016-07-25 Thread Daniel Koć
W dniu 25.07.2016 11:24, Rory McCann napisał(a): I presume that is the "maxzoom is deprecated" messages? You can ignore them. Or is it something else? Nope, only minzoom/maxzoom warnings. What happens if you go to http://localhost:8080/tiles/index.json what is the value of the "tiles" in

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

2016-07-25 Thread Christoph Hormann
On Monday 25 July 2016, Rory McCann wrote: > > > That however would also mean you would need to remove all the > > > > way_area > 0.01*!pixel_width!::real*!pixel_height!::real > > > > filters from SQL for z14 - otherwise you get missing geometries at > > the higher zooms (not a real lot - that

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

2016-07-25 Thread Rory McCann
On 24/07/16 18:26, Christoph Hormann wrote: > Ok - so you essentially say that use of !pixel_width! and !pixel_height! > is - in the vector tiles system used - limited to the lower zoom > levels. Yes, you can't use *pixel* for z15+. You can hack around it, like I do[1], with "zoom dependent

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

2016-07-24 Thread Daniel Koć
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,

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

2016-07-24 Thread Christoph Hormann
On Sunday 24 July 2016, Rory McCann wrote: > > The problem (correct me if I'm wrong!) is that with vector tiles it's > common to generate them only down to a certain zoom level (e.g. z14), > and for lower zoom levels (z15+) to use the z14 tile, and just crop > out the area you want, i.e. you are

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

2016-07-24 Thread Rory McCann
On 22/07/16 18:05, Christoph Hormann wrote: > Looking at your changes a significant part seems to be dealing with > way_pixels and indicates that the meaning of way_pixels in your version > is quite different from that in the normal standard style. Could you > explain that? You do not seem to

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

2016-07-24 Thread Rory McCann
Hi, On 22/07/16 18:29, Daniel Koć wrote: > I needed to launch: > make install-node-modules > before I was able to launch "make tessera". My apologies, I've fixed the Makefile > When tessera is already running and I go to URL > http://localhost:8080/pbfs/live/ , I get: > > GET

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

2016-07-24 Thread Rory McCann
On 22/07/16 17:35, Amaroussi (OpenStreetMap) wrote: > I wonder if these can be configured so that the user can configure > road colours via cookies? I am not an expert in vector tiles in > relation to the main site, but it is worth asking. Possibly. I'm not aware of any software that does that at

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

2016-07-22 Thread Daniel Koć
W dniu 22.07.2016 17:30, Rory McCann napisał(a): Over the past while, I've been working on porting the openstreetmap-carto style to vector tiles. I'm happy to have something of beta quality to release to you all: Great! I'm very interested in it. I am open to your bug reports, complaints,

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

2016-07-22 Thread Christoph Hormann
On Friday 22 July 2016, Rory McCann wrote: > Hello all, > > Over the past while, I've been working on porting the > openstreetmap-carto style to vector tiles. I'm happy to have > something of beta quality to release to you all: > > https://github.com/geofabrik/openstreetmap-carto-vector-tiles

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

2016-07-22 Thread Amaroussi (OpenStreetMap)
I wonder if these can be configured so that the user can configure road colours via cookies? I am not an expert in vector tiles in relation to the main site, but it is worth asking. — Amaroussi. > On 22 Jul 2016, at 16:30, Rory McCann wrote: > > Hello all, > > Over the

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

2016-07-22 Thread Rory McCann
Hello all, Over the past while, I've been working on porting the openstreetmap-carto style to vector tiles. I'm happy to have something of beta quality to release to you all: https://github.com/geofabrik/openstreetmap-carto-vector-tiles Please consult the vector tiles specific readme for