Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99635

Geospatial centroid calculation issue

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 8.1.0-rc0
    • Component/s: None
    • None
    • Query Integration

      Hi,

      I am trying to execute a query that calculates the centroid of a polygon in geospatial data. I have already tested all the queries mentioned in the Geospatial Queries - MongoDB Manual v8.0 However, the Polygon::centroid() function in shapes.cpp is not being invoked. I confirmed this by adding logs to the function.

      Could someone provide a specific query that triggers this function or clarify why it is not being called?

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            mohak.goel@fujitsu.com Mohak Goel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: