go-spatial / geom

Geometry interfaces to help drive interoperability within the Go geospatial community
MIT License
168 stars 37 forks source link

Planar distance #9

Closed jasonsurratt closed 6 years ago

jasonsurratt commented 6 years ago

Add line segment to point distance & minor changes

  1. Added a planar line segment to point distance function
  2. Changed MULTILINE to MULTILINESTRING in WKT encoding
  3. Added a method to Extent for expanding with Pointers
jasonsurratt commented 6 years ago

Sorry, 1min...

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 36


Changes Missing Coverage Covered Lines Changed/Added Lines %
bbox.go 11 13 84.62%
geom.go 45 56 80.36%
<!-- Total: 83 96 86.46% -->
Totals Coverage Status
Change from base Build 16: -10.9%
Covered Lines: 2347
Relevant Lines: 2954

💛 - Coveralls
jasonsurratt commented 6 years ago

Any idea why the coverage is failing? The new lines should have 100% coverage. Is it because I changed the MULTILINE lines in wkt?

gdey commented 6 years ago

Yeah, I think it's because of the WKT. That seems to be the only when that went down.