[OSM-dev] TileServer GL: OpenStreetMap raster tile server with MapBox GL Native renderer + vector tiles

2016-09-05 Thread Petr Pridal
Hi,

a few days ago, on the FOSS4G 2016, we have announced a new open-source
project called TileServer GL - for hosting OpenStreetMap tiles on your own
infrastructure.

See:
http://blog.klokantech.com/2016/08/tileserver-gl-maps-with-gl-json-styles.html
and
https://github.com/klokantech/tileserver-gl

The software is designed to serve vector tiles and related assets, but it
does provide raster tiles with traditional XYZ addressing too. The raster
rendering is powered by the open-source MapBox GL Native engine written in
C++ and OpenGL and called via Node.js bindings. A high-performance graphic
card is not required on the server - it performs pretty well also with a
software rendering.

The map styles are written in MapBox GL JSON styling language - which means
the same visual style can be used in a web browser on the client side (with
MB GL JS and soon also OpenLayers), in native mobile apps on Android and
iOS, as well as on the server side with rendering into standard
PNG/JPG/WebP tiles on demand. Retina/HiDPI is supported too - and with the
static map endpoint, you get a print-ready map in 300+DPI out of the box.
WMTS standard brings the tiles to ESRI ArcGIS and QGIS or other GIS clients.

It is in fact extremely easy to install this software with the
preprocessed OpenStreetMap data from http://www.osm2vectortiles.org/ on a
laptop, on a low-end virtual private server or on a standard cloud machine
(like DigitalOcean, Amazon EC2 or Google Compute Engine).

To host your own OpenStreetMap world map you need about 60 GB of free disk
space and 4+ GB RAM. The extracts have only a few gigabytes, so for an OSM
map of your country, the hardware requirements are even lower. Everything
is up in a few minutes - no need to process the raw OSM planet data.

You can try it on your laptop with Docker or Kitematic (
https://kitematic.com/) - just get the ready-to-use
"klokantech/tileserver-gl" container and drop into the data volume folder
the downloaded MBTiles file and access your own OpenStreetMap instance on
localhost. After installation, it runs even offline.

This tileserver is an alternative to Mapnik-powered renderers.
In a production environment, it should run with an external caching system
(varnish, mapproxy, mapcache, etc.). It scales well horizontally - you can
easily deploy the whole instance with the data on multiple machines to
handle larger traffic via a load-balancer.

Updates of the OSM data may be done daily or weekly - with pre-generated
vector tiles. The TileServer-GL can also render raster tiles from external
http tile servers - so if you serve your own live updated PBF tiles from
your PostGIS - you can use TileServer GL too and just reference in the JSON
styles your dynamic vector tile server. The dynamic and pre-generated
vector tile sources can be also combined and mixed with the raster tiles -
such as aerial photos or satellite imagery turned into tiles with
http://www.maptiler.com/ and hosted on Amazon S3 or on a standard web
server.

I am keen on getting your feedback on the TileServer GL free software
developed for our internal use, which we are happy to share with the world
now. All technical details and source code are on GitHub and in the
software manual. Follow us on Twitter (https://twitter.com/klokantech) to
get updates.

OpenStreetMap is a wonderful project - huge "thank you" belongs to
everybody who contributes to the mapping as well as to the development of
the open-source projects around it!

I am looking forward to having a chat and a beer with you guys on the State
of the map in Brussel.

Cheers,

Petr
--
Petr Pridal, Ph.D.
CEO

Klokan Technologies GmbH
Hofnerstrasse 98, 6314 Unterageri, Switzerland
Tel: +41 (0)41 511 26 12
Email: i...@klokantech.com
Web: http://www.klokantech.com/
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] OSM Vector Tiles

2015-12-17 Thread Petr Pridal
Hi,

you may be interested in http://osm2vectortiles.org/ project.

It provides:

1) raster tiles made on demand for a custom styled copy of OpenStreetMap -
with software installable even on a low end virtual server, with three
basic steps: Download vector tiles (the world is in first version 62 GB,
extract of countries are available). Dowload a style project (.tm2).
Install a mapnik tileserver to produce raster tiles on demand (no
PostgreSQL required).
Tutorial: http://osm2vectortiles.org/docs/start/.
A typical result may look like: http://maps.klokantech.com/ (try it with
your email address).

2) vector tiles directly usable in MapBox GL libraries, Leaflet or
OpenLayers, which can be easily served from your own server, or used even
offline.
A typical result may look like: http://osm2vectortiles.tileserver.com/ with
styling like http://osm2vectortiles.org/maps/

3) process to generate new custom vector tiles from OSM Planet or extracts.
With detailed documentation and guides - all done with open-source tools.
See: http://osm2vectortiles.org/docs/

The open-source project is result of cooperation between Klokan
Technologies GmbH (http://www.klokantech.com/) and students from Geometa
Lab HSR, Switzerland (http://hsr.ch/geometalab) and is build on top of open
standards and technology developed by MapBox Inc. (http://www.mapbox.com/)
- such as the MapBox Studio Classic, tilelive-js, mapnik-vector-tile, etc.

We would be glad for feedback from the OpenStreetMap community.

Best regards,

Petr
--
Petr Pridal, Ph.D.
CEO

Klokan Technologies GmbH
Hofnerstrasse 98, 6314 Unterageri, Switzerland
Tel: +41 (0)41 511 26 12
Email: i...@klokantech.com
Web: http://www.klokantech.com/
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev