Skip to content

Commit

Permalink
Fix new admin level for cities
Browse files Browse the repository at this point in the history
  • Loading branch information
HellMapGoesCoding committed Aug 28, 2024
1 parent 8374cfd commit 34b66b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Osmalyzer/Analyzers/Helpers/BoundaryHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static OsmPolygon GetLatviaPolygon(OsmMasterData osmData)
public static OsmPolygon GetRigaPolygon(OsmMasterData osmData)
{
if (_rigaPolygon == null)
_rigaPolygon = GetAdminRelationPolygon(osmData, "6", "Rīga");
_rigaPolygon = GetAdminRelationPolygon(osmData, "5", "Rīga");

return _rigaPolygon;
}
Expand All @@ -31,7 +31,7 @@ public static OsmPolygon GetRigaPolygon(OsmMasterData osmData)
public static OsmPolygon GetDaugavpilsPolygon(OsmMasterData osmData)
{
if (_daugavpilsPolygon == null)
_daugavpilsPolygon = GetAdminRelationPolygon(osmData, "6", "Daugavpils");
_daugavpilsPolygon = GetAdminRelationPolygon(osmData, "5", "Daugavpils");

return _daugavpilsPolygon;
}
Expand Down
4 changes: 2 additions & 2 deletions Osmalyzer/Runner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void Run()
// new TrolleybusWireAnalyzer(),
// new MicroReservesAnalyzer(), // -- it fails from localhost and github runner, no idea why
// new StreetNameAnalyzer(),
// new RigaDrinkingWaterAnalyzer(),
new RigaDrinkingWaterAnalyzer(),
// new PublicTransportAccessAnalyzer(),
// new HighwaySpeedLimitAnalyzer(),
// new GlikaOaksAnalyzer(),
Expand All @@ -49,7 +49,7 @@ public static void Run()
// new SparShopAnalyzer(),
// new CitroShopAnalyzer(),
// new TopShopAnalyzer(),
new CulturalMonumentsAnalyzer(),
// new CulturalMonumentsAnalyzer(),
// new SwedbankLocationAnalyzer(),
// new SEBLocationAnalyzer(),
// new CitadeleLocationAnalyzer(),
Expand Down

0 comments on commit 34b66b6

Please sign in to comment.