Commit Graph

31 Commits

Author SHA1 Message Date
9dc282253d Removed TagType.EMPTY (now returns null instead)
AddTag(ulong, KeyValuePair) is now only Wrapper of AddTag(ulong, Tag)
AddTag now checks if tags already exist
2023-04-01 01:31:58 +02:00
e7119b22ae Added ways to Region 2023-04-01 00:39:49 +02:00
cd1584eee7 Adjusted ToString() to include startId 2023-04-01 00:39:37 +02:00
ac77708834 Renamed OsmEdge to OsmWay and added startnodeid (for serialization) 2023-03-31 21:55:43 +02:00
255d924dc4 Made GetRegionHashCode(Coordinates) wrapper
public static ulong GetRegionHashCode(Coordinates coordinates) now calls GetRegionHashCode(coordinates.latitude, coordinates.longitude)
2023-03-31 21:55:12 +02:00
0d4597c12c Made Region Serializable 2023-03-31 21:54:32 +02:00
6a2ddf3277 Added way to add Tags from KeyValuePair 2023-03-31 21:54:01 +02:00
ac1ac62a00 Combining Datastructures and Serialization
//TODO
2023-03-30 18:24:57 +02:00
d7469aa190 Changed Regionhashing and OsmDatastructure with OsmDatastructure.Graph 2023-03-14 17:00:59 +01:00
d3680565fc Added currentPathLength to OsmNode 2023-02-08 19:09:46 +01:00
9d2be7d972 Moved Utils.cs to OSMDatastructure 2023-02-08 19:05:54 +01:00
f15171a9f1 Fixed AStar Weight-assignment
OSMEdge.cs:
renamed speedped, speedcar
2023-02-08 19:05:13 +01:00
d18e4f5abf OsmNode.cs:
Fixed ToString() no previous node
2023-02-08 18:49:47 +01:00
e57912c589 OSMEdge.cs:
+ GetWeight()
+ override toString()
  fixed maxSpeedValue 255 -> returns now empty
2023-02-08 18:49:21 +01:00
9444e2ac8e Override ToString() 2023-02-08 18:08:49 +01:00
c182818aff enum wayType now typeof byte
prevented waytype.EMPTY in tags
2023-02-08 18:08:42 +01:00
5f4e2bb5f0 Added Override for Equals() GetHashCode() ToString() 2023-02-08 18:08:01 +01:00
31b2810178 Fixed bugs with byte[] sizes 2023-02-08 18:00:19 +01:00
bb0dd03e0f Override GetHashCode() 2023-02-07 23:53:25 +01:00
79babc036f Housekeeping 2023-02-07 23:53:07 +01:00
4057554c7d Added constructor with tags import 2023-02-07 23:52:57 +01:00
0a9d5cfdfb Removed unnessecary inheritance 2023-02-07 23:52:23 +01:00
e265c56bce Datastructure rewrite 2023-02-06 17:32:55 +01:00
2c18162398 tags adding TryAdd instead of Add 2023-02-05 20:45:53 +01:00
f868f5ba2d Removed unesseccary console clutter 2023-02-05 20:45:33 +01:00
e3dabf8cb7 override Equals with check if lat and lon are equal 2023-02-05 20:03:33 +01:00
3350d8e3b9 Added GetNode(Coordinates coordinates)
Added GetNode(ulong id)
Instead of returning null in LoadRegion now throw an exception when file is not found.
Added some Method descriptors
2023-02-05 20:02:22 +01:00
8c8aadc2e1 Split highwayType.cs into multipleFiles and added most common tags 2023-02-05 20:00:00 +01:00
27cce159a4 Moved RegionManager inside of Importer as RegionStruct,
Moved Regionsize var to Region
2023-02-03 23:34:51 +01:00
7d3d46c505 Moved ByteConverter to Datastructur 2023-02-03 23:33:43 +01:00
311afcc02f Split into Datastructure, Added ByteConverter, Full Split & Load 2023-02-03 21:13:51 +01:00