Tomas Pohanka

Results 174 comments of Tomas Pohanka
trafficstars

In the database, every building is a separate record. So, when the tile is requested, the points could be snapped into different places.

This is a common problem with simplification. If you do not have a full topological model, the simplification could break the adjacent polygons. e. g. https://github.com/geoadmin/vector-forge/issues/38 https://github.com/r-spatial/sf/issues/381#issuecomment-446337813 https://trac.osgeo.org/postgis/wiki/UsersWikiSimplifyPreserveTopology

Yes, `update_building.sql` is only for Z13. There is no simplification for buildings on Z14. Buildings are taken from the view [`osm_all_buildings`](https://github.com/openmaptiles/openmaptiles/blob/1c1231e4309653979ac6d2fa86dd3ef15c531127/layers/building/building.sql#L7) and there is no simplification. https://github.com/openmaptiles/openmaptiles/blob/1c1231e4309653979ac6d2fa86dd3ef15c531127/layers/building/building.sql#L106 The simplification is...

Hi @fzuerker, did you try to add `layout` as in e.g. in `water-name-ocean` with `"text-field"`? ``` "layout": { "text-font": ["Noto Sans Italic"], "text-size": 14, "text-field": "{name:latin}", "symbol-spacing": 350, "text-max-width": 5,...

Ohh, I see. [landuse function](https://github.com/openmaptiles/openmaptiles/blob/master/layers/landuse/landuse.sql#L41-L46) do not return any name. For display name you need a point with the name. So you should create e.g. a centroid from city_block polygon...

Hi @fzuerker, did you successfully managed this? It is a similar situation as for `water` layer, where water polygon has just geometry and [point](https://github.com/openmaptiles/openmaptiles/blob/master/layers/water_name/update_water_point.sql#L7) carry the information about the name.

Hi @tisis2, that is interesting. The `new-zealand.bbox` file is created from Geofabrik [index](https://download.geofabrik.de/index-v1.json) file, which includes the geometry of area in GeoJSON. Geofabrik GeoJSON ```geojson "geometry": { "type" : "MultiPolygon",...

Thanks, a very similar problem is with landcover https://github.com/openmaptiles/openmaptiles/issues/1351. It must be adjusted.

Similar to https://github.com/openmaptiles/openmaptiles/issues/1358