Roof Classification

Usage Instructions

This tool supports automatic identification of roof types based on DOM data, including flat roof, parapet, shed, gable, and hip. The roof type information will be automatically saved to a newly created category field in the building vector polygon dataset. The value corresponding to parapet is: Parapet; the value corresponding to flat roof is: Flat; the value corresponding to hip roof is: Hip; the value corresponding to gable roof is: Gable; the value corresponding to shed roof is: Shed.

The DOM data input to this tool must be a multispectral image containing at least three bands: R, G, and B. Using single-band imagery may cause processing failure; please check in advance.

Before using this tool, you need to obtain the resource extension package and configure the relevant environment. For details, see the Machine Learning Environment Configuration document.

Parameter Description

Parameter Name Parameter Description Parameter Type
File Path: Input source DOM image data, and ensure that the image contains at least red, green, and blue bands (may include other bands such as near-infrared). Single-band images may not be processed properly; please confirm carefully before uploading. String
Dataset: Input source building vector polygon dataset. DatasetVector
Category Field:
(Optional)
Set the field name for storing roof category information. The default is roofType, and it can be modified. String
Model File: Specify the model file used for roof classification. You can use model/objectclassification_roof/objectclassification_roof.sdm in the product resource package; if the data source, resolution, or classification requirements differ significantly from the model training data, it is recommended to verify the accuracy on a small scale first, and if necessary, train or fine-tune the model yourself. String
Batch Size:
(Optional)
Specify the number of images processed during inference. Integer
Processor Type: Specify the processor type. String
GPU ID Enter the GPU ID. Multi-GPU inference is supported, so multiple GPU IDs can be entered, separated by commas. When "0,1,2" is entered, it will automatically become "012". String

Output Results

Parameter Name Parameter Description Parameter Type
Roof Classification Result Roof classification Boolean