| CPC G01C 21/3826 (2020.08) [G01C 21/3867 (2020.08)] | 13 Claims |

|
1. A method for processing map data, comprising:
determining a first region for which a map display image is to be drawn;
determining multiple first reference points within the first region according to a second region corresponding to the first region, wherein the first region is used as a second region or comprises multiple second regions;
determining relative height data of the first region according to positions and real height data of all the first reference points; and
determining a map display image of a position to be displayed according to the relative height data, wherein the position to be displayed is within the first region;
wherein determining the relative height data corresponding to the first region according to the positions and the real height data of all the first reference points comprises:
determining a height fitting equation corresponding to the first region;
determining a first height fitting function according to the positions and real height data of all the first reference points and the height fitting equation, wherein the positions are independent variables of the first height fitting function and the real height data are dependent variables of the first height fitting function;
determining a second reference point within the first region;
subtracting a position corresponding to the second reference point from an independent variable in the first height fitting function to obtain a second height fitting function;
using a parameter of the second height fitting function as a relative height data generation parameter corresponding to the first region; and
determining the relative height data according to the relative height data generation parameter;
wherein determining the map display image of the position to be displayed according to the relative height data comprises:
determining a display height according to the real height data of the position to be displayed and the relative height data of the position to be displayed; and
determining the map display image according to the display height.
|