Fix RemoveAllNonHighway, wayfiles not being selected. Nothing happening.
This commit is contained in:
parent
c1d8f5e879
commit
f6c79aca77
@ -164,7 +164,7 @@ public class Converter(float regionSize, string? exportFolderPath = null, ILogge
|
|||||||
|
|
||||||
public void RemoveAllNonHighways()
|
public void RemoveAllNonHighways()
|
||||||
{
|
{
|
||||||
string[] wayRegionsPaths = Directory.GetFiles(Path.Join(ExportFolderPath, WaysRegionDirectory)).Where(file => !Regex.IsMatch(file, @"[0-9]+\..*")).ToArray();
|
string[] wayRegionsPaths = Directory.GetFiles(Path.Join(ExportFolderPath, WaysRegionDirectory)).Where(file => Regex.IsMatch(file, @"[0-9]+")).ToArray();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
DateTime print = DateTime.Now;
|
DateTime print = DateTime.Now;
|
||||||
DateTime start = DateTime.Now;
|
DateTime start = DateTime.Now;
|
||||||
|
Loading…
Reference in New Issue
Block a user