openmaptiles/layers/place
Yuri Astrakhan 2b95d1cffa
Fix & optimize incorrect function declarations (#918)
* All functions that access database must be declared as `STABLE`, not `IMMUTABLE` -- because database can change at any moment, e.g. during an update
* there are a few functions that could be made `STRICT` -- passing `NULL` as a parameter will always result in a `NULL`, but for some reason that causes a significant decrease in perf.
* tagged one function as parallel safe

NOTE: somehow `ST_AsMVT()` method of tile generation is showing 70-90% slowdown with this patch. I am not sure of why this is happening. If the reason is the `IMMUTABLE` -> `STABLE` change, we may have to dig deeper into PG optimization
2020-06-17 12:15:26 -04:00
..
README.md
capital.sql
city.sql Fix & optimize incorrect function declarations (#918) 2020-06-17 12:15:26 -04:00
etl_diagram.png
island_rank.sql
layer.sql Fix & optimize incorrect function declarations (#918) 2020-06-17 12:15:26 -04:00
mapping.yaml
mapping_diagram.png
place.yaml
types.sql
update_city_point.sql
update_continent_point.sql
update_country_point.sql
update_island_point.sql
update_island_polygon.sql
update_state_point.sql

README.md

place

Docs

Read the layer documentation at http://openmaptiles.org/schema#place

Mapping Diagram

Mapping diagram for place

ETL diagram

ETL diagram for place