Max Berger

Results 43 comments of Max Berger

GEBCO is a 30-arcsec-grid, so it's about 900m. I think it's enought for low zoom levels and it could be pretty,if you can design the border from river mouthes and...

Since a few months we have been trying a regular update on the Opentopomap server. Every week a differential update is applied, twice a month a lowzoom update. This means...

Quick and dirty, at your own risk ;) https://github.com/max-dn/OpenTopoMap/tree/server-stuff/mapnik/server-stuff at the moment expire_tiles reads the output of osm2pgsql and set the date of tiles in Z15-Z17 to "very old" and...

At first glance, ApproximateMedialAxis is not what we need ;) ![ApproximateMedialAxis](https://geo.dianacht.de/bilder/otm_lakelabel_medaxis_chiemsee.png) (made with` insert into planet_osm_line (osm_id,way,name,man_made) SELECT osm_id,(ST_Dump(ST_ApproximateMedialAxis(way))).geom as way,name,'lakeaxis' as man_made from planet_osm_polygon where osm_id=-32246;`) https://postgis.net/docs/ST_ApproximateMedialAxis.html : "Return...

It is the medial axis, what we see, not the skeleton as I thought. Its not what I expected, because "medial axis" is not "the one and only axis of...

I tested some medial axis (not with ST_ApproximateMedialAxis() but with some kind of [routing on a chess board](https://geo.dianacht.de/otmtest/arealabel_v1.sql.txt))... Now the label line for the Chiemsee looks like that: ![Chiemsee chess](https://geo.dianacht.de/bilder/otm_lakelabel_chess_chiemsee_k_v1.png)...

I think the best smoothening is done with a moving average... I made a demo for all [bavarian named natural=water](https://geo.dianacht.de/otmtest/lakelabel3.php) with [this still ugly program](https://geo.dianacht.de/otmtest/arealabel_v3.txt). At first I try to...

I made some tests with [this program](https://github.com/max-dn/OpenTopoMap/blob/lakelabel/mapnik/tools/arealabel.sql). It will take about 6 hours to get [these lines for the labels](https://geo.dianacht.de/otmtest/lakelabel3.php). It's the question if we want to need such a...

good idea to add a buffer: ![Machiner See](https://geo.dianacht.de/bilder/lakelabel_malchiner_see.png) The weird label in the second example is the fallback. It's a problem to get labels on areas which are more curved...

The grid is thinned by all uninteresting points. Interesting points are all points with only neighbours which are nearer to the border. Uninteresting points are points where one neighbour is...