Commit Graph

84 Commits

Author SHA1 Message Date
4600105b0b Changed ClosestNodeToCoordinates to include only nodes that have connections for appropriate SpeedType (e.g. roads for cars, footways for pedestrians)
Changed toVisit to be a priorityqueue.

Search is aborted, if within 250m of goal.
2023-04-01 18:10:21 +02:00
0f0f4182ac Region Size 0.025f 2023-04-01 18:08:59 +02:00
5ebe843048 Added Logging for plausability 2023-04-01 18:08:48 +02:00
03322ea143 Console time formatting 2023-04-01 18:08:31 +02:00
349ed9da94 Check if files for ways and tags exist upon import. 2023-04-01 15:54:35 +02:00
87e260562f Changed Regionsize to 0.01f 2023-04-01 15:53:51 +02:00
82d2de1537 working 2023-04-01 14:43:22 +02:00
01deb02666 Adjusted to new Region Format 2023-04-01 14:43:05 +02:00
2826ff2502 Fixed deserialization issue with wrong default values
ToString() uniform
2023-04-01 14:42:49 +02:00
8cf13efae3 code clean 2023-04-01 14:21:58 +02:00
b3da6936da Fixed return of GetTag to return value of searched Tag. 2023-04-01 14:21:39 +02:00
312536f0c0 ToString() adjustment 2023-04-01 14:21:11 +02:00
556d4b1ffb ToString() adjustment 2023-04-01 14:19:36 +02:00
2d5ffabb5d working 2023-04-01 13:19:02 +02:00
0bfc120ede Region no longer contains ways. Ways are Edges added to nodes.
Combined outputfiles into single Regionfile.
2023-04-01 13:18:54 +02:00
806dcf98c9 Renamed OsmWay -> OsmEdge again
Prevented duplicate writes of Tags for way
2023-04-01 01:47:56 +02:00
c2cadd678c Now working with tags 2023-04-01 01:32:31 +02:00
15628d3544 Loading Tags 2023-04-01 01:32:25 +02:00
452c5d3177 Removed TagType.EMPTY 2023-04-01 01:32:15 +02:00
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
f0cd97fbc7 working 2023-04-01 01:00:22 +02:00
3fce0f990a Initial commit 2023-04-01 01:00:17 +02:00
102499891c Moved id to tag storage 2023-04-01 01:00:10 +02:00
9ef1d4a978 Readbility through Methods 2023-04-01 00:52:13 +02:00
b12f959f48 Made Fields FileNames public 2023-04-01 00:40:06 +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
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