Skip to main content

For a project I'm working on I work with postal code areas. I still have a few unresolved problems which I would like to ask.

 

 

If you have a poly_point dataset. Is it possible to filter out points which have the exact coordinates? For example, if there's a tall building with multiple levels. Is it possible to filter multiple points which lay on the exact same spot in a way that you keep one point?

If you have an attribute which contains text attributes in the form of 1234AB (so 4 digits and 2 letters). Is it possible to create a new attribute which only contains the first 4 or 5 digits?

And finally: I use the centrelinereplacer (straightskelleton) to make smaller polygons, but when I combine 2 datasets and then run the centrelinereplacer, it doesn't work anymore. Is this a familiar problem, is there a resolution?

regards,

 

 

Bart

For the first question multiple options: PointonPointOverlayer or Matcher will remove duplicate points. You probably want to group based on postal codes.

For the second question the SubstringExtractor is the transformer to use.

To create smaller polygons you can try the Buffererr with a negative buffer amount.

Hope these suggestions help.


@erik_jan Thanks alot for the tip. I already tried matcher but didn't make much of it. When you metioned it again, I found out how it worked.

The substringextractor is also a very good tip.

 

 

With the centrelinereplacer I maybe wasn't clear enough. I use centrelinereplacer to rearrange my empty, thus postal code free, spaces. I want to devide the empty spaces I have left in such a way that it has high correlation with the postal code areas I created, so I can devide the empty spaces itteratively and you won't get weird looking postal code areas.

For filling up the smaller free areas I would try the Snapper first.


Reply