David Smiley

Results 263 comments of David Smiley
trafficstars

The suffix "deg" shows it's degrees based instead of radians. This convention is consistent with other parts of Spatial4j. Degrees in the context of a distance is an angular measure,...

It seems much of the difficulty here is not so much the impact on the implementation for encoding a point or decoding a geohash; it's the method: getSubGeohashes(String geohash) which...

@JacobBrandt I'm glad you're interested in solving this! I recently posed the question on the JTS Dev list -- https://dev.locationtech.org/mhonarc/lists/jts-dev/msg00219.html

By the way, if per chance you are using Spatial4j in the context of Lucene or Solr, then another option is to use Geo3D: https://builds.apache.org/job/Solr-reference-guide-master/javadoc/spatial-search.html#geo3d-and-polygons-on-the-ellipsoid which supports various shapes on...

@JacobBrandt do you plan on working on this within the next couple weeks? If so, I'll holdup the 0.7 release for it.

Sorry, there isn't. It would be a fun project for you or anyone to give it a try!

> However, since my point is moving in parallel to the x-axis, I expect the distance delta to be the same. Am I missing something here or am I wrong...

No. Look at the top of a globe. Pick a high latitude, like 80 degrees. Say this is the line of longitude your p1 is moving along. It's a circle/curved....