CN113129406B - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN113129406B
CN113129406B CN201911404945.9A CN201911404945A CN113129406B CN 113129406 B CN113129406 B CN 113129406B CN 201911404945 A CN201911404945 A CN 201911404945A CN 113129406 B CN113129406 B CN 113129406B
Authority
CN
China
Prior art keywords
data
polygon
block
obtaining
granularity
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
CN201911404945.9A
Other languages
Chinese (zh)
Other versions
CN113129406A (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.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Cainiao Smart Logistics Holding 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 Cainiao Smart Logistics Holding Ltd filed Critical Cainiao Smart Logistics Holding Ltd
Priority to CN201911404945.9A priority Critical patent/CN113129406B/en
Publication of CN113129406A publication Critical patent/CN113129406A/en
Application granted granted Critical
Publication of CN113129406B publication Critical patent/CN113129406B/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
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • 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

Abstract

The application discloses a data processing method, comprising the following steps: obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range; obtaining movement track data of the touch mark; obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity; and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity. By adopting the method, the problem of low polygon drawing precision is solved.

Description

Data processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method, an apparatus, and an electronic device. The application also relates to a mapping method.
Background
Showing a specific range of geographic areas on a map is a common polygon rendering scenario. A polygon is formed by connecting a set of points of different numbers in a specified order, and in the technology of computer drawing of the polygon, the polygon is generally constructed by drawing points or drawing auxiliary lines.
The polygon rendering method of the rendering point has the following problems: the number of points to be processed is enormous, and if the number of points is reduced, the drawing accuracy is low. In addition, when a plurality of polygons having an association relationship are drawn, the polygons having an association relationship may overlap on the boundary, have unequal accuracy, are not attached, and cannot cover the entire surface space.
The polygon drawing method for drawing the auxiliary line has the following problems: if there are more line branches, the processing efficiency of branch selection is low. In addition, the auxiliary line may have a width, and when drawn along the line, adjacent boundaries may overlap, have unequal precision, are not attached, and cannot be fully covered.
Therefore, how to improve the drawing accuracy of polygons is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a data processing method, which solves the problem of low polygon drawing precision.
The embodiment of the application provides a data processing method, which comprises the following steps: obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range; obtaining movement track data of the touch mark; obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity; and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
Optionally, the obtaining the movement track data of the touch mark includes: acquiring first position information of the touch mark; obtaining second position information after the position of the touch mark is changed; and obtaining the movement track data according to the first position information and the second position information.
Optionally, the obtaining target composite polygon data including one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity includes: obtaining first polygon data corresponding to the first position information; if the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data; and carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
Optionally, the obtaining the second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity includes: at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process is carried out on the movement track data to obtain second polygon data; the movement track data is track coverage or range coverage data covering one or more polygon blocks of a specific granularity.
Optionally, the method further comprises: converting the movement track data into an object in a geospatial information data exchange format; and carrying out at least one deformation process on the object to obtain the second polygonal data.
Optionally, the method further comprises: determining a thinning coefficient for thinning according to the map scaling level; and performing thinning processing on the object by using the thinning coefficient to obtain the second polygon data.
Optionally, the expanding processing for the object to obtain the second polygon data includes: and carrying out buffer area analysis on the object according to a preset buffer unit value to obtain the second polygonal data.
Optionally, the obtaining geospatial information data for indicating touch flag binding of a current operation position includes: obtaining the visual field range of the map bound by the touch mark; obtaining geospatial information data corresponding to the field of view; determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity; and generating the second polygonal data according to the selected polygonal block with the specific granularity.
Optionally, the generating the second polygon data according to the selected polygon block with specific granularity includes: according to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary; and according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
Optionally, the determining, according to the relationship between the movement track data and each specific granularity polygon block data, the specific granularity polygon block selected by the movement track includes: converting the movement track data into an object in a geospatial information data exchange format; at least one deformation treatment of thinning treatment and expansion treatment is carried out on the object; and carrying out polygon intersection operation on the deformed object and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track.
Optionally, the method further comprises: determining an thinning coefficient for thinning treatment and an expansion coefficient for expansion treatment according to the map scaling level; and performing expansion processing on the object according to the expansion coefficient.
Optionally, the generating the second polygon data according to the selected polygon block with specific granularity includes: and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data.
Optionally, the performing the polygon relation operation on the first polygon data and the second polygon data includes: and performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data.
Optionally, the displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity includes: generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold; and displaying the background picture on a map interface corresponding to the geospatial information data.
Optionally, the displaying the background picture on the map interface corresponding to the geospatial information data includes: obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity; and drawing the background picture on the map interface through the block painting brush or the block eraser.
Optionally, the method further comprises: any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained; and obtaining the movement track data of the touch mark according to the action triggering information.
The embodiment of the application also provides a map drawing method, which comprises the following steps:
obtaining target composite polygon data comprising polygon block data of a specific granularity;
providing the target composite polygon data to a server side for providing a tile layer;
obtaining a tile layer with a polygonal morphology for the target composite polygonal data, displaying the tile layer on a map interface; the tile layer is a background picture meeting a transparency threshold.
The embodiment of the application also provides a map drawing method, which comprises the following steps: obtaining target composite polygon data comprising polygon block data of a specific granularity; generating a tile layer with a polygonal shape according to the target composite polygonal data; the tile layer is a background picture meeting a transparency threshold; the tile layer is provided to a client for showing a map.
The embodiment of the application also provides a data processing method, which comprises the following steps: obtaining movement track data of a touch control mark for indicating a current operation position; obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data; wherein the polygon block data with specific granularity is used for determining a selected area range; and displaying the area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
The embodiment of the application also provides a data processing device, which comprises:
a map data obtaining unit for obtaining geospatial information data for indicating touch flag binding of a current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
the touch track obtaining unit is used for obtaining the moving track data of the touch mark;
a selected area data obtaining unit, configured to obtain target composite polygon data including one or more polygon block data with specific granularity according to the movement track data and the polygon block data with specific granularity;
and the selected area display unit is used for displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
The embodiment of the application also provides electronic equipment, which comprises:
a memory, and a processor; the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions:
obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
Obtaining movement track data of the touch mark;
obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity;
and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
Compared with the prior art, the application has the following advantages:
according to the data processing method, the data processing device and the electronic equipment, target composite polygon data containing one or more polygon block data with specific granularity are obtained according to the movement track data of the touch mark; and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity. According to the polygon block with specific granularity, instead of the geographical area range of the polygon form according to points or lines, the problems of overlapping, non-fitting and non-equal precision among polygons with association relation can be reduced, the drawing workload is reduced, the drawing precision and speed of the polygons are improved, and the problem of low drawing precision of the polygons is solved.
According to the map drawing method, the background picture of the target composite polygonal data containing the polygonal block data with the specific granularity is obtained, and the background picture is displayed on a map. And the polygon form corresponding to the target composite polygon data is displayed in a picture mode, points and lines do not need to be drawn, and the problem of low precision caused by point description and line drawing is avoided. In addition, under the scene that a large number of polygons need to be rendered, the consumption of the rendering performance of the front end of the extra polygons is avoided, the expression of the polygon forms can be met at low cost, the exposure opportunity of detailed data can be reduced, and the data security is improved.
According to the map drawing method, a tile map layer with a polygonal morphology which can be displayed is generated according to target composite polygonal data containing polygonal block data with specific granularity; the tile layer is a background picture meeting a transparency threshold; the tile layer is provided to a client. And the polygon form corresponding to the target composite polygon data is displayed in a picture mode, points and lines do not need to be drawn, and the problem of low precision caused by point description and line drawing is avoided. In addition, under the scene that a large number of polygons need to be rendered, the consumption of the rendering performance of the front end of the extra polygons is avoided, the expression of the polygon forms can be met at low cost, the exposure opportunity of detailed data can be reduced, and the data security is improved.
According to the data processing method, target composite polygon data containing one or more polygon block data with specific granularity is obtained according to the movement track data of the touch mark; wherein the polygon block data with specific granularity is used for determining a selected area range; and displaying the area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity. According to the polygon block with specific granularity, instead of the area range of the polygon form according to points or lines, the problems of overlapping, non-fitting and non-equal precision among polygons with association relation can be reduced, the drawing workload is reduced, the drawing precision and speed of the polygons are improved, and the problem of low drawing precision of the polygons is solved.
Drawings
Fig. 1 is a schematic view of an application scenario of the method provided in the present application;
FIG. 2 is a process flow diagram of a data processing method according to a first embodiment of the present application;
FIG. 3 is a flow chart of drawing a selected target area on a map according to a first embodiment of the present application;
FIG. 4 is a process flow diagram of a mapping method provided in a second embodiment of the present application;
FIG. 5 is a process flow diagram of a mapping method provided in a third embodiment of the present application;
FIG. 6 is a process flow diagram of a data processing method according to a fourth embodiment of the present application;
FIG. 7 is a schematic diagram of a data processing apparatus according to a fifth embodiment of the present application;
fig. 8 is a schematic diagram of an electronic device provided in the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar generalizations can be made by those skilled in the art without departing from the spirit of the application and the application is therefore not limited to the specific embodiments disclosed below.
The application provides a data processing method, a data processing device and electronic equipment. The application also provides a mapping method. The following examples are described in detail one by one.
For ease of understanding, related concepts and an application scenario are first presented. The polygon shape is a planar figure formed by connecting three or more line segments end to end in sequence. The composite polygon shape is a composite graphic composed of one or a plurality of polygons, and the data of the composite polygon shape is polyhedral type data. Polygon data corresponding to the polygon shape can be used to represent geospatial information data, for example, using the polygon data to represent a face entity of an electronic map or digital question map. By electronic map or digital map is meant a map that is stored and referred to digitally using computer technology. In practical applications, an electronic map or a digital map (hereinafter referred to as a map) includes area ranges divided according to a specific rule, and each area range is often presented in a polygonal form. The map is presented as a composite polygon containing a plurality of polygons, the geographic space information data corresponding to the map is a set of polygon data with association relation, and the geographic space information data is a multi-face type data. Each regional scope is distinguished, for example, by road network, river, or administrative regional boundaries. The range of the target geographic area is selected on the map and is quickly displayed on a map interface, including processing polygon data and drawing the polygon form of the polygon data on the map interface.
In practical application, the map application obtains the focus of the touch mark, and then the target geographic area range can be selected through the touch mark. The touch-sensitive markers are markers for indicating the current operating position, including but not limited to, markers on computers, mobile device display screens, VR head displays. For example, a touch point or a cursor or visual focus. Referring to fig. 1, a touch marker movement track 101 is shown to obtain a schematic representation of a cursor movement track generated for cursor sliding trigger. The composite polygon area 102 is a schematic representation of the polygon shape of the composite polygon data on the cursor movement track association, and the polygon shape represents the selected target geographic area range.
The data processing method provided in the first embodiment of the present application is described below with reference to fig. 2 and 3. The data processing method shown in fig. 2 includes: step S201 to step S204.
Step S201, obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the particular granularity polygon tile data is used to determine a selected geographic area range.
In this embodiment, geospatial information data of a map corresponding to the focal point of the touch marker is obtained. Specifically, the map application activates the touch mark by capturing a mouse or a touch event, obtains the focus of the touch mark, and loads the geographic space information data associated with the map application. The touch mark focus can be a device focus of a mouse, a touch pad, a touch screen and the like, and also can be a visual focus of head display equipment. In one embodiment, the method can obtain the geospatial information data in a specific field of view, and specifically comprises the following steps: obtaining the visual field range of the map bound by the touch mark; and obtaining the geospatial information data corresponding to the field of view. The view range is a map range of one-screen content display of a display screen of the map application program. The specific granularity polygon block is a granularity block divided by traffic. For example, fine-grained polygons that are partitioned by minimum granularity of traffic without further subdivision of the traffic range. The particular granularity polygon block data may be represented using a polygon data structure in a geospatial information data structure. The geospatial information data may be data expressing geospatial objects in WKT (Well-Known Text) format. WKT is a text markup language that is used to represent the conversion between vector geometric objects, spatial reference systems, and spatial reference systems.
In this embodiment, the geospatial information data may be data of a multidimensional map. The selected geographic area range may be an area range of a multi-dimensional map. Specifically, the geospatial information data is data of a 2-dimensional or 3-dimensional map. For example, the so-called 3-dimensional map may be a 3-dimensional space within a mall, and the selected geographic area range is a particular partitioned 3-dimensional mall space. For another example, the 3-dimensional map is an airspace (a movement region of the unmanned aerial vehicle), and the selected geographical region range is a 3-dimensional airspace region that is specifically divided.
Step S202, obtaining movement track data of the touch mark.
In this embodiment, the movement track data is track information of movement of the touch mark on a map interface, and the map is a map corresponding to a focus of the touch mark. The method specifically comprises the following steps: any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained; and obtaining the movement track data of the touch mark according to the action triggering information. For example, sliding of a mouse or visual focus, clicking of movement trace data generated. In this embodiment, the movement track data of the touch mark is obtained through the following processes:
Acquiring first position information of the touch mark;
obtaining second position information after the position of the touch mark is changed;
and obtaining the movement track data according to the first position information and the second position information.
In practical application, longitude and latitude coordinate data of the position of the touch control mark can be obtained through a map front end SDK (Software Development Kit ), and a group of longitude and latitude coordinate data can be obtained for movement of the touch control mark. And constructing the moving track data by the longitude and latitude coordinate data, and obtaining the second polygon data according to the moving track data in the subsequent step.
In this embodiment, the click action triggering information of the touch flag is obtained through the following processing: and obtaining click trigger information of the touch mark in a plurality of non-adjacent discrete areas on the map interface. The method specifically comprises the following steps: acquiring click trigger information of the touch mark in a first area on the map interface, and recording polygon data of a first selected area corresponding to the click trigger information; acquiring the function key information and click trigger information of a second area of the touch mark on the map interface, and polygon data of a second selected area corresponding to the click trigger information; and taking a data set formed by the first selected area polygonal data and the second selected area polygonal data as the movement track data.
Step S203, obtaining target composite polygon data including one or more polygon block data with specific granularity according to the movement track data and the polygon block data with specific granularity.
In this embodiment, according to the movement track of the touch mark, the composite polygon area may be selected on the map with the focus of the touch mark as the target composite polygon area, so as to obtain the target composite polygon data. If the original polygonal area is not selected initially by the movement of the touch mark, the initial clicking position of the touch mark is taken as a first position, the position of the touch mark changes along with the movement of the touch mark, and the changed position is a second position. A composite polygon may be obtained from movement trajectory data determined from the first position and the second position. Specifically, according to the position relation between the movement track data and each polygon block data with specific granularity of the map interface, determining the polygon block with specific granularity selected by the movement track; and generating the composite polygon according to the selected polygon block with the specific granularity, and displaying the composite polygon on a map as a target composite polygon. And if the points in the movement track data are judged to be inside or on the boundary of the polygon with the specific granularity, the polygon with the specific granularity is a selected polygon block with the specific granularity. And taking the composite polygon obtained by carrying out polygon fusion operation (union operation) on each selected polygon with specific granularity as a target composite polygon.
If the touch mark moves and initially has the selected original polygonal area, editing and updating can be carried out on the selected original polygonal area according to the movement track of the touch mark, specifically, polygon relation operation is carried out on the selected original polygonal area data and the polygonal area data selected according to the movement track, and editing result data for the selected polygonal area is obtained. The selected original polygon area is a first polygon, and the selected polygon area according to the moving track is a second polygon. The polygon relation operation is to perform intersection, union or difference operation among the data of a plurality of polygons, so as to obtain the fused or cut polygons; wherein the so-called difference operation is a difference set operation that calculates a difference set for polygon data. For example, the data of two polygons are obtained by combining the data of the two polygons to obtain the data corresponding to the fused polygon form; solving intersection of the data of the two polygons to obtain polygon data of overlapping parts of the two polygons; and solving a difference set aiming at the data of the two polygons to obtain the cut polygon data.
The method in this embodiment includes the following processing to generate the target composite polygon data, including:
Obtaining first polygon data corresponding to the first position information;
if the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data;
and carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
Specifically, the second polygon data is obtained by: and performing at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process on the movement track data to obtain second polygon data, wherein the movement track data is track coverage or range coverage data for covering one or more polygon blocks with specific granularity.
In one embodiment of the present embodiment, further includes: converting the movement track data into an object in a geospatial information data exchange format; and carrying out at least one deformation process on the object to obtain the second polygonal data. Determining a thinning coefficient for thinning according to the map scaling level; and performing thinning processing on the object by using the thinning coefficient to obtain the second polygon data. Further still include: and carrying out buffer area analysis on the object according to a preset buffer unit value to obtain the second polygonal data. Buffer analysis refers to the establishment of a buffer polygon layer in a specific area range according to point, line and surface entities contained in geospatial information data, and superposition analysis of the polygon layer and a target layer to obtain a required result. In this embodiment, the buffer analysis is a buffer based on the boundary of the polygon of the plane entity, and the buffer is extended outwards or inwards by a specific distance to generate a new polygon, for example, the buffer is extended based on the boundary of the first polygon, so as to obtain a second polygon, thereby obtaining the second polygon data.
The specific implementation examples are as follows: declaring an array points; declaring event A as a start recording track; the declaration event B is to acquire the coordinate data of the current cursor position and store the coordinate data into points; declaring event C to be the end record trace. Triggering an event A when a mouse button is pressed; continuously triggering an event B when a cursor moves on a map; triggering an event C when the mouse button is lifted; executing event A, B, C can obtain a set of cursor track points, which are the moving track data of the cursor; event A, B, C may be performed multiple times. The polygon is formed by performing deformation processing such as connection, fusion, thinning, smoothing, expansion and the like on the movement track data of the cursor: the points are converted into GeoJSON format and further processed into JTS object. GeoJSON is a format for encoding geospatial data structures. The JTS object is an object for performing spatial data operation. Implementing thinning by a simple method aiming at the JTS object, wherein the coefficient of thinning is an optimal value calculated according to a map scaling level zoom; performing buffer area analysis by using a buffer (buffer area) method to realize expansion, wherein the expansion coefficient can be a preset buffer unit value; and taking the JTS object as the second polygonal data.
In this embodiment, the second polygon data is obtained for the movement information of the touch flag in the current field of view, which specifically includes the following processing: obtaining the visual field range of the map bound by the touch mark; obtaining geospatial information data corresponding to the field of view; determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity; and generating the second polygonal data according to the selected polygonal block with the specific granularity. In one embodiment, the generating the second polygon data according to the selected polygon block with specific granularity includes: and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data. In one embodiment, the generating the second polygon data according to the selected polygon block with specific granularity includes:
according to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary;
And according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
In this embodiment, the determining, according to the relationship between the movement track data and each of the polygon blocks of specific granularity, the polygon block of specific granularity selected by the movement track includes: converting the movement track data into an object in a geospatial information data exchange format; at least one deformation treatment of thinning treatment and expansion treatment is carried out on the object; and carrying out polygon intersection operation on the deformed object and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track. In one embodiment, a thinning coefficient for performing thinning processing and an expansion coefficient for expanding processing are determined according to a map zoom level; and performing expansion processing on the object according to the expansion coefficient.
The specific implementation examples are as follows: and loading geospatial information data containing a plurality of fine-grained polygons in a visual field range, wherein the fine-grained polygons are polygons with specific granularity, selecting a group of fine-grained polygons by calculating the relation between the movement track of a touch mark and each fine-grained polygon, fusing the primary boundaries covered by the selected fine-grained polygons according to the adjacent and overlapping relation between the selected fine-grained polygons and the first polygons, selectively splicing the outer boundaries of the fine-grained polygons and the polygon boundaries of the rest first polygons according to a closing principle, and generating a second polygon which is a composite polygon. Converting points into GeoJSON; converting GeoJSON into JTS objects, implementing thinning by a simple method, implementing expansion by buffer analysis by a buffer method, and implementing expansion, wherein coefficients of thinning and expansion are optimal values calculated according to a map zoom level; and loading fine-granularity polygon detailed data in the current map visual field range, traversing the data, finding a fine-granularity polygon set intersected with the JTS through an intersection method, and fusing the fine-granularity polygon set through a union method to obtain second polygon data.
In this embodiment, the performing the polygon relation operation on the first polygon data and the second polygon data includes: and performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data. Specifically, the first polygon data and the second polygon data are fused, the obtained composite polygon is used as a target composite polygon, and all or part of the boundary of the target composite polygon exceeds the boundary of the first polygon. For example, polygons are fused by the unit (union) method. Or cutting out the original boundary covered by the second polygon, and forming a target composite polygon with the boundary of the rest first polygon, wherein all or part of the boundary of the target composite polygon does not exceed the boundary of the first polygon. For example, the first polygon and the second polygon are clipped by a difference method, and the obtained composite polygon is used as a target composite polygon.
In this embodiment, the composite polygon area may be selected according to a movement track of the touch mark, and may be used as the target composite polygon. Specifically, the second polygon data is used as the target composite polygon data, and the polygon form corresponding to the second polygon data is used as the selected target geographic area range.
Step S204, according to the polygon block data with specific granularity, displaying the geographic area range of the polygon form corresponding to the target compound polygon data.
In this embodiment, the following processing is included: generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold; and displaying the background picture on a map interface corresponding to the geospatial information data. For example, the background picture is a transparent background picture.
In this embodiment, the method further includes: obtaining a drawing tool for drawing a polygonal region for the specific granularity polygonal block data; the geographical area range is displayed by the drawing tool. The drawing tools include, but are not limited to, brushes, erasers, block brushes, block erasers. In one embodiment, the following process is included: obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity; and drawing the background picture on the map interface through the block painting brush or the block eraser.
In practical implementation, the target composite polygon data may be displayed in a polygon form in any one of the following two manners. Mode one: the specific granularity polygonal data is specifically fine granularity polygonal data, and the fine granularity polygonal data is detailed data in a WKT format. Obtaining polygon WKT data and converting the polygon WKT data into JTS objects; asserting a polygons array; when the type of the JTS object is Polygon (Polygon), polygons= [ JTS ]; when the type of JTS object is multi polygons (compound polygon), polygons= JTS _geometry; traversing polygons, and rendering each polygon in the display array through the map in turn. Mode two: the target composite polygon data is shown graphically as a polygon shape. And generating a background picture meeting the transparency threshold, such as a transparent background gif picture, which can show the polygon shape according to the target composite polygon data, and superposing the background picture on a map interface. For example, a client for presenting a map provides polygon data of a particular granularity to a server for providing a tile layer; the server generates a background picture meeting a transparency threshold, such as a transparent background gif or png picture, which can show the polygon shape according to the polygon data with specific granularity provided by the client; the tile layer of the client requests the tile number from the server; the server side provides the client side with an acquisition path of the background picture, wherein the acquisition path can be a URL provided for the client side; and loading a tile layer on the map by the client, acquiring the background picture according to the acquisition path of the background picture, and loading the background picture on a map interface, thereby displaying the polygon form. Of course, the second embodiment may also include another specific implementation manner: the client side provides the position information of the touch control mark for the server side for providing the tile layer, the server side obtains polygon data with specific granularity according to the position information, further generates a background picture meeting the transparency threshold and capable of showing the polygon form according to the polygon data with specific granularity, and provides the background picture for the client side. The second mode can quickly and accurately generate or modify the composite polygon according to the selected polygon set with specific granularity, wherein the polygon set with specific granularity can be a polygon set with fine granularity. The interaction between the client and the server in the mode ensures that the consumption of the rendering performance of the front end of the extra polygon is avoided under the scene of needing to render a large number of polygons, thereby not only meeting the expression of the polygon form with low cost, but also reducing the exposure opportunity of detailed data and protecting the data security.
In this embodiment, when the tile layer is displayed on the map interface, the tile layer is rendered according to the blocks, and the tile layer and the map interface are distinguished by the following processes: texture rendering is conducted on the tile map layer through specific lines; the specific line is a line which meets at least one of a line color condition and a line thickness condition and can be distinguished from a map interface.
Referring to fig. 3, a process for drawing a selected target area on a map is shown, including:
s301, judging whether the touch control mark is in the canvas range. The canvas scope refers to the scope of the canvas that renders the map interface.
S302, if the touch control mark is in the canvas range, updating the outline of the selected area according to the track data of the touch control mark, and setting the touch control mark state as ready; otherwise, the touch flag state is set to normal, the handwriting outline of the touch flag is cleared, and the process goes to S303.
S303, obtaining a map operation with a touch mark focus, comprising: drag map, zoom map.
S304, obtaining an updated geographical area range according to the map operation, wherein the geographical area range comprises one or more polygonal blocks with specific granularity. Comprising the following steps: updated field of view, updated selected geographical area range, updated canvas range.
S305, obtaining event triggering of the touch mark, and drawing a geographic area range of the polygon form by using a drawing tool according to the event. Comprising the following steps:
s305-1, a mouse-down event is obtained, and a map is locked.
S305-2, obtaining a mouse movement event and obtaining movement track data. Comprising the following steps: and adding the current cursor point into the moving track data of the touch control mark, and updating the outline of the moving track of the touch control mark according to the moving track data.
S305-3, a mouse lifting event is obtained, and a drawing tool is called, wherein the drawing tool comprises a block painting brush, a block eraser, a painting brush and an eraser. If the polygon is a brush or a rubber, synchronizing polygon data according to the movement track data through a union operation (unit) or a difference operation (difference) operation; if it is a block brush or a block eraser, the process proceeds to S306. Unlocking the map operation.
S306, extracting block data, including: and extracting polygon block data with specific granularity according to the moving track profile.
S307, after the map operation, if the map operation is judged to adopt the block painting brush or the block eraser, the block data is loaded, and the background picture is loaded. If it is determined that the block brush or block eraser is not employed, the data is cleared.
Thus, the data processing method provided in the first embodiment of the present application is described in detail. According to the method, target composite polygon data containing one or more polygon block data with specific granularity is obtained according to movement track data of a touch mark; and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity. According to the polygon block with specific granularity, instead of the geographical area range of the polygon form according to points or lines, the problems of overlapping, non-fitting and non-equal precision among polygons with association relation can be reduced, the drawing workload is reduced, the drawing precision and speed of the polygons are improved, and the problem of low drawing precision of the polygons is solved.
Based on the above embodiments, a second embodiment of the present application provides a map drawing method. The map drawing method provided in the second embodiment of the present application is described below with reference to fig. 4.
The mapping method shown in fig. 4 comprises the following steps: step S401 to step S403.
In step S401, target composite polygon data including polygon block data with specific granularity is obtained.
In this embodiment, the map drawing method may be used for a client for displaying a map, the target composite polygon data including polygon block data with specific granularity may be geographic area range data selected by a touch sign, and the polygon form of the geographic area range data is displayed on a map interface in a picture manner. The obtaining mode of the target composite polygon data can be any one of the following modes: in the first mode, the map application client side obtaining the focus of the touch mark obtains one or more pieces of position information of the touch mark, obtains moving track data of the touch mark according to the one or more pieces of position information, and obtains the target composite polygon data according to the moving track data. In a second mode, the client provides one or more pieces of position information of the touch control mark for a computing device for computing movement track data of the touch control mark, the computing device computes movement track data of the touch control mark according to the one or more pieces of position information, obtains target composite polygon data according to the movement track data, and provides the target composite polygon data for the client. In a third mode, the client provides the motion trail data of the touch control mark for the computing device for providing the target composite polygon data, and the computing device obtains the target composite polygon data according to the motion trail data and provides the target composite polygon data for the client. Specifically, the target composite polygon data is a geographical area range selected by a moving track of a touch mark on a map interface.
In this embodiment, the map may be a multidimensional map, and the selected geographic area range is an area range of the multidimensional map. Specifically, the map is a 2-dimensional map or a 3-dimensional map. For example, the so-called 3-dimensional map may be a 3-dimensional space within a mall, and the selected geographic area range is a particular partitioned 3-dimensional mall space. For another example, the 3-dimensional map is an airspace (a movement region of the unmanned aerial vehicle), and the selected geographical region range is a 3-dimensional airspace region that is specifically divided.
In this embodiment, the click action triggering information of the touch flag may be obtained through the following processes: and obtaining click trigger information of the touch mark in a plurality of non-adjacent discrete areas on the map interface. The method specifically comprises the following steps: acquiring click trigger information of the touch mark in a first area on the map interface, and recording polygon data of a first selected area corresponding to the click trigger information; acquiring the function key information and click trigger information of a second area of the touch mark on the map interface, and polygon data of a second selected area corresponding to the click trigger information; and taking a data set formed by the first selected area polygonal data and the second selected area polygonal data as the movement track data.
Step S402, providing the target composite polygon data to a server for providing a tile layer.
In this embodiment, the client provides the target composite polygon data of the polygon block data with the specific granularity to the server, and the server generates a background picture meeting the transparency threshold, for example, a transparent background gif or png picture, which can display a polygon shape according to the target composite polygon data.
Of course, a specific implementation manner may also be: the client provides the position information of the touch control mark for the server for providing the tile map layer, the server obtains polygon data with specific granularity according to the position information, further generates a background picture meeting the transparency threshold and capable of showing the polygon form according to the polygon data with specific granularity, and provides the background picture for the client.
Step S403, obtaining a tile layer with a polygonal morphology for the target composite polygonal data, and displaying the tile layer on a map interface; the tile layer is a background picture meeting a transparency threshold.
In this embodiment, the client sends a request for obtaining tile information to the server, where the tile information is information of a tile layer that needs to be displayed on a map interface. For example, the tile layer of the client requests the tile number from the server, where the tile number is used to indicate the tile layer corresponding to the target composite polygon data. The server side provides the client side with an acquisition path of the tile layer, wherein the acquisition path can be a URL provided for the client side; and loading a tile layer (tileLayer) on the map by the client, acquiring the background picture according to the acquisition path of the background picture, and loading the background picture on a map interface, thereby displaying the polygon form. The client acquires the tile layer corresponding to the movement track of the touch mark for loading, so that the consumption of the rendering performance of the front end of the extra polygon is avoided under the scene of needing rendering a large number of polygons, the expression of the polygon form can be met with low cost, and the exposure opportunity of detailed data can be reduced to protect the data security.
In this embodiment, when the tile layer is displayed on the map interface, the tile layer is rendered according to the blocks, and the tile layer and the map interface are distinguished by the following processes: texture rendering is conducted on the tile map layer through specific lines; the specific line is a line which meets at least one of a line color condition and a line thickness condition and can be distinguished from a map interface.
Thus far, the map drawing method provided in the second embodiment of the present application is described. The method shows a background picture on a map by obtaining the background picture for target composite polygon data including polygon block data of a particular granularity. And the polygon form corresponding to the target composite polygon data is displayed in a picture mode, points and lines do not need to be drawn, and the problem of low precision caused by point description and line drawing is avoided. In addition, under the scene that a large number of polygons need to be rendered, the consumption of the rendering performance of the front end of the extra polygons is avoided, the expression of the polygon forms can be met at low cost, the exposure opportunity of detailed data can be reduced, and the data security is improved.
Based on the above embodiments, a third embodiment of the present application provides another mapping method. The map drawing method provided in the third embodiment of the present application is described below with reference to fig. 5.
The mapping method shown in fig. 5 includes: step S501 to step S503.
In step S501, target composite polygon data including polygon block data with a specific granularity is obtained.
In this embodiment, the mapping method may be used to provide a server side of the tile layer. And the server side uses the polygonal form of the selected geographical area range as a client side for displaying the map in a picture mode, and the client side displays the polygonal form on a map interface. The obtaining mode of the target composite polygon data can be any one of the following modes: in the first mode, the client of the map application for obtaining the focus of the touch mark obtains one or more pieces of position information of the touch mark, the server obtains the one or more pieces of position information, and the target composite polygon data is obtained according to the one or more pieces of position information. And secondly, the server obtains movement track data of the touch mark, and obtains the target composite polygon data according to the movement track data. And in a third mode, the server side is obtained from a computing device for providing the target compound polygon data. For example, the client provides the target composite polygon data. Specifically, the target composite polygon data is a geographical area range selected by a touch mark.
Step S502, generating a displayable tile layer with a polygonal form according to the target composite polygonal data; the tile layer is a background picture meeting a transparency threshold.
In this embodiment, the server generates the displayable polygon shape of the target composite polygon data. Specifically, a background picture meeting the transparency threshold, for example, a transparent background gif picture or png picture, which can show the polygon shape, is generated according to the target composite polygon data, and the background picture is used for being superimposed on a map interface. Further comprises: generating path information of the background picture, wherein other computing devices can request to obtain the background picture through the path information. The path information is URL information.
Step S503 provides the tile layer to the client for displaying the map.
In this embodiment, the method further includes: and obtaining a request for obtaining tile information sent by the client, wherein the tile information is information of a tile layer required to be displayed on a map interface. For example, the tile layer of the client requests tile numbers from the server. And the server side provides the tile layer or provides the path information of the background picture according to the request. And if the path information corresponding to the request is obtained by the client, loading a tile layer on a map by the client, obtaining the background picture according to the obtaining path of the background picture, and loading the background picture on a map interface so as to display a polygon form. The composite polygon can be quickly and accurately generated or modified from a selected set of specific granularity polygons, which may be a fine-grained set of polygons. The interaction between the client and the server in the mode ensures that the consumption of the rendering performance of the front end of the extra polygon is avoided under the scene of needing to render a large number of polygons, thereby not only meeting the expression of the polygon form with low cost, but also reducing the exposure opportunity of detailed data and protecting the data security.
Thus far, the map drawing method provided in the third embodiment of the present application is described. The method generates a tile layer with a polygonal morphology which can be displayed according to target composite polygonal data comprising polygonal block data with specific granularity; the tile layer is a background picture meeting a transparency threshold; the tile layer is provided to a client. And the polygon form corresponding to the target composite polygon data is displayed in a picture mode, points and lines do not need to be drawn, and the problem of low precision caused by point description and line drawing is avoided. In addition, under the scene that a large number of polygons need to be rendered, the consumption of the rendering performance of the front end of the extra polygons is avoided, the expression of the polygon forms can be met at low cost, the exposure opportunity of detailed data can be reduced, and the data security is improved.
Based on the above embodiments, a fourth embodiment of the present application provides another data processing method. A data processing method according to a fourth embodiment of the present application will be described below with reference to fig. 6.
The data processing method shown in fig. 6 includes: step S601 to step S603.
In step S601, movement track data of a touch flag for indicating a current operation position is obtained.
In this embodiment, an application program corresponding to the focal point of the touch mark is obtained, and movement track data of the touch mark on an interface of the application program is obtained. The touch mark focus can be a device focus of a mouse, a touch pad, a touch screen and the like, and also can be a visual focus of head display equipment. The method specifically comprises the following steps: any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained; and obtaining the movement track data of the touch mark according to the action triggering information. For example, sliding of a mouse or visual focus, clicking of movement trace data generated. In this embodiment, the movement track data of the touch mark is obtained through the following processes:
acquiring first position information of the touch mark;
obtaining second position information after the position of the touch mark is changed;
and obtaining the movement track data according to the first position information and the second position information.
In practical application, coordinate data of the position of the touch mark can be obtained, and a group of coordinate data can be obtained for movement of the touch mark. The movement trace data is composed of these coordinate data, and the second polygon data is obtained from the movement trace data in a subsequent step.
In this embodiment, the click action triggering information of the touch flag is obtained through the following processing: and obtaining click trigger information of the touch mark in a plurality of non-adjacent discrete areas on the map interface. The method specifically comprises the following steps: acquiring click trigger information of the touch mark in a first area on the map interface, and recording polygon data of a first selected area corresponding to the click trigger information; acquiring the function key information and click trigger information of a second area of the touch mark on the map interface, and polygon data of a second selected area corresponding to the click trigger information; and taking a data set formed by the first selected area polygonal data and the second selected area polygonal data as the movement track data.
Step S602, obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data; wherein the specific granularity polygon block data is used to determine a selected region range.
In this embodiment, the interface may be an interface that displays a specific multidimensional space, and the selected region range may be a region range in the specific multidimensional space. Specifically, the interface is a 2-dimensional or 3-dimensional display interface. For example, the 3-dimensional space may be a 3-dimensional space within a mall, and the selected region range is a 3-dimensional mall space of a specific division. For another example, the 3-dimensional space is an airspace (movement region of the unmanned aerial vehicle) map, and the selected region range is a 3-dimensional airspace region that is specifically divided.
In this embodiment, according to the movement track of the touch mark, the composite polygon area selected by the touch mark is obtained and used as the target composite polygon area, so as to obtain the target composite polygon data. The selected polygon area data and the polygon area data selected according to the movement track of the touch mark are subjected to polygon relation operation to obtain editing result data for the selected polygon area. The polygon relation operation is to perform intersection, union or difference (or difference set) operation between the data of a plurality of polygons, thereby obtaining the fused or cut polygons. For example, the data of two polygons are obtained by combining the data of the two polygons to obtain the data corresponding to the fused polygon form; solving intersection of the data of the two polygons to obtain polygon data of overlapping parts of the two polygons; and solving a difference set aiming at the data of the two polygons to obtain the cut polygon data.
The method in this embodiment includes the following processing to generate the target composite polygon data, including:
obtaining first polygon data corresponding to the first position information;
If the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data;
and carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
Specifically, the second polygon data is obtained by: and performing at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process on the movement track data to obtain second polygon data, wherein the movement track data is track coverage or range coverage data for covering one or more polygon blocks with specific granularity.
In one embodiment of the present embodiment, further includes: determining a thinning coefficient for thinning according to the zoom level; and performing thinning processing on the moving track data by using the thinning coefficient to obtain the second polygon data. Further still include: and carrying out buffer area analysis on the moving track data according to a preset buffer unit value to obtain the second polygonal data. By buffer analysis is meant that a buffer based on the boundary of a face-solid polygon is extended outwards or inwards by a certain distance to generate a new polygon, e.g. a second polygon is obtained based on the boundary buffer extension of a first polygon, whereby said second polygon data is obtained.
The specific implementation examples are as follows: declaring an array points; declaring event A as a start recording track; declaring event B to obtain the coordinate point of the current cursor and store points; declaring event C to be the end record trace. Triggering an event A when a mouse button is pressed; continuously triggering the event B when the cursor moves on the interface; triggering an event C when the mouse button is lifted; executing event A, B, C can obtain a set of cursor track points, which are the moving track data of the cursor; event A, B, C may be performed multiple times. And forming a composite polygon as a second polygon by performing deformation processing such as connection, fusion, thinning, smoothing, expansion and the like on the movement track data of the cursor.
In this embodiment, the second polygon data is obtained for the movement information of the touch flag in the current field of view, which specifically includes the following processing: obtaining the visual field range of the application program bound by the touch mark; obtaining a polygon with specific granularity corresponding to the visual field range; determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity; and generating the second polygonal data according to the selected polygonal block with the specific granularity. In one embodiment, the generating the second polygon data according to the selected polygon block with specific granularity includes: and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data. In one embodiment, the generating the second polygon data according to the selected polygon block with specific granularity includes:
According to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary;
and according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
In this embodiment, the determining, according to the relationship between the movement track data and each of the polygon blocks of specific granularity, the polygon block of specific granularity selected by the movement track includes: performing at least one deformation process of thinning process and expansion process on the moving track data; and carrying out polygon intersection operation on the deformed moving track data and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track. In one embodiment, a thinning coefficient for performing thinning treatment and an expansion coefficient for expansion treatment are determined according to a scaling level; and performing expansion processing on the movement track data according to the expansion coefficient.
The specific implementation examples are as follows: and loading application program interface data comprising a plurality of fine-grained polygons in a visual field range, wherein the fine-grained polygons are polygons with specific granularity, selecting a group of fine-grained polygons by calculating the relation between the movement track of the touch mark and each fine-grained polygon, fusing the primary boundaries covered by the selected fine-grained polygons according to the adjacent and overlapping relation between the selected fine-grained polygons and the first polygons, selectively splicing the outer boundaries of the fine-grained polygons and the polygon boundaries of the rest first polygons according to a closing principle, and generating a second polygon which is a composite polygon. Thinning the moving track data by a simplely method, and performing buffer analysis by a buffer method to realize expansion, wherein the coefficients of thinning and expansion are optimal values calculated according to a scaling level; and loading fine-granularity polygon detailed data in the current interface visual field range, traversing the data, finding a fine-granularity polygon set intersected with the moving track represented by the moving track data by an intersection method, and fusing the fine-granularity polygon set by a union method to obtain second polygon data.
In this embodiment, the performing the polygon relation operation on the first polygon data and the second polygon data includes: and performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data. Specifically, the first polygon data and the second polygon data are fused, the obtained composite polygon is used as a target composite polygon, and all or part of the boundary of the target composite polygon exceeds the boundary of the first polygon. For example, polygons are fused by the unit (union) method. Or cutting out the original boundary covered by the second polygon, and forming a target composite polygon with the boundary of the rest first polygon, wherein all or part of the boundary of the target composite polygon does not exceed the boundary of the first polygon. For example, the first polygon and the second polygon are clipped by a difference method, and the obtained composite polygon is used as a target composite polygon.
In this embodiment, the composite polygon area may be selected according to a movement track of the touch mark, and may be used as the target composite polygon. Specifically, the second polygon data is used as the target composite polygon data, and the polygon form corresponding to the second polygon data is used as the selected target area range.
Step S603, according to the polygon block data with specific granularity, displaying the area range of the polygon shape corresponding to the target composite polygon data.
In this embodiment, the following processing is included: generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold; and displaying the background picture on an application program interface corresponding to the touch mark focus. For example, the background picture is a transparent background picture.
In this embodiment, the method further includes: obtaining a drawing tool for drawing a polygonal region for the specific granularity polygonal block data; and displaying the target area range through the drawing tool. The drawing tools include, but are not limited to, brushes, erasers, block brushes, block erasers. In one embodiment, the following process is included: obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity; and drawing the background picture on the interface through the block painting brush or the block eraser.
In practical implementation, the target composite polygon data may be displayed in a polygon form in any one of the following two manners. Mode one: the specific granularity polygon data is specifically detailed data of fine granularity polygon data. And traversing each polygon in the detailed data, and rendering each polygon in the display array through the interface row in turn. Mode two: the target composite polygon data is shown graphically as a polygon shape. And generating a background picture which can show the polygon shape and meets the transparency threshold, such as a transparent background gif picture, according to the target composite polygon data, and superposing the background picture on the interface. For example, an application client provides polygon data of a particular granularity to a server for providing a tile layer; the server generates a background picture meeting a transparency threshold, such as a transparent background gif or png picture, which can show a polygon shape according to the polygon data with the specific granularity; the tile layer of the application client requests the tile number from the server; the server side provides the client side with an acquisition path of the background picture, wherein the acquisition path can be a URL provided for the client side; and loading a tile layer on the interface by the client, acquiring the background picture according to the acquisition path of the background picture, and loading the background picture on the interface so as to display the polygon form. Of course, the second embodiment may also include another specific implementation manner: the client side provides the position information of the touch control mark for the server side for providing the tile layer, the server side obtains polygon data with specific granularity according to the position information, further generates a background picture meeting the transparency threshold and capable of showing the polygon form according to the polygon data with specific granularity, and provides the background picture for the client side. The second mode can quickly and accurately generate or modify the composite polygon according to the selected polygon set with specific granularity, wherein the polygon set with specific granularity can be a polygon set with fine granularity. The interaction between the client and the server in the mode ensures that the consumption of the rendering performance of the front end of the extra polygon is avoided under the scene of needing to render a large number of polygons, thereby not only meeting the expression of the polygon form with low cost, but also reducing the exposure opportunity of detailed data and protecting the data security.
In this embodiment, when the tile layer is displayed on the interface, the tile layer is rendered according to the blocks, and the tile layer is distinguished from the interface by the following processes: texture rendering is conducted on the tile map layer through specific lines; the specific line is a line which meets at least one of a line color condition and a line thickness condition and can be distinguished from the interface.
Thus far, the data processing method provided in the fourth embodiment of the present application is described. The method comprises the steps of obtaining target composite polygon data containing one or more polygon block data with specific granularity according to movement track data of a touch mark; wherein the polygon block data with specific granularity is used for determining a selected area range; and displaying the area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity. According to the polygon block with specific granularity, instead of the area range of the polygon form according to points or lines, the problems of overlapping, non-fitting and non-equal precision among polygons with association relation can be reduced, the drawing workload is reduced, the drawing precision and speed of the polygons are improved, and the problem of low drawing precision of the polygons is solved.
Corresponding to the first embodiment, a fifth embodiment of the present application provides a data processing apparatus. Fig. 7 shows a schematic view of an apparatus provided by the fifth embodiment. The device is described below in connection with fig. 7. The data processing apparatus shown in fig. 7 includes:
a map data obtaining unit 701 for obtaining geospatial information data to which a touch flag indicating a current operation position is bound; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
a touch trajectory acquisition unit 702, configured to acquire movement trajectory data of the touch mark;
a selected area data obtaining unit 703, configured to obtain target composite polygon data including one or more polygon block data with specific granularity according to the movement track data and the polygon block data with specific granularity;
and a selected area displaying unit 704, configured to display, according to the polygon block data with the specific granularity, a geographic area range of a polygon form corresponding to the target composite polygon data.
Optionally, the touch trajectory obtaining unit 702 is specifically configured to: acquiring first position information of the touch mark; obtaining second position information after the position of the touch mark is changed; and obtaining the movement track data according to the first position information and the second position information.
Optionally, the selected area data obtaining unit 703 is specifically configured to: obtaining first polygon data corresponding to the first position information; if the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data; and carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
Optionally, the selected area data obtaining unit 703 is specifically configured to: at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process is carried out on the movement track data to obtain second polygon data; the movement track data is track coverage or range coverage data covering one or more polygon blocks of a specific granularity.
Optionally, the selected area data obtaining unit 703 is specifically configured to: converting the movement track data into an object in a geospatial information data exchange format; and carrying out at least one deformation process on the object to obtain the second polygonal data.
Optionally, the selected area data obtaining unit 703 is specifically configured to: determining a thinning coefficient for thinning according to the map scaling level; and performing thinning processing on the object by using the thinning coefficient to obtain the second polygon data.
Optionally, the selected area data obtaining unit 703 is specifically configured to: and carrying out buffer area analysis on the object according to a preset buffer unit value to obtain the second polygonal data.
Optionally, the selected area data obtaining unit 703 is specifically configured to:
obtaining the visual field range of the map bound by the touch mark;
obtaining geospatial information data corresponding to the field of view;
determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity;
and generating the second polygonal data according to the selected polygonal block with the specific granularity.
Optionally, the selected area data obtaining unit 703 is specifically configured to:
according to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary;
and according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
Optionally, the selected area data obtaining unit 703 is specifically configured to:
converting the movement track data into an object in a geospatial information data exchange format;
at least one deformation treatment of thinning treatment and expansion treatment is carried out on the object;
and carrying out polygon intersection operation on the deformed object and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track.
Optionally, the selected area data obtaining unit 703 is specifically configured to:
determining an thinning coefficient for thinning treatment and an expansion coefficient for expansion treatment according to the map scaling level; and performing expansion processing on the object according to the expansion coefficient.
Optionally, the selected area data obtaining unit 703 is specifically configured to: and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data.
Optionally, the selected area data obtaining unit 703 is specifically configured to: and performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data.
Optionally, the selected area display unit 704 is specifically configured to: generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold; and displaying the background picture on a map interface corresponding to the geospatial information data.
Optionally, the selected area display unit 704 is specifically configured to: obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity; and drawing the background picture on the map interface through the block painting brush or the block eraser.
Optionally, the touch trajectory obtaining unit 702 is specifically configured to: any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained; and obtaining the movement track data of the touch mark according to the action triggering information.
Corresponding to the first embodiment, a sixth embodiment of the present application provides an electronic device. Fig. 8 shows a schematic diagram of the electronic device. The electronic device shown in fig. 8 includes:
a memory 801 and a processor 802; the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions:
obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
obtaining movement track data of the touch mark;
obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity;
and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
Optionally, the processor is further configured to execute the following computer executable instructions: acquiring first position information of the touch mark; obtaining second position information after the position of the touch mark is changed; and obtaining the movement track data according to the first position information and the second position information.
Optionally, the processor is further configured to execute the following computer executable instructions:
obtaining first polygon data corresponding to the first position information;
if the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data;
and carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
Optionally, the processor is further configured to execute the following computer executable instructions: at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process is carried out on the movement track data to obtain second polygon data; the movement track data is track coverage or range coverage data covering one or more polygon blocks of a specific granularity.
Optionally, the processor is further configured to execute the following computer executable instructions: converting the movement track data into an object in a geospatial information data exchange format; and carrying out at least one deformation process on the object to obtain the second polygonal data.
Optionally, the processor is further configured to execute the following computer executable instructions: determining a thinning coefficient for thinning according to the map scaling level; and performing thinning processing on the object by using the thinning coefficient to obtain the second polygon data.
Optionally, the processor is further configured to execute the following computer executable instructions: and carrying out buffer area analysis on the object according to a preset buffer unit value to obtain the second polygonal data.
Optionally, the processor is further configured to execute the following computer executable instructions:
obtaining the visual field range of the map bound by the touch mark;
obtaining geospatial information data corresponding to the field of view;
determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity;
And generating the second polygonal data according to the selected polygonal block with the specific granularity.
Optionally, the processor is further configured to execute the following computer executable instructions:
according to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary;
and according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
Optionally, the processor is further configured to execute the following computer executable instructions:
converting the movement track data into an object in a geospatial information data exchange format;
at least one deformation treatment of thinning treatment and expansion treatment is carried out on the object;
And carrying out polygon intersection operation on the deformed object and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track.
Optionally, the processor is further configured to execute the following computer executable instructions:
determining an thinning coefficient for thinning treatment and an expansion coefficient for expansion treatment according to the map scaling level; and performing expansion processing on the object according to the expansion coefficient.
Optionally, the processor is further configured to execute the following computer executable instructions: and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data.
Optionally, the processor is further configured to execute the following computer executable instructions: and performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data.
Optionally, the processor is further configured to execute the following computer executable instructions:
generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold;
And displaying the background picture on a map interface corresponding to the geospatial information data.
Optionally, the processor is further configured to execute the following computer executable instructions:
obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity;
and drawing the background picture on the map interface through the block painting brush or the block eraser.
Optionally, the processor is further configured to execute the following computer executable instructions:
any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained;
and obtaining the movement track data of the touch mark according to the action triggering information.
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.
1. 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 non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the present invention, so that the scope of the present invention shall be defined by the claims of the present application.

Claims (21)

1. A method of data processing, comprising:
obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
Obtaining movement track data of the touch mark;
obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity;
and displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
2. The method according to claim 1, wherein the obtaining movement track data of the touch flag includes:
acquiring first position information of the touch mark;
obtaining second position information after the position of the touch mark is changed;
and obtaining the movement track data according to the first position information and the second position information.
3. The method of claim 2, wherein obtaining target composite polygon data including one or more specific granularity polygon block data from the movement trajectory data and the specific granularity polygon block data comprises:
obtaining first polygon data corresponding to the first position information;
if the second position indicated by the second position information is judged not to be in the first polygon, obtaining second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity; wherein the second polygon data is composite polygon data which comprises one or more polygon block data with specific granularity and can carry out polygon relation operation with the first polygon data;
And carrying out polygon relation operation on the first polygon data and the second polygon data to obtain the target compound polygon data.
4. The method of claim 3, wherein the obtaining second polygon data associated with the second location information based on the movement trajectory data and the particular granularity polygon block data comprises:
at least one deformation process of connection process, fusion process, thinning process, smoothing process and expansion process is carried out on the movement track data to obtain second polygon data; the movement track data is track coverage or range coverage data covering one or more polygon blocks of a specific granularity.
5. The method as recited in claim 4, further comprising:
converting the movement track data into an object in a geospatial information data exchange format;
and carrying out at least one deformation process on the object to obtain the second polygonal data.
6. The method as recited in claim 5, further comprising: determining a thinning coefficient for thinning according to the map scaling level;
Performing thinning processing on the object to obtain the second polygon data, including: and performing thinning processing on the object by using the thinning coefficient to obtain the second polygon data.
7. The method of claim 5, wherein expanding the object to obtain the second polygon data comprises: and carrying out buffer area analysis on the object according to a preset buffer unit value to obtain the second polygonal data.
8. A method according to claim 3, wherein said obtaining geospatial information data for touch marker binding indicating a current operating position comprises:
obtaining the visual field range of the map bound by the touch mark;
obtaining geospatial information data corresponding to the field of view;
the obtaining the second polygon data associated with the second position information according to the movement track data and the polygon block data with the specific granularity includes:
determining a polygon block with specific granularity selected by the moving track according to the relation between the moving track data and each polygon block data with specific granularity;
And generating the second polygonal data according to the selected polygonal block with the specific granularity.
9. The method of claim 8, wherein the generating the second polygon data from the selected particular granularity polygon block comprises:
according to at least one relation of an adjacent relation and an overlapping relation between the selected polygon block with specific granularity and a first polygon indicated by the first polygon data, carrying out fusion processing on the selected polygon block with specific granularity and the first polygon, and determining data which are not covered by the selected polygon block with specific granularity in boundary data of the first polygon as a residual boundary;
and according to a closing principle, carrying out selective splicing treatment on the outer boundary of the selected polygon block with specific granularity and the residual boundary to obtain a composite polygon, and taking the data of the composite polygon as the second polygon data.
10. The method of claim 8, wherein determining the particular-granularity polygon block selected by the movement track based on the relation of the movement track data and each particular-granularity polygon block data comprises:
Converting the movement track data into an object in a geospatial information data exchange format;
at least one deformation treatment of thinning treatment and expansion treatment is carried out on the object;
and carrying out polygon intersection operation on the deformed object and each polygon block data with specific granularity to obtain a polygon block with specific granularity intersected with the deformed object, wherein the polygon block with specific granularity is selected by the moving track.
11. The method as recited in claim 10, further comprising:
determining an thinning coefficient for thinning treatment and an expansion coefficient for expansion treatment according to the map scaling level;
the expanding processing for the object comprises the following steps: and performing expansion processing on the object according to the expansion coefficient.
12. The method of claim 8, wherein the generating the second polygon data from the selected particular granularity polygon block comprises:
and carrying out polygon union operation on the data of the selected polygon block with specific granularity to obtain the second polygon data.
13. The method of claim 3, wherein said performing a polygon relationship operation on said first polygon data and said second polygon data comprises:
And performing at least one polygon relation operation of polygon union operation and polygon difference operation on the first polygon data and the second polygon data.
14. The method according to claim 1, wherein the displaying the geographic area range of the polygon shape corresponding to the target composite polygon data according to the specific granularity polygon block data comprises:
generating a background picture in advance according to polygon block data with specific granularity contained in the target composite polygon data; the background picture is a picture meeting a transparency threshold;
and displaying the background picture on a map interface corresponding to the geospatial information data.
15. The method of claim 14, wherein the displaying the background picture on the map interface corresponding to the geospatial information data comprises:
obtaining a block brush or a block eraser for drawing a graph according to a polygon block with a specific granularity;
and drawing the background picture on the map interface through the block painting brush or the block eraser.
16. The method as recited in claim 1, further comprising:
Any action triggering information in sliding triggering and clicking triggering of the touch mark is obtained;
and obtaining the movement track data of the touch mark according to the action triggering information.
17. A method of mapping, comprising:
obtaining target composite polygon data comprising polygon block data of a specific granularity; the target composite polygon data are obtained by a moving track of a touch mark on a map interface and a polygon block with specific granularity selected by the moving track;
providing the target composite polygon data to a server side for providing a tile layer;
obtaining a tile layer with a polygonal morphology for the target composite polygonal data, displaying the tile layer on a map interface; the tile layer is a background picture meeting a transparency threshold.
18. A method of mapping, comprising:
obtaining target composite polygon data comprising polygon block data with specific granularity, wherein the target composite polygon data is obtained by a moving track of a touch mark on a map interface and a polygon block with specific granularity selected by the moving track;
Generating a tile layer with a polygonal shape according to the target composite polygonal data; the tile layer is a background picture meeting a transparency threshold;
the tile layer is provided to a client for showing a map.
19. A method of data processing, comprising:
obtaining movement track data of touch control marks used for indicating the current operation position under the binding geographical space information data;
wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data; wherein the polygon block data with specific granularity is used for determining a selected area range;
and displaying the area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
20. A data processing apparatus, comprising:
a map data obtaining unit for obtaining geospatial information data for indicating touch flag binding of a current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
The touch track obtaining unit is used for obtaining the moving track data of the touch mark;
a selected area data obtaining unit, configured to obtain target composite polygon data including one or more polygon block data with specific granularity according to the movement track data and the polygon block data with specific granularity;
and the selected area display unit is used for displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
21. An electronic device, comprising:
a memory, and a processor; the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions:
obtaining geographic space information data bound by a touch control mark for indicating the current operation position; wherein the geospatial information data includes polygon block data of a particular granularity; the polygon block data with specific granularity is used for determining a selected geographical area range;
obtaining movement track data of the touch mark;
obtaining target composite polygon data containing one or more polygon block data with specific granularity according to the moving track data and the polygon block data with specific granularity;
And displaying the geographic area range of the polygon form corresponding to the target composite polygon data according to the polygon block data with the specific granularity.
CN201911404945.9A 2019-12-31 2019-12-31 Data processing method and device and electronic equipment Active CN113129406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911404945.9A CN113129406B (en) 2019-12-31 2019-12-31 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911404945.9A CN113129406B (en) 2019-12-31 2019-12-31 Data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113129406A CN113129406A (en) 2021-07-16
CN113129406B true CN113129406B (en) 2024-03-22

Family

ID=76768718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911404945.9A Active CN113129406B (en) 2019-12-31 2019-12-31 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113129406B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117726707A (en) * 2024-02-08 2024-03-19 北京未来宇航空间科技研究院有限公司 Method and device for displaying custom region in electronic map and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625414A (en) * 2009-08-11 2010-01-13 中国气象局北京城市气象研究所 Method and device for integrating radar and geographic information data, and weather monitoring system
CN103761094A (en) * 2014-01-22 2014-04-30 上海诚明融鑫科技有限公司 Method for polygon combination in planar drawing
CN105556511A (en) * 2013-03-15 2016-05-04 美国结构数据有限公司 Apparatus, systems, and methods for providing location information
CN105719268A (en) * 2014-12-02 2016-06-29 北京四维图新科技股份有限公司 Map data processing method and map data processing device
CN106802750A (en) * 2015-11-26 2017-06-06 北京国双科技有限公司 Realize the exchange method and device of data processing
CN107798079A (en) * 2017-09-30 2018-03-13 北京泓达九通科技发展有限公司 Section joining method and system based on track of vehicle data
CN108170807A (en) * 2017-12-28 2018-06-15 百度在线网络技术(北京)有限公司 Processing, method for drawing map, device, equipment and the storage medium of map datum
CN108846004A (en) * 2018-04-20 2018-11-20 曜宇航空科技(上海)有限公司 Selected target update method and system in a kind of map based on unmanned plane
CN109688532A (en) * 2017-10-16 2019-04-26 中移(苏州)软件技术有限公司 A kind of method and device dividing city function region
CN109710711A (en) * 2018-12-13 2019-05-03 中国联合网络通信集团有限公司 Map gridding method and platform
CN109994038A (en) * 2019-02-20 2019-07-09 北京三快在线科技有限公司 Point of interest determines method, apparatus, electronic equipment in irregular area
CN110189392A (en) * 2019-06-21 2019-08-30 重庆大学 A kind of flow rate and direction schema mapping automatic map framing method
JP2019179350A (en) * 2018-03-30 2019-10-17 Necプラットフォームズ株式会社 Label location device for map image, label location method for map image, and label location program for map information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4492567B2 (en) * 2006-03-17 2010-06-30 ソニー株式会社 Image processing apparatus, image processing method, and program
US9395193B2 (en) * 2012-06-10 2016-07-19 Apple Inc. Scalable and efficient cutting of map tiles

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625414A (en) * 2009-08-11 2010-01-13 中国气象局北京城市气象研究所 Method and device for integrating radar and geographic information data, and weather monitoring system
CN105556511A (en) * 2013-03-15 2016-05-04 美国结构数据有限公司 Apparatus, systems, and methods for providing location information
CN103761094A (en) * 2014-01-22 2014-04-30 上海诚明融鑫科技有限公司 Method for polygon combination in planar drawing
CN105719268A (en) * 2014-12-02 2016-06-29 北京四维图新科技股份有限公司 Map data processing method and map data processing device
CN106802750A (en) * 2015-11-26 2017-06-06 北京国双科技有限公司 Realize the exchange method and device of data processing
CN107798079A (en) * 2017-09-30 2018-03-13 北京泓达九通科技发展有限公司 Section joining method and system based on track of vehicle data
CN109688532A (en) * 2017-10-16 2019-04-26 中移(苏州)软件技术有限公司 A kind of method and device dividing city function region
CN108170807A (en) * 2017-12-28 2018-06-15 百度在线网络技术(北京)有限公司 Processing, method for drawing map, device, equipment and the storage medium of map datum
JP2019179350A (en) * 2018-03-30 2019-10-17 Necプラットフォームズ株式会社 Label location device for map image, label location method for map image, and label location program for map information
CN108846004A (en) * 2018-04-20 2018-11-20 曜宇航空科技(上海)有限公司 Selected target update method and system in a kind of map based on unmanned plane
CN109710711A (en) * 2018-12-13 2019-05-03 中国联合网络通信集团有限公司 Map gridding method and platform
CN109994038A (en) * 2019-02-20 2019-07-09 北京三快在线科技有限公司 Point of interest determines method, apparatus, electronic equipment in irregular area
CN110189392A (en) * 2019-06-21 2019-08-30 重庆大学 A kind of flow rate and direction schema mapping automatic map framing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
瓦片影像地图快速配准与融合方法实现;刘建川等;《测绘科学》;第40卷(第11期);1-5 *

Also Published As

Publication number Publication date
CN113129406A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
EP3828720A2 (en) Method and apparatus for merging data of building blocks, device and storage medium
US20170090460A1 (en) 3D Model Generation From Map Data
US20120075433A1 (en) Efficient information presentation for augmented reality
EP2954468B1 (en) Providing indoor facility information on a digital map
US8749580B1 (en) System and method of texturing a 3D model from video
EP3353749A1 (en) 3d model generation from map data and user interface
US10733777B2 (en) Annotation generation for an image network
EP3635339B1 (en) Dynamically varying visual properties of indicators on a digital map
US9355484B2 (en) System and method of tile management
KR20130088745A (en) Adjustable and progressive mobile device street view
US10319062B2 (en) Rendering map data using descriptions of raster differences
US20100302236A1 (en) Extensible map with pluggable modes
US8872848B1 (en) Rendering vector data as tiles
GB2553363B (en) Method and system for recording spatial information
WO2014159483A2 (en) Translated view navigation for visualizations
CN113516769A (en) Virtual reality three-dimensional scene loading and rendering method and device and terminal equipment
EP2589933B1 (en) Navigation device, method of predicting a visibility of a triangular face in an electronic map view
US11436755B2 (en) Real-time pose estimation for unseen objects
CN105321144A (en) Map dynamic projection display system and method
Dewitz et al. Historical photos and visualizations: Potential for research
CN113129406B (en) Data processing method and device and electronic equipment
US10546418B2 (en) Visualization of positional geospatial uncertainty
JP2022501751A (en) Systems and methods for selecting complementary images from multiple images for 3D geometric extraction
US9007374B1 (en) Selection and thematic highlighting using terrain textures
EP3690627A1 (en) Graphical user interface for indicating off-screen points of interest

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