Trami causes widespread rain as at least 17 people injured and thousands of homes left without power.

A powerful typhoon has brought heavy rain and high winds as it battered southern Japan, leading to flight cancellations and power outages in several cities.

Typhoon Trami, rated Category 2, is the latest storm to threaten Japan in a year of grim weather-related woes, including punishing heat, heavy rains and landslides.

Outlying islands in the Okinawan chain, around 1,000 km southwest of Tokyo, were being pounded by heavy rain and high tides on Saturday.

Winds with gusts of up to 216 kph knocked down trees, blew off an outer wall from a building and left 17 people injured in Okinawa.

Local officials said no one was feared dead as a result of the storm.

About 195,000 households lost electricity on Okinawa and other neighbouring small islands, according to Okinawa Electric Power.

This is the view from my 10th floor room at the @HyattRegency #Naha on #Okinawa island – 1st photo is pre-typhoon #Trami from 24 hours ago and 2nd photo is current 6:50 AM with #typhoon Trami about to reach Naha. Winds are really howling, rain is going horizontal and it's scary! pic.twitter.com/WbtOO5sIkq — World 🌎🌍🌏 Traveler (@live4sights) September 28, 2018

Entering eye wall of #typhoon #Trami in southern Okinawa – fierce winds and torrential sheeting rain #Japan pic.twitter.com/R2zdaHVcdg — James Reynolds (@EarthUncutTV) September 28, 2018

Public broadcaster NHK said more than 380 flights were cancelled, mainly those flying in and out of Okinawa.

Churning north across Okinawa on Saturday, Trami is then predicted to move across the islands of Kyushu and the main island of Honshu on Sunday, a path similar to that taken by typhoon Jebi early in September.

Jebi, the most powerful storm to hit Japan in 25 years, brought some of the highest tides since a 1961 typhoon and flooded Kansai airport near Osaka, taking it out of service for days.

The season’s 24th typhoon “might cause a catastrophe with storm surges, high waves, powerful winds and torrential rains,” an agency official told a news conference on Friday in Naha, the island’s capital, the local Ryukyu Shimpo newspaper reported.

Rainfall of up to 400mm was forecast for the Amami island region and up to 250mm for Okinawa by noon Sunday, while the storm could generate waves up to 13 metres high around the regions, forecasters said.