Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floors and footprints based on Shapefile data #173

Open
JakubPelka opened this issue Dec 9, 2020 · 7 comments
Open

Floors and footprints based on Shapefile data #173

JakubPelka opened this issue Dec 9, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@JakubPelka
Copy link

Is your feature request related to a problem? Please describe.
I am working with visualisation of cities for city planning and management. I really happy with Blender GIS plugin, and of course yours! But I see way how to make it even better to recreate "real" cities.

Now I am importing shapefile with building footprints to Blender via BlenderGIS, and then using field survey and database I am adding floors, slabs, roofs with your tool. In my database there is info about number of floors and floor height (and many other data). With BlenderGIS it is possible to extrude building along Z axis to the height that is stored in a shapefile. But I guess it is possible to use data from shapefile to recreate for ex. 3 floors, each 2.8m height, with 20cm slabs. Automaticaly. If so - recreating ~1000 buildings in city centre will be quick and easy. It is important to show floors - not only height as it is much easier to "read" and interpretate.

Describe the solution you'd like
Make it possible to use shapefile with building footprints and data stored in database to drive feature parameters inside Building_tools. (column for slab height, column for floor height, column for number of floors). I know that with roof it will not be so easy...

Is it also possible to leave a footprint on a ground level (duplicate it)? before now we have a hole at the bottom of the building and it is not always perfect :)

Additional context
Will be glad for considering and any comment :) I can provide more data and examples if you find my idea interesting! I guess that people working with ArchVis and GIS will be really glad for that :)

@JakubPelka JakubPelka added the enhancement New feature or request label Dec 9, 2020
@MarcusElg
Copy link
Collaborator

Being able to automate the creation of buildings would be really nice. It all comes down to our lack of time so if you would be able to contribute some code then that would increase the chances a lot. @luckykadam has some thoughts on automating

@JakubPelka
Copy link
Author

JakubPelka commented Dec 9, 2020 via email

@ranjian0
Copy link
Owner

ranjian0 commented Dec 9, 2020

Hi @JakubPelka. I am glad you like the add-on. As for your request, it is in similar spirit to issue #109. I am not very familiar with GIS or even OSM but your request is very interesting and would be
useful to many people. That said, if you can provide data and examples of your requirements it would greatly contribute towards making this feature a reality.
I am just now starting to pick up development of the add-on again, and this feature plus your other one #141 seem like a great place to jump into before diving into more difficult issues.

@JakubPelka
Copy link
Author

JakubPelka commented Dec 9, 2020 via email

@JakubPelka
Copy link
Author

JakubPelka commented Dec 9, 2020

I attach presentation that I created few moments ago. It will be much easier with that :)
I created some screen recordings with workflow and possibilities.
it is 50mb so it is uploaded to my GoogleDrive

PRESENTATION

PS. Will be glad to help if any questions occur.

@MarcusElg
Copy link
Collaborator

MarcusElg commented Dec 10, 2020

I attach presentation that I created few moments ago. It will be much easier with that :)
I created some screen recordings with workflow and possibilities.
it is 50mb so it is uploaded to my GoogleDrive

PRESENTATION

PS. Will be glad to help if any questions occur.

Are the variables always called the same thing? Cause then one approch could be to take the data from those variables if variables with those names excist. That would only work for adding floors cause adding windows etc is seperate operations and would have to be implemented differently. Something we have discussed before is having some sort of file that creates a building, idk what its syntax would be tho. Third option is to connect it with geometry nodes somehow cause this would let you get the values from anywhere. It doesn't seam like there's any python api for it at all though so it may not be possible at all. Nevertheless there are mant different eays to implement this features so continues discussion is needed.

@JakubPelka
Copy link
Author

JakubPelka commented Dec 10, 2020

Well.... they don't. I mean fields - they don't have to be named like that. That is why it is important to make it a free choice of user to define field with value.
That's why I think that best approach could be:
if there are custom properties (CP), list field values from CP, and make a possiblity to choose a field...
E0X0E7nWpF
Floor (enter number) OR (if CP) choose a field with floor number (selectable list).

Of course solution will work only for floors and slabs, but it is a big step. I guess.

In data from OSM values for height and floors are always coded in the same way (as mentioned here OSM. But OSM data are not always best, and give us not enough flexibility. And for OSM and floors tool already works in osm-blender plugin ( osm-blender )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants