Solved

convert one point into multipoint

  • 14 July 2017
  • 2 replies
  • 30 views

I have a dataset containing different points. To insert them into my postGIS database I need to convert each point into multipoint (but each multipoint is only containing one point)

I may not change the geometry-type in postGIS, so I just need to store each point as a multipoint...

I already did some tests with the aggregator and geometrycoercer, but can't figure out how to change the geometry from point into multipoint.

maybe a bit of a silly question, but I just can't figure out how to do this :(

thanks for helping me!

icon

Best answer by ebygomm 14 July 2017, 11:08

View original

2 replies

Userlevel 1
Badge +21

In my experience if you aggregate a point geometry it becomes a multipoint if you have the mode set to geometry assemble one level

weird... I do not know what I did before, but I became an aggregate-collection before...

thanks, aggrator, with the "geometry assemble one level" and group by unique id, did the trick!

Reply