[OSM-dev] Experimenting with ClearTables, self-hosted vector tiles, and Tangram client-side rendering
Oleksiy Muzalyev
oleksiy.muzalyev at bluewin.ch
Thu Aug 25 07:45:52 UTC 2016
Good morning Paul,
I looked at several cities at the Tangram map. I like especially
Crosshatch style, - very impressive. It takes a split second to find say
the Eiffel Tower on the Tangram map:
https://tangrams.github.io/carousel/?crosshatch#16/48.8616/2.3082 and in
general to get a layout of a place recognizable later on the ground via
these tall reference points.
Since Tangram is "drawing vector tiles live in a web browser" is it
possible to make a comprehensive selection of a language? For example,
nowadays buying an Android smartphone we do not care in what country or
for which country it was produced, we can just select on the smartphone
any language we know or learn. It is becoming a standard, for example,
in GIMP, Facebook, Uber, etc. one can just select a language and forget
that in what specific country this product or service originated.
One more thing, for some reason the search of the Tangram map does not
find Odessa, Ukraine. The search finds Odessa in the USA and Brasil, but
not in Ukraine, even though Odessa in Ukraine is a big city, and it the
USA and Brasil these are relatively small towns. On the osm.org map
search on "Odessa" finds the city all right. The same for Kiev (or Kyiv)
[1].
[1] https://en.wikipedia.org/wiki/Kiev
Best regards,
Oleksiy
On 24/08/16 08:30, Paul Norman wrote:
> I've been experimenting with generating my own vector tiles and
> client-side rendering with Tangram[1] in order to figure out how to best
> write its styling language.
>
> Tangram is a GL-based renderer written by Mapzen and normally used with
> their Tilezen[2] vector tiles, but I'm interested in being able to make
> my own vector tiles and different cartographic choices. I also consider
> diversity of vector tile schemas important. I hope to avoid a situation
> where only large players in the market can get involved like we have
> right now.
>
> For a toolchain I used osm2pgsql with ClearTables[3] and Mapnik via
> Kosmtik[4] to write vector tiles. On the demo I'm serving the tiles with
> Apache but in development I used Kosmtik because it's xray functionality
> is useful. For development I worked in Tangram Play, a web-based editor
> that automatically reloads the map when you change the style.
>
> The cartography and vector tile definitions are loosely based on OSM
> Clear[5], a demo style I wrote. As it's a learning exercise I don't
> consider the style complete or free of bugs.
>
> The demo page is on my server at
> http://tangram-clear-demo.faramir.paulnorman.ca/ with the style and
> vector tile code at https://github.com/ClearTables/tangram-clear-demo.
>
> I'm not sure what direction I'm going to take next as I don't have any
> particular style goals right now, or collaborators.
>
> [1] https://mapzen.com/products/tangram/
> [2] https://mapzen.com/projects/vector-tiles/
> [3] https://github.com/ClearTables/ClearTables
> [4] https://github.com/kosmtik/kosmtik
> [5] https://github.com/ClearTables/osm-clear
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
More information about the dev
mailing list