Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Geookettle - 'group by' step and geometries

$
0
0
Hi,

Hope that someone use geokettle in here


I have a transformation where my goal is to merge the geometries by an attribute field and then update a postgresql/postgis. I used the 'Group by' step to make this.
I got this error: Caused by: org.postgresql.util.PSQLException: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon)

My problem is that in the input table I have the geometry type = Multipolygon.
After the 'Group by' step the geometries that were "merged" changed the geometry=polygon
The others that didn't were "merged" stay geometry type = Multipolygon

Because of that, when I try to update/insert my Postgis table I got the error Geometry type (Polygon) does not match column type (MultiPolygon)

Do any one have a suggestion how should I handle this?


Thanks in advance,
Pedro

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>