Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    "even if i've set the geometry fields in the mask" ... what do u mean ? Commented May 23, 2018 at 13:10
  • 2
    Do you need to add a geometry field to your selection? In a quick test, doing "SELECT ID from foo" fails, but "SELECT ID,ID.geometry from foo" works for me. ("SELECT * from foo" also works) Commented May 23, 2018 at 13:16
  • 1
    It's not enough to list the geometry column -- if a GROUP BY is present, you need to use an aggregation function on the geometry (or to restructure so that the geometry is outside the aggregation). Commented May 23, 2018 at 13:24