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

Function PrintHeader

tools/feature_list/feature_list.cpp:318–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316};
317
318void PrintHeader()
319{
320 vector<string> columns = {"id",
321 "old_id",
322 "lat",
323 "lon",
324 "mwm",
325 "category",
326 "name",
327 "city",
328 "street",
329 "house",
330 "phone",
331 "website",
332 "cuisines",
333 "stars",
334 "operator",
335 "branch",
336 "internet",
337 "denomination",
338 "wheelchair",
339 "opening_hours",
340 "check_date",
341 "check_date_opening_hours",
342 "wikipedia",
343 "floor",
344 "fee",
345 "atm",
346 "contact_facebook",
347 "contact_instagram",
348 "contact_twitter",
349 "contact_vk",
350 "contact_line",
351 "contact_fediverse",
352 "contact_bluesky",
353 "wikimedia_commons",
354 "panoramax"};
355 // Append all supported name languages in order.
356 for (uint8_t idx = 1; idx < kLangCount; idx++)
357 columns.push_back("name_" + string(localisation::ConvertLanguageIndexToLanguageCode(idx)));
358 PrintAsCSV(columns, ';', cout);
359}
360
361bool ParseFeatureIdToOsmIdMapping(string const & path, map<uint32_t, base::GeoObjectId> & mapping)
362{

Callers 1

mainFunction · 0.85

Calls 3

PrintAsCSVFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected