Skip to content
Permalink
Browse files

[osm] add two more tags to area check

  • Loading branch information
nirvn committed Jun 6, 2015
1 parent 7aae459 commit 6ef5fb721586232d5f5e9d743824e6219462b36d
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 6ef5fb7

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