Skip to main content
Solved

Few questions about postal code areas


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

Best answer by erik_jan

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.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

3 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • January 5, 2016

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.


  • Author
  • January 5, 2016

@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.

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 5, 2016

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


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