Use boundary type (not relation type) in bbox example and test it
parent
63a5e32c31
commit
5aac86372a
|
@ -132,7 +132,7 @@ function osm2pgsql.process_relation(object)
|
|||
-- Store boundary relations as multilinestrings
|
||||
if relation_type == 'boundary' then
|
||||
tables.boundaries:add_row({
|
||||
type = relation_type,
|
||||
type = object.tags.boundary,
|
||||
bbox = format_bbox(object),
|
||||
tags = object.tags,
|
||||
geom = { create = 'line' }
|
||||
|
|
|
@ -101,7 +101,7 @@ if (WITH_LUA)
|
|||
set_test(test-output-flex-way-relation-del)
|
||||
|
||||
set_test(test-output-flex-example-configs)
|
||||
set(FLEX_EXAMPLE_CONFIGS "attributes,compatible,data-types,generic,geometries,places,route-relations,simple,unitable")
|
||||
set(FLEX_EXAMPLE_CONFIGS "attributes,bbox,compatible,data-types,generic,geometries,places,route-relations,simple,unitable")
|
||||
# with-schema.lua is not tested because it needs the schema created in the database
|
||||
set_tests_properties(test-output-flex-example-configs PROPERTIES ENVIRONMENT "EXAMPLE_FILES=${FLEX_EXAMPLE_CONFIGS}")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue