Create H3 Grid: some issues

Hi,

tried to work with the Create H3 Grid node. I think there are some issues:

the output column is called “Geometry”, which leads to an error in the Geospatial View node, because the “G” is captial. Whereas all other nodes use “geometry” as output columns.

Despite stating that the node would union all input polygons (this is how I understand the following text)
grafik
is has an issue with multipolygons:
grafik
grafik

Thanks and cheers

Hello @Awiener,

Thank you for reaching out to the KNIME Forum and reporting unexpected behavior.

We took a look into this and do understand that this limits the usability and handling of the nodes. As of now, the node only supports a single object (polygon, multipolygon).
We opened ticket requests internally to address your points in a future release.

Best regards

4 Likes

Hi @Awiener , We well fix this in our next release, you can check the update from here too.

2 Likes

@Awiener Can you provide a workflow to generate this issue?

@xiaokang_fu

Sure, here you go.
H3_Multipolygons.knwf (16.4 KB)

First one: issue with multipolygon.
Second one: same but with two concatenated countries.

Thanks!

Hello @Awiener ,
thanks again for reporting the issue and providing the example. We have fixed it with the 1.3.1 bug fix release which we published today. For further details see this post.
Bye
Tobias

1 Like

Thank you @tobias.koetter works fine now.

Just a really minor issue with the workflow from above. It looks like the western border of the view is a little bit out of control (zoom level 1 or 2) :sweat_smile:

Hello @Awiener ,
thanks for reporting the problem. I have created an issue for this. Unfortunately this is not easy to solve in a general way. So far we have come up with two solutions and I would like to know what you think about them:

  1. Create a new node that resolves this edge problems in general since this problem can also happen elsewhere such as the Create Create Grid node, Buffer node or Multi Ring Buffer. The node would allow the user to choose from different solutions, split-up into MultiPolygon, split-up into multipler rows, shift points.
  2. Handle the problem in the H3 Grid node by returning a multipolygon for the problematic h3 grid tiles.

We think that solution 1 would be the better option since it would allow the user to decide how to solve these special polygons depending on the subsequent task e.g. for visualization purpose shifting the points would be the best but for overlap detection the MultiPolygon would be better etc. However the user would need to know/recognize that the data table contains such a problematic Polygon.

What do you think?

Thanks
Tobias

Hello @tobias.koetter

thanks for rising this issue. I can see that this problem occurs in other use cases as well (other nodes). However I’d go the easies way with implementing GitHub - gadomski/antimeridian: Correct GeoJSON geometries that cross the 180th meridian for example.

I guess 99% of the user don’t care what’s been done in the backend, they’d like to have a working result.

As KNIME is primarily not a GIS tool too, I personally think, that most of the users are overwhelmed what to do with a possible node 1).

Just my 50 cents…

Hello @Awiener ,
thanks for the feedback and the link to a possible solution. I guess you are right. We will see what we can do to correct the problem in the node itself.
Bye
Tobias