can you listen? pls

This commit is contained in:
BuildTools
2020-07-25 20:27:59 +02:00
parent 6a53d002e2
commit ed3aaab97e
18 changed files with 259 additions and 67 deletions

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using GeoJSON.Net.Geometry;
namespace Datalaag
{
public class MultiPolygonPunten
{
public List<PolygonPunten> PolygonPunten;
public string Naam;
public MultiPolygonPunten(MultiPolygon multiPolygon, string naam = "")
{
PolygonPunten = new List<PolygonPunten>();
Naam = naam;
foreach (Polygon polygon in multiPolygon.Coordinates)
{
PolygonPunten.Add(new PolygonPunten(polygon, naam));
}
}
public override string ToString()
{
if (string.Equals(Naam, "", StringComparison.Ordinal)) return "UNKNOWN";
else return Naam;
}
}
}