encoding traffic results