Skip to content

Commit

Permalink
Fix wkt spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed Oct 1, 2020
1 parent 84513c8 commit 05cac9e
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,23 +235,16 @@ export const getGeoThresholdExecutor = ({ logger: log }: { logger: Logger }) =>
.scheduleActions(ActionGroupId, {
entityId: entityName,
timeOfDetection: new Date(currIntervalEndTime).getTime(),
crossingLine: `LINESTRING (
${prevLocation.location[0]} ${prevLocation.location[1]},
${currLocation.location[0]} ${currLocation.location[1]}
)`,
crossingLine: `LINESTRING (${prevLocation.location[0]} ${prevLocation.location[1]}, ${currLocation.location[0]} ${currLocation.location[1]})`,

toEntityLocation: `POINT (
${currLocation.location[0]} ${currLocation.location[1]}
)`,
toEntityLocation: `POINT (${currLocation.location[0]} ${currLocation.location[1]})`,
toEntityDateTime: currLocation.date,
toEntityDocumentId: currLocation.docId,

toBoundaryId: currLocation.shapeId,
toBoundaryName,

fromEntityLocation: `POINT (
${prevLocation.location[0]} ${prevLocation.location[1]}
)`,
fromEntityLocation: `POINT (${prevLocation.location[0]} ${prevLocation.location[1]})`,
fromEntityDateTime: prevLocation.date,
fromEntityDocumentId: prevLocation.docId,

Expand Down

0 comments on commit 05cac9e

Please sign in to comment.