Answer the question
In order to leave comments, you need to log in
How to normalize coordinates for ElasticSearch?
When indexing data, ElasticSearch spits out an error:
{"type":"illegal_argument_exception","reason":"illegal latitude value [129.77067] for coordinates"}}
"longitude" => "62.09325"
"latitude" => "129.77067"
Answer the question
In order to leave comments, you need to log in
You confuse latitude and longitude, latitude modulo is not more than 90 °. And yes, the default coordinate pair is (latitude, longitude) .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question