Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Osm/OsmBase.cs @ 8293

Last change on this file since 8293 was 8293, checked in by spimming, 12 years ago

#1894:

  • new default constructor for osm base types
  • defined common interface for data sources
  • implemented xml data source
  • added test project with osm test files
File size: 667 bytes
Line 
1using System;
2using System.Collections.Generic;
3
4namespace HeuristicLab.Problems.RoutePlanning.Osm {
5  public abstract class OsmBase {
6    public long Id { get; set; }
7    public string User { get; set; }
8    public int UserId { get; set; }
9    public DateTime Timestamp { get; set; }
10    public long Changeset { get; set; }
11    public int Version { get; set; }
12    public bool Visible { get; set; }
13    public IDictionary<string, string> Tags { get; set; }
14
15    public OsmBase() {
16      Tags = new Dictionary<string, string>();
17    }
18
19    public OsmBase(long id) {
20      Id = id;
21      Tags = new Dictionary<string, string>();
22    }
23  }
24}
Note: See TracBrowser for help on using the repository browser.