Skip to main content
Solved

convert one point into multipoint


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!

Best answer by ebygomm

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

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • July 14, 2017

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


  • Author
  • July 14, 2017

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings