CN118229716A - Method and device for processing character-level points of geographic information data - Google Patents

Method and device for processing character-level points of geographic information data Download PDF

Info

Publication number
CN118229716A
CN118229716A CN202410642577.6A CN202410642577A CN118229716A CN 118229716 A CN118229716 A CN 118229716A CN 202410642577 A CN202410642577 A CN 202410642577A CN 118229716 A CN118229716 A CN 118229716A
Authority
CN
China
Prior art keywords
primitive
sub
delta
data structure
data
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.)
Granted
Application number
CN202410642577.6A
Other languages
Chinese (zh)
Other versions
CN118229716B (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.)
Beijing Shanwei Technology Co ltd
Original Assignee
Beijing Shanwei Technology 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 Beijing Shanwei Technology Co ltd filed Critical Beijing Shanwei Technology Co ltd
Priority to CN202410642577.6A priority Critical patent/CN118229716B/en
Publication of CN118229716A publication Critical patent/CN118229716A/en
Application granted granted Critical
Publication of CN118229716B publication Critical patent/CN118229716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5854Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using shape and object relationship
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Remote Sensing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a device for processing a triangular point of geographic information data, comprising the following steps: acquiring a data structure of a drawing; determining the display position of the delta point in the primitive area according to a preset distribution rule; and responding to the graph profile to cut the primitive region, generating sub-primitives, and inheriting the display position of the delta point to each sub-primitive region. The application solves the problem of confusion caused by display change of the character-shaped points in the prior art when dividing the picture.

Description

Method and device for processing character-level points of geographic information data
Technical Field
The application relates to the technical fields of computer graphic processing and geographic information, in particular to a method and a device for processing a delta point of geographic information data.
Background
In a geographic information data project, the geographic information data project comprises various ground feature elements and text description marks, such as houses, vegetation, roads and the like, the length and the area of the ground feature are small, and for the same scale frame, the distribution range of the geographic information data project generally spans multiple pictures; the ground feature can also be a cross-frame, the frame is divided according to standard frame or the designated area when the map is drawn, one frame is divided, each part of the plurality of ground features is related, ground feature elements through which the map profile passes need to be manually processed, and when a large number of engineering drawings need to be provided, the efficiency is low. I.e. the need to achieve the application after manual cutting still requires a lot of picture finishing work.
The character points are distributed in the graph of some ground object elements, the character points are determined according to a preset distribution rule, the ground object with large-scale consistency is schematically marked according to the preset distribution rule, such as a large-area empty space or a wetland, and shielding of an interested object is avoided for the whole ground object elements, so that when the graph is divided, character points in the divided ground object are redistributed in the divided area, but sometimes, the character point redistribution causes display confusion, for example, the regenerated character points shield other marks of part of the target ground object.
Disclosure of Invention
The application provides a method and a device for processing a delta point of geographic information data, which solve the problem that the display position is disordered when the delta point is redisplayed and changed when a picture is segmented in the prior art.
In a first aspect, an embodiment of the present application provides a method for processing a delta point of geographic information data, including the steps of:
Acquiring a data structure of a drawing;
Determining the display position of the delta point in the primitive area according to a preset distribution rule;
And responding to the drawing contour line to cut the drawing element area, generating a sub-drawing element, and inheriting the display position of the delta point to the sub-drawing element area.
In one embodiment, the display position of the delta point is inherited to the sub-primitive area, and the method comprises the following steps:
Generating data representing the display position of the delta point in the data structure of the sub-primitive;
determining the display position of each delta point in the sub-primitive area according to the data representing the display position of the delta point;
a delta point is displayed in each metaprimitive region.
In one embodiment, the display position of the primitive is inherited to the sub-primitive region, and the method comprises the steps of:
generating data representing contour lines of the primitive region in a data structure of the sub-primitive;
Responding to the contour line, and determining the position of the delta point in the sub-primitive area according to the distribution rule;
The delta points are displayed in the metaprimitive area.
In one embodiment, in response to a first instruction, a data structure of a primitive is copied to a data structure of each sub-primitive.
In one embodiment, in response to a first instruction, a data structure of a primitive is partitioned according to a drawing profile to generate a sub-primitive, the data structure of the sub-primitive containing data representing a graphic displayed by the primitive within the drawing profile.
In one embodiment, the method further comprises the steps of:
Merging the data structures of the sub-primitives into a primitive data structure;
Eliminating the profile between the sub-primitive regions.
In a second aspect, an embodiment of the present application further provides a device for processing a delta point of geographic information data, where the delta point processing method for implementing the geographic information data according to any one of the embodiments of the first aspect includes:
And the acquisition module is used for acquiring the data structure of the drawing sheet. And the determining module is used for determining the display position of the delta point in the primitive area according to the distribution rule. The display module is used for displaying the drawing line; and is also used for displaying the delta points in the primitive or the sub-primitive area.
Further, the method further comprises the following steps: and the generation module is used for generating data representing the display position of the delta point in the sub-primitive data structure and/or generating data representing the contour line of the primitive region in the sub-primitive data structure.
In a third aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method according to any of the embodiments of the first aspect.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a memory, a processor and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement a method according to any embodiment of the first aspect.
The above at least one technical scheme adopted by the embodiment of the application can achieve the following beneficial effects:
The application can realize framing output and zoning block output, realize full-image segmentation or in-line segmentation within a specified range, and realize direct segmentation based on the project file, and output the segmented data to a plurality of project files or the same project file, and automatically process the expression of the ground object element symbols at the edge after the image segmentation output. The embodiment of the application can realize two effects of dividing according to the entity and dividing according to the graphic symbolization effect on the ground feature element data. The application realizes the inheritance of the positions of the character points in the ground object element graph, and when the graph of the edge ground object element is divided, the positions of the character points are not changed, so that the confusion during redisplay is avoided.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flowchart of a method for processing a delta point of geographic information data according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating the inheritance of the display position of a character point according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for processing a delta point of geographic information data according to an embodiment of the present application;
FIG. 4 is a flowchart of a third exemplary method for processing a delta point of geographic information data;
FIG. 5 is a flowchart illustrating a process for merging frames according to an embodiment of the present application;
FIG. 6 is a diagram of a delta point processing device for geographic information data according to an embodiment of the present application;
fig. 7 is a schematic diagram of a business server system of an application scenario of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for processing a delta point of geographic information data according to an embodiment of the present application. The application embodiment provides a method for processing a delta point of geographic information data, which comprises the following steps 110-130:
Step 110, obtaining the data structure of the drawing sheet.
The map is an entire map comprising a map element area, the data structure of the map comprises data of all ground features in the map area, and the map element is graphic data for representing the characteristics of the ground features.
The primitive region is a display region of the primitive. For example, the primitive is a hollow dot, and the primitive region is a region at least including a contour line, that is, a region filled with a drawing character dot in the hollow dot.
For example, a green space is formed in the whole picture, and the shape of the green space is represented by a graphic element in the picture, wherein the graphic element is a hollow outline, and the green space is represented by a character point, so that the whole green space is the graphic element area.
The distribution rule of the character points in the primitive area is preset.
The distribution rule is a rule for determining the position of the delta point in the primitive region, and preferably, the data structure contains information describing the distribution rule, for example, an algorithm for calculating the position of the delta point according to a reference coordinate system and a primitive range, and an index of the algorithm.
And when the picture is displayed, the picture element data are called, the position of each delta point in the picture element area is calculated according to the distribution rule, and the delta points are paved in the picture element area.
For example, defining the current area as a green land, automatically calling a delta point distribution rule of the green land area, and spreading delta points representing the green land in the green land area according to the delta point distribution rule in the picture.
Further, the data structure of the map comprises 1 or more ground object elements; the display graph of the 1 ground object element comprises at least 1 graphic element. Preferably, in one embodiment of the present application, a data structure of the ground feature element is obtained, where the data structure includes a distribution rule of the delta points in the ground feature element graphic region.
And 120, determining the display position of the delta point in the primitive region according to the distribution rule.
In one embodiment of the application, according to the distribution rule, the display position of the character points on the ground feature element graph area is determined.
The complete primitive area is paved with the character points according to the character point distribution rule, each character point is a sub-primitive, and the display position of each sub-primitive is recorded.
It should be noted that, in the prior art, the distribution of the delta points is often random, and the delta point distribution is only a display effect, and is not defined in a manner of dividing primitives in the data set of the ground feature elements.
And 130, responding to the drawing profile to cut the primitive region, generating sub-primitives, and inheriting the display position of the delta points to each sub-primitive region.
In response to the first instruction, profile information is added to the data structure of the drawing sheet.
The first instruction, for example, refers to an instruction for cutting a drawing, and in response to cutting the drawing, drawing profile information is added in a data structure of the drawing.
The drawing information is data related to the drawing and is used for determining the position of the drawing. For example, coordinate information, longitude and latitude information;
The map outline here refers to a map edge that divides the entire feature element into a plurality of feature element units. The graph profile divides one primitive into 2 or more primitive groups, or divides one primitive into 2 or more sub-primitives.
It should be noted that, in response to an operation of the human-machine interface, the first instruction and the profile information may be determined.
Dividing the map with the map profile is achieved by adding the data information related to the map profile in the data structure of the map.
The sub-primitive is a part of data structure of the original primitive generated after the primitive is cut by the drawing line. That is, on the data structure, the sub-primitive is a part of the original primitive. In the display effect, the primitive dividing region is a part of the original primitive region cut by the drawing line.
And responding to the drawing outline to cut the primitive region, and inheriting the display position of the delta point to each sub-primitive region.
In one embodiment of the application, the feature element graphic region is cut in response to a figure outline, at least one feature element unit is generated, and the display position of the delta point is inherited to each feature element unit graphic region.
The display position inheritance means that the absolute coordinates of the positions of the delta points in the divided primitives are the same as the absolute coordinates of the positions of the delta points in the primitives before division, and the absolute coordinates can be represented by using geographical coordinates or longitude and latitude coordinates, for example. When expressed using relative coordinate values, the reference system of the position of the delta point in the split primitive is the same as the reference system of the delta point in the primitive before splitting. Or, the inheritance refers to that the display position is unchanged, that is, the position relationship between any character point and the sub-primitive in the sub-primitive after cutting is the same as the position relationship between any character point and the sub-primitive in the original primitive before cutting.
For example, as shown in fig. 2, the primitive area 21 in the graphic frame displays the corresponding delta points 22 according to the delta point distribution rule, and after the primitive area is divided by the drawing line 23, the corresponding delta points are still displayed on each sub-primitive area 22, and the display position of the delta points 25 in the sub-primitive area is the same as the position 24 in the primitive area before division.
In one embodiment of the present application, the data structure of the graphic comprises data representing a distribution rule of the delta points, and the distribution rule is associated with the graphic element. And when the primitive region is displayed in the graphic, calculating the display position of the character point according to the data of the primitive and the distribution rule. When the map is divided by the map contour line, the map contour line is used for cutting the map element area, the distribution rule is inherited in the data structure of the map dividing line, and the distribution rule is associated with the map dividing element in the data structure of the map dividing line. And when the sub-primitive region is displayed in the sub-primitive, calculating the display position of the character point according to the data of the sub-primitive and the distribution rule.
In another embodiment of the present application, the data structure of the graphic comprises position data of each delta point, and the position data of each delta point is associated with the graphic primitive. And when the primitive region is displayed in the graphic, determining the display position in the primitive region according to the position data of the delta point. When the picture is divided by the picture contour line, responding to the picture contour line to cut the picture element area, inheriting the position data of at least one part of the character points in the data structure of the picture dividing frame, and associating the position data of at least one part of character points with the divided picture element in the data structure of the picture dividing frame. And when the sub-primitive region is displayed in the sub-primitive frame, determining the display position of the delta-character point in the sub-primitive region according to the position data of at least a part of the delta-character point.
In another embodiment of the present application, the data structure of the graphic comprises data representing a distribution rule of the delta points, and the distribution rule is associated with the graphic element. And when the primitive region is displayed in the graphic, calculating the display position of the character point according to the data of the primitive and the distribution rule. When the graph is divided by the graph contour line, the graph element area is cut in response to the graph contour line, and the position data of each delta point is generated and is associated with the graph element. And inheriting the position data of at least a part of the delta points in the data structure of the sub-graph, wherein the position data of at least a part of the delta points in the data structure of the sub-graph are associated with the sub-graph elements. And when the sub-primitive region is displayed in the sub-primitive frame, determining the display position of the delta-character point in the sub-primitive region according to the position data of at least a part of the delta-character point.
Fig. 3 is a flowchart of another method for processing a delta point of geographic information data according to an embodiment of the present application.
Step 110, obtaining the data structure of the drawing sheet.
And 120, determining the display position of the delta point in the primitive region according to the distribution rule.
And 130, responding to the drawing profile to cut the primitive region, generating sub-primitives, and inheriting the display position of the delta points to each sub-primitive region.
In one embodiment of the application, the display position of the delta point is inherited to the ground feature element unit graphic region.
For example, in one embodiment, the step 130 specifically includes steps 210 to 230:
Step 210, generating data representing the position of the delta point in the data structure of the sub-primitive.
The display positions of the delta points are inherited to the sub-primitive areas in a data mode, such as a delta point position array, and data of positions of a plurality of delta points are included.
And determining the display position of the delta points in the primitive area of the picture according to the delta point distribution rule, and storing the display position information of the delta points in a data mode in the data structure of each sub-primitive. Preferably, only the position data of the delta points in the display range of the sub-primitive is stored in the data structure of the sub-primitive.
In one embodiment of the present application, in the ground feature element unit data structure, data representing a display position of a delta point is generated.
And 220, determining the display position of each delta point in the sub-primitive area according to the data representing the display position of the delta point.
And responding to the segmentation of the primitive areas by the drawing outlines, and determining the display position of the character points on each sub-primitive area according to the stored display position information of the character points.
In one embodiment of the present application, the position of each of the delta points in the graphic area of the ground object element unit is determined according to the data representing the display position of the delta point.
Step 230, displaying the delta points in each sub-primitive area.
And displaying the character-shaped points according to the determined display positions of the character-shaped points on the sub-primitive areas.
In one embodiment of the application, a delta point is displayed in the graphical area of each surface feature element unit.
Fig. 4 is a flowchart of a third method for processing a delta point of geographic information data according to an embodiment of the present application.
Step 110, obtaining the data structure of the drawing sheet.
And 120, determining the display position of the delta point in the primitive region according to the distribution rule.
And 130, responding to the drawing profile to cut the primitive region, generating sub-primitives, and inheriting the display position of the delta points to each sub-primitive region.
In one embodiment of the application, the display position of the ground feature element graph is inherited to the ground feature element unit graph region.
For example, in one embodiment, step 130 further specifically includes steps 310-330:
step 310, generating data representing the contour line of the primitive region in the data structure of the sub-primitive.
The sub-primitive region inherits the contour line of the primitive region in the map;
In one embodiment of the present application, in the ground feature element unit data structure, data representing an outline of a graphic region in the ground feature element is generated.
And 320, responding to the contour line, and determining the position of the delta point in the sub-primitive area according to the distribution rule.
In one embodiment of the application, responding to the contour line, determining the position of the delta point in the ground feature element unit graph area according to the distribution rule;
And responding to the contour line, and displaying the delta points in the sub-primitive area according to a delta point distribution rule.
Here, the distribution rule used when calculating the delta point position in the split primitive is the same as the distribution rule used when calculating the delta point position in the primitive. The contour lines to which the distribution rule is applied are the same, and are all contour lines indicating the display range of the original primitive, so that the obtained delta points are the same.
Step 330, the delta points are displayed in the metaprimitive area.
In one embodiment of the application, a delta point is displayed in the graphical area of each surface feature element unit.
After the graphic frame is divided, the display range of the sub-graphic primitive region is different from the display range of the graphic primitive region, but the outline of the display range of the graphic primitive region is inherited in the data structure of the sub-graphic primitive, and the positions of the character points in the display range of the sub-graphic primitive region are obtained based on the outline of the display range of the graphic primitive region.
For example, in fig. 2, a square region is divided equally into four square sub-primitive regions including a first sub-primitive region, a second sub-primitive region, a third sub-primitive region, and a fourth sub-primitive region as primitive region 21.
Taking the first sub-primitive region 22 as an example, the range of the first sub-primitive region is a quarter primitive region, but the inner character point position of the first sub-primitive region is determined based on the contour line of the primitive region, and the display position of each character point sub-primitive is determined according to the character point distribution rule and displayed on the first sub-primitive region.
In one embodiment, in response to a first instruction, a data structure of a primitive region is replicated to each sub-primitive region.
In one embodiment, in response to a first instruction, a data structure of a primitive is partitioned by a graph profile to generate a sub-primitive, the data structure of the sub-primitive containing data representing a graph displayed within the graph profile by the primitive.
In one embodiment, in response to the first instruction, the data structure of the surface feature element is copied to each surface feature element unit.
The data structure of the primitive region is copied to each sub-primitive region, and the method is suitable for the condition of simple data structure, for example, the data of a greenfield is only greenfield attribute, and no other data exists, and when the primitive region is divided, the data structure of the primitive region is completely copied to each sub-primitive region.
In one embodiment, in response to a first instruction, a data structure of the primitive region is partitioned into each sub-primitive region according to a drawing profile displayed on a drawing sheet by the drawing profile information.
In one embodiment, in response to a first instruction, the data structure of the surface feature element is partitioned according to a drawing profile, and the data structure of the surface feature element unit includes data representing that the surface feature element displays a graphic within the drawing profile.
The data structure of the primitive region is divided into parts to each sub-primitive region according to the position of the primitive region, and the method is suitable for the condition that the data structure is complex, for example, the data of a greenbelt can contain information such as plant types, topography height and the like, and the data of different places of the same greenbelt are different, so that the data structure needs to be divided into different parts by taking the drawing region of the divided primitive region as a boundary, and each part contains different sub-primitive data.
It should be noted that if the distribution rule of the delta points is a relationship between the display position of any delta point and the contour line of the primitive, the display position of any delta point may be calculated according to the contour line and the distribution rule. When framing, each sub-primitive contains the complete contour line data of the original primitive, so as to calculate the delta point with the same display position in the original primitive area.
Fig. 5 is a flowchart of a merging process according to an embodiment of the present application. The merging of the divided graphs further comprises the steps 410-430:
Step 410, merging the data structures of the sub-primitives into a primitive data structure.
And deleting the profile information from the map data in response to the second instruction.
The second instruction, for example, refers to an instruction for merging the component frames, and in response to merging the frames, the profile information is deleted from the data structure of the frames.
Deleting redundant data structures or merging different data structures.
The redundant data structure may be, for example, a data structure of a primitive region is duplicated to each primitive region when dividing the graphic, and for example, a data structure of a primitive is duplicated to a plurality of primitive units when dividing the graphic, and the duplicated data structure is a redundant data structure when merging, so as to obtain a data structure of one primitive.
When dividing the graphics frame, for example, the data structure of the graphics primitive region is divided into different sub-graphics primitive regions according to the range of the graphics profile, the data of the different sub-graphics primitive regions are different, and the different data structures are combined into a new graphics primitive data structure. For another example, when the map is subdivided, the data structure of the feature element is divided into a plurality of feature element units according to the range of the map outline, the data structures in the different feature element units are different, and at this time, the different data structures are combined into the data structure of the new feature element.
In one embodiment, the delta point location data in the plurality of sub-primitive data structures is retained in the merged primitive data structure, where the merged primitive may be an original primitive divided by a primitive line or may be a part of the original primitive. Alternatively, the combined second feature element may be the first feature element divided by the figure line, or may be a part of the first feature element. In another embodiment, the delta point location data is deleted, the original primitive contour information in the sub-primitive data structure is retained, or the contour information of the first ground feature element display range in each ground feature element unit data structure is retained.
Step 420, eliminating the graph profile between the sub-primitive regions.
By eliminating the drawing profile of the sub-primitive region, drawing merging on the display level is completed.
In one embodiment, adjacent surface feature element units merge, eliminating the profile between the graphical regions of the surface feature element units.
In one embodiment, the data structure of the merge partition primitive is a primitive data structure; eliminating the profile between the sub-primitive regions.
And 430, merging and displaying the plurality of sub-primitives and the delta points therein, wherein the display positions of the delta points are inherited to the merged primitive area.
In response to eliminating the graph profile between the sub-primitive regions, a plurality of primitives are merged and displayed and the delta points are displayed within the plurality of sub-primitive regions.
Or eliminating the figure outline in the figures of the ground feature element units, combining and displaying the figures of the ground feature element units, and displaying the delta points in the figure display range of the ground feature element units.
For example, according to a preset distribution rule, determining the position of the character point in the merged primitive according to the original primitive contour information reserved in the primitive dividing data structure. Or reserving original primitive contour information in the sub-primitive data structure in the merged primitive data structure, and determining the position of the character point in the merged primitive according to the original primitive contour information. In one embodiment, according to a preset distribution rule, the outline information of the graphic display range of the first feature element is reserved in the feature element unit data structure. Or the outline information of the graphic display range of the first ground feature elements in the data structure of the combined second ground feature elements is reserved in the data structure of the plurality of ground feature element unit data structures, and the positions of the character points in the graph of the combined second ground feature elements are determined according to the outline of the graphic display range of the first ground feature elements.
For another example, the merged primitive data structure includes the delta point location data in each sub-primitive data structure, and in one embodiment, the merged primitive data structure includes the delta point location data in each primitive unit data structure. And determining the display position of the delta point according to the delta point position data.
Fig. 6 is a diagram of a delta point processing device for geographic information data according to an embodiment of the present application. The application embodiment also provides a device for processing the delta point of the geographic information data, which comprises the following steps:
the obtaining module 61 is configured to obtain a data structure of the drawing, where the data structure includes a distribution rule of the delta points in the primitive area.
In one embodiment, the obtaining module is configured to obtain a data structure of the ground feature element, where the data structure includes a distribution rule of the delta points in the graphic area of the ground feature element.
A determining module 62, configured to determine a display position of a delta point in the primitive area according to the distribution rule; and further for adding profile information in the data structure of the drawing sheet in response to the first instruction.
In one embodiment, the determining module is configured to determine, according to the distribution rule, a display position of a delta point on the feature element graphic area;
In one embodiment, the determining module is configured to divide a data structure of the primitive area into each sub-primitive area according to a drawing profile displayed on the drawing sheet according to the drawing profile information in response to the first instruction.
In one embodiment, the determining module is further configured to segment a data structure of the feature element according to a graph profile in response to the first instruction, where the data structure of the feature element unit includes data for representing that the feature element displays a graph within the graph profile, and further configured to add graph profile information in the data structure of the feature element in response to the first instruction.
In one embodiment, the determining module is further configured to delete the outline information in the data structure of the surface feature element unit in response to the second instruction. And deleting redundant data structures or combining different data structures in the data structures of the sub-graphic primitive or the ground object element units.
A display module 63 for displaying the drawing profile; and is also used for displaying the delta points in the primitive or the sub-primitive area.
For example, according to the drawing information, a drawing line is displayed on the drawing sheet; and the display position of the delta point is inherited to each sub-primitive area in response to the primitive area cut by the drawing profile.
In one embodiment, the display module includes a first display unit, configured to display a graphic element, display a delta point in a graphic element area, or display a graphic of a feature element, where the delta point is displayed within a display range of the graphic of the feature element.
In one embodiment, the display module is configured to display a drawing profile on a graph of the feature element according to the drawing profile information;
In one embodiment. The display module further comprises a second display unit, wherein the second display unit is used for responding to the figure outline to cut the figure region of the ground feature element, and inheriting the display position of the delta point to each figure region of the ground feature element. Or the second display unit is used for responding to the drawing outline to cut the primitive area and inheriting the display position of the delta point to each sub-primitive area.
Also comprises: a generating module 64, configured to generate data representing a display position of a triangle point in a sub-primitive data structure, and/or generate data representing a contour line of the primitive region in the sub-primitive data structure.
In one embodiment, the determining module further includes a copying unit configured to copy the data structure of the primitive to the data structure of each sub-primitive.
In one embodiment, the determining module further includes dividing a data structure of the primitive according to the drawing profile to generate a sub-primitive, where the data structure of the sub-primitive includes data for representing that the primitive displays a graphic within the drawing profile.
In one embodiment, the determining module further includes a merging unit, configured to merge the data structures of the sub-primitives into a primitive data structure;
In one embodiment, the display module further includes a third display unit, further configured to eliminate a graph contour between the sub-primitive regions, and combine and display a plurality of sub-primitives, where the plurality of sub-primitives are displayed with a delta point. Or eliminating the figure outline in the figures of the ground feature element units, combining and displaying the figures of the ground feature element units, and displaying the delta points in the figure display range of the ground feature element units.
Specific methods for implementing the functions of the acquiring module, the determining module, the display module and the comparing module are described in the embodiments of the methods of the first aspect of the present application, and are not described herein.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Fig. 7 is a schematic diagram of a business server system of an application scenario of the present application. The embodiment of the application also provides a processing system of the geographic information data, which is used for realizing the method of any one embodiment of the application, and comprises the following steps: an original geographic information database 71, a data processor 72, a GUI operator interface 73, an application terminal 74, at least one outcome map data set 75.
The original geographic information database is used for storing geographic information entity data.
The GUI operation interface and/or the application terminal is used for inputting setting conditions and triggering the acquisition module, the determination module, the display module or the generation module. And is also used for accessing the result data set according to the set application range (the space range and the attribute range) to acquire data. The data processor responds to the instruction of the GUI to acquire the data structure of the drawing; determining the display position of the delta point in the primitive area according to the distribution rule; and generating sub-primitives, wherein the display positions of the delta points are inherited to each sub-primitive area.
And the result graph data set is used for storing the related data of the geographical information of the divided graph.
It is to be understood that the above list of specific relevance is for illustrative purposes only and should not be taken as limiting the application in any way.
The specific method for implementing the above module function is described in the embodiments of the method of the present application, and is not described herein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
The application therefore also proposes a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a method according to any of the embodiments of the application.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Further, the present application also proposes an electronic device (or computing device) comprising a memory, a processor and a computer program stored on the memory and executable by the processor, said processor implementing a method according to any of the embodiments of the present application when said computer program is executed.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing a character-shaped point of geographic information data is characterized by comprising the following steps:
Acquiring a data structure of a drawing;
Determining the display position of the delta point in the primitive area according to a preset distribution rule;
And responding to the drawing contour line to cut the drawing element area, generating a sub-drawing element, and inheriting the display position of the delta point to the sub-drawing element area.
2. The method for processing the delta points of the geographic information data according to claim 1, wherein the display positions of the delta points are inherited to the metaprimitive areas, and the method comprises the following steps:
Generating data representing the display position of the delta point in the data structure of the sub-primitive;
determining the display position of each delta point in the sub-primitive area according to the data representing the display position of the delta point;
The delta points are displayed in the metaprimitive area.
3. The method for processing the delta points of the geographic information data according to claim 1, wherein the display position of the graphic primitive is inherited to the sub-graphic primitive region, comprising the steps of:
generating data representing contour lines of the primitive region in a data structure of the sub-primitive;
Responding to the contour line, and determining the position of the delta point in the sub-primitive area according to the distribution rule;
The delta points are displayed in the metaprimitive area.
4. The method of claim 1, wherein the data structure of the primitive is copied to the data structure of each sub-primitive in response to a first instruction.
5. The method of claim 1, wherein the data structure of the primitive is partitioned according to a drawing profile in response to the first instruction to generate a sub-primitive, the data structure of the sub-primitive containing data representing that the primitive displays a graphic within the drawing profile.
6. The method for processing the delta points of the geographic information data according to claim 1, further comprising the steps of:
Merging the data structures of the sub-primitives into a primitive data structure;
Eliminating the profile between the sub-primitive regions.
7. A delta point processing device for geographic information data, characterized in that the delta point processing method for implementing the geographic information data according to any one of claims 1-6 comprises:
the acquisition module is used for acquiring the data structure of the drawing sheet;
the determining module is used for determining the display position of the delta point in the primitive area according to the distribution rule;
and the display module is used for displaying the drawing profile and also used for displaying the character-like points in the graphic element or the sub-graphic element area.
8. The apparatus for processing the delta points of the geographic information data as set forth in claim 7, further comprising:
And the generation module is used for generating data representing the display position of the delta point in the sub-primitive data structure and/or generating data representing the contour line of the primitive region in the sub-primitive data structure.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-6 when executing the computer program.
CN202410642577.6A 2024-05-23 2024-05-23 Method and device for processing character-level points of geographic information data Active CN118229716B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410642577.6A CN118229716B (en) 2024-05-23 2024-05-23 Method and device for processing character-level points of geographic information data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410642577.6A CN118229716B (en) 2024-05-23 2024-05-23 Method and device for processing character-level points of geographic information data

Publications (2)

Publication Number Publication Date
CN118229716A true CN118229716A (en) 2024-06-21
CN118229716B CN118229716B (en) 2024-10-11

Family

ID=91508810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410642577.6A Active CN118229716B (en) 2024-05-23 2024-05-23 Method and device for processing character-level points of geographic information data

Country Status (1)

Country Link
CN (1) CN118229716B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1075806A (en) * 1992-01-27 1993-09-01 富士通株式会社 Character generating method and device thereof
CN106960029A (en) * 2017-03-21 2017-07-18 刘博宇 A kind of method for extracting across map sheet geographic range framing raster data
CN109978944A (en) * 2017-12-27 2019-07-05 财团法人工业技术研究院 Coordinate system formulating method, device and data structure product
WO2021167422A1 (en) * 2020-02-20 2021-08-26 주식회사 에스360브이알 Digital map-based online platform
CN117576578A (en) * 2023-11-08 2024-02-20 北京航天自动控制研究所 Method and device for labeling samples, electronic equipment and storage medium
CN118012967A (en) * 2023-12-29 2024-05-10 北京山维科技股份有限公司 Bridge geographic information data processing method and device
CN118051571A (en) * 2023-12-29 2024-05-17 北京山维科技股份有限公司 Method and device for processing geographic information data of enclosing wall type

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1075806A (en) * 1992-01-27 1993-09-01 富士通株式会社 Character generating method and device thereof
CN106960029A (en) * 2017-03-21 2017-07-18 刘博宇 A kind of method for extracting across map sheet geographic range framing raster data
CN109978944A (en) * 2017-12-27 2019-07-05 财团法人工业技术研究院 Coordinate system formulating method, device and data structure product
WO2021167422A1 (en) * 2020-02-20 2021-08-26 주식회사 에스360브이알 Digital map-based online platform
CN117576578A (en) * 2023-11-08 2024-02-20 北京航天自动控制研究所 Method and device for labeling samples, electronic equipment and storage medium
CN118012967A (en) * 2023-12-29 2024-05-10 北京山维科技股份有限公司 Bridge geographic information data processing method and device
CN118051571A (en) * 2023-12-29 2024-05-17 北京山维科技股份有限公司 Method and device for processing geographic information data of enclosing wall type

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
倪冬兰;左文平;: "基于地形图的三维地形图的研究", 城市勘测, no. 04, 31 August 2011 (2011-08-31) *

Also Published As

Publication number Publication date
CN118229716B (en) 2024-10-11

Similar Documents

Publication Publication Date Title
CN110956673B (en) Map drawing method and device
CN105574102B (en) A kind of method and device of electronic map data load
CN110264553B (en) Method and device for processing surface vegetation
US20190333256A1 (en) Methods and Systems For Simplified Graphical Depictions of Bipartite Graphs
CN106599025B (en) Vector data slicing method and system based on data exchange format
US20130257903A1 (en) Overlaying transparency images including pixels corresponding to different heirarchical levels over a geographic map
CN108460003B (en) Text data processing method and device
CN114611036A (en) Gis data processing and rendering method
CN118229716B (en) Method and device for processing character-level points of geographic information data
CN113902832A (en) Flood three-dimensional dynamic evolution and rendering method and device and electronic equipment
CN114022594B (en) Slope-type geographic information element graph processing method and device
CN116310170A (en) Method, equipment and medium suitable for three-dimensional visualization vector data of illusion engine
CN118229715B (en) Geographic information data schema processing method and device
CN109426458B (en) Method and device for printing relation graph
US11907283B2 (en) Multi-resolution raster data access method, apparatus, electronic device, and computer storage medium
CN112966041B (en) Data processing method, device, equipment and storage medium
CN118229715A (en) Geographic information data schema processing method and device
CN118689951A (en) Geographic information data processing method and device
CN115145565A (en) Rule engine-based data visualization large-screen layout method and device
CN116737852A (en) Vector tile data-based vector drawing method and device and electronic equipment
CN114490753A (en) Method, device, electronic equipment and medium for displaying map information
CN113918543A (en) Chart display method and device
Kramarov et al. Formation Method of Delaunay Lattice for Describing and Identifying Objects in Fuzzy Images
CN117421089B (en) Step geographic information element processing method and device
CN117573795B (en) Ground object display distinguishing method and device

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