Attribute field

Top  Previous  Next

The attribute field is key to defining one-way restrictions etc. It is an integer in the range 0 to 65535.

 

If you don't want to set it up properly at first, just create a field with all 0's and use that as attribute field.

 

 

Road class, 0-31 (5 bits)

These have no predefined meaning, but the speed for each class can be defined through speed files.

 

Hierarchy, 1-5, (3 bits, 32-64-128, bit 5-7)

Not used in RW Studio, but can be reported in statistics.

 

No-drive through, true/false (1 bit, 256, bit 8)

This can be used to define areas, where you are not allowed to drive through to get to the target.

 

One-way, To-From direction is not allowed, (1 bit, 512, bit 9)

Similar to "FT" in some datasets prepared for Network Analyst.

 

One-way, From-To direction is not allowed, (1 bit, 1024, bit 10)

Similar to "TF" in some datasets prepared for Network Analyst.

 

If both bit 9 and 10 are set, the link is closed for driving.

Similar to "N" in some datasets prepared for Network Analyst.

 

Roundabout, true/false (1 bit, 2048, bit 11)

Can be used in creating driving directions.

 

Non-driving link, such as a ferry or car-train, true/false (1 bit, 4096, bit 12)

Can be used in creating driving directions.

 

True if not allowed to make U-turns at the From-end of the link. (1 bit, 8192, bit 13)

 

True if not allowed to make U-turns at the To-end of the link. (1 bit, 16384, bit 14)

 

SkipInSearch, true/false (1 bit, 32768, bit 15)

Set it true for links, where you don't want routes to start or end.

 

 

An example:

 

A motorway of class 1, which can only be traveled in the direction of digitization and should be skipped in searches:

1 + 512 + 32768 = 33281.