geo: return the value of correct distance according to quadrant type
geo: return the value of correct distance according to quadrant type

refs #1389

hiroyuki-sato/groonga,redfigure/groonga,hiroyuki-sato/groonga,komainu8/groonga,komainu8/groonga,redfigure/groonga,hiroyuki-sato/groonga,kenhys/groonga,groonga/groonga,myokoym/groonga,redfigure/groonga,naoa/groonga,myokoym/groonga,groonga/groonga,naoa/groonga,kenhys/groonga,naoa/groonga,hiroyuki-sato/groonga,hiroyuki-sato/groonga,naoa/groonga,kenhys/groonga,cosmo0920/groonga,redfigure/groonga,hiroyuki-sato/groonga,kenhys/groonga,groonga/groonga,komainu8/groonga,naoa/groonga,komainu8/groonga,kenhys/groonga,komainu8/groonga,redfigure/groonga,cosmo0920/groonga,groonga/groonga,cosmo0920/groonga,groonga/groonga,myokoym/groonga,naoa/groonga,myokoym/groonga,groonga/groonga,naoa/groonga,groonga/groonga,myokoym/groonga,redfigure/groonga,hiroyuki-sato/groonga,hiroyuki-sato/groonga,komainu8/groonga,kenhys/groonga,cosmo0920/groonga,cosmo0920/groonga,kenhys/groonga,komainu8/groonga,myokoym/groonga,myokoym/groonga,redfigure/groonga,redfigure/groonga,myokoym/groonga,groonga/groonga,komainu8/groonga,naoa/groonga,kenhys/groonga,cosmo0920/groonga,cosmo0920/groonga,cosmo0920/groonga