[Tile-serving] [openstreetmap/osm2pgsql] Add properties from input file(s) to database (PR #1976)

Jochen Topf notifications at github.com
Wed Jun 21 13:28:31 UTC 2023


@joto commented on this pull request.



> @@ -113,6 +115,22 @@ static void store_properties(properties_t *properties, options_t const &options)
     properties->store();
 }
 
+static void store_data_properties(properties_t *properties,
+                                  file_info const &finfo)
+{
+    properties->set_string("last_timestamp", finfo.last_timestamp.to_iso());

I have fixed the code to also handle the case that the input file doesn't have timestamps.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1976#discussion_r1237004705
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1976/review/1490746548 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230621/8d84d660/attachment.htm>


More information about the Tile-serving mailing list