Map data processing method, device, equipment and storage medium

By combining the map data with the digital elevation model and converting it into OFD format, the problem of lack of elevation information in the display of map data is solved, multi-functional analysis and query of map data is realized, and the user experience is improved.

CN114018243BActive Publication Date: 2024-09-10KQ GEO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111307288.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2024-09-10
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively process and display map data, especially when converting map data into Open Fixed Layout File Format (OFD), the lack of embedding of elevation information limits the browsing and analysis functions of map data.

Method used

By obtaining map data, adding additional data generated by the digital elevation model, converting it into OFD format, including elevation information, and displaying it in the map display interface, the scaling and conversion of graphic elements and map annotations are realized to ensure that the data is in the OFD format. Display correctly.

Benefits of technology

It realizes the integration of geometric data and attribute data of map data in OFD format, provides rich geographical information, supports multi-functional geographical element query and spatial analysis of user terminals, and avoids dependence on professional GIS software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114018243B
    Figure CN114018243B
Patent Text Reader

Abstract

The present disclosure proposes a map data processing method, device, equipment and storage medium. The method includes: obtaining first map data; adding first additional map data generated according to a digital elevation model to the first map data to obtain second map data, wherein the first additional map data carries elevation information; obtaining second additional map data according to the second map data; converting the second map data and the second additional map data into output data in an open fixed layout file format, wherein the output data is used to carry elevation information in the layout of an open fixed layout file format. The method provided in the embodiment of the present disclosure can carry elevation information while outputting map data in OFD format, thereby enriching the information content of the map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a map data processing method, device, equipment and storage medium. Background Art

[0002] With the development of computer technology, users can use terminals to query map data anytime and anywhere, and perform operations such as navigation, route planning, and destination address search. Map data can also be displayed in more and more formats and ways.

[0003] OFD (Open Fixed-layout Document) is the abbreviation of the "Electronic Document Storage and Exchange Format Layout Document" standard. It has advantages in terms of autonomy, security, and technological advancement. This standard is applicable to the storage, reading, exchange and use of layout documents. The GeoOFD (Geography OFD) map is a map product based on the OFD format, which integrates a variety of information and functions. Improving the Geo OFD map is conducive to the development of map technology and providing users with more map data service functions. Summary of the invention

[0004] The embodiments of the present disclosure provide a map data processing method, device, equipment and storage medium to solve the problems existing in the related technologies. The technical solutions are as follows:

[0005] In a first aspect, an embodiment of the present disclosure provides a map data processing method, including:

[0006] Acquire first map data;

[0007] adding first additional map data generated according to the digital elevation model to the first map data to obtain second map data, wherein the first additional map data carries elevation information;

[0008] acquiring second additional map data according to the second map data;

[0009] The second map data and the second additional map data are converted into output data in an open fixed layout file format, and the output data is used to carry elevation information in a layout in the open fixed layout file format displayed on a map display interface.

[0010] In one implementation, the first map data includes vector map data; the map data processing method of this embodiment further includes:

[0011] Extracting graphic elements and map annotations from the first map data;

[0012] Scale the graphics elements according to the scale of the open fixed layout file format;

[0013] Add map annotations to scaled features;

[0014] Converts additional map data to output data in an open fixed layout file format, including:

[0015] Converts additional map data, features, and map annotation to output data in an open fixed layout file format.

[0016] In one embodiment, the primitive includes at least one of a point, a line, and a plane figure, and extracting the primitive in the first map data includes:

[0017] converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format;

[0018] extracting at least one of a point, a line, and a plane figure of the first map data;

[0019] In the case where the extracted data includes lines, performing a connection operation on the lines;

[0020] When the extracted data includes a plane image, setting the color filling mode of the plane image;

[0021] At least one of the points, lines and plane figures of the first map data is used as a graphic element.

[0022] In one embodiment, the first map data includes raster map data; and obtaining the second additional map data according to the second map data includes:

[0023] The raster map data is converted into a raster image in a set format, and the raster image is used as the second additional map data.

[0024] In one implementation, scaling the graphic element according to the scale of the open fixed layout file format further includes:

[0025] According to the input operation, a map scale of the open fixed layout file format, a map page size of the open fixed layout file format, and extended function information of the open fixed layout file format are obtained;

[0026] Determine the size information of the output data according to the map scale and map page size;

[0027] The primitives are adjusted according to the size information and the extended function information.

[0028] In one embodiment, converting the second additional map data, the primitives and the map annotations into output data in an open fixed layout file format includes:

[0029] Generate a map layer in an open fixed layout file format according to the graphic element, wherein the map layer includes at least one graphic element;

[0030] Set the display format of the map layer on the layer panel of the open fixed layout file format reader;

[0031] Add map annotations to the corresponding map layer;

[0032] Generate additional map layers based on additional map data generated by the digital elevation model;

[0033] Map layers and map additional layers are used as output data.

[0034] In a second aspect, an embodiment of the present disclosure provides a map data processing method, including:

[0035] Obtain output data in an open fixed layout file format, where the output data is output data of any embodiment of the present disclosure;

[0036] Display the map layers in the output data according to the content stream corresponding to the output data.

[0037] In a third aspect, an embodiment of the present disclosure provides a map data processing device, including:

[0038] A first map data module, used for acquiring first map data;

[0039] A second map data module, used for adding first additional map data generated according to the digital elevation model to the first map data to obtain second map data;

[0040] A second map data processing module, used for acquiring second additional map data according to the second map data;

[0041] The output module is used to convert the second map data and the second additional map data into output data in an open fixed layout file format, and the output data is used to carry elevation information in a layout in an open fixed layout file format displayed on a map display interface.

[0042] In one embodiment, the first map data includes vector map data; and the apparatus further includes:

[0043] An extraction module, used for extracting graphic elements and map annotations from the first map data;

[0044] A scaling module is used to scale the primitives according to the scale of the open fixed layout file format;

[0045] Add a module for adding map annotations to scaled features;

[0046] Output modules include:

[0047] The conversion unit is used to convert the second additional map data, the graphics elements and the map annotations into output data in an open fixed layout file format.

[0048] In one embodiment, the graphic primitive includes at least one of a point, a line, and a plane figure, and the extraction unit is further configured to:

[0049] converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format;

[0050] extracting at least one of a point, a line, and a plane figure of the first map data;

[0051] In the case where the extracted data includes lines, performing a connection operation on the lines;

[0052] When the extracted data includes a plane image, setting the color filling mode of the plane image;

[0053] At least one of the points, lines and plane figures of the first map data is used as a graphic element.

[0054] In one embodiment, the conversion unit is further configured to:

[0055] Generate a map layer in an open fixed layout file format according to the graphic element, wherein the map layer includes at least one graphic element;

[0056] Set the display format of the map layer on the layer panel of the open fixed layout file format reader;

[0057] Add map annotations to the corresponding map layer;

[0058] Generate additional map layers based on additional map data generated by the digital elevation model;

[0059] Map layers and map additional layers are used as output data.

[0060] In one embodiment, the extraction unit is further used for:

[0061] According to the input operation, a map scale of the open fixed layout file format, a map page size of the open fixed layout file format, and extended function information of the open fixed layout file format are obtained;

[0062] Determine the size information of the output data according to the map scale and map page size;

[0063] The primitives are adjusted according to the size information and the extended function information.

[0064] In one embodiment, the first map data includes grid map data; the second map data processing module includes:

[0065] The raster unit is used to convert the raster map data into a raster image of a set format and use the raster image as the second additional map data.

[0066] In a fourth aspect, an embodiment of the present disclosure provides a map data processing device, including:

[0067] An output data acquisition module, used to acquire output data in an open fixed layout file format, where the output data is the output data of any embodiment of the present disclosure;

[0068] The display module is used to display the map layers in the output data according to the content stream corresponding to the output data.

[0069] In a fifth aspect, an embodiment of the present disclosure provides a map data processing device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.

[0070] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.

[0071] The advantages or beneficial effects of the above technical solution include at least: the acquired map data can be converted into data in OFD format for output, so that the map data has the advantage of embedding geometric data and attribute data in the graphic data during browsing, and can realize the trinity of image, geometric data and attribute data, so that the user terminal is free from the limitation of professional GIS software, and can output (display or print) map images, and can also provide geographic element query and spatial analysis functions commonly used by most "weak GIS users". At the same time, the data in OFD format output by the embodiment of the present disclosure carries map elevation information, which further provides richer data information for users.

[0072] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present disclosure will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in accordance with the present disclosure and should not be regarded as limiting the scope of the present disclosure.

[0074] Figure 1 This is a flow chart of a map data processing method according to an embodiment of the present disclosure;

[0075] Figure 2 This is a flow chart of a map data processing method according to another embodiment of the present disclosure;

[0076] Figure 3 This is a flowchart of a map data processing method according to an example of the present disclosure;

[0077] Figure 4 This is a flowchart of a map data processing method according to another example of the present disclosure;

[0078] Figure 5 A diagram of a map data processing device according to an embodiment of the present disclosure;

[0079] Figure 6 A diagram of a map data processing device according to another embodiment of the present disclosure;

[0080] Figure 7 A diagram of a map data processing device according to another embodiment of the present disclosure;

[0081] Figure 8 A diagram of a map data processing device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0082] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present disclosure. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0083] Figure 1 FIG. 1 is a flow chart showing a method for processing map data according to an embodiment of the present disclosure. Figure 1 As shown, the map data processing method may include:

[0084] Step S11: obtaining first map data;

[0085] Step S12: adding first additional map data generated according to a digital elevation model (DEM) to the first map data to obtain second map data, wherein the first additional map data carries elevation information;

[0086] Step S13: acquiring second additional map data according to the second map data;

[0087] Step S14: converting the second additional map data into output data in an open fixed layout file format, where the output data is used to carry elevation information in the layout of the open fixed layout file format.

[0088] In a possible implementation, the first additional map data generated by the digital elevation model may be additional map data including map elevation information, and may specifically be a digital elevation model layer.

[0089] In a possible implementation, the first map data may be obtained in a geospatial information electronic document management system product. The first map data may be original map data.

[0090] In one implementation, the first additional map data generated by the digital elevation model can be layer data in DEM format. DEM is a digital simulation of the ground terrain (i.e., a digital expression of the terrain surface morphology) achieved through limited terrain elevation data. It is a physical ground model that represents the ground elevation in the form of a set of ordered numerical arrays and is a branch of the Digital Terrain Model (DTM).

[0091] DTM describes the spatial distribution of linear and nonlinear combinations of various geomorphic factors including elevation, such as slope, aspect, slope change rate, etc. Among them, DEM is a zero-order simple single-item digital geomorphic model. Other geomorphic characteristics such as slope, aspect and slope change rate can be derived based on DEM.

[0092] In this embodiment, the second map data may be at least one of necessary information for displaying a map, such as a map image, a basic map layer, and a map annotation.

[0093] In a possible implementation, the output data in the open fixed layout file format may have the property of being browsed by a certain reader, like PDF (Portable Document Format) data.

[0094] In the disclosed embodiment, the first map data obtained can be finally converted into data in OFD format for output, so that the map data has the advantage of embedding geometric data and attribute data in the graphic data during browsing, and can realize the trinity of image, geometric data and attribute data, so that the user terminal is free from the limitation of professional GIS software, and can output (display or print) map images, and can also provide geographic element query and spatial analysis functions commonly used by most "weak GIS users". At the same time, the data in OFD format output by the disclosed embodiment carries map elevation information, which further provides richer data information for users.

[0095] In one embodiment, the first map data includes vector map data; and the map data processing method further includes:

[0096] Extracting graphic elements and map annotations from the first map data;

[0097] Scale the graphics elements according to the scale of the open fixed layout file format;

[0098] Add map annotations to scaled features;

[0099] Converts additional map data to output data in an open fixed layout file format, including:

[0100] Converts additional map data, features, and map annotation to output data in an open fixed layout file format.

[0101] In the disclosed embodiment, the first map data may include vector map data. By extracting the primitives and map annotations in the first map data, the map data may be read in the geospatial information electronic document management system and the map data information may be interpreted into primitives and map annotations, the primitives generated in the geospatial information electronic document management system, and the map data may be output according to the OFD specification to obtain a GeoOFD map. In the process of mapping, a layer made of map elevation information is added to the first map data to be interpreted to obtain the second map data. Subsequently, the second map data is converted into primitives and map annotations together with other additional map data added, so that the map data finally output contains elevation information.

[0102] For vector map data, the vector map data can be decomposed into metadata such as points, lines, ellipses, rectangles, and map annotation data. These metadata can be output through the geospatial information electronic document management system. In order to avoid the scale problem caused by the screen coordinate system of the data display terminal affecting the electronic map output by the geospatial information electronic document management system, the metadata can be scaled according to the scale before output.

[0103] In this embodiment, after the primitives and map annotations are extracted, they are scaled according to the OFD file format, thereby avoiding scale problems caused by the difference between the geographic spatial information electronic document management system and the screen coordinate system, and ensuring that the output map data does not cause display problems due to format conversion.

[0104] In one embodiment, the primitive includes at least one of a point, a line, and a plane figure, and extracting the primitive in the first map data includes:

[0105] converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format;

[0106] extracting at least one of a point, a line, and a plane figure of the first map data;

[0107] In the case where the extracted data includes lines, performing a connection operation on the lines;

[0108] When the extracted data includes a plane image, setting the color filling mode of the plane image;

[0109] At least one of the points, lines and plane figures of the first map data is used as a graphic element.

[0110] When processing vector map data, coordinate conversion is required first, when converting screen coordinates into OFD user coordinate system coordinates. Coordinate mapping is required first, mapping screen coordinates to OFD user coordinate system coordinates. According to the page height and width of the layout in GeoOFD, the page size of GeoOFD is set accordingly, and objects of the same size are added to the corresponding positions of GeoOFD according to the page position of the map in GeoOFD; and the spatial reference of the map is set to the coordinate system of GeoOFD, which supports both longitude and latitude coordinates and projection coordinates; each element in the map is organized according to layers, and supports the conversion of various types of data such as images, elevations, vectors, attributes, styles, annotations, etc. in the layers into GeoOFD objects, and the geographic location information is set for each object accordingly.

[0111] In one possible implementation, vector map data can be decomposed into points, lines, polylines, curves, circles, rectangles and other primitives in the geographic spatial information electronic document management system and then output. For vector map data, coordinate conversion is first required to convert the screen coordinates into OFD user coordinate system coordinates. It is also necessary to process the decomposed lines and other primitives, such as connecting unconnected polylines (such as lines that appear disconnected at the bends of map roads) and setting the color space of the primitives when outputting the primitives. You can also set the filling method of the graphics in the OFD map, such as setting the pattern filling and gradient filling methods of the surface elements. The specific method of pattern filling can be adjusted in detail according to user needs.

[0112] In specific implementation, if the primitives only include points, no operation may be performed on the points, or the points may be connected into lines, and the lines may be connected into surfaces.

[0113] If a graphic element includes points, lines, and surfaces, the points can be connected to at least one of the lines or surfaces.

[0114] In this embodiment, the graphic elements of the first map data are extracted, so that the user can set the display or connection according to the units desired by the user, thereby improving the fit between the map display mode and the user's intention.

[0115] In one embodiment, the first map data includes raster map data; and obtaining the second additional map data according to the second map data includes:

[0116] The raster map data is converted into a raster image in a set format, and the raster image data is used as the second additional map data.

[0117] For raster map data, the raster GeoOFD map only supports JPEG (Joint Photographic Experts Group) format and BMP (Bitmap) format, so the raster map data needs to be converted into raster image data in JPEG or BMP format during processing.

[0118] In this embodiment, the raster map data can also be processed according to the GeoOFD map format, so that the method provided by the embodiment of the present disclosure can be applied to more types of map data.

[0119] In one embodiment, for the vector map data, converting the second additional map data, the primitives and the map annotations into output data in an open fixed layout file format includes:

[0120] Generate a map layer in an open fixed layout file format according to the graphic element, wherein the map layer includes at least one graphic element;

[0121] Set the display format of the map layer on the layer panel of the open fixed layout file format reader;

[0122] Add map annotations to the corresponding map layer;

[0123] Generate additional map layers based on additional map data generated by the digital elevation model;

[0124] Map layers and map additional layers are used as output data.

[0125] In this embodiment, the size of the graphic element and the extended function information are adjusted accordingly, so as to ensure the display effect of the converted map data.

[0126] In one implementation, scaling the graphic element according to the scale of the open fixed layout file format includes:

[0127] According to the input operation, a map scale of the open fixed layout file format, a map page size of the open fixed layout file format, and extended function information of the open fixed layout file format are obtained;

[0128] Determine the size information of the output data according to the map scale and map page size;

[0129] The primitives are adjusted according to the size information and the extended function information.

[0130] In one embodiment, converting primitives and map annotations into output data in an open fixed layout file format includes:

[0131] Generate a map layer in an open fixed layout file format according to the graphic element, wherein the map layer includes at least one graphic element;

[0132] Set the display format of the map layer on the layer panel of the open fixed layout file format reader;

[0133] Add map annotations to the corresponding map layer;

[0134] Generate additional map layers based on additional map data generated by the digital elevation model;

[0135] Map layers and map additional layers are used as output data.

[0136] In GeoOFD maps, a layer represents a collection of graphics that can be dynamically selected as visible or invisible by users or browser applications. The graphics included in the graphics collection can further include all elements on the OFD page, such as vector graphics, raster images, characters, etc. GeoOFD map layers are a kind of resource, so the layer object can be set first during the processing. In GeoOFD maps, the names of map layers are displayed in the layer panel of the navigation panel of the display interface. GeoOFD map layer objects need to set two objects. One is the layer property object, which is used to set the layer information. Each layer in the map corresponds to a layer object. The other is the layer configuration object. There is only one layer configuration object, which sets the display format of the layer on the reader layer panel.

[0137] The setting of OFD layer objects only sets the layer resources. The layer resources also need to be used in GeoOFD maps. Using the references of each layer object, set the layer properties in the directory object (root object). Its function is to display the layer items in the OFD layer panel. However, whether the graphics contained in the layer are displayed on the page or not also requires setting the layer operator in the content stream.

[0138] The superimposed layer can be either vector data or an image layer. On this basis, the DEM layer can be further superimposed to display the map elevation information.

[0139] The present disclosure also provides a map data processing method, such as Figure 2 As shown, including:

[0140] Step S21: obtaining output data in an open fixed layout file format, where the output data is output data generated by the map data processing method provided by any embodiment of the present disclosure;

[0141] Step S22: displaying the map layers in the output data according to the content stream corresponding to the output data.

[0142] In this embodiment, the map layer in the output data can be displayed according to the content stream corresponding to the output data, so that the map layer can display elevation information.

[0143] In an example of the present disclosure, a map data processing method is introduced by taking the output of a digital elevation shaded map as an example. In this example, a DEM layer is output after being rendered, and the elevation information is displayed after the output.

[0144] The shading map is an important topographic map that reflects the actual terrain undulation characteristics by simulating the actual ground umbra and shadow. The production process of the relief shading map under the computer environment is as follows: first, using the contour data or digital elevation data (DEM data) of the mapping area, imitate the production process of the traditional relief shading map, set the illumination model through GeoOFD, and design the color scale of different elevations based on the vertical and horizontal stretching ratios of the surface, and generate a color relief shading image of the mapping area with shadows and light and dark changes; then, adjust the generated shading image and superimpose it with the base map to complete the production of the relief shading map under computer conditions.

[0145] Digital elevation model rendering is performed in GeoOFD and map data information is interpreted into primitives and map annotations. The primitives and map data generated in GeoOFD are output to GeoOFD maps according to OFD specifications.

[0146] In a specific possible implementation, the method provided by the present disclosure is applied to the specific process of producing a shading map as follows: Figure 3 Specifically including:

[0147] Step S31: DEM data preparation. Use the DEM elevation model to generate elevation layers and corresponding elevation information.

[0148] Step S32: Scene setting. Specifically, it includes coordinate mapping: mapping screen coordinates to OFD user coordinate system coordinates; lighting setting: viewpoint, azimuth and altitude setting; and environment setting. Furthermore, scene setting is used to set background information or some environment information of map data.

[0149] Going a step further, the scene is constructed to map the set terrain shadows and the specific map range.

[0150] Furthermore, output parameter settings are performed: color settings, vertical height ratio settings, etc. Furthermore, the scene data in the layer is converted into an Object in GeoOFD, and the geographic location information is set for each Object.

[0151] Step S33: Outputting the GEOOFD shading map.

[0152] In this step, based on the DEM information, some other necessary setting information of the map is superimposed to output a shaded image with elevation information.

[0153] It should be noted that although the map data processing method is introduced above by taking the shaded image as an example, those skilled in the art will understand that the present disclosure should not be limited thereto. In fact, the user can flexibly set the map type according to personal preferences and / or actual application scenarios, as long as it complies with the technical framework and principles of the present disclosure.

[0154] In this way, by superimposing additional map outputs (ie, DEM layers, DEM data or DEM information, etc.) generated by a digital elevation model, map data carrying elevation information in OFD format can be output according to the above embodiments of the present disclosure.

[0155] In another specific example of the present disclosure, during the execution of the map data processing method, the data is converted as follows: Figure 4 As shown, including:

[0156] The vector map data 41 is symbolized and mapped to obtain the graphic elements such as straight line, polyline, ellipse, point, rectangle, attribute, etc. The OFD of the vector map is obtained according to the graphic elements.

[0157] With respect to the raster map data 43, the raster data is converted into raster image data (raster image), and the OFD of the raster map is obtained based on the raster image data.

[0158] The map annotation 44 may be converted into the OFD of the map annotation as a part of the second additional map data.

[0159] In this embodiment, when displaying map data, vector data can be browsed according to OFD, DEM42 of the vector map, and OFD of the map annotation. Raster map data 43 can be browsed according to OFD, OFD, and DEM42 of the raster map annotation.

[0160] When browsing, you can browse in layers, and you can also use the geographic toolbox to perform 45 attribute queries, direction calculations, online geographic coordinate queries, length and area measurements, information annotations, and other operations.

[0161] When a graphic element is missing or incomplete, you can add straight lines, polylines, ellipses, rectangles, etc. according to the graphic state of the graphic element, and set an array of pointers to the graphic element class of the graphic element.

[0162] If the map annotation is incomplete, you can add map annotations and create an array of pointers to the map annotation class.

[0163] In the case where the annotation is incomplete, add the annotation and generate an array of pointers to the annotation class data.

[0164] In the case where the bookmark is incomplete, add the bookmark and generate an array of pointers to the bookmark class data.

[0165] In case of incomplete linking, add the connection and generate an array of pointers to the connection class.

[0166] Figure 5 FIG. 2 shows a structural block diagram of a map data processing device according to an embodiment of the present invention. Figure 5 As shown, the device may include:

[0167] A first map data module 51, used to obtain first map data;

[0168] A second map data module 52, configured to add first additional map data generated according to the digital elevation model to the first map data to obtain second map data;

[0169] A second map data processing module 53, used for acquiring second additional map data according to the second map data;

[0170] The output module 54 is used to convert the second map data and the second additional map data into output data in an open fixed layout file format, and the output data is used to carry elevation information in a layout in an open fixed layout file format displayed on a map display interface.

[0171] In one embodiment, the first map data includes vector map data; Figure 6 As shown, the map data processing device also includes:

[0172] An extraction module 61, used for extracting primitives and map annotations from the first map data;

[0173] A scaling module 62, for scaling the graphic element according to the scale of the open fixed layout file format;

[0174] An adding module 63 is used to add map annotations to the scaled primitives;

[0175] Output modules include:

[0176] The conversion unit 64 is used to convert the second additional map data, the graphic elements and the map annotations into output data in an open fixed layout file format.

[0177] In one embodiment, the graphic primitive includes at least one of a point, a line, and a plane figure, and the extraction unit is further configured to:

[0178] converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format;

[0179] extracting at least one of a point, a line, and a plane figure of the first map data;

[0180] In the case where the extracted data includes lines, performing a connection operation on the lines;

[0181] When the extracted data includes a plane image, setting the color filling mode of the plane image;

[0182] At least one of the points, lines and plane figures of the first map data is used as a graphic element.

[0183] In one embodiment, the conversion unit is further configured to:

[0184] Generate a map layer in an open fixed layout file format according to the graphic element, wherein the map layer includes at least one graphic element;

[0185] Set the display format of the map layer on the layer panel of the open fixed layout file format reader;

[0186] Add map annotations to the corresponding map layer;

[0187] Generate additional map layers based on additional map data generated by the digital elevation model;

[0188] Map layers and map additional layers are used as output data.

[0189] In one embodiment, the extraction unit is further used for:

[0190] According to the input operation, a map scale of the open fixed layout file format, a map page size of the open fixed layout file format, and extended function information of the open fixed layout file format are obtained;

[0191] Determine the size information of the output data according to the map scale and map page size;

[0192] The primitives are adjusted according to the size information and the extended function information.

[0193] In one embodiment, the first map data includes raster map data; Figure 7 As shown, the second map data processing module includes:

[0194] The raster unit 71 is used to convert the raster map data into a raster image of a set format and use the raster image as the second additional map data.

[0195] Figure 8 FIG. 2 shows a structural block diagram of a map data processing device according to an embodiment of the present invention. Figure 8 As shown, the map data processing device includes: a memory 910 and a processor 920. The memory 910 stores a computer program that can be run on the processor 920. When the processor 920 executes the computer program, the map data processing method in the above embodiment is implemented. The number of the memory 910 and the processor 920 can be one or more.

[0196] The map data processing device also includes:

[0197] The communication interface 930 is used to communicate with external devices and perform data exchange transmission.

[0198] If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0199] Optionally, in a specific implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 can communicate with each other through an internal interface.

[0200] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present disclosure when the program is executed by a processor.

[0201] The embodiment of the present disclosure also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present disclosure.

[0202] The embodiment of the present disclosure also provides a chip, including: an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected through an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0203] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0204] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0205] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0206] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0207] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0208] Any process or method description described in the flowchart or otherwise herein can be understood to represent a module, segment or portion of code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0209] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0210] It should be understood that the various parts of the present disclosure may be implemented with hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method may be completed by instructing the relevant hardware through a program, which may be stored in a computer-readable storage medium, and when the program is executed, includes one or a combination of the steps of the method embodiment.

[0211] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.

[0212] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A map data processing method, characterized in that: include: Acquiring first map data; adding first additional map data generated according to the digital elevation model to the first map data to obtain second map data, wherein the first additional map data carries elevation information; acquiring second additional map data according to the second map data; Converting the second map data and the second additional map data into output data in an open fixed layout file format, wherein the output data is used to carry elevation information in a layout of the open fixed layout file format; Wherein, the first map data includes vector map data and raster map data; and obtaining the second additional map data according to the second map data includes: converting the raster map data into a raster image of a set format, and using the raster image data as the second additional map data; The method further comprises: extracting graphic elements and map annotations from the first map data; scaling the graphic elements according to the scale of the open fixed layout file format; and adding the map annotations to the scaled graphic elements; The converting of the second map data and the second additional map data into output data in an open fixed layout file format includes: generating a map layer in an open fixed layout file format based on the graphic element, the map layer including at least one graphic element; setting a display format of the map layer on a layer panel of an open fixed layout file format reader; adding the map annotation to the corresponding map layer; generating a map additional layer based on the first additional map data generated by a digital elevation model; and using the map layer and the map additional layer as the output data.

2. The method according to claim 1, wherein The graphic primitives include at least one of points, lines, and plane figures, and the extracting of the graphic primitives from the first map data includes: converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format; extracting at least one of points, lines, and plane figures from the first map data; In the case where the extracted data includes lines, performing a connection operation on the lines; In the case where the extracted data includes a plane image, setting a color filling mode of the plane image; At least one of a point, a line, and a plane figure of the first map data is used as the graphic element.

3. The method according to any one of claims 1 to 2, wherein: Scaling the graphic element according to the scale of the open fixed layout file format includes: According to the input operation, the map scale of the open fixed layout file format, the map page size of the open fixed layout file format and the extended function information of the open fixed layout file format are obtained; Determining size information of the output data according to the map scale and the map page size; The graphic element is adjusted according to the size information and the extended function information.

4. A map data processing method, characterized in that: include: The method according to any one of claims 1 to 3, obtaining output data in an open fixed layout file format; The map layers in the output data are displayed according to the content stream corresponding to the output data.

5. A map data processing device, characterized in that: include: A first map data module, used to obtain first map data; a second map data module, configured to add first additional map data generated according to the digital elevation model to the first map data to obtain second map data; a second map data processing module, configured to obtain second additional map data according to the second map data; An output module, configured to convert the second map data and the second additional map data into output data in an open fixed layout file format, wherein the output data is used to carry elevation information in a layout in the open fixed layout file format displayed on a map display interface; The first map data includes vector map data and raster map data; the second map data processing module includes: a raster unit for converting the raster map data into a raster image of a set format and using the raster image as the second additional map data; The device also includes: an extraction module for extracting primitives and map annotations from the first map data; a scaling module for scaling the primitives according to the scale of the open fixed layout file format; an adding module for adding the map annotations to the scaled primitives; the output module includes: a conversion unit for: generating a map layer in the open fixed layout file format according to the primitives, the map layer including at least one primitive; setting the display format of the map layer on the layer panel of the open fixed layout file format reader; adding the map annotations to the corresponding map layer; generating a map additional layer according to the additional map data generated by the digital elevation model; and using the map layer and the map additional layer as the output data.

6. The device according to claim 5, wherein The graphic primitives include at least one of points, lines, and plane figures, and the extraction module is further configured to: converting the screen coordinate system of the first map data into a user coordinate system in an open fixed layout file format; extracting at least one of points, lines, and plane figures from the first map data; In the case where the extracted data includes lines, performing a connection operation on the lines; In the case where the extracted data includes a plane image, setting a color filling mode of the plane image; At least one of a point, a line, and a plane figure of the first map data is used as the graphic element.

7. The device according to any one of claims 5 to 6, wherein: The scaling module is used to: According to the input operation, the map scale of the open fixed layout file format, the map page size of the open fixed layout file format and the extended function information of the open fixed layout file format are obtained; Determining size information of the output data according to the map scale and the map page size; The graphic element is adjusted according to the size information and the extended function information.

8. A map data processing device, characterized in that: include: An output data acquisition module, configured to acquire output data in an open fixed layout file format according to the method according to any one of claims 1 to 3; The display module is used to display the map layer in the output data according to the content stream corresponding to the output data.

9. A map data processing device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 4.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.