Hi,

On 16.04.19 00:23, Flaviu S wrote:
> I searched for a way or a tool which can do following:

Here's a couple ways/methods you could try.

Method 1:

The following method does not need *programming* skills but you'll have
to know your way around a Linux machine:

* install osm2pgsql, Mapnik, and PostGIS
* clone openstreetmap-carto from github and follow instructions for
downloading shape files there
* install nik4.py
* get an .osm.pbf data file that covers the region you are interested
in, perhaps from extract.bbbike.org
* import into database with osm2pgsql
* run nik4 to generate large output image

To add custom KML data, EITHER (variant 1a)

* convert KMZ to shape file, add a new layer to your openstreetmap-carto
style to draw this shape file with the appropriate styling

OR (variant 1b)

* instruct nik4 to output a "world file" in addition to output image,
then open output image in QGIS, load your KMZ in QGIS, style as desired.
Note you may have to tell QGIS that your image is in EPSG:3857 and
possibly enable "on the fly transformation" to load the KMZ which likely
is in EPSG:4326

Method 2:

If all this sounds too complicated, you might be able to use
https://maposmatic.osm-baustelle.de/ to generate a couple of large
images that you can then stitch together (better than screenshots). But
adding your KMZ would then be difficult - perhaps it can be done by
uploading your KMZ tu UMAP and then using the maposmatic UMAP functionality.

Method 3:

Another option might be to use only QGIS, and start by adding an OSM
layer from a free WMS server https://wiki.openstreetmap.org/wiki/WMS and
then add your KMZ on top. The "print composer" in QGIS should then allow
you to create a large image. The output quality of this approach depends
on whether or not the WMS supports high(er) resolution output; worst
case, it will be only screenshot quality.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to