mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 13:03:54 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user