summaryrefslogtreecommitdiff
path: root/navit/maptool/osm_psql.c
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2019-10-28 11:31:50 +0100
committerGitHub <noreply@github.com>2019-10-28 11:31:50 +0100
commitb99187ee4d8336b4c237d1be805110d41d22a14d (patch)
tree1e5de4eaac72c6042c07c35e9d1a3b0bbd6d733a /navit/maptool/osm_psql.c
parenta0ea905c28b2e9df4984a263bdef213203c36d80 (diff)
downloadnavit-b99187ee4d8336b4c237d1be805110d41d22a14d.tar.gz
enhancement:maptool:slice big polygons into smaller parts (#906)
This commit allows to slice all polygons (except poly_water_sliced) into squares so that they fit into smaller map tiles. Holes if present are correctly sliced as well. This has the advantage that they do not need to be processed albeit not being displayed, and navit-planet-extractor can filter them out. This has the disadvantage that the big polygons are displayed checkered if the corresponding itemgra in config features an outline. TODO: Slice already on polygon creation. Currently the slicing has to be performed twice, because of tile preprocessing and saving is done in seperate steps from the tempfiles. TODO: Make the trigger for slicing configurable. Right now it slices everything smaller than tile level 4.
Diffstat (limited to 'navit/maptool/osm_psql.c')
-rw-r--r--navit/maptool/osm_psql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/maptool/osm_psql.c b/navit/maptool/osm_psql.c
index a8dac6914..c4a936723 100644
--- a/navit/maptool/osm_psql.c
+++ b/navit/maptool/osm_psql.c
@@ -1,4 +1,4 @@
-/**
+/*
* Navit, a modular navigation system.
* Copyright (C) 2005-2011 Navit Team
*