Skip to main content
Question

Duplicating points

  • February 19, 2019
  • 5 replies
  • 40 views

Forum|alt.badge.img

Hello,

I have a set of parcel and I need to insert point inside them that represent parcel ID. My approach is to use CenterPointReplacer transformer(mode: Inside Point) and this works perfectly.

Problem is large parcels where because of their large area I need to duplicate that point and place those duplicates elsewhere inside corresponding parcel.

Additionally, If its possible to make one duplicate for every 15000 sqm of parcels Area. So parcels that are 15k to 30k square meters would have two point placed inside parcel, 30k to 45k sqm would have 3 points... This is not mandatory but it would be nice if it is possible to do.

 

Every help would be appreciated.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

david_r
Celebrity
  • 8394 replies
  • February 19, 2019

For very irregular parcel shapes, how should the points be distributed?

Possible solution to create a regular grid of points inside each parcel:

  • 2DGridAccumulator to create a point grid
  • Bufferer on the parcel area with a negative value (this is to prevent points too close to the parcel border)
  • Clipper to only keep the grid points inside the parcel buffer
  • PointOnAreaOverlayer to check that the parcel contains at least one point, if not use the CenterPointReplacer to create one.

 


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2940 replies
  • February 19, 2019

I remember a blogpost from @dmitribagh, converting polygon to pointcloud, to get even spaced area's. It's from 2016 so maybe there are better solutions nowadays.


Forum|alt.badge.img
  • Author
  • 39 replies
  • February 20, 2019

For very irregular parcel shapes, how should the points be distributed?

Possible solution to create a regular grid of points inside each parcel:

  • 2DGridAccumulator to create a point grid
  • Bufferer on the parcel area with a negative value (this is to prevent points too close to the parcel border)
  • Clipper to only keep the grid points inside the parcel buffer
  • PointOnAreaOverlayer to check that the parcel contains at least one point, if not use the CenterPointReplacer to create one.

 

Hi @david_r most of the parcels are irregular shapes and point should be distributed equaly across the parcels. I am aware that this is impossible and I would try your approach only problem is determining what cell size to set for 2DGridAccumulator. Thank you.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3429 replies
  • February 20, 2019

I'd try the tiler to split the larger polygons up into say 125 *125 tiles, test for tiles over a certain size then use a CenterPointReplacer transformer(mode: Inside Point).


Forum|alt.badge.img
  • Author
  • 39 replies
  • February 20, 2019

I'd try the tiler to split the larger polygons up into say 125 *125 tiles, test for tiles over a certain size then use a CenterPointReplacer transformer(mode: Inside Point).

Thank you @egomm this is it.