Skip to content

Commit a19fefe

Browse files
authored
Merge pull request #134 from UniQP/fixTypos
Fix some typos
2 parents faaf90c + b7ca325 commit a19fefe

File tree

21 files changed

+42
-42
lines changed

21 files changed

+42
-42
lines changed

releasenotes/osmsharp-6.0.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ New features:
88
- Changed lat/lon to doubles instead of floats.
99
- Writing compressed PBF.
1010
- Added other concepts apart from Nodes, Ways and Relations like Users to be better able to handle interactions with the OSM-API.
11-
- OsmSharp now includes .NET standard support, we now support `netstandard1.3` and `netstandard2.0`. We removed the PCL profiles because it was only there for Xamarin but that is now convered by .NET standard.
11+
- OsmSharp now includes .NET standard support, we now support `netstandard1.3` and `netstandard2.0`. We removed the PCL profiles because it was only there for Xamarin but that is now covered by .NET standard.
1212
- OsmSharp.Geo for now only supports .NET Framework 4.5 and up. Support for .NET standard is coming as soon as [NTS](https://github.com/NetTopologySuite/NetTopologySuite) releases a stable with support.
1313
- Support for extra root attributes in OSM-XML.
1414
- Better support for changesets:

releasenotes/osmsharp-6.1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ New features:
1515
- Changed lat/lon to doubles instead of floats.
1616
- Writing compressed PBF.
1717
- Added other concepts apart from Nodes, Ways and Relations like Users to be better able to handle interactions with the OSM-API.
18-
- OsmSharp now includes .NET standard support, we now support `netstandard1.3` and `netstandard2.0`. We removed the PCL profiles because it was only there for Xamarin but that is now convered by .NET standard.
18+
- OsmSharp now includes .NET standard support, we now support `netstandard1.3` and `netstandard2.0`. We removed the PCL profiles because it was only there for Xamarin but that is now covered by .NET standard.
1919
- OsmSharp.Geo for now only supports .NET Framework 4.5 and up. Support for .NET standard is coming as soon as [NTS](https://github.com/NetTopologySuite/NetTopologySuite) releases a stable with support.
2020
- Support for extra root attributes in OSM-XML.
2121
- Better support for changesets:

src/OsmSharp.Geo/DefaultFeatureInterpreter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ public override FeatureCollection Interpret(ICompleteOsmGeo osmObject)
126126
{
127127
if (isArea)
128128
{ // area tags leads to simple polygon
129-
var lineairRing = new Feature(new LinearRing(coordinates.
129+
var linearRing = new Feature(new LinearRing(coordinates.
130130
ToArray<Coordinate>()), TagsAndIdToAttributes(osmObject));
131-
collection.Add(lineairRing);
131+
collection.Add(linearRing);
132132
}
133133
else
134134
{ // no area tag leads to just a line.
@@ -339,7 +339,7 @@ private Geometry GroupRings(List<KeyValuePair<bool, LinearRing>> rings)
339339
if (multiPolygon == null &&
340340
inners.Count == 0 &&
341341
unused)
342-
{ // there is just one lineair ring.
342+
{ // there is just one linear ring.
343343
geometry = outer;
344344
break;
345345
}
@@ -424,7 +424,7 @@ private bool AssignRings(List<KeyValuePair<bool, CompleteWay>> ways, bool[] assi
424424
}
425425

426426
/// <summary>
427-
/// Creates a new lineair ring from the given way and updates the assigned flags array.
427+
/// Creates a new linear ring from the given way and updates the assigned flags array.
428428
/// </summary>
429429
private bool AssignRing(List<KeyValuePair<bool, CompleteWay>> ways, int way, bool[] assignedFlags, out LinearRing ring)
430430
{

src/OsmSharp.Geo/FeatureInterpreter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static FeatureInterpreter DefaultInterpreter
6565
public abstract bool IsPotentiallyArea(TagsCollectionBase tags);
6666

6767
/// <summary>
68-
/// Interprets an OSM-object and returns the correctponding geometry.
68+
/// Interprets an OSM-object and returns the corresponding geometry.
6969
/// </summary>
7070
public virtual FeatureCollection Interpret(OsmGeo osmGeo, ISnapshotDb data)
7171
{

src/OsmSharp.Geo/Streams/Features/IFeatureStreamSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace OsmSharp.Geo.Streams
3232
public interface IFeatureStreamSource : IEnumerator<IFeature>, IEnumerable<IFeature>
3333
{
3434
/// <summary>
35-
/// Intializes this source.
35+
/// Initializes this source.
3636
/// </summary>
3737
/// <rremarks>Has to be called before starting read objects.</rremarks>
3838
void Initialize();

src/OsmSharp.Geo/Streams/Features/IFeatureStreamTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace OsmSharp.Geo.Streams
3131
public interface IFeatureStreamTarget
3232
{
3333
/// <summary>
34-
/// Intializes this target.
34+
/// Initializes this target.
3535
/// </summary>
3636
/// <rremarks>Has to be called before starting to add objects.</rremarks>
3737
void Initialize();

src/OsmSharp.Geo/Streams/Features/Interpreted/InterpretedFeatureStreamSource.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ public void Close()
107107
}
108108

109109
/// <summary>
110-
/// Diposes of all native resource associated with this stream.
110+
/// Disposes of all native resource associated with this stream.
111111
/// </summary>
112112
public void Dispose()
113113
{
114114

115115
}
116116

117117
/// <summary>
118-
/// Returns a bounding box if avaible.
118+
/// Returns a bounding box if available.
119119
/// </summary>
120120
/// <returns></returns>
121121
public Envelope GetBounds()

src/OsmSharp/API/Capabilities.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public partial class Version
9090
public partial class Area
9191
{
9292
/// <summary>
93-
/// Gets or sets the maxium.
93+
/// Gets or sets the maximum.
9494
/// </summary>
9595
public double? Maximum { get; set; }
9696
}
@@ -101,7 +101,7 @@ public partial class Area
101101
public partial class NoteArea
102102
{
103103
/// <summary>
104-
/// Gets or sets the maxium.
104+
/// Gets or sets the maximum.
105105
/// </summary>
106106
public double? Maximum { get; set; }
107107
}
@@ -129,7 +129,7 @@ public partial class WayNodes
129129
}
130130

131131
/// <summary>
132-
/// Represents the API-changesets capabilitiy.
132+
/// Represents the API-changesets capability.
133133
/// </summary>
134134
public partial class Changesets
135135
{

src/OsmSharp/API/User.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public partial class User
8080
public int TraceCount { get; set; }
8181

8282
/// <summary>
83-
/// Gets or sets the blocks recieved.
83+
/// Gets or sets the blocks received.
8484
/// </summary>
8585
public Block[] BlocksReceived { get; set; }
8686

src/OsmSharp/Complete/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public static OsmGeo[] ToSimpleWithChildren(this CompleteRelation relation)
237237
return withChildren.DistinctByGeoKey().ToArray();
238238
}
239239

240-
// Recursive, safe against circular references, may return duplciate nodes.
240+
// Recursive, safe against circular references, may return duplicate nodes.
241241
private static IEnumerable<OsmGeo> ToSimpleWithChildrenCircularSafe(
242242
this CompleteRelation complete, HashSet<OsmGeoKey> seenGeoKeys)
243243
{

0 commit comments

Comments
 (0)