source: subversion/applications/utils/export/segmentise/segmentise.h @ 29710

Last change on this file since 29710 was 24400, checked in by nick, 9 years ago

Added segmentise utility: break down OSM ways into segments at joins

File size: 314 bytes
Line 
1#ifndef SEGMENTISER_H
2#define SEGMENTISER_H
3
4#include <map>
5#include <string>
6#include <vector>
7
8struct Node
9{
10        double lat, lon;
11        int count;
12
13        Node(double lat,double lon)
14        {
15                this->lat=lat;
16                this->lon=lon;
17                count=0;
18        }
19};
20
21struct Way
22{
23        std::map<std::string,std::string> tags;
24        std::vector<int> nds;
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.