Skip to content
Permalink
Browse files

Merge pull request #2117 from nirvn/osm_area_more_improvements

[OSM] add two more tags to determine area of closed ways with highway / barrier
  • Loading branch information
wonder-sk committed Jun 6, 2015
2 parents 7aae459 + 6ef5fb7 commit f3c781edc18c8fd24e18f14d78f4ae16569aecef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/openstreetmap/qgsosmdatabase.cpp
@@ -476,7 +476,7 @@ void QgsOSMDatabase::exportSpatiaLiteWays( bool closed, const QString& tableName
{
// make sure tags that indicate areas are taken into consideration when deciding on a closed way is or isn't an area
// and allow for a closed way to be exported both as a polygon and a line in case both area and non-area tags are present
if ( ( t.value( "area" ) != "yes" && !t.contains( "amenity" ) && !t.contains( "landuse" ) && !t.contains( "building" ) && !t.contains( "natural" ) ) || !closed )
if ( ( t.value( "area" ) != "yes" && !t.contains( "amenity" ) && !t.contains( "landuse" ) && !t.contains( "building" ) && !t.contains( "natural" ) && !t.contains( "leisure" ) && !t.contains( "aeroway" ) ) || !closed )
isArea = false;
}

0 comments on commit f3c781e

Please sign in to comment.
You can’t perform that action at this time.