Select to view content in your preferred language

Street direction from poly shape

3291
3
08-13-2015 09:03 AM
curtedmonds
Deactivated User

Hi all,

I have several poly shapes I created in City-engine (and some from OSM) I extruded, I would like to detect the poly facing the street.

One possibility I have considered (but not sure how to implement) is to paint a map of the streets and detect if a color is near the face (this would be a street attrib)

any help from large brains, much appreciated

0 Kudos
3 Replies
by Anonymous User
Not applicable

In the help documents, search for this:

geometry.isOriented

This might be what you need. Please let us know if this works for you.

Chris

0 Kudos
curtedmonds
Deactivated User

Will try but thought this would not work if a shape was not generated from lot, as the attribute "street" would not be there for it to derive from.

0 Kudos
curtedmonds
Deactivated User

yes as i thought, does not work.

do you know if the mapping method will work, ie. creating a colour map of all the streets (perhaps slightly lager so a poly can sample below its position)

0 Kudos