mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-07-24 07:29:01 +00:00
Modernize places.lua example config
* Use insert()
This commit is contained in:
@ -42,8 +42,9 @@ function osm2pgsql.process_node(object)
|
||||
object.tags.population = tonumber(object.tags.population)
|
||||
end
|
||||
|
||||
places:add_row({
|
||||
tags = object.tags
|
||||
places:insert({
|
||||
tags = object.tags,
|
||||
geom = object:as_point()
|
||||
})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user