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

Function FromFeatureImpl

libs/search/reverse_geocoder.cpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69ReverseGeocoder::Building FromFeatureImpl(FeatureType & ft, std::string const & hn, double distMeters)
70{
71 return {ft.GetID(), distMeters, hn, feature::GetCenter(ft)};
72}
73
74std::string const & GetHouseNumber(FeatureType & ft)
75{

Callers 3

GetExactAddressMethod · 0.85
GetNearbyBuildingsMethod · 0.85
FromFeatureMethod · 0.85

Calls 2

GetCenterFunction · 0.85
GetIDMethod · 0.45

Tested by

no test coverage detected