Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
26
generator/address_parser/tiger_parser.hpp
Normal file
26
generator/address_parser/tiger_parser.hpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#pragma once
|
||||
|
||||
#include "generator/address_enricher.hpp"
|
||||
|
||||
#include "geometry/latlon.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace tiger
|
||||
{
|
||||
|
||||
struct AddressEntry : public generator::AddressEnricher::RawEntryBase
|
||||
{
|
||||
std::vector<ms::LatLon> m_geom;
|
||||
};
|
||||
|
||||
void ParseGeometry(std::string_view s, std::vector<ms::LatLon> & geom);
|
||||
feature::InterpolType ParseInterpolation(std::string_view s);
|
||||
bool ParseLine(std::string_view line, AddressEntry & e);
|
||||
} // namespace tiger
|
||||
|
||||
namespace feature
|
||||
{
|
||||
std::string DebugPrint(InterpolType type);
|
||||
} // namespace feature
|
||||
Loading…
Add table
Add a link
Reference in a new issue