V
V
Vyacheslav Mezentsev2020-08-07 14:41:51
OpenStreetMap
Vyacheslav Mezentsev, 2020-08-07 14:41:51

Is there an example of rendering OSM data offline directly?

I want to render a map from geodata myself. There is a graphics engine. We need an initial example of how, using data from the database, to draw simple primitives (lines, polygons) in coordinates. Ideally, you need an example of displaying a map in the osm topo map style. Preferably using a minimum of third-party libraries. Offline, without any connection to servers. The base must be in a local file in any convenient format.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2020-08-07
@freeExec

Mapnik

A
Alexander, 2020-08-07
@NeiroNx

I would force the browser to render, and give the tiles to GEOjson from the server. So you can do interactive on the client side - after all, he has all the objects.
I made such a solution for an electric grid organization, it even worked on Android 5 phones.
I used the Openlayers 3 engine.
On the postgres server with objects and a backend that selects objects in a tile by coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question