Skip to main content
Question

Setting Z Values to polygons

  • April 14, 2020
  • 6 replies
  • 220 views

Forum|alt.badge.img

Hey everybody,

 

As this community has always helped me this far. I got a question which seems pretty easy but I just can't seem to make it work.

 

I have polygons each with a fixed elevation. Now I have to replace this elevation attribute value with a minimum value of a staticscalculator.

I have been working around with the 3D enforcer but nothing so far yet. I always get an error that the elevation parameter is invalid.

What is the way to set the value of this elevation to a value i got from a staticscalculator?

Thanks in advance,

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.

6 replies

david_r
Celebrity
  • 8392 replies
  • April 14, 2020

The 3DForcer should work, but have you looked at the actual output value from the StatisticsCalculator? Does it have a value or is it empty?


Forum|alt.badge.img
  • Author
  • 19 replies
  • April 14, 2020

The 3DForcer should work, but have you looked at the actual output value from the StatisticsCalculator? Does it have a value or is it empty?

@david_r I forgot to mention that I get the minimum value from the staticscalculator from point data. This minimum value describes at which height the polygons should be.

ps: I do get a value in the staticscalculator.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • April 14, 2020

Can you post a workflow? How are you joining the output from the statistics calculator to the polygon data?


Forum|alt.badge.img
  • Author
  • 19 replies
  • April 14, 2020

Can you post a workflow? How are you joining the output from the statistics calculator to the polygon data?

At this moment i'm trying to join the different columns so I can set the value to the elevation parameter. I don't know if this a good approach or not. Tips are always welcome.


nampreetatsafe
Safer
Forum|alt.badge.img+13

Hi @andreasb! I might be over simplifying this, but "...I have to replace this elevation attribute value..." caught my attention. Sounds like you are trying to replace an existing elevation attribute in your polygon data. If so, after you get the minimum elevation from the point data using the StatisticsCalculator, try:

  • merging the attributes from the points to the polygon dataset (i.e. FeatureMerger, FeatureJoiner, SpatialRelator).
  • You can replace the existing elevation attribute with the minimum elevation value you generated with the StatisticsCalculator using an AttributeManager.

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • April 16, 2020

At this moment i'm trying to join the different columns so I can set the value to the elevation parameter. I don't know if this a good approach or not. Tips are always welcome.

I would use the FeatureMerger rather than the Joiner in this case, because you can use a fixed value as the key. So place a FeatureMerger. The Area features are the Requestor. Point Features StatisticsCalculator:Summary is the supplier. Set the join keys to a fixed value (like set both of them to the letter A or number 1). That should pass the point stats values on to the area features, after which the 3DForcer should be fine.