CN114064831B - Data rasterization display method and system and storage medium - Google Patents

Data rasterization display method and system and storage medium Download PDF

Info

Publication number
CN114064831B
CN114064831B CN202111251493.2A CN202111251493A CN114064831B CN 114064831 B CN114064831 B CN 114064831B CN 202111251493 A CN202111251493 A CN 202111251493A CN 114064831 B CN114064831 B CN 114064831B
Authority
CN
China
Prior art keywords
grid
information
population density
color
determining
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
CN202111251493.2A
Other languages
Chinese (zh)
Other versions
CN114064831A (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.)
Beiling Rongxin Datalnfo Science and Technology Ltd
Original Assignee
Beiling Rongxin Datalnfo Science and Technology 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 Beiling Rongxin Datalnfo Science and Technology Ltd filed Critical Beiling Rongxin Datalnfo Science and Technology Ltd
Priority to CN202111251493.2A priority Critical patent/CN114064831B/en
Publication of CN114064831A publication Critical patent/CN114064831A/en
Application granted granted Critical
Publication of CN114064831B publication Critical patent/CN114064831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a data rasterization display method, a data rasterization display system and a storage medium, through rasterization display, population density can be flexibly inquired according to the size of a grid, and the visualization effect is improved. According to the invention, the visualization effect of the population density can be improved through the grid color display of different colors. The invention can also determine different grid distributions and grid shapes according to different rules, thereby improving the user experience and improving the visualization effect of display.

Description

Data rasterization display method and system and storage medium
Technical Field
The present invention relates to the field of data processing and display, and more particularly, to a method, system and storage medium for data rasterization display.
Background
Demographics is a method or study that studies demographics from the "volume" aspect. By demographics, the regularity of the demographic process and the nature of the demographic phenomenon can be revealed. In China, demographic statistics can be used for controlling population quantity and improving population quality, so that population development is adapted to economic and social development.
Population information can be more directly perceived through the combination of population density and map, but population density among the prior art shows the display mode for the contour, that is to say, is similar to the mode of temperature radiation, and although the display effect is comparatively directly perceived, to some special scenes, can't better demonstration.
Therefore, the prior art has defects and needs to be improved.
Disclosure of Invention
In view of this, the present application provides a data rasterization display method, system and storage medium, which can flexibly query population density according to the size of a grid through rasterization display, and improve visualization effect. According to the invention, the visualization effect of the population density can be improved through the grid color display of different colors.
The invention discloses a data rasterization display method in a first aspect, which comprises the following steps:
acquiring preset grid size information;
obtaining map information;
determining grid division information according to the grid size information and the map information;
acquiring population density information of an area corresponding to each grid in a map;
determining the grid color according to the population density information;
each grid is displayed according to the grid color.
In this scheme, the determining the grid color according to the population density information specifically includes:
setting a grid starting color;
determining N color levels according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and filling colors;
wherein each color level corresponds to a different population density range.
In this scheme, still include:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
and displaying each grid according to the grid color.
In this scheme, still include:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
and determining the grid color according to the population density information and displaying.
In this scheme, still include:
acquiring preset display demand information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
and acquiring population density information of a preset building area, determining the color of the grid, and displaying.
In the scheme, the grid is one or more of square, rectangle, circle and irregular shape.
The second aspect of the present invention discloses a data rasterization display system, which includes a memory and a processor, where the memory includes a data rasterization display method program, and when executed by the processor, the data rasterization display method program implements the following steps:
acquiring preset grid size information;
obtaining map information;
determining grid division information according to the grid size information and the map information;
acquiring population density information of an area corresponding to each grid in a map;
determining the grid color according to the population density information;
each grid is displayed according to the grid color.
In this scheme, the determining the grid color according to the population density information specifically includes:
setting a grid starting color;
determining N color levels according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and performing color filling;
wherein each color level corresponds to a different population density range.
In this scheme, still include:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
and displaying each grid according to the grid color.
In this scheme, still include:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
and determining the grid color according to the population density information and displaying.
In this scheme, still include:
acquiring preset display demand information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
and acquiring population density information of a preset building area, determining the color of the grid, and displaying.
In the scheme, the grid is one or more of square, rectangle, circle and irregular shape.
A third aspect of the present invention discloses a computer-readable storage medium, which includes a data rasterization display method program, and when the data rasterization display method program is executed by a processor, the method implements the steps of the data rasterization display method described in any one of the above.
The application provides a data rasterization display method, a data rasterization display system and a storage medium, through rasterization display, population density can be flexibly inquired according to the size of a grid, and the visualization effect is improved. According to the invention, the visualization effect of the population density can be improved through the grid color display of different colors. The invention can also determine different grid distributions and grid shapes according to different rules, thereby improving the user experience and improving the visualization effect of display.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a flow chart illustrating a data rasterization display method of the present invention;
FIG. 2 is a schematic diagram of a rasterized display of the present invention;
FIG. 3 shows a block diagram of a data rasterization display system of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are clearly and completely described, and it is obvious that the embodiments described below are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 shows a flow chart of a data rasterization display method of the present invention.
As shown in fig. 1, the present invention discloses a data rasterization display method, which comprises the following steps:
s102, acquiring preset grid size information;
s104, obtaining map information;
s106, determining grid division information according to the grid size information and the map information;
s108, acquiring population density information of an area corresponding to each grid in the map;
s110, determining the grid color according to the population density information;
and S112, displaying each grid according to the grid color.
It should be noted that the raster data is a data form in which a space is divided into regular grids, each grid is called a cell, and each cell is assigned with a corresponding attribute value to represent an entity. The grid in the invention is one or more of square, rectangle, circle and irregular shape. The method analyzes the residential population and the working population in the area by taking the grid as a spatial dimension, counts the number and the distribution proportion of the residential population and the working population in the area, and provides refined data support for population counting in the area. The size of the grid is set by a person skilled in the art according to actual needs, or automatically. And during automatic setting, the setting can be carried out according to the size of the current display interface or a preset rule. First, preset grid size information is obtained, where the grid size information includes the area and shape of the grid, and for example, the grid may be a square with a side length of 200 meters, or a rectangle with a side length of 200 × 400. And acquiring map information after acquiring the grid size information, wherein the map information can be acquired through a third-party platform. And then determining to perform grid division information according to the grid size information and the map information so as to ensure that the grid can completely cover the map area. After the grid division information in the map is determined, population density information of an area corresponding to each grid in the map needs to be acquired, wherein the population density information is obtained through statistics of government departments or third-party departments, the population density refers to the number of population in a unit area, and the larger the number is, the larger the population density is. The color of the grid can be determined according to the population density, different colors represent different population densities, and then the grid color is displayed according to the grid color. Different from the population density display in a contour line mode in the prior art, the population density display method and the device can flexibly query the population density according to the size of the grid through the grid display, and improve the visualization effect.
According to the embodiment of the invention, the determining the grid color according to the population density information specifically comprises:
setting a grid starting color;
determining N color grades according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and performing color filling;
wherein each color level corresponds to a different population density range.
When setting the grid color, first, the initial color of the grid is determined, i.e., the color at the lowest population density and the color at the highest population density, and preferably, the color at the lowest population density is selected to be dark green, and the color at the highest population density is selected to be brownish red. After the starting color is determined, N color levels, each of which is a multi-level color content according to a coloring principle or manually set, may be determined from the grid starting color. For example, if N is 7, the corresponding color may be dark green, light green, yellow, light red, or brownish red. Each color level corresponds to a different population density range, e.g., dark green represents a population density range of 0-1 per 100 square meters, and so on. After the information of the population density of the current grid is obtained, the color grade of the current grid can be determined, and then color filling is carried out according to the color grade. As shown in FIG. 2, FIG. 2 shows a schematic diagram of a rasterized display of the present invention. The visualization effect of the population density can be improved through the grid color display of different colors.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
and displaying each grid according to the grid color.
It should be noted that, the size of the grid can be determined according to the size of the current display interface of the user side, for example, the displayed map of the user side is 1:1500, in order to not affect the display effect, the number of the grids in the display screen is ensured to be a fixed value, and the size of the grids is A; when the displayed map is 1:2000, the number of grids is consistent with 1: 1500; the size of the grid is B, wherein A and B are the calculated grid sizes. The grid size is determined according to the display interface of the display end, and the display effect and the user experience can be improved. In order to achieve the effect, the display interface of the display end needs to be obtained first, and the display interface is the current map scale and the display information of the user end. And then determining the size of the grid according to the display interface, obtaining the range of the area corresponding to the grid after the size of the grid is determined, in order to perform grid display under the current display interface, re-obtaining population density information of the area corresponding to the grid, determining the color of the grid according to the population density information, and then displaying each grid according to the color of the grid.
According to the embodiment of the invention, the method further comprises the following steps:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
and determining the grid color according to the population density information and displaying.
It should be noted that, when the user dynamically controls the display interface, the present invention can automatically determine the size of the grid according to the current size of the display interface of the user side, for example, when the user side enlarges the map interface, the number of the grids in the display screen is ensured to be a fixed value, and the area range corresponding to the grids is also automatically reduced; when the map interface is reduced, the number of the grids in the display screen is ensured to be a fixed value, and the area range corresponding to the grids can be automatically enlarged so as to adapt to the map scaling of the user side and improve the display effect and the user experience. In order to achieve the above effect, the present invention first receives display interface adjustment information, where the display interface adjustment information is an operation of a user to zoom in or zoom out an interface, then determines adjusted display interface information according to the display interface adjustment information, and after determining the adjusted display interface, the adjusted display interface may be divided to determine the size of the grids, so as to ensure that the number of the grids of the adjusted display interface is not changed. Then acquiring population density information in an area corresponding to the grid; and determining the grid color according to the population density information and displaying.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring preset display demand information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
and acquiring population density information of a preset building area, determining the color of the grid, and displaying.
It should be noted that, in the case of actual statistical population density, the important area or the important building in the map often needs to be displayed with individual population density, and if the grid is in a uniform shape, the edge of the grid may cover the important area or the important building, which is not favorable for displaying the population density. In order to solve the problems, the method comprises the steps of firstly obtaining preset display requirement information, wherein the display requirement information comprises special building area information, and the special building area information can be a park, a building, a school and the like. The outline of the building area in the map is then taken as the grid area, it being understood that the outline shape of the building area may be different from the current grid shape, e.g. trapezoidal, circular, hexagonal, etc. And finally, acquiring population density information of the building area, determining the grid color and displaying. Through the steps, the population density of the preset building area can be displayed more visually, and population statistics is facilitated.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring preset demand information;
determining rasterization display layout information and a grid shape according to the preset demand information;
determining a region corresponding to the grid according to the grid display layout information and the grid shape;
acquiring population density of a corresponding area in each grid;
and displaying according to the rasterization display layout information, the grid shape and the population density of the area corresponding to the grid.
The invention can also determine the layout mode of the grids according to requirements, for example, the grids of the partial areas are rectangles, the grids of the partial areas are squares, and the grids of the partial areas are irregular polygons. The skilled person can arrange grids of different shapes according to actual needs to improve the display freedom of statistics. The method comprises the steps of firstly, acquiring preset demand information, wherein the preset demand information is the grid shape and the display layout content of a corresponding area preset by a user. After the rasterization display layout information and the grid shape are determined, determining areas corresponding to the grids according to the rasterization display layout information and the grid shape, then obtaining the population density of the corresponding area in each grid, and performing color display according to the rasterization display layout information, the grid shape and the population density of the areas corresponding to the grids. Through self-defined grid size and layout, the population density can be displayed according to the actual requirements of a user from the user perspective, and the user experience is improved.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring region selection request information;
determining a grid area according to the area selection request information to obtain first area information;
acquiring population density information in a grid area in a first area;
and displaying the selected area information according to a preset rule.
When performing demographic statistics, a user may click on a certain grid and then display information such as corresponding population density, for example, click on one grid in a screen and display information such as population density, population composition, and population flow in a grid area at a corresponding position. By the method, the user experience can be improved, and work such as demographics is facilitated. First, it needs to obtain the area selection request information, which may be the user selecting one grid or selecting multiple grid areas. And then, determining a grid region according to the region selection request information to obtain first region information, wherein the first region information is actual geographical region information corresponding to the selected grid. Acquiring population density information in a grid area in the first area; and displaying the selected area information according to a preset rule. The preset rules can be set by those skilled in the art according to actual needs, for example, information such as population density, population composition, population flow direction and the like in the area can be displayed.
FIG. 3 shows a block diagram of a data rasterization display system of the present invention.
As shown in fig. 3, the present invention discloses a data rasterization display system 3, which includes a memory 31 and a processor 32, wherein the memory includes a data rasterization display method program, and when executed by the processor, the data rasterization display method program implements the following steps:
acquiring preset grid size information;
obtaining map information;
determining grid division information according to the grid size information and the map information;
acquiring population density information of an area corresponding to each grid in a map;
determining the grid color according to the population density information;
each grid is displayed according to the grid color.
It should be noted that the raster data is a data form in which a space is divided into regular grids, each grid is called a cell, and each cell is assigned with a corresponding attribute value to represent an entity. The grid in the invention is one or more of square, rectangle, circle and irregular shape. The method analyzes the residential population and the working population in the area by taking the grid as a spatial dimension, counts the number and the distribution proportion of the residential population and the working population in the area, and provides refined data support for population counting in the area. The size of the grid is set by a person skilled in the art according to actual needs, or automatically. And during automatic setting, the setting can be carried out according to the size of the current display interface or a preset rule. First, preset grid size information is obtained, where the size information of the grid includes the area and shape of the grid, for example, the grid may be a square with 200 m sides, or a rectangle with 200 × 400. And acquiring map information after acquiring the grid size information, wherein the map information can be acquired through a third-party platform. And then determining to perform grid division information according to the grid size information and the map information so as to ensure that the grid can completely cover the map area. After the grid division information in the map is determined, population density information of an area corresponding to each grid in the map needs to be acquired, wherein the population density information is obtained through statistics of government departments or third-party departments, and population density refers to the number of population in a unit area, and the larger the number is, the larger the population density is. The color of the grid can be determined according to the population density, different colors represent different population densities, and then the grid color is displayed according to the grid color. Different from the population density display in a contour line mode in the prior art, the population density display method and the device can flexibly query the population density according to the size of the grid through the grid display, and improve the visualization effect.
According to the embodiment of the invention, the determining the grid color according to the population density information specifically comprises:
setting a grid starting color;
determining N color levels according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and performing color filling;
wherein each color level corresponds to a different population density range.
When setting the grid color, first, the initial color of the grid is determined, i.e., the color at the lowest population density and the color at the highest population density, and preferably, the color at the lowest population density is selected to be dark green, and the color at the highest population density is selected to be brownish red. After the starting color is determined, N color levels, each of which is a multi-level color content according to a coloring principle or manually set, may be determined from the grid starting color. For example, if N is 7, the corresponding color may be dark green, light green, yellow, light red, or brownish red. Each color level corresponds to a different population density range, e.g., dark green represents a population density range of 0-1 per 100 square meters, and so on. After the information of the population density of the current grid is obtained, the color grade of the current grid can be determined, and then color filling is carried out according to the color grade. The visualization effect of the population density can be improved through the grid color display of different colors.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
and displaying each grid according to the grid color.
It should be noted that, the size of the grid can be determined according to the size of the current display interface of the user side, for example, the displayed map of the user side is 1:1500, in order not to affect the display effect, the number of the grids in the display screen is ensured to be a fixed value, and the size of the grids is A; when the displayed map is 1:2000, the number of grids is consistent with 1: 1500; the size of the grid is B, wherein A and B are the calculated grid sizes. The grid size is determined according to the display interface of the display end, and the display effect and the user experience can be improved. In order to achieve the above effect, the display interface of the display end needs to be obtained first, and the display interface is the current map scale and the display information of the user end. And then determining the size of the grid according to the display interface, obtaining the range of the area corresponding to the grid after determining the size of the grid, in order to perform grid display under the current display interface, acquiring population density information of the area corresponding to the grid again, determining the color of the grid according to the population density information, and then displaying each grid according to the color of the grid.
According to the embodiment of the invention, the method further comprises the following steps:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
and determining the grid color according to the population density information and displaying.
It should be noted that, when the user dynamically controls the display interface, the present invention can automatically determine the size of the grid according to the current size of the display interface of the user side, for example, when the user side enlarges the map interface, it is ensured that the number of the grids in the display screen is a fixed value, and the area range corresponding to the grids is also automatically reduced; when the map interface is reduced, the number of the grids in the display screen is ensured to be a fixed value, and the area range corresponding to the grids can be automatically enlarged so as to adapt to the map scaling of the user side and improve the display effect and the user experience. In order to achieve the effect, the invention firstly receives display interface adjustment information, wherein the display interface adjustment information is the operation of enlarging or reducing the interface by a user, then determines the adjusted display interface information according to the display interface adjustment information, and after determining the adjusted display interface, the adjusted display interface can be divided to determine the size of the grids so as to ensure that the number of the grids of the adjusted display interface is not changed. Then acquiring population density information in an area corresponding to the grid; and determining the grid color according to the population density information and displaying.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring preset display demand information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
and acquiring population density information of a preset building area, determining the color of the grid, and displaying.
It should be noted that, in the case of actual statistical population density, the important area or the important building in the map often needs to be displayed with individual population density, and if the grid is in a uniform shape, the edge of the grid may cover the important area or the important building, which is not favorable for displaying the population density. In order to solve the problems, the method comprises the steps of firstly obtaining preset display requirement information, wherein the display requirement information comprises special building area information, and the special building area information can be a park, a building, a school and the like. The outline of the building area in the map is then taken as the grid area, it being understood that the outline shape of the building area may be different from the current grid shape, e.g. trapezoidal, circular, hexagonal, etc. And finally, acquiring population density information of the building area, determining the grid color and displaying. Through the steps, the population density of the preset building area can be displayed more visually, and population statistics is facilitated.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring preset demand information;
determining rasterization display layout information and a grid shape according to the preset demand information;
determining a region corresponding to the grid according to the grid display layout information and the grid shape;
acquiring population density of a corresponding area in each grid;
and displaying according to the rasterization display layout information, the grid shape and the population density of the area corresponding to the grid.
In addition, the layout of the grids can be determined according to requirements, for example, the grids of the partial regions are rectangular, the grids of the partial regions are square, and the grids of the partial regions are irregular polygons. The skilled person can arrange grids of different shapes according to actual needs to improve the display freedom of statistics. The method comprises the steps of firstly, acquiring preset demand information, wherein the preset demand information is the grid shape and the display layout content of a corresponding area preset by a user. After the rasterization display layout information and the grid shape are determined, the area corresponding to the grid is determined according to the rasterization display layout information and the grid shape, then the population density of the corresponding area in each grid is obtained, and color display is carried out according to the rasterization display layout information, the grid shape and the population density of the area corresponding to the grid. By means of the user-defined grid size and layout, the population density can be displayed according to the actual needs of the user from the user perspective, and the user experience is improved.
According to the embodiment of the invention, the method further comprises the following steps:
acquiring region selection request information;
determining a grid area according to the area selection request information to obtain first area information;
acquiring population density information in a grid area in a first area;
and displaying the selected area information according to a preset rule.
When performing demographic statistics, a user may click on a certain grid and then display information such as corresponding population density, for example, click on one grid in a screen and display information such as population density, population composition, and population flow in a grid area at a corresponding position. By the method, the user experience can be improved, and work such as demographics is facilitated. First, it needs to obtain the area selection request information, which may be the user selecting one grid or selecting multiple grid areas. And then, determining a grid region according to the region selection request information to obtain first region information, wherein the first region information is actual geographical region information corresponding to the selected grid. Acquiring population density information in a grid area in the first area; and displaying the selected area information according to a preset rule. The preset rules can be set by those skilled in the art according to actual needs, for example, information such as population density, population composition, population flow direction and the like in the area can be displayed.
A third aspect of the present invention discloses a computer-readable storage medium, which includes a data rasterization display method program, and when the data rasterization display method program is executed by a processor, the method implements the steps of the data rasterization display method described in any one of the above.
The application provides a data rasterization display method, a data rasterization display system and a storage medium, through rasterization display, population density can be flexibly inquired according to the size of a grid, and the visualization effect is improved. According to the invention, the visualization effect of the population density can be improved through the grid color display of different colors. The invention can also determine different grid distributions and grid shapes according to different rules, thereby improving the user experience and improving the visualization effect of display.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.

Claims (6)

1. A data rasterization display method is characterized by comprising the following steps:
acquiring preset grid size information;
obtaining map information;
determining grid division information according to the grid size information and the map information;
acquiring population density information of an area corresponding to each grid in a map;
determining the grid color according to the population density information;
each grid is displayed according to the grid color;
further comprising:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
displaying each grid according to the grid color;
further comprising:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
determining the grid color according to the population density information and displaying;
further comprising:
acquiring preset demand information;
determining rasterization display layout information and a grid shape according to the preset demand information;
determining a region corresponding to the grid according to the grid display layout information and the grid shape;
acquiring the population density of a corresponding area in each grid;
displaying according to the gridding display layout information, the grid shape and the population density of the area corresponding to the grid;
further comprising:
acquiring preset display requirement information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
acquiring population density information of a preset building area, determining the color of the grid, and displaying;
further comprising:
acquiring region selection request information;
determining a grid area according to the area selection request information to obtain first area information;
acquiring population density information in a grid area in a first area;
and displaying the selected area information according to a preset rule.
2. The data rasterization display method as claimed in claim 1, wherein the determining of the grid color according to population density information is specifically:
setting a grid starting color;
determining N color levels according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and performing color filling;
wherein each color level corresponds to a different population density range.
3. The method for rasterizing data and displaying according to claim 1, wherein the grid is one or more of a square, a rectangle, a circle and an irregular shape.
4. A data rasterization display system, comprising a memory and a processor, wherein the memory includes a data rasterization display method program, and when executed by the processor, the data rasterization display method program implements the following steps:
acquiring preset grid size information;
acquiring map information;
determining information for carrying out grid division according to the grid size information and the map information;
acquiring population density information of an area corresponding to each grid in a map;
determining the grid color according to the population density information;
each grid is displayed according to the grid color;
further comprising:
acquiring a display interface of a display end;
determining the size of the grid according to the display interface;
re-acquiring population density information of an area corresponding to the grid;
determining the grid color according to the population density information;
displaying each grid according to the grid color;
further comprising:
receiving display interface adjustment information;
determining adjusted display interface information according to the display interface adjustment information;
carrying out grid division on the adjusted display interface, and determining the size of a grid;
acquiring population density information in an area corresponding to the grid;
determining the grid color according to the population density information and displaying;
further comprising:
acquiring preset demand information;
determining rasterization display layout information and a grid shape according to the preset demand information;
determining a region corresponding to the grid according to the grid display layout information and the grid shape;
acquiring population density of a corresponding area in each grid;
displaying according to the gridding display layout information, the grid shape and the population density of the area corresponding to the grid;
further comprising:
acquiring preset display requirement information;
acquiring preset building area information in a map according to preset display demand information;
taking the outline of a preset building area in a map as a grid area;
acquiring population density information of a preset building area, determining the color of a grid, and displaying;
further comprising:
acquiring region selection request information;
determining a grid area according to the area selection request information to obtain first area information;
acquiring population density information in a grid area in a first area;
and displaying the selected area information according to a preset rule.
5. The data rasterization display system of claim 4 wherein the determining of the grid color according to population density information is specifically:
setting a grid starting color;
determining N color levels according to the initial color of the grid;
acquiring the current grid population density;
corresponding the current grid population density to a color grade, and performing color filling;
wherein each color level corresponds to a different population density range.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a data rasterization display method program, which when executed by a processor, implements the steps of a data rasterization display method as defined in any one of claims 1 to 3.
CN202111251493.2A 2021-10-27 2021-10-27 Data rasterization display method and system and storage medium Active CN114064831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111251493.2A CN114064831B (en) 2021-10-27 2021-10-27 Data rasterization display method and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111251493.2A CN114064831B (en) 2021-10-27 2021-10-27 Data rasterization display method and system and storage medium

Publications (2)

Publication Number Publication Date
CN114064831A CN114064831A (en) 2022-02-18
CN114064831B true CN114064831B (en) 2022-09-30

Family

ID=80235639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111251493.2A Active CN114064831B (en) 2021-10-27 2021-10-27 Data rasterization display method and system and storage medium

Country Status (1)

Country Link
CN (1) CN114064831B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114490624B (en) * 2022-04-02 2022-06-28 北京融信数联科技有限公司 Big data-based intelligent statistical method and system for people, house, enterprise and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239756A (en) * 2017-05-23 2017-10-10 国家地理空间信息中心 Density of population analysis system based on high score satellite remote sensing date combination type of ground objects
CN109543909B (en) * 2018-11-27 2023-04-18 平安科技(深圳)有限公司 Method and device for predicting number of vehicle cases and computer equipment
CN111242491A (en) * 2020-01-16 2020-06-05 厦门大学 Medical big data visualization analysis method, medium, equipment and system
CN113486133A (en) * 2021-07-14 2021-10-08 智慧足迹数据科技有限公司 Population distribution information generation method, population distribution information generation device, server and storage medium

Also Published As

Publication number Publication date
CN114064831A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
US20210362061A1 (en) Method and Apparatus for Acquiring Merged Map, Storage Medium, Processor, and Terminal
US6191794B1 (en) Method and apparatus for scaling texture maps for graphical images
CN114064831B (en) Data rasterization display method and system and storage medium
CN112190935A (en) Dynamic volume cloud rendering method and device and electronic equipment
EP1669929A2 (en) Systems and methods for presenting descriptions of conditions with respect to a surface
CN114092575B (en) Digital earth real-time coloring method and device
CN114611036A (en) Gis data processing and rendering method
CN111124404A (en) Custom color display method and system
CN112100306A (en) Air quality drop area forecast map drawing method and device and storage medium
CN117218273A (en) Image rendering method and device
CN112687007A (en) LOD technology-based stereo grid map generation method
CN113963077A (en) Grid division method, grid division device, electronic apparatus, and storage medium
US20050146524A1 (en) System and method for determining a spatial hierarchy for polygonal data by using cube-root scaling
CN115168682B (en) Large-scale space-time point data LOD drawing method and device
CN113066178B (en) Map data processing method, device, equipment and storage medium
CN113010626A (en) Thermodynamic diagram generation method, device, equipment and storage medium
CN112419137A (en) Method and device for displaying mask picture and method and device for displaying mask picture
CN113436306B (en) Image rendering method, device and storage medium
CN108921094A (en) A kind of alert management system based on big data
CN116466952B (en) Control visual effect element adjusting method and device, electronic equipment and storage medium
CN117032468B (en) Fillet rectangle drawing method, system and medium based on intelligent bracelet
CN116704146A (en) Three-dimensional electronic map dynamic loading method based on game rendering engine
CN116824028B (en) Image coloring method, apparatus, electronic device, storage medium, and program product
CN115687499B (en) Global frequency spectrum map design and implementation system
CN114155346B (en) Data processing method and device for terrain matching

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
CB03 Change of inventor or designer information

Inventor after: Zhang Guangzhi

Inventor after: Cheng Lili

Inventor after: Jia Xiaofeng

Inventor after: Gao Wenfei

Inventor before: Zhang Guangzhi

Inventor before: Cheng Lili

Inventor before: Jia Xiaofeng

Inventor before: Gao Wenfei

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant