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
|
Rev | Line | |
---|
[8290] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 |
|
---|
| 4 | namespace HeuristicLab.Problems.RoutePlanning.Osm {
|
---|
| 5 | public abstract class OsmBase {
|
---|
[8293] | 6 | public long Id { get; set; }
|
---|
[8290] | 7 | public string User { get; set; }
|
---|
| 8 | public int UserId { get; set; }
|
---|
| 9 | public DateTime Timestamp { get; set; }
|
---|
[8293] | 10 | public long Changeset { get; set; }
|
---|
[8290] | 11 | public int Version { get; set; }
|
---|
| 12 | public bool Visible { get; set; }
|
---|
| 13 | public IDictionary<string, string> Tags { get; set; }
|
---|
| 14 |
|
---|
[8293] | 15 | public OsmBase() {
|
---|
| 16 | Tags = new Dictionary<string, string>();
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public OsmBase(long id) {
|
---|
[8290] | 20 | Id = id;
|
---|
| 21 | Tags = new Dictionary<string, string>();
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
| 24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.