Skip to content

Commit 36330aa

Browse files
committed
osm2pgsql: When processing boundary relations, create linestrings, not polygons geometries, even if they form a closed ring.
1 parent 9debb32 commit 36330aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

output-pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ static int pgsql_out_relation(int id, struct keyval *rel_tags, struct osmNode **
815815
}
816816
else if( strcmp( type, "boundary" ) == 0 )
817817
{
818-
make_polygon = 1;
818+
make_polygon = 0;
819819
}
820820
else
821821
{

0 commit comments

Comments
 (0)