Fix RemoveAllNonHighway, wayfiles not being selected. Nothing happening.

This commit is contained in:
glax 2024-07-23 23:14:04 +02:00
parent c1d8f5e879
commit f6c79aca77

View File

@ -164,7 +164,7 @@ public class Converter(float regionSize, string? exportFolderPath = null, ILogge
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;
DateTime print = DateTime.Now;
DateTime start = DateTime.Now;