According to the map area
processing method, firstly, an elevation segmentation method or a grid segmentation method or a midpoint segmentation coding method is adopted to divide a non-planar area into planarized areas, then, an Ear-clipping
algorithm is adopted to
cut required triangles, and finally, merging
processing is performed to obtain a 0, 1 digital map. Compared with the prior art, the method has the following advantages: an elevation segmentation method, a grid segmentation method and a midpoint segmentation coding method are adopted to convert a non-planar area graph into a planar area; then, an Ear clipping
algorithm is used for carrying out region
cutting; and finally, whether the moving point performs 0, 1 digital
map making in the map area is judged by utilizing the reference point, and finally converting into 0, 1
binary image storage. Compared with a simple method for
cutting a
simple polygon by using an earlipping
algorithm, the method solves the problem that a non-plane cannot be
cut, enlarges the use scene, and brings convenience to the production of an actual digital map.