Fixed broken pipe error.

Was caused by boat ids being over 1000 and when turned into xml having a comma placed between the hundreds and the thousands? So to fix, I just mad the max id number 999 so there should not be any issues regarding that if another broken pipe error occurs. Also switched to use the correct yacht constructor.

#story[1047]
This commit is contained in:
Kusal Ekanayake
2017-07-23 17:10:18 +12:00
parent 2e4382bff6
commit ffc61942a9
5 changed files with 16 additions and 18 deletions
@@ -19,8 +19,8 @@
<Boat Type="Yacht" SourceID="${boat.sourceId}" ShapeID="4" HullNum="${boat.hullID}" StoweName="${boat.shortName}" ShortName="${boat.shortName}"
BoatName="${boat.boatName}" Country="${boat.country}">
<GPSposition Z="0" Y="${boat.location.lat}" X="${boat.location.lng}" />
<MastTop Z="0" Y="${boat.location.lat}" X="${boat.location.lng}" />
<GPSposition Z="0" Y="3.7" X="0" />
<MastTop Z="0" Y="6.2" X="0" />
</Boat>
</#list>
</Boats>