Grasshopper

algorithmic modeling for Rhino

Problems in Data Management: how to match the number of floors with its indexed building footprints?

The problem raised here: I want to construct a 3D database of urban block,  which can be used as a platform for calculating some feature parameters of urban morphology.

I get the original data from a .DXF file,  the data of buiding footprint located in the layer named FOOTPRINT, the data of  number of floors located in the layer named FLOORS. 

The results is:

The two kinds of data can not match one to one exactly, and the number of floors do not correspond to its indexed building footprint.

I'm looking forward to some suggestions to overcome this problem.

Thank you for the consideration.

Regards. 

Attanched is the .3dm and .gh files.

Views: 642

Attachments:

Replies to This Discussion

Here's a Closest Point Search solution

Attachments:

Hello Danny,

Thank you for your help. 

Your solution is concise and efficient, and gives me a bright key for this problem.

Maybe some little bugs exited.

I will try to make it more perfect for more complex issues.

Best!

--

Lucas

Here's another solution that might be a little more accurate/reliable than the closest point method, which is dependent on a number of assumptions that may or may not be true - that the building is represented with a single curve (has no holes), that it's fairly convex, that the text points are located close to the polygon center, etc.

Attachments:

Hi Andrew,

Thanks for your effort!

It is really a nice definition, I will study your work carefully, and I hope I can develop a suitable component for urban data mining.

Regards!

--

Lucas

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service