The invention discloses a polygonal
rasterisation parallel
conversion method based on a scanning line method, belonging to the field of a
geographic information system. The polygonal
rasterisation parallel
conversion method comprises inputting a command line parameter; carrying out MPI (
Message Passing Interface) parallel initialization so as to obtain a total progress number and a current progress number; adopting an equal parallel mode, analyzing the command line parameter in each progress respectively, collecting parameter values behind a leading indicator respectively, reading a vector
data source by using an OGROpen method, and judging whether the progress is the No.0 progress; adopting a data parallel strategy, dividing a
raster data set vector polygon to be distributed to all progresses, and carrying out
rasterisation of a polygon in each progress at the same time; writing the
raster data, updating a raster block in each progress and outputting the converted
raster data. The method is utilized to perform polygonal rasterisation of large amount of data to achieve relatively high efficiency and a satisfying conversion result, the conversion
processing speed of a multi-core / multiprocessor of a high performance
server to polygonal rasterisation is improved sufficiently, and the conversion time of polygonal rasterisation is shortened greatly.