Split at 'Joint' (Street Network)

05-09-2016 09:22 PM
New Contributor III


I am using a Street Network to create 3D models which are not streets. The vertices along the imported lines have different elevations.

Part of the process involves to apply a 'split(z)' on the shapes generated from the Street Network. Unfortunetly, the split seems to offset the models in some parts.

I have identified some problems at the 'Joint':

zoomed in:

The rule looks like this (I do not use a @StartRule as I let CE find out which rule to start with, Street, Joint, Crossing, etc):

Joint -->

    split(z){'0.5:C | '0.5:C}

C -->


Does anyone know how to avoid the split to offset from the line direction ?

Thank you.


0 Kudos
1 Reply
Esri Regular Contributor

If I understand correctly, you would like to split the shape as if you were making street lanes.  For this, you could split in the v direction.  Streets have u coordinates that follow the street and v coordinates that cross the street perpendicularly.  (This is uv set 0.)

split(v, uvSpace, 0) { '0.5 : C

                     | '0.5 : C }

Here's the documentation on the uv coordinates on street shapes:

Street and Intersection Shape UVs

Here's the documentation on uv splits (uv split example on bottom of page):

split Operation

0 Kudos