From f31cead20792260bdef6044ab5322baa5fd4c7fa Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Sat, 28 Jul 2018 07:17:57 -0700 Subject: [PATCH] Update poly geo comment --- pkg/geojson/poly/poly.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/geojson/poly/poly.go b/pkg/geojson/poly/poly.go index ddb0230e..fae25be5 100644 --- a/pkg/geojson/poly/poly.go +++ b/pkg/geojson/poly/poly.go @@ -4,8 +4,9 @@ package poly import "fmt" // Point is simple 2D point +// For geo locations: X is lat, Y is lon, and Z is elev or time measure. type Point struct { - X, Y, Z float64 // X=latitude, Y=longitude, (Z is optional, e.g. for elevation or timestamp) + X, Y, Z float64 } // InsideRect detects point is inside of another rect