Commit Graph

59 Commits

Author SHA1 Message Date
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
e2a50250b8 Fixed tagsFileName ("..tags") 2023-03-31 21:57:45 +02:00
b621ff632b Rewrote XmlImporter to Write Region-files while reading from Stream 2023-03-31 21:56:27 +02:00
07ff9602b8 Temporary out of order 2023-03-31 21:55:54 +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
090981fb99 Beginning of Import 2023-03-30 18:25:12 +02:00
ac1ac62a00 Combining Datastructures and Serialization
//TODO
2023-03-30 18:24:57 +02:00
7560d59c25 Custom Console-Output with Log-Time and elapsed time, as well as routeabilty to other outputs. 2023-03-30 17:03:21 +02:00
cb0442d760 broken 2023-03-30 16:30:50 +02:00
0e70c72562 Broken 2023-03-30 16:29:42 +02:00
d2ab990bfe new env 2023-03-14 17:01:48 +01:00
d7469aa190 Changed Regionhashing and OsmDatastructure with OsmDatastructure.Graph 2023-03-14 17:00:59 +01:00
583fe3c18d modified: Server/Server.cs 2023-02-08 23:13:56 +01:00
556b0736f1 Housekeeping 2023-02-08 19:09:54 +01:00
d3680565fc Added currentPathLength to OsmNode 2023-02-08 19:09:46 +01:00
55b9e87b7e remove toVisit logging 2023-02-08 19:06:04 +01:00
9d2be7d972 Moved Utils.cs to OSMDatastructure 2023-02-08 19:05:54 +01:00
4f0d5d4f30 RegionManager.cs:
More extensive logging
2023-02-08 19:05:29 +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
aceecee07e Complete rewrite of XmlImporter.cs 2023-02-08 18:09:27 +01:00
d7b084659a Fixed instant depletion of toVisit() 2023-02-08 18:09:06 +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
8093ad5dfd lowercase var 2023-02-07 23:53:38 +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
daa88e5d24 Conversion Node -> PathNode 2023-02-05 20:45:12 +01:00
89d57f5147 Added conversion for Node -> PathNode 2023-02-05 20:44:57 +01:00
da9a99cf7c Better console documentation 2023-02-05 20:44:43 +01:00
87944997db Fixed "highway" tag to key instead of value
Memory usage decrease
2023-02-05 20:44:23 +01:00
b6ca87ea72 Added first Pathfinding 2023-02-05 20:03:47 +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
627c1895fa Moved and Renamed RegionStruct to RegionCollection.cs 2023-02-05 19:09:17 +01:00
10e99a9cd2 Expand PathNode 2023-02-03 23:44:15 +01:00
1e3979ede4 Reworked to Pathnode 2023-02-03 23:36:43 +01:00