Replies: 1 comment 2 replies
-
This is also something I've thought of. In the past I've distributed a separate SQL file which contains all the COMMENTs but it's much better to include it in the lua |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
PostgreSQL has this feature to add text comments to tables and columns.
COMMENT ON TABLE foo_name IS 'foo data for some purpose.';
COMMENT ON COLUMN foo_name.minzoom IS 'Used by tile rendering functions to filter data based on zoom.';
This can be useful to share documentation on the data.
Some tile servers like Martin use this information when they generate their TileJSON.
It would be nice if I could specify those comments right in my osm2pgsql
define_table
section.Maybe like…
And maybe even a automatic JSON transformation for Martin…
Beta Was this translation helpful? Give feedback.
All reactions