tponcet-esrifrance-fr-esridist

Automatically apply different rules to roads and sidewalks

Discussion created by tponcet-esrifrance-fr-esridist on Aug 2, 2013
Latest reply on Aug 2, 2013 by MBuehler-esristaff
Hi,

I have a CGA file named "street.cga" with 2 rules :

@StartRule
Road --> ...

@StartRule
Sidewalk --> ... 


I imported polyline shapes from a file GDB representing my streets.

In my Streetnetwork , in one shape, I manually select the road (the middle part) and apply the "street.cga" rule and assign the "Road" starting rule. I manually select both sidewalks (both part on the road side) and I apply the "street.cga" rule and assign the starting rule "Sidewalk".

I have the expected result for one shape of my Streetnetwork. But I have 600 shapes and I would like to find a way to automatically select the road or the sidewalk and apply the related starting rule.

I can't figure out how to do this automatically.

I have tried with split and comp, but without success.

Do you have any idea how to do this ?

Thank you.

Outcomes