Github user mrkarthik commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/323#discussion_r173911226
  
    --- Diff: 
solr/core/src/java/org/apache/solr/schema/LatLonPointSpatialField.java ---
    @@ -75,8 +77,16 @@ protected SpatialStrategy newSpatialStrategy(String 
fieldName) {
         return new LatLonPointSpatialStrategy(ctx, fieldName, 
schemaField.indexed(), schemaField.hasDocValues());
       }
       
    -  public String geoValueToStringValue(long value) {
    -    return new String(decodeLatitudeCeil(value) + "," + 
decodeLongitudeCeil(value));
    +  /**
    +   * Converts to "lat, lon"
    +   * @param value Non-null; stored location field data
    +   * @return Non-null; "lat, lon" with 6 decimal point precision
    --- End diff --
    
    Based on the article it would be close 111mm
    https://gis.stackexchange.com/a/8674
    https://en.wikipedia.org/wiki/Decimal_degrees



---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to