The problem is that all levels of the map are represented in the IMG file. If you zoom in to about 30M (100 ft) and select a road that is type 0 at 300M you will find that it has a defined road type (in the sample I just tried it was type 0x4). The sample was generated using a Geofabrik of the western US compiled from the PBF with mkgmap.