Subscribe to this thread
Home - General / All posts - Buffer - Voronoi Area => M8 better than M9 ? What I am doing wrong?
Corentin
148 post(s)
#13-Nov-23 16:46

Hello

I have 10 000 points in a drawing (villages in an African country)

I want to draw voronoi areas delimited by a 3km max. distance. Something like :

I am used to do so in Manifold8 : create 2 drawings : buffer & voronoi areas, and then clip. Works fine, done in ~5mn.

I thought I can do it even faster in Manifold 9. I did the same, I added a drawing with the Voronoi Areas, a drawing with the 3km buffer. Then I created a map and went to Transform/Clip... But Manifold 9 was computing only 2 object per second!

M8 had finished the job before M9. I certainly got something wrong in my M9 workflow...

dale

630 post(s)
#13-Nov-23 18:44

Your answer is here

Summary, use the Overlay Transform (intersect)

Corentin
148 post(s)
#13-Nov-23 18:54

thank you

dale

630 post(s)
#13-Nov-23 20:14

Muscle memory still gets me every so often. Run the Clip, see the progress, and realise "wrong transform"!

Sloots

666 post(s)
#16-Nov-23 11:57

have done the following:

1: Create a buffer around the points

2: Generate a Voronoi diagram

3: Use the Join Dialog to copy the mfd_id of the points to the voronoi areas

4. Run the following query

--SQL9

TABLE CALL TableCacheIndexGeoms(

(

SELECT

 b.[mfd_id]

 , GeomClip(b.[geom_buffer], v.[geom], true, 0)

FROM

 [Buffer] AS b

LEFT JOIN

 [Voronoi] AS v

ON

 b.[mfd_id] = v.[point_id]

), TRUE)

Attachments:
clipped.png


http://www.mppng.nl/manifold/pointlabeler

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.