Street Edge Detection

701
2
10-15-2013 10:58 PM
TomMorgan
New Contributor
Is there a simple way to detect the presence of an adjacent block from a street shape?

To clarify, this is distinct from finding street.front in a generated block/lot.

An example would involve instancing a different set of geometries onto street surfaces that are adjacent to lots on both sides as opposed to those that only share one edge with a generated lot.

(In this case, the orange area is NOT a generated lot...)
0 Kudos
2 Replies
MatthiasBuehler1
Frequent Contributor
On the CGA side of things, I'd say occlusion queries.

But since ( and this is a crucial fact ) CGA starts operating on all shapes as they exist. CGA can not (yet) change shapes or query neighboring shapes or such --> a shapes needs to be given with a set of attributes, that's the base for CGA model generation.

--> in your case, maybe the best choice would be to write a python script to do these things or to pre-process the data within ArcGIS.

Let me know.

Matt
0 Kudos
TomMorgan
New Contributor
I was dreading that.

CGA shape grammars are relatively well documented, but my experience with Python integration is not... great.

Not to mention my complete role as a naif re python.

Thanks, anyway, for the swift reply.

EDIT:

Cheap cludge, but occlusion checks on all works relatively neatly. Thanks! Red faces will be used to spawn assets....

[ATTACH=CONFIG]28361[/ATTACH]
0 Kudos