mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Merge pull request #2117 from nirvn/osm_area_more_improvements
[OSM] add two more tags to determine area of closed ways with highway / barrier
This commit is contained in:
commit
f3c781edc1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user