https://issues.apache.org/jira/browse/LUCENE-2519

If I change my code as per 2519

to have this  -

public double[] coords(double latitude, double longitude) {
    double rlat = Math.toRadians(latitude);
    double rlong = Math.toRadians(longitude);
    double nlat = rlong * Math.cos(rlat);
    return new double[]{nlat, rlong};

  }


return this -

x = (gamma - gamma[0]) cos(phi)
y = phi

would it make it give correct results? Correct projections, tier ids?

I am not talking about changing Lucene/Solr code, I can duplicate the
classes to create my own version. Just wanted to be sure about the results.

Pradeep

Reply via email to