Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationsReader.cs
===================================================================
diff -u -r0f6942caadb447b170627a385ebd13cc1b6aac20 -r9717724b58f9be090380d74ba4d30c74ba81eb0c
--- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationsReader.cs (.../DuneLocationsReader.cs) (revision 0f6942caadb447b170627a385ebd13cc1b6aac20)
+++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationsReader.cs (.../DuneLocationsReader.cs) (revision 9717724b58f9be090380d74ba4d30c74ba81eb0c)
@@ -27,12 +27,11 @@
using Core.Common.Utils.IO;
using Core.Components.Gis.Data;
using Core.Components.Gis.IO.Readers;
-using Ringtoets.DuneErosion.Data;
namespace Ringtoets.DuneErosion.IO
{
///
- /// Shapefile reader that reads a based on the line feature in the file.
+ /// Shapefile reader that reads a based on the line feature in the file.
///
public class DuneLocationsReader
{
@@ -43,10 +42,10 @@
private const string d50Key = "Dreken";
///
- /// Reads an of from an embedded shape file containing points.
+ /// Reads an of from an embedded shape file containing points.
///
- /// An of .
- public IEnumerable ReadDuneLocations()
+ /// An of .
+ public IEnumerable ReadDuneLocations()
{
using (var embeddedResourceFileWriter = new EmbeddedResourceFileWriter(typeof(DuneLocationsReader).Assembly,
true,
@@ -67,7 +66,7 @@
}
}
- private IEnumerable CreateDuneLocations(FeatureBasedMapData locationsData)
+ private IEnumerable CreateDuneLocations(FeatureBasedMapData locationsData)
{
foreach (var locationData in locationsData.Features)
{
@@ -82,7 +81,7 @@
double orientation = Convert.ToDouble(locationData.MetaData[orientationKey]);
double d50 = Convert.ToDouble(locationData.MetaData[d50Key]);
- yield return new DuneLocation(name, xCoordinate, yCoordinate, coastalAreaId, offset, orientation, d50);
+ yield return new ReadDuneLocation(name, xCoordinate, yCoordinate, coastalAreaId, offset, orientation, d50);
}
}
}