POST
|
Hi Don, Many times it is good to start with Standard Resources on forums like this to help people get started. I agree with Chris Wilkins there should be a larger discussion about making a formal or informal repository. One issue is that many of the rules created by CityEngine users end up becoming proprietary, and also unlike other code bases good rules tend to have an assortment of assets that they also have to deal with rights issues with. I think there are plans to put rules on the ArcGIS marketplace at some point? I am not sure on this, but I saw it on a presentation in the past. I will investigate to see if I can find more rules to connect to here. I think parks can be made with elements of the building construction rule...should check. Kind Regards, David
... View more
12-08-2014
09:22 AM
|
0
|
0
|
1744
|
POST
|
Yeah in this case, I think they made the right call using clustering (unsupervised learning)...thanks for the article post. It is along the lines of what I was thinking.
... View more
12-05-2014
09:07 AM
|
0
|
0
|
710
|
POST
|
Theoretically. I have implemented gradient descent algorithm and the cost function for binary logistic regression, and I am getting to multi-class logistic regression now (neural networks fit in there). This lecture talks about classification generally. 6.1 - Classification - [ Machine Learning ] By Andrew Ng - YouTube I would be interested to see if we could use more variables than just the slope, but the problem would largely depend on the degree of classification we want to achieve. If we just want simple roof classification this may not be that hard of a problem, but we if we want to figure out if the same building has different roof types in different locations of the building then it could be harder. I was just saying that theoretically this might be a possible application of logistic regression to classify each roof type, and then assign it to the log/foot print polygons. I thought it would be neat.
... View more
12-05-2014
09:05 AM
|
0
|
0
|
710
|
POST
|
Is it enough to just know the roof type? I figured the roof would still be generated from a base footprint oriented in the right direction, unless the roof tops themselves are changing. In terms of getting something to align to the longest side...it might be possible to use alignScopetoGeometry for this one Kenneth. If you see the documentation, it is possible to select the longest edge to align too. I have used this function a lot to dynamically adjust inserted objects on street networks. It is not perfect, but it works for most shifting streets. I am not sure if this is what you need though. edgeSelector (selstr) world.lowest: takes the edge with lowest y world-coordinates. longest: takes the longest edge.
... View more
12-03-2014
03:14 PM
|
0
|
0
|
1668
|
POST
|
Wow. It looks like you have everything you need to set up a logistic regression equation set for classification of roof types. This is pretty intense data and processing.
... View more
12-03-2014
02:45 PM
|
0
|
2
|
1668
|
POST
|
Hi Kenneth, Chris is right you can use scope.sx or scope.sz...Sometimes however (I work A LOT with streets), I depend on the UV spaces for my geometry measurements. I often use geometry.du(0,unitSpace)/geometry.dv(0,unitSpace). I have had this feed straight into reporting and into rule choices pretty successfully. Hope this is helpful, David PS: Let us know what progress you make on LIDAR interpolated roof forms, it is a very interesting problem.
... View more
12-01-2014
11:44 AM
|
0
|
0
|
1668
|
POST
|
This looks pretty cool. I feel like investigating cool looking distortions after seeing this. Glad everything worked out.
... View more
11-20-2014
09:41 AM
|
0
|
0
|
388
|
POST
|
Hi David, The first step is to examine the rules in the ESRI.lib project, and take a look at the rules used there. You seem to already have taken the first step in doing that by looking at International City. For more rule/examples though: The 3D GIS resource center has a number of projects which includes rule files, assets, and other procedural examples. The most common set of rules that we like to share with people include the Redland's Example and others found on the website. I hope this is helpful. Kind Regards, David
... View more
11-18-2014
10:49 AM
|
0
|
6
|
1744
|
POST
|
Glad you figured it out. Because it is related I just wanted to link to a previous yet similar thread on Water Rendering. Just want to connect similar threads. https://community.esri.com/message/430089?sr=search&searchId=a037a063-9be8-4138-afa7-f3deee0becec&searchIndex=0#430089
... View more
11-10-2014
01:15 PM
|
0
|
0
|
579
|
POST
|
Hi Kenneth, Glad Chris could get to that. I just like to see coding examples on Geonet so users can try to learn from them if they have similar questions. Even if it is largely indecipherable most the time (which is often the case with code), some example is better than none. Share if you want, my only interest is sharing knowledge and learning within Geonet. Kind Regards, David
... View more
11-07-2014
08:52 AM
|
0
|
0
|
1227
|
POST
|
Hi Alex, I work with Chris. In terms of CE python specific resources here is a good link. http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/manual/python/toc.html While this is in the table of contents, functions related to camera angles/location/and other attributes are found here: http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.View3D.html#View3D-addBookmark The python section on attributes is here: http://cehelp.esri.com/help/topic/com.procedural.cityengine.help/html/manual/python/jscripting/jscripting.CE.html#CE-setAttribute From the look of it you will want setAttribute or some of other python attribute setting. I hope some of this is helpful. David
... View more
11-05-2014
01:14 PM
|
0
|
0
|
1970
|
POST
|
Very well done. The video made me feel the pulse of Cola.
... View more
10-28-2014
08:31 AM
|
0
|
2
|
693
|
POST
|
Hi Kenneth, I was not sure of the context so I tried to mention a few things. I am glad the Occlusion test worked, I would think it would be of great benefit to Geonet users if you shared the relevant code from this experience if you can. When you are working with imported data, I believe it is possible to compute the street edges based on a street created or imported in the model. Creating and Editing Shapes Manually - See further manipulations at the bottom. I could be incorrect. This may be the best solution to your problem, and I am glad it worked. I mention this because the occlusion tests work by creating "ghost models" that check to see if there is an instance that triggers the "occlusion" sensors. This works well, but in practice with huge models it can increase the work done by CityEngine significantly. It is one of the more computationally intensive functions to use in a model if it is triggered a lot. It is certainly useful and necessary, but just try to keep this in mind when using it. This is the only reason I mentioned other options. Keep the geometry flowing, David
... View more
10-23-2014
08:49 AM
|
0
|
4
|
1227
|
POST
|
Hi Kenneth, It is possible to query on whether you are "touching" something with occlusion tests. http://cehelp.esri.com/help/index.jsp?topic=/com.procedural.cityengine.help/html/cgareference/func_occlusion.html However, another way to potentially handle is this to use the street selectors for different faces, or develop case logic to create side facades if and only if the setback on its respective side is >0 (if it is zero, they are touching in most cases). I might misunderstand the issue though,and if that is the case use the link above to look at occlusion testing. I hope this is helpful. David
... View more
10-22-2014
12:56 PM
|
0
|
6
|
1227
|
Title | Kudos | Posted |
---|---|---|
1 | 06-07-2024 02:16 PM | |
1 | 05-15-2022 12:21 PM | |
1 | 08-27-2016 11:03 AM | |
1 | 12-19-2021 01:10 PM | |
1 | 06-12-2020 03:29 PM |