MCPcopy Create free account
hub / github.com/comaps/comaps / GetFeatureStreetName

Method GetFeatureStreetName

libs/search/reverse_geocoder.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144string ReverseGeocoder::GetFeatureStreetName(FeatureType & ft) const
145{
146 Address addr;
147 HouseTable table(m_dataSource);
148 GetNearbyAddress(table, FromFeature(ft, 0.0 /* distMeters */), false /* ignoreEdits */, addr);
149 return addr.m_street.m_name;
150}
151
152string ReverseGeocoder::GetOriginalFeatureStreetName(FeatureID const & fid) const
153{

Callers 3

GetBuildingInfoFunction · 0.80
GetCafeInfoFunction · 0.80
SetStreetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected