{"action":"closed","issue":{"url":"https://api.github.com/repos/orbisgis/h2gis/issues/558","labels_url":"https://api.github.com/repos/orbisgis/h2gis/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/orbisgis/h2gis/issues/558/comments","events_url":"https://api.github.com/repos/orbisgis/h2gis/issues/558/events","html_url":"https://github.com/orbisgis/h2gis/issues/558","id":90339151,"number":558,"title":"ST_3DArea does not work with multipolygons","user":{"login":"gpetit","id":1871248,"avatar_url":"https://avatars.githubusercontent.com/u/1871248?v=3","gravatar_id":"","url":"https://api.github.com/users/gpetit","html_url":"https://github.com/gpetit","followers_url":"https://api.github.com/users/gpetit/followers","following_url":"https://api.github.com/users/gpetit/following{/other_user}","gists_url":"https://api.github.com/users/gpetit/gists{/gist_id}","starred_url":"https://api.github.com/users/gpetit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpetit/subscriptions","organizations_url":"https://api.github.com/users/gpetit/orgs","repos_url":"https://api.github.com/users/gpetit/repos","events_url":"https://api.github.com/users/gpetit/events{/privacy}","received_events_url":"https://api.github.com/users/gpetit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orbisgis/h2gis/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T09:51:09Z","updated_at":"2015-07-16T10:30:09Z","closed_at":"2015-07-16T10:30:09Z","body":"If you try to compute the 3D Area of a multipolygon, \r\n\r\n```\r\nSELECT ST_3DArea('MULTIPOLYGON(((0 0 1, 10 0 2, 10 10 4, 0 10 3, 0 0 1), (5 4 0, 1 1 2, 3 4 3, 4 5 2, 5 4 0)))');\r\n```\r\n... we have an error message\r\n```\r\nException calling user-defined function: \"st3darea(MULTIPOLYGON (((0 0, 10 0, 10 10, 0 10, 0 0), (5 4, 1 1, 3 4, 4 5, 5 4)))): Only Polygon are accepted for tessellation\"; SQL statement:\r\nSELECT ST_3DArea('MULTIPOLYGON(((0 0 1, 10 0 2, 10 10 4, 0 10 3, 0 0 1), (5 4 0, 1 1 2, 3 4 3, 4 5 2, 5 4 0)))') [90105-186]\r\n```\r\n\r\nSo it seems that multipolygons are not accepted, even if the java function says its possible.\r\n\r\n@ebocher @nicolas-f "}}