Thank you for your reply. I have a file that includes an attribute table for all buildings in Hong Kong, such as roof height. However, I'm facing an issue. Each building is composed of multiple sub-buildings in specific areas, which complicates things. When I try to use the "Feature to Raster" tool to create the DSM raster layer, the software fails to recognize that it should consider the highest rooftop in areas with common features. I'll send you some pictures to help explain this issue.
I've attempted to use the Dissolve tool, Merge tool, and Resolve Building Conflicts tool to address the problem, but none have successfully produced the correct DSM layer. In some areas, there should be towers, and the raster file and contours should reflect higher heights, but they do not. Could you please advise on how to resolve this issue?
THis is 3D view of buildingsFeature layer including the all roof top heights for different componentsFeature layer including the all roof top heights for different componentsAttribitude tableFeature to raster tool settingIt cannot recognize that these area have higher height because there are also some towers here