[go: up one dir, main page]

CN114018243B - Map data processing method, device, equipment and storage medium - Google Patents

Map data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114018243B
CN114018243B CN202111307288.3A CN202111307288A CN114018243B CN 114018243 B CN114018243 B CN 114018243B CN 202111307288 A CN202111307288 A CN 202111307288A CN 114018243 B CN114018243 B CN 114018243B
Authority
CN
China
Prior art keywords
map
map data
data
file format
layout file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111307288.3A
Other languages
Chinese (zh)
Other versions
CN114018243A (en
Inventor
苏望发
洪贤勇
朱江
陈雄
黄文林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kq Geo Technologies Co ltd
Original Assignee
Kq Geo Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kq Geo Technologies Co ltd filed Critical Kq Geo Technologies Co ltd
Priority to CN202111307288.3A priority Critical patent/CN114018243B/en
Publication of CN114018243A publication Critical patent/CN114018243A/en
Application granted granted Critical
Publication of CN114018243B publication Critical patent/CN114018243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/38Electronic maps specially adapted for navigation; Updating thereof
    • G01C21/3863Structures of map data
    • G01C21/3867Geometry of map features, e.g. shape points, polygons or for simplified maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure provides a map data processing method, device, equipment and storage medium. The method comprises the following steps: acquiring first map data; adding first additional map data generated according to a digital elevation model into 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; and 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 for carrying elevation information in a format in the open fixed layout file format. The method provided by the embodiment of the disclosure can carry elevation information while outputting the map data in the OFD format, and enrich the information content of the map.

Description

Map data processing method, device, equipment and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a map data processing method, device, equipment and storage medium.
Background
With the development of computer technology, users can use the terminal to inquire map data at any time and any place to perform operations such as navigation, route planning, destination address searching and the like. Map data may also be presented in an increasing number of formats and manners.
OFD (Open Fixed-layout Document) is a standard abbreviation of electronic file storage and exchange format layout Document. Has advantages in the aspects of autonomy, safety, technical advancement and the like. The standard is applicable to format document storage, reading, exchange and utilization. And GeoOFD (Geography OFD, geographic OFD) map is a map result based on the OFD format, which integrates various information and various functions. The Geo OFD map is improved, which is beneficial to the development of map technology and provides more map data service functions for users.
Disclosure of Invention
The embodiment of the disclosure provides a map data processing method, a device, equipment and a storage medium, so as to solve the problems in the related art, and the technical scheme is as follows:
in a first aspect, an embodiment of the present disclosure provides a map data processing method, including:
acquiring first map data;
Adding first additional map data generated according to the digital elevation model into 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;
And 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 for carrying elevation information in a format of displaying the open fixed layout file format on a map display interface.
In one embodiment, the first map data comprises vector map data; the map data processing method of the present embodiment further includes:
Extracting the primitives and the map marks in the first map data;
scaling the graphic element according to the scale of the open fixed layout file format;
adding the map mark into the scaled primitive;
converting the additional map data into output data in an open fixed layout file format, comprising:
The additional map data, primitives, and map markers are converted into output data in an open fixed layout file format.
In one embodiment, the primitives include at least one of points, lines, and planar graphics, and extracting the primitives in the first map data includes:
Converting a screen coordinate system of the first map data into a user coordinate system of an open fixed layout file format;
extracting at least one of a point, a line, and a plane figure of the first map data;
In the case that the extracted data includes a line, performing a connection operation on the line;
Setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane image;
at least one of a point, a line, and a plane figure of the first map data is used as a primitive.
In one embodiment, the first map data comprises raster map data; acquiring second additional map data from the second map data, comprising:
The raster map data is converted into a raster image of a set format, and the raster image is used as second additional map data.
In one embodiment, scaling the primitives according to a scale of an open fixed layout file format further comprises:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of output data according to the map scale and the map page size;
And adjusting the graphic primitive according to the size information and the expansion function information.
In one embodiment, converting the second additional map data, primitives, and map markers into output data in an open fixed layout file format includes:
generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive;
Setting a display format of a map layer on a map layer panel of an open fixed layout file format reader;
Adding the map mark into the corresponding map layer;
generating an additional map layer of the map according to the additional map data generated by the digital elevation model;
The map layer and the map additional layer are used as output data.
In a second aspect, an embodiment of the present disclosure provides a map data processing method, including:
obtaining output data in an open fixed layout file format, wherein the output data is output data of any one embodiment of the disclosure;
and displaying the map layer in the output data according to the content stream corresponding to the output data.
In a third aspect, an embodiment of the present disclosure provides a map data processing apparatus, including:
the first map data module is used for acquiring first map data;
The second map data module is used for adding the first additional map data generated according to the digital elevation model into the first map data to obtain second map data;
The second map data processing module is used for acquiring second additional map data according to the second map data;
the output module is used for converting 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 for carrying elevation information in a format for displaying the open fixed layout file format on the map display interface.
In one embodiment, the first map data comprises vector map data; the apparatus further comprises:
the extraction module is used for extracting the primitives and the map marks in the first map data;
the scaling module is used for scaling the graphic element according to the scale of the open fixed layout file format;
the adding module is used for adding the map mark into the scaled graphic element;
The output module includes:
And the conversion unit is used for converting the second additional map data, the primitives and the map marks into output data in an open fixed layout file format.
In an embodiment, the primitive comprises at least one of a dot, a line, and a planar graphic, the extraction unit further being configured to:
Converting a screen coordinate system of the first map data into a user coordinate system of an open fixed layout file format;
extracting at least one of a point, a line, and a plane figure of the first map data;
In the case that the extracted data includes a line, performing a connection operation on the line;
Setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane image;
at least one of a point, a line, and a plane figure of the first map data is used as a primitive.
In an embodiment, the conversion unit is further adapted to:
generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive;
Setting a display format of a map layer on a map layer panel of an open fixed layout file format reader;
Adding the map mark into the corresponding map layer;
generating an additional map layer of the map according to the additional map data generated by the digital elevation model;
The map layer and the map additional layer are used as output data.
In one embodiment, the extraction unit is further configured to:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of output data according to the map scale and the map page size;
And adjusting the graphic primitive according to the size information and the expansion function information.
In one embodiment, the first map data comprises raster map data; a second map data processing module comprising:
And a raster unit for converting raster map data into raster images of a set format, the raster images being used as second additional map data.
In a fourth aspect, an embodiment of the present disclosure provides a map data processing apparatus, including:
The output data acquisition module is used for acquiring output data in an open fixed layout file format, wherein the output data is output data of any one embodiment of the disclosure;
And the display module is used for displaying the map layers in the output data according to the content stream corresponding to the output data.
In a fifth aspect, an embodiment of the present disclosure provides a map data processing apparatus including: memory and a processor. Wherein the memory and the processor are in communication with each other via an internal connection, the memory is configured to store instructions, the processor is configured to execute the instructions stored by the memory, and when the processor executes the instructions stored by the memory, the processor is configured to perform the method of any one of the embodiments of the above aspects.
In a sixth aspect, the disclosed embodiments provide a computer readable storage medium storing a computer program, which when run on a computer performs the method of any one of the above aspects.
The advantages or beneficial effects in the technical scheme at least comprise: the map data obtained can be converted into the data in the OFD format for output, so that the map data has the advantage of embedding geometric data and attribute data into graphic data in the browsing process, and can realize the integration of images, geometric data and attribute data, so that a user terminal is free from the limitation of professional GIS software, the map image can be output (displayed or printed), and the functions of geographic element inquiry, space analysis and the like which are commonly used by a plurality of weak GIS users can be provided. Meanwhile, map elevation information is carried in the OFD format data output by the embodiment of the disclosure, and richer data information is further provided for users.
The foregoing summary is for the purpose of the specification 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 become apparent by reference to the drawings and the following detailed description.
Drawings
In the drawings, the same reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily drawn to scale. It is appreciated that these drawings depict only some embodiments according to the disclosure and are not to be considered limiting of its scope.
FIG. 1 is a flow chart of a map data processing method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a map data processing method according to another embodiment of the present disclosure;
FIG. 3 is a flow chart of an example map data processing method of the present disclosure;
FIG. 4 is a flow chart of a map data processing method of another example of the present disclosure;
FIG. 5 is a diagram of a map data processing apparatus according to an embodiment of the present disclosure;
FIG. 6 is a diagram of a map data processing apparatus according to another embodiment of the present disclosure;
FIG. 7 is a diagram of a map data processing apparatus according to still another embodiment of the present disclosure;
Fig. 8 is a map data processing apparatus diagram of an embodiment of the present disclosure.
Detailed Description
Hereinafter, only certain exemplary embodiments are briefly described. As will be recognized by those of skill in the pertinent art, the described embodiments may be modified in various different ways without departing from the spirit or scope of the present disclosure. Accordingly, the drawings and description are to be regarded as illustrative in nature and not as restrictive.
Fig. 1 illustrates a flowchart of a map data processing method according to an embodiment of the present disclosure. As shown in fig. 1, the map data processing method may include:
step S11: acquiring first map data;
Step S12: adding first additional map data generated according to a digital elevation model (Digital Elevation Model, DEM) to the first map data to obtain second map data, wherein the first additional map data carries elevation information;
step S13: acquiring second additional map data according to the second map data;
Step S14: and converting the second additional map data into output data in an open fixed layout file format, wherein the output data is used for carrying elevation information in the format of the open fixed layout file format.
In one possible implementation, the first additional map data generated by the digital elevation model may be additional map data including map elevation information, and in particular may also be a digital elevation model layer.
In one 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.
In one implementation, the first additional map data generated by the digital elevation model may be layer data in DEM format. DEM, which is a physical ground Model that uses a set of ordered value arrays to represent ground elevation, is a branch of a digital terrain Model (DIGITAL TERRAIN Model, DTM) that implements digital simulation of ground terrain (i.e., digital representation of terrain surface morphology) by means of limited terrain elevation data.
DTM is a spatial distribution describing a linear and nonlinear combination of various topographical factors including elevation, such as slope, slope direction, rate of change of slope, etc., where DEM is a single digital topographical model of zero order, and other topographical characteristics such as slope, slope direction, and rate of change of slope, etc., may be derived based on DEM.
In this embodiment, the second map data may be at least one of necessary information showing a map such as a map image, a map base layer, and a map mark.
In one possible implementation, the output data in the open fixed layout file format may have the same attributes as PDF (Portable Document Format ) data for browsing by a certain reader.
In the embodiment of the disclosure, the obtained first map data can be finally converted into the data in the OFD format for output, so that the map data has the advantage of embedding the geometric data and the attribute data in the graphic data in the browsing process, and the trinity of the image, the geometric data and the attribute data can be realized, so that the user terminal is free from the limitation of professional GIS software, the map image can be output (displayed or printed), and the functions of inquiring and spatially analyzing the geographic elements commonly used by a plurality of weak GIS users can be provided. Meanwhile, map elevation information is carried in the OFD format data output by the embodiment of the disclosure, and richer data information is further provided for users.
In one embodiment, the first map data comprises vector map data; the map data processing method further includes:
Extracting the primitives and the map marks in the first map data;
scaling the graphic element according to the scale of the open fixed layout file format;
adding the map mark into the scaled primitive;
converting the additional map data into output data in an open fixed layout file format, comprising:
The additional map data, primitives, and map markers are converted into output data in an open fixed layout file format.
In the embodiment of the present disclosure, the first map data may include vector map data. The map data can be read in the geographic space information electronic document management system, the map data can be interpreted into the map elements and the map marks, the map elements are generated in the geographic space information electronic document management system, and the map data is output according to the OFD specification to obtain the GeoOFD map. And in the drawing process, adding a layer made of map elevation information into the first map data to be interpreted to obtain second map data. And then, carrying out the conversion of the graphic primitive and the map mark together with the second map data and other additional map data which are additionally added, so that the finally output map data comprise elevation information.
For vector map data, the vector map data may be decomposed into primitive data such as points, lines, ellipses, rectangles, and the like, and map annotation data. These primitive data may be output by the geospatial information electronic document management system. In order to avoid the problem of scale caused by the influence of the screen coordinate system of the data display terminal on the electronic map output by the geospatial information electronic document management system, the primitive data can be output after being scaled according to the scale.
In this embodiment, after the primitive and the map annotation are extracted, scaling is performed according to the OFD file format, so as to avoid the problem of scale generated by the difference between the geospatial information electronic document management system and the screen coordinate system, and ensure that the output map data does not generate display problems due to format conversion.
In one embodiment, the primitives include at least one of points, lines, and planar graphics, and extracting the primitives in the first map data includes:
Converting a screen coordinate system of the first map data into a user coordinate system of an open fixed layout file format;
extracting at least one of a point, a line, and a plane figure of the first map data;
In the case that the extracted data includes a line, performing a connection operation on the line;
Setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane image;
at least one of a point, a line, and a plane figure of the first map data is used as a primitive.
When vector map data is processed, coordinate conversion is needed first, and screen coordinates are converted into OFD user coordinate system coordinates. Firstly, coordinate mapping is needed, and screen coordinates are mapped to OFD user coordinate system coordinates. Setting the page size of GeoOFD correspondingly according to the page height and width of the layout in GeoOFD, and adding objects with the same size at the corresponding position of GeoOFD according to the page position of the map in GeoOFD; setting the spatial reference of the map into a GeoOFD coordinate system which supports longitude and latitude coordinates and projection coordinates simultaneously; the elements in the map are organized according to the layers, so that various data such as images, elevations, vectors, attributes, patterns, labels and the like in the layers are converted into objects in GeoOFD, and geographic position information is correspondingly set for the objects.
In one possible implementation, the vector map data may be decomposed into primitives such as points, lines, broken lines, curves, circles, rectangles, etc. for output in the geospatial information electronic document management system. For vector map data, coordinate conversion is first required to convert screen coordinates into OFD user coordinate system coordinates. The decomposed line primitives also need to be processed, for example: and setting the color space of the primitive when the unconnected broken lines are connected (such as line disconnection at the turning of the map road) and the primitive is output. The filling mode of the graph can also be set in the OFD map, for example, the method can be as follows: pattern filling and gradual filling methods of planar elements. The specific pattern filling mode can be adjusted in detail according to the requirements of users.
In the implementation, if the primitive includes only a point, any operation may not be performed on the point, or the point may be connected to a line, or the line may be connected to a plane.
If the primitive includes a line and a plane in addition to a point, at least one of the point, the line and the plane may be connected.
In this embodiment, the primitives of the first map data are extracted, so that the user can perform display, connection or other settings according to the unit expected by the user, and the fit between the map display mode and the user intention is improved.
In one embodiment, the first map data comprises raster map data; acquiring second additional map data from the second map data, comprising:
the raster map data is converted into a raster image of a set format, and the raster image data is used as second additional map data.
For raster map data, the GeoOFD map of the raster supports only JPEG (Joint Photographic Experts Group) format and BMP (Bitmap) format, and thus raster map data needs to be converted into raster image data in JPEG or BMP format at the time of processing.
In this embodiment, the grid map data can also be processed according to GeoOFD map format, so that the method provided in this embodiment of the disclosure can be applied to more types of map data.
In one embodiment, converting the second additional map data, primitives, and map markers into output data in an open fixed layout file format for vector map data, comprises:
generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive;
Setting a display format of a map layer on a map layer panel of an open fixed layout file format reader;
Adding the map mark into the corresponding map layer;
generating an additional map layer of the map according to the additional map data generated by the digital elevation model;
The map layer and the map additional layer are used as output data.
In this embodiment, the size of the primitive and the extended function information are adjusted accordingly, so as to ensure the display effect of the converted map data.
In one embodiment, scaling the primitives according to a scale of an open fixed layout file format includes:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of output data according to the map scale and the map page size;
And adjusting the graphic primitive according to the size information and the expansion function information.
In one embodiment, converting primitives and map annotations into output data in an open fixed layout file format, comprises:
generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive;
Setting a display format of a map layer on a map layer panel of an open fixed layout file format reader;
Adding the map mark into the corresponding map layer;
generating an additional map layer of the map according to the additional map data generated by the digital elevation model;
The map layer and the map additional layer are used as output data.
In the GeoOFD map, the layers represent a collection of graphics that can be dynamically selected as visible or invisible by the user or browser application. The graphics included in the graphics set may further include all elements on the OFD page, such as vector graphics, raster images, characters, and the like. GeoOFD map layers are a resource, so layer objects can be set first during processing. In GeoOFD maps, the names of map layers are displayed in the layer panel of the navigation panel of the presentation interface. GeoOFD map layer objects two objects need to be set. One is a layer attribute object, which is used to set layer information, and each layer in the map corresponds to one layer object. The other is a layer configuration object, only one layer configuration object is provided, and the display format of the layer on the layer panel of the reader is set.
The OFD layer object is set only with layer resources, and layer resources need to be used in GeoOFD map. With the references of the respective layer objects, layer attributes are set in the directory object (root object) which function to display layer items in the layer panel of the OFD, but whether graphics contained in the layer are displayed in pages or not also requires setting layer operators in the content stream.
The superimposed layers can be vector data or image layers, and on the basis, a DEM layer can be further superimposed, so that map elevation information can be displayed.
The present disclosure also provides a map data processing method, as shown in fig. 2, including:
Step S21: acquiring output data in an open fixed layout file format, wherein the output data is generated by a map data processing method provided by any one embodiment of the disclosure;
Step S22: and displaying the map layer in the output data according to the content stream corresponding to the output data.
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 the elevation information.
In one example of the present disclosure, an introduction to a map data processing method is presented taking the output of a digital elevation shading map as an example. In this example, the DEM layers are output after rendering and the elevation information is displayed after output.
The shaded map is an important topographic map reflecting actual topographic relief features by simulating actual ground shadows and drop shadows. The making process of the relief shading map under the computer environment comprises the following steps: firstly, simulating the manufacturing flow of a traditional relief image by using contour line data or digital elevation data (DEM data) of a drawing area, setting a lighting model through GeoOFD, and designing color levels at different elevations on the basis of vertical stretching proportion and horizontal stretching proportion of the ground surface to generate a color relief image of the drawing area with shadows and brightness change; and then, the generated shaded image is adjusted and overlapped with the base map, so that the manufacture of the relief shaded map under the computer condition is completed.
Digital elevation model rendering is performed at GeoOFD and map data information is interpreted into primitives and map markers, and the primitives and map data generated at GeoOFD are output GeoOFD as OFD specifications.
In a specific possible implementation, a specific flow of applying the method provided by the present disclosure to the making of a shaded map is shown in fig. 3. The method specifically comprises the following steps:
step S31: DEM data preparation. And generating an elevation map layer and corresponding elevation information by adopting a DEM elevation model. Carrying out
Step S32: and setting a scene. Specifically, the method comprises the following steps of coordinate mapping: mapping the screen coordinates to OFD user coordinate system coordinates; illumination setting: setting a viewpoint, an azimuth angle and an altitude angle; and (5) setting environment. Further, the scene setting is used to set background information or some environmental information of the map data.
Furthermore, scene construction is carried out, and the set topographic shadows and the specific map range are mapped.
Further, an output parameter setting is performed: color settings, vertical height ratio settings, etc. Further, scene data in the map layer is converted into objects in GeoOFD, and the objects are provided with geographical position information correspondingly.
Step S33: GEOOFD shading map output.
In this step, on the basis of DEM information, other necessary setting information of the map is superimposed, so that a shaded map carrying elevation information can be output.
It should be noted that, although the map data processing method is described above by taking a shaded map as an example, those skilled in the art will appreciate that the present disclosure should not be limited thereto. In fact, the user can flexibly set the map category according to personal preference and/or practical application scene, so long as the technical framework and principles of the present disclosure are met.
In this way, by superimposing additional map outputs (i.e., DEM layers, DEM data, DEM information, or the like) generated by the digital elevation model, map data carrying elevation information in the OFD format can be output according to the above-described embodiments of the present disclosure.
In another specific example of the present disclosure, in the execution of the map data processing method, the conversion of data is as shown in fig. 4, including:
The vector map data 41 is subjected to symbolization map matching to obtain primitive data such as straight lines, broken lines, ellipses, points, rectangles, attributes and the like. And according to the primitive data, obtaining the OFD of the vector map.
For the raster map data 43, raster data is converted into raster image data (raster image), and the OFD of the raster map is obtained from the raster image data.
For the map annotation 44, it may be converted to an OFD for the map annotation as part of the second additional map data.
In this embodiment, when the map data is displayed, the vector data may be browsed according to the OFD of the vector map, the DEM42, and the OFD of the map mark. The raster map data 43 can be browsed based on the OFD of the raster map, the OFD of the map mark, and the DEM 42.
During browsing, hierarchical browsing can be performed, and operations such as 45 attribute inquiry, direction calculation, geographic coordinate online inquiry, length area measurement, information labeling and the like can be performed through a geographic tool box.
In the case of missing or incomplete primitives, it is possible to add lines, add broken lines, add ellipses, add rectangles, etc. according to the graphics state of the primitives, and set pointer arrays pointing to the graphics element classes of the primitives.
In the case of incomplete map annotation, the map annotation can be added while creating an array of pointers to the map annotation class.
In the event that the annotation is incomplete, the annotation is added, generating a pointer array to the annotation class data.
And in the case of incomplete bookmarks, adding the bookmarks to generate a pointer array pointing to bookmark class data.
In the case of incomplete links, the connection is added, generating an array of pointers to the connection class.
Fig. 5 shows a block diagram of a map data processing apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus may include:
a first map data module 51 for acquiring first map data;
a second map data module 52 for adding the 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 53 for acquiring second additional map data from the second map data;
the output module 54 is configured to convert the second map data and 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 a layout of the open fixed layout file format displayed on the map display interface.
In one embodiment, the first map data comprises vector map data; as shown in fig. 6, the map data processing apparatus further includes:
an extracting module 61, configured to extract primitives and map marks in the first map data;
a scaling module 62, configured to scale the primitive according to a scale of the open fixed layout file format;
An adding module 63, configured to add the map annotation to the scaled primitive;
The output module includes:
a conversion unit 64 for converting the second additional map data, the primitives, and the map markers into output data in an open fixed layout file format.
In an embodiment, the primitive comprises at least one of a dot, a line, and a planar graphic, the extraction unit further being configured to:
Converting a screen coordinate system of the first map data into a user coordinate system of an open fixed layout file format;
extracting at least one of a point, a line, and a plane figure of the first map data;
In the case that the extracted data includes a line, performing a connection operation on the line;
Setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane image;
at least one of a point, a line, and a plane figure of the first map data is used as a primitive.
In an embodiment, the conversion unit is further adapted to:
generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive;
Setting a display format of a map layer on a map layer panel of an open fixed layout file format reader;
Adding the map mark into the corresponding map layer;
generating an additional map layer of the map according to the additional map data generated by the digital elevation model;
The map layer and the map additional layer are used as output data.
In one embodiment, the extraction unit is further configured to:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of output data according to the map scale and the map page size;
And adjusting the graphic primitive according to the size information and the expansion function information.
In one embodiment, the first map data comprises raster map data; as shown in fig. 7, the second map data processing module includes:
the raster unit 71 converts raster map data into raster images of a set format, and uses the raster images as second additional map data.
Fig. 8 shows a block diagram of a map data processing apparatus according to an embodiment of the present invention. As shown in fig. 8, the map data processing apparatus includes: memory 910 and processor 920, memory 910 stores a computer program executable on processor 920. The processor 920 implements the map data processing method in the above-described embodiment when executing the computer program. The number of memories 910 and processors 920 may be one or more.
The map data processing device further includes:
and the communication interface 930 is used for communicating with external equipment and carrying out data interaction transmission.
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 may be connected to each other and perform communication with each other through buses. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, peripheral interconnect (Peripheral ComponentInterconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
Alternatively, 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 may communicate with each other through internal interfaces.
Embodiments of the present invention provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the methods provided in the embodiments of the present disclosure.
The disclosed embodiments also provide a chip comprising a processor for calling from a memory and executing instructions stored in the memory, so that a communication device mounted with the chip performs the method provided by the disclosed embodiments.
The embodiment of the disclosure also provides a chip, which comprises: the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method provided by the application embodiment.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processor, digital signal processor (DIGITAL SIGNAL processing, DSP), application Specific Integrated Circuit (ASIC), field programmable gate array (fieldprogrammablegate array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an advanced reduced instruction set machine (ADVANCED RISC MACHINES, ARM) architecture.
Further, optionally, the memory may include a read-only memory and a random access memory, and may further include a nonvolatile random access memory. The memory may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may include a read-only memory (ROM), a Programmable ROM (PROM), an erasable programmable ROM (erasable PROM), an electrically erasable programmable EPROM (EEPROM), or a flash memory, among others. Volatile memory can include random access memory (random access memory, RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available. For example, static random access memory (STATIC RAM, SRAM), dynamic random access memory (dynamic random access memory, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double DATA DATESDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCHLINK DRAM, SLDRAM), and direct memory bus random access memory (directrambus RAM, DR RAM).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 processes or functions in accordance with the present disclosure are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. Computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Any process or method description in a flowchart or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed in a substantially simultaneous manner or in an opposite order from that shown or discussed, including in accordance with the functions that are involved.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the methods of the embodiments described above may be performed by a program that, when executed, comprises one or a combination of the steps of the method embodiments, instructs the associated hardware to perform the method.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules described above, if implemented in the form of software functional modules and sold or used as a stand-alone product, may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
While the invention has been described with respect to the preferred embodiments, it will be apparent to those skilled in the art that various changes and substitutions can be made without departing from the spirit and scope of the invention. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A map data processing method, characterized by comprising:
acquiring first map data;
adding first additional map data generated according to a digital elevation model into 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 for carrying elevation information in a format in the open fixed layout file format;
wherein the first map data includes vector map data and raster map data; the obtaining second additional map data according to the second map data includes: converting the raster map data into raster image with a set format, and taking the raster image data as the second additional map data;
The method further comprises the steps of: extracting the primitives and the map marks in the first map data; scaling the primitive according to the scale of the open fixed layout file format; adding the map mark into the scaled primitive;
The converting 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 according to the primitives, wherein the map layer comprises at least one primitive; setting a display format of the map layer on a map layer panel of an open fixed layout file format reader; adding the map annotation to the corresponding map layer; generating a map additional layer according to the first additional map data generated by the digital elevation model; and taking the map layer and the map additional layer as the output data.
2. The method of claim 1, wherein the primitives include at least one of points, lines, and planar graphics, the extracting primitives in the first map data comprising:
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 a point, a line, and a plane figure of the first map data;
in the case that the extracted data includes a line, performing a connection operation on the line;
setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane graph;
and taking at least one of points, lines and plane graphs of the first map data as the primitive.
3. The method of any of claims 1-2, wherein the scaling the primitives according to the scale of the open fixed layout file format comprises:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of the output data according to the map scale and the map page size;
and adjusting the primitive according to the size information and the extended function information.
4. A map data processing method, characterized by comprising:
a method according to any one of claims 1-3, obtaining output data in an open fixed layout file format;
and displaying the map layer in the output data according to the content stream corresponding to the output data.
5. A map data processing apparatus, characterized by comprising:
the first map data module is used for acquiring first map data;
the second map data module is used for adding the first additional map data generated according to the digital elevation model into 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;
The output module is used for converting 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 for carrying elevation information in a format of displaying the open fixed layout file format on a map display interface;
Wherein the first map data includes vector map data and raster map data; the second map data processing module includes: a raster unit configured to convert the raster map data into a raster image of a set format, the raster image being the second additional map data;
The apparatus further comprises: the extraction module is used for extracting the primitives and the map marks in the first map data; the scaling module is used for scaling the primitive according to the scale of the open fixed layout file format; the adding module is used for adding the map mark into the scaled graphic element; the output module includes: a conversion unit configured to: generating a map layer in an open fixed layout file format according to the primitives, wherein the map layer comprises at least one primitive; setting a display format of the map layer on a map layer panel of an open fixed layout file format reader; adding the map annotation to the corresponding map layer; generating an additional map layer of the map according to the additional map data generated by the digital elevation model; and taking the map layer and the map additional layer as the output data.
6. The apparatus of claim 5, wherein the primitive comprises at least one of a dot, a line, and a planar graphic, the extraction module further 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 a point, a line, and a plane figure of the first map data;
in the case that the extracted data includes a line, performing a connection operation on the line;
setting a color filling mode of the plane graph under the condition that the extracted data comprises the plane graph;
and taking at least one of points, lines and plane graphs of the first map data as the primitive.
7. The apparatus of any of claims 5-6, wherein the scaling module is to:
acquiring a map scale in an open fixed layout file format, a map page size in the open fixed layout file format and extended function information in the open fixed layout file format according to input operation;
determining size information of the output data according to the map scale and the map page size;
and adjusting the primitive according to the size information and the extended function information.
8. A map data processing apparatus, characterized by comprising:
An output data acquisition module for acquiring output data in an open fixed layout file format according to the method of any one of claims 1 to 3;
and the display module is used for displaying the map layers in the output data according to the content streams corresponding to the output data.
9. A map data processing apparatus, characterized by comprising: a processor and a memory in which instructions are stored, the instructions being loaded and executed by the processor to implement the method of any one of claims 1 to 4.
10. A computer readable storage medium having stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-4.
CN202111307288.3A 2021-11-05 2021-11-05 Map data processing method, device, equipment and storage medium Active CN114018243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111307288.3A CN114018243B (en) 2021-11-05 2021-11-05 Map data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111307288.3A CN114018243B (en) 2021-11-05 2021-11-05 Map data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114018243A CN114018243A (en) 2022-02-08
CN114018243B true CN114018243B (en) 2024-09-10

Family

ID=80061529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111307288.3A Active CN114018243B (en) 2021-11-05 2021-11-05 Map data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114018243B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116681948B (en) * 2023-04-10 2024-11-05 武汉天际航信息科技股份有限公司 Digital road map distinguishing method, computing device and storage medium

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000072756A1 (en) * 1999-05-28 2000-12-07 Vuesonix Sensors, Inc. Device and method for mapping and tracking blood flow and determining parameters of blood flow
CA2299582C (en) * 2000-02-25 2004-04-20 Grey Island Systems, Inc. Automatic mobile object locator apparatus and method
HUE036741T2 (en) * 2006-01-11 2018-07-30 Qualcomm Inc Wireless communication procedures and equipment to support synchronization
US20130101055A1 (en) * 2011-10-21 2013-04-25 Texas Instruments Incorporated Sub-Band Power Scaling Reporting and Sub-Band Transmit Power Estimation
CN103884321B (en) * 2014-04-17 2016-04-13 西安煤航信息产业有限公司 A kind of remote sensing image becomes figure technique
CN106326544B (en) * 2016-08-23 2019-08-09 中国铁路设计集团有限公司 A kind of remote sensing image topographic map cartography based on common data
US10679521B1 (en) * 2017-05-15 2020-06-09 Lockheed Martin Corporation Generating a three-dimensional physical map using different data sources
CN108009217A (en) * 2017-11-20 2018-05-08 北京林业大学 The method that water resources in china support risk figure is made based on database-driven rapid batch
CN109086286B (en) * 2017-12-07 2021-06-29 中国科学院电子学研究所苏州研究院 Method for producing and publishing color topographic map
CN108197316A (en) * 2018-02-01 2018-06-22 霍亮 Support across the medium electronic document technology platform of spatial data
CN108681595B (en) * 2018-02-08 2021-10-29 中国人民解放军61540部队 Geographical PDF map mixed plane coordinate system model and construction method thereof
CN108415887B (en) * 2018-02-09 2021-04-16 武汉大学 A method of converting PDF file to OFD file
CN109145174A (en) * 2018-08-01 2019-01-04 山东省国土测绘院 A kind of emergency geography information quick draw graphics system and its drafting method
CN112699428A (en) * 2019-10-23 2021-04-23 阿里巴巴集团控股有限公司 Method and device for generating map data and computer system
CN113066178B (en) * 2020-01-02 2023-08-15 沈阳美行科技股份有限公司 Map data processing method, device, equipment and storage medium
DK180972B1 (en) * 2020-01-30 2022-08-26 Pressalit As Care facilities
CN112883130A (en) * 2021-01-05 2021-06-01 中国人民解放军国防科技大学 Method, device and medium for outputting map elevation data based on spatial database
CN113157988B (en) * 2021-01-20 2024-05-24 北京数科网维技术有限责任公司 Method and device for representing geographic information by OFD format file
CN112966041B (en) * 2021-02-02 2024-04-26 苍穹数码技术股份有限公司 Data processing method, device, equipment and storage medium
CN113034689B (en) * 2021-04-30 2023-09-19 睿宇时空科技(重庆)股份有限公司 Laser point cloud-based terrain three-dimensional model, terrain map construction method and system, and storage medium
CN113379912B (en) * 2021-07-01 2023-09-26 中煤航测遥感集团有限公司 Map service issuing method, device, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
CN114018243A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN111103595B (en) Method and device for generating digital line drawing
KR0156270B1 (en) Map data creation method and device
CN112559667B (en) Map editor, map engine, map editing system, map editing method, and storage medium
CN112131332B (en) Information point updating method and device, electronic equipment and computer storage medium
CN112907451B (en) Image processing method, device, computer equipment and storage medium
CN110910504A (en) Method and device for determining three-dimensional model of region
CN114018243B (en) Map data processing method, device, equipment and storage medium
CN108711356B (en) Geographic target and symbol graph registration method in vector geographic PDF map making
CN108491427A (en) PDF tile maps and production method
CN111260749A (en) Method, device and storage medium for generating standard scale map
CN111914046A (en) Generation method and device of target seating chart and computer equipment
CN113157988B (en) Method and device for representing geographic information by OFD format file
CN115357675B (en) Method and system for establishing image control point database through standardized processing of image control points
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
CN114661841A (en) Electronic map publishing method, device, equipment and electronic map scheduling method
CN111324682A (en) Method and device for loading CAD (computer-aided design) data without geographic coordinate information based on GMap (Gaussian mixture map)
CN118261779B (en) Color blindness friendly map conversion method, system and terminal based on generative adversarial network
CN109977183B (en) Drawing method of planning and natural resource service drawings in WebGIS environment
CN117891448B (en) Visual component editing method, system, equipment and medium for constructing page
CN117608542B (en) WebGIS development framework construction method and system
Lin et al. Expression and Analysis of Seismic Disaster Information Based on Kml
Nicolau et al. Harmonization of categorical maps by alignment processes and thematic consistency analysis
Choi et al. Multi-scale rendering with geometry collapse and a symbol knowledge base
CN108710674B (en) Processing method for reducing vector geographic PDF map data volume
Bivand et al. Classes for spatial data in R

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant