|
POST
|
Hi Jacob, Streets and Sidewalk widths are not controlled by the rule itself, but is in fact a street start shape parameter. So before you change rule attributes you need to change the street width. There are ways to do this by mapping the parameters to attributes. You are right, if you do not have enough width, you will start over allocating geometry very quickly...this has very strange results usually in the form of "First Splits" or "Dominant splits" getting preference over other geometry allocations...but not always (right to left usually). Hope this helps, David
... View more
03-06-2015
09:35 AM
|
2
|
0
|
8343
|
|
POST
|
Hi Alan, Your reply was perfect, it actually helped me out a lot. Long Segments: It may help with some of them which is why I mentioned it. The ultimate issue with short segments is while there is some functionality to reduce effects, the street rule starts to have elements of the road start "competing" for geometry when it is constrained. Lag: Of course you are right, it is really strange for only 12. I think it is configuration or scene related then. A lot of start shapes of different times seem to be there, and I am not sure what to do of it. Cars on segments- short and weird start shapes: When I saw this picture, I got a sinking feeling that I might have forgotten to put the recursive car allocator for certain segment types/start shapes. What is that start shape of that red square? In fact can you label all the start shapes for me? Stop Bars: Yes, I think so, but I need a video to be sure. Where this is code wise is hard to narrow down by just seeing it alone. It does seem to be a Lefty issue. You are combining short segments, left handed streets, multiple start shapes, and complex intersections- the exact use case I fear haha. Show me a video if you can. Will keep looking at this. There are good lessons here. David
... View more
03-04-2015
12:20 PM
|
0
|
0
|
8343
|
|
POST
|
Hi Alan, First question, which version of the rule are you working with? Download date? To be honest the fact you got this to work anywhere close at all is impressive. The rule was definitely not designed with slip lanes in mind. I have to experiment with this. Can you send me the scene/project file over email (can give you my email over linked in)? However you are right, this seems to be another British Empire issue...my gut feeling is that the stop-bars/stop markings don't really adjust based left hand traffic well. WHat happens when the segments you are working with are longer? As for the lag, I have had scenes get very weird behavior when I started working with a lot of connected segments. I have had this behavior before, and no I don't know what causes it. Please confirm or change my understanding of this: Summary of rule problems: 1. Cars are not facing the right direction sometimes or not appearing on the short segment? 2. Stop bars are giving weird behavior on short segments in the left hand slip lane case?
... View more
03-03-2015
08:25 PM
|
0
|
2
|
8343
|
|
POST
|
I will say from personal experience, terrain data can pose an issue for CE models. One 3D printer told me when I got him to work with a simple model that everything was fine until he started working with a uneven terrain. Just keep this in mind that it can pose an issue. David
... View more
02-02-2015
02:22 PM
|
0
|
0
|
2839
|
|
POST
|
Totally should be built in to CGA. Thanks for making this Chris.
... View more
01-29-2015
04:29 PM
|
0
|
0
|
698
|
|
DOC
|
Hello Geonet Community, This is David Wasserman, the urban planner/programmer who wrote up the Complete_Street.CGA rule featured in the Complete Street 2014 Example. Since the complete street rule was an article covering it was released by the Green Lane Project, and a large discussion page on the street rule has formed by users learning how to use it. Also the Geodesign conference has passed us by, but during the conference I got inspired to write a quick rule for the dedicated purpose of data visualization within CityEngine. The rule conveys information in 3 ways: 1. The rule has a file picker that allows you to select an obj to represent what you are measuring. The object itself is closely related to what you want to convey, so you could pick dollar signs for AssessedValue/Acre (seen below) or even a car or pedestrian to represent travel trips generated. 2. The data visualization rule will re-size the object based on the magnitude of that data on a 0 to 1 scale. 3. The data visualization rule will then color the object based on the magnitude of the data on a 0 to 1 scale, utilizing all the the colors available in the color ramp functions (even allowing you to invert the color). How to Use it: 1. Import the rule and then place the "Data_Viz" rule it on a base shape (lot, street, building), or a shape that faces the sky (vertically, like a roof). 2. Map what ever data or information you are conveying using the Connection Editor to the layer and attribute you want to visualize. In the pictures below, I simply mapped to the layer and selected the attribute I calculated in ArcMap. 3. Normalize your data on a 0-1 scale. The rule will normalize data for you using a common max-min formula (anything outside the min and max are set to 0 and 1 respectively). The rule has a built in reporting on the data to find the minimum and the maximum, but I suggested using a classification scheme in ArcMap like Natural Breaks/Geometric Interval or selecting your min and max values to normalize the values based on the standard deviation and distribution of the data (check your skew and kurtosis etc). Play with the Data_Min_Value, and Data_Max_Values. 4. Once your data is normalized on a 0-1 scale you will notice the built in cubes begin to be scoped appropriately. You can now select your obj of choice, color range (invert if you need to), and adjust the "Adjuster" and "Minimum Size" attributes to get your object of choice scaled appropriately. Keep in mind that the adjuster and minimum size attributes are multipliers of the original scope of the inserted object. You even have the option of adjusting the angles on which the objects are aligned to serve better vantage points. 5. Just explore applications and share them back here if you have any. I intend to make a video later, but I figured I would post this for now. If you have any questions don't hesitate to ask. David javascript:; javascript:;javascript:;
... View more
01-29-2015
04:12 PM
|
2
|
6
|
6593
|
|
POST
|
HOW TOO POST: A note on ContraFlow Lanes. Contra-Flow lanes are popular for one way streets for preferential lanes on one-streets that allow transit or bicyclists to travel in the opposite travel direction. From Wikipedia: "Contraflow lanes are often used for bicycles or bus rapid transit on what are otherwise one-way streets. In a sample configuration for buses, a street might have four lanes: the outermost lanes are reserved for buses in both directions, while the center two lanes are available for general traffic in only one direction. Thus, the street functions as two-way for buses, but one-way for all other vehicles." I wanted to share a quick how to about how to make these types of retrofits to one-way streets (I am trying to be as creative as everyone else here!). The trick is to utilize a near 1 to 0 lane distribution to keep the center line that separates the contraflow lanes from the rest of one way traffic. Please see the image below for the details. Chris Wilkins Steve Rhyne Shannon McElvaney CityEngine Kind regards, David
... View more
01-27-2015
10:34 AM
|
1
|
0
|
8343
|
|
POST
|
It might be easy to make them by making lots of small segments and then simplifying the graph with the Simplify Graph Tool. That is one way I might do it. Importing shapes from Sketchup might be a good way to guide what you draw. Another is to import lines from a shape file you create, and then doing the same thing.
... View more
01-26-2015
11:14 AM
|
1
|
1
|
1740
|
|
POST
|
The ESRI Lib comes with CItyEngine 2014. It should be on your computer. CityEngine 2014.0 released! | ArcGIS Blog
... View more
01-24-2015
08:49 AM
|
1
|
0
|
1614
|
|
POST
|
I came here to say this haha. Sorry still working on Data_Viz rule (can normalize data sets now). This is your MTL. Notice that the lead to the image file is not present. The way this mapping works is that when you insert an OBJ, your obj calls the MTL file. The MTL file must have a same directory mapping (as in the name of the mtl file) mapped within the obj. Then the MTL file will call the actual images who also must be in the same directory based on the mapping and established in the file. In fact I use this often to edit MTL files manually so I can put them in a folder and then create the mapping between them with that directory change (So if I put the images in the folder Tree for the other image, I write map_Kd Tree/Alderbuckthorn_Billboard.png. There are three opportunities for this to mess up, the obj mapping to the MTL, MTL mapping to the images, and the fact that your images may not be in the correct directory. IF this is does not work, I will experiment more with images I create. Back to rules.
... View more
01-23-2015
04:37 PM
|
0
|
0
|
3114
|
|
POST
|
That and in CityEngine. Just messing with the display options could give me some more information. Viewing Modes and Display Settings
... View more
01-23-2015
04:03 PM
|
0
|
3
|
3114
|
|
POST
|
Hi Steve, Can you include the objs so we can see mapping between the MTL and the Obj? Or is it proprietary? Did you try changing the back face culling settings? David
... View more
01-23-2015
03:47 PM
|
0
|
5
|
3114
|
|
POST
|
I agree with Chris. The python functions settings you want is this one though: Help -
... View more
01-23-2015
12:05 PM
|
0
|
0
|
1017
|
| 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 |