Skip to content

Commit

Permalink
Merge pull request #1635 from Karry/way-features
Browse files Browse the repository at this point in the history
allow ways and areas to have phone and website features
  • Loading branch information
Framstag authored Jan 5, 2025
2 parents dddcdf0 + c07f6f1 commit 761fe79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions libosmscout/src/osmscout/feature/PhoneFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ namespace osmscout {
const TagMap& tags,
FeatureValueBuffer& buffer) const
{
// ignore ways for now
if (object.GetType() == OSMRefType::osmRefWay) {
return;
}

std::string strValue;

// object may hold multiple phone tags - phone, contact:phone, contact:mobile
Expand Down
5 changes: 0 additions & 5 deletions libosmscout/src/osmscout/feature/WebsiteFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ namespace osmscout {
const TagMap& tags,
FeatureValueBuffer& buffer) const
{
// ignore ways for now
if (object.GetType() == OSMRefType::osmRefWay) {
return;
}

std::string strValue;

std::vector<TagId> websiteTags{tagWebsite, tagContactWebsite};
Expand Down

0 comments on commit 761fe79

Please sign in to comment.