Skip to content

Commit 4492057

Browse files
committed
fix example data path
1 parent d4e1dac commit 4492057

File tree

1 file changed

+1
-1
lines changed
  • examples/Sandwych.MapMatchingKit.Examples.HelloWorldApp

1 file changed

+1
-1
lines changed

examples/Sandwych.MapMatchingKit.Examples.HelloWorldApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private static IEnumerable<MatcherSample> ReadSamples()
8383

8484
private static IEnumerable<RoadInfo> ReadRoads(ISpatialOperation spatial)
8585
{
86-
var json = File.ReadAllText(@"c:\tmp\shptemp\osm-kunming-roads-network.geojson");
86+
var json = File.ReadAllText(Path.Combine(s_dataDir, @"osm-kunming-roads-network.geojson"));
8787
var fc = JsonConvert.DeserializeObject<FeatureCollection>(json);
8888
foreach (var feature in fc.Features)
8989
{

0 commit comments

Comments
 (0)