CN113345049A - Thermodynamic diagram generation method based on land parcel - Google Patents
Thermodynamic diagram generation method based on land parcel Download PDFInfo
- Publication number
- CN113345049A CN113345049A CN202110888988.XA CN202110888988A CN113345049A CN 113345049 A CN113345049 A CN 113345049A CN 202110888988 A CN202110888988 A CN 202110888988A CN 113345049 A CN113345049 A CN 113345049A
- Authority
- CN
- China
- Prior art keywords
- map
- thermal
- grid
- thermal unit
- area
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Generation (AREA)
Abstract
The invention discloses a block-based thermodynamic diagram generation method, which comprises the steps of firstly selecting N pixels to construct a thermodynamic unit grid, and obtaining a map scale to obtain resolution; then dividing the grid of the thermal unit and constructing a thermal unit layer covering a target data range; performing superposition analysis on the thermal unit map layer and the target map layer to obtain a map of the land where each thermal unit grid intersects; writing the sum of the areas of the intersected land terrains into the grid area attribute of the thermal unit to obtain the maximum area and the minimum area, and further calculating the thermal weight value; and finally, according to an HSL color division method, determining the rendering color value of each thermal unit grid one by one, drawing the thermal unit grids on a map, and rendering a thermodynamic diagram. The invention has the beneficial effects that: after the plots are divided according to the thermal unit grids, the distribution areas of the plots and the shapes of the plots can be well reflected, and particularly, the thermodynamic diagram expression effect of long and narrow plots is greatly improved.
Description
Technical Field
The invention relates to the field of maps, in particular to a map generation method based on a plot.
Background
In the field of GIS application, thermodynamic diagrams are used as map expression forms of spatial data, and the distribution condition and the aggregation degree of the spatial data on a spatial scale can be embodied in a more intuitive form. The data source is a dot pattern in an application scene such as to reflect the density of visitors in a scenic region within a certain time period.
In the application of the natural resource industry, the land parcel which is mainly concerned in business is a planar graph, such as land supply data, land transaction data and the like, and in the application, the intensity of the land supply data, the transaction activity degree of the land transaction data and the like can be reflected by thermodynamic diagrams. In the existing method, when displaying the thermodynamic diagrams of the planar graphic data, a central point of each planar graphic is taken as a rendering center in a calculation process, an area of each planar graphic is taken as a rendering weight, a rendering radius is set according to the weight, a circular rendering surface is obtained, filling is performed from the center of the circle to the outside in a gray scale mode, gray scale distribution maps of rendering areas of the entire thermodynamic diagrams are obtained by overlapping gray scale values of all the rendering centers, and then corresponding colors are given to different gray scale values according to color bands, so that the thermodynamic distribution maps are obtained.
However, in the case of a planar graphic, for example, a land parcel of a long and narrow road, a center point is used as a rendering center, which causes distortion to some extent and makes it difficult to reflect the degree of data aggregation at both ends of the road. And the disadvantages of this rendering logic are: when a land is large and has a long and narrow land, if the center point is used as the rendering center, the data position is not accurate and the shape of the planar graph itself is lost, and the rendered thermodynamic diagram may cause a deviation in data distribution.
Disclosure of Invention
The invention mainly solves the problem of how to use a calculation and display method suitable for the thermodynamic diagram aggregation and distribution of a planar graph, so the invention provides a method for displaying the planar graph in the thermodynamic diagram rendering, which can accurately display the aggregation and distribution conditions of planar data, and comprises the following specific steps:
s1: selecting N pixels by N to construct a thermal unit grid, and obtaining a map scale to obtain resolution;
s2: dividing the grid of the thermal unit, and constructing a thermal unit layer covering a target data range;
s3: performing superposition analysis on the thermal unit map layer and the target map layer to obtain a map of the land where each thermal unit grid intersects;
s4: writing the sum of the areas of the intersected land topography into the grid area attribute of the thermal unit so as to obtain the maximum area and the minimum area;
s5: calculating a thermal weight value according to the minimum and the maximum of the area;
s6: determining the rendering color value of each thermal unit grid one by one according to an HSL color division method;
s7: and drawing a heat unit grid on the map, and rendering a thermodynamic diagram.
Further, based on the current map scale and the DPI, the geographic resolution of the current scale is obtained, and the geographic range (xmin, ymin, xmax, ymax) included by the N x N pixels is calculated.
Furthermore, the upper left corner of the data is taken as a calculation origin, and the lower right corner divides the grid of the thermal power units row by row and column by column.
Further, the thermal Weight value Weight of the thermal unit grid is determined by Weight = (Area-MinArea)/(MaxArea-MinArea), where Area is the sum of the areas of intersecting land features, MaxArea is the Area maximum, and MinArea is the Area minimum.
Further, when calculating the thermal Weight value Weight, data normalization processing needs to be performed first.
Further, the hue value of the rendering color value ColorAngle = (1-Weight) × 240, and Weight is a thermal Weight value.
Further, when the thermal unit grid is drawn on the map, when the thermal weight value of the thermal unit grid is 0, it is indicated that no plot graph exists in the area, and the plot graph can be directly hidden, and when the thermal weight value is greater than 0, the thermal unit grid sets the drawing color of the grid according to the rendering color in the spatial attribute.
The technical scheme provided by the invention has the beneficial effects that: after the plots are divided according to the thermal unit grids, the distribution areas of the plots and the shapes of the plots can be well reflected, and particularly, the thermodynamic diagram expression effect of long and narrow plots is greatly improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a flowchart of a method for generating a map based on a parcel in an embodiment of the present invention.
Fig. 2 is a grid overlay analysis of thermal cells in an embodiment of the present invention.
Fig. 3 is a thermal cell grid rendering in an embodiment of the invention.
Detailed Description
Referring to fig. 1, fig. 1 is a flowchart of a method for generating a map-based thermodynamic diagram according to an embodiment of the present invention. Firstly, selecting N pixels to construct a thermal unit grid, obtaining the geographic resolution of the current scale based on the current map scale and DPI, and calculating the geographic range (xmin, ymin, xmax, ymax) contained by the N pixels. And taking the upper left corner of the data in the geographic range as a calculation origin, dividing the thermal unit grids to the lower right corner row by row, and constructing a thermal unit layer covering the target data range.
As shown in fig. 2, the target map layer and the thermal unit map layer are subjected to spatial overlay analysis to obtain a map of a land where each thermal unit grid intersects, and the Area sum Area of the intersecting maps is written into the Area attribute of the thermal unit grid. And after the plot areas of all the thermal unit grids are calculated, acquiring the maximum value MaxArea and the minimum value MinArea of the areas.
The data is normalized, and then the thermal Weight value Weight of each thermal unit grid is determined according to the formula Weight = (Area-MinArea)/(MaxArea-MinArea). According to the HSL color division method, a color taking interval is from red (0 degrees) to blue (240 degrees), the hue value is Colorangle = (1-Weight) × 240, the rendering color value of each thermal unit grid is determined one by one and written into the space attribute of the grid.
As shown in fig. 3, a grid of thermal cells is drawn on the map, and when the weight of the grid of thermal cells is 0, it indicates that there is no plot in the area and the plot can be directly hidden. Other thermal cell grids with weights greater than 0 set the drawing colors of the grid according to the rendering colors in the spatial attributes.
The key point of the invention is that the simple central point and the weight are taken as the mode of the thermal unit and are improved into the mode of the thermal unit grid, and the land area contained in the thermal unit grid is obtained by utilizing the spatial analysis. Therefore, the method can better reflect the distribution area of the land and the form of the land itself on the premise of giving consideration to the thermodynamic diagram display effect.
The technical scheme provided by the invention has the beneficial effects that: after the plots are divided according to the thermal unit grids, the distribution areas of the plots and the shapes of the plots can be well reflected, and particularly, the thermodynamic diagram expression effect of long and narrow plots is greatly improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (7)
1. A method for generating a map based on a land parcel is characterized in that: the thermodynamic diagram generation method specifically comprises the following steps:
s1: selecting N pixels by N to construct a thermal unit grid, and obtaining a map scale to obtain resolution;
s2: dividing the grid of the thermal unit, and constructing a thermal unit layer covering a target data range;
s3: performing superposition analysis on the thermal unit map layer and the target map layer to obtain a map of the land where each thermal unit grid intersects;
s4: writing the sum of the areas of the intersected land topography into the grid area attribute of the thermal unit so as to obtain the maximum area and the minimum area;
s5: calculating a thermal weight value according to the minimum and the maximum of the area;
s6: determining the rendering color value of each thermal unit grid one by one according to an HSL color division method;
s7: and drawing a heat unit grid on the map, and rendering a thermodynamic diagram.
2. The method of generating a map-based thermodynamic diagram according to claim 1, wherein: in step S1, based on the current map scale and DPI, the geographic resolution of the current scale is obtained, and the geographic range included by N × N pixels is calculated: xmin, ymin, xmax, and ymax.
3. The method of generating a map-based thermodynamic diagram according to claim 1, wherein: in step S2, the upper left corner of the data is taken as the calculation origin, and the lower right corner divides the grid of thermal cells row by row.
4. The method of generating a map-based thermodynamic diagram according to claim 1, wherein: in step S5, the method for determining the thermal Weight value Weight of the thermal cell grid is Weight = (Area-MinArea)/(MaxArea-MinArea), where Area is the sum of the areas of the intersecting land features, MaxArea is the maximum Area value, and MinArea is the minimum Area value.
5. The method of generating a map based on a parcel as claimed in claim 4, wherein: when calculating the thermal Weight value Weight, data normalization processing is required first.
6. The method of generating a map-based thermodynamic diagram according to claim 1, wherein: in step S6, the hue value of the rendering color value ColorAngle = (1-Weight) × 240, where Weight is a thermal Weight value.
7. The method of generating a map-based thermodynamic diagram according to claim 1, wherein: in step S7, when the thermal cell grid is drawn on the map, when the thermal weight value of the thermal cell grid is 0, it indicates that there is no parcel pattern in the area, and the parcel pattern can be directly hidden, and when the thermal weight value is greater than 0, the thermal cell grid sets the drawing color of the grid according to the rendering color in the spatial attribute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110888988.XA CN113345049A (en) | 2021-08-04 | 2021-08-04 | Thermodynamic diagram generation method based on land parcel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110888988.XA CN113345049A (en) | 2021-08-04 | 2021-08-04 | Thermodynamic diagram generation method based on land parcel |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113345049A true CN113345049A (en) | 2021-09-03 |
Family
ID=77480569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110888988.XA Pending CN113345049A (en) | 2021-08-04 | 2021-08-04 | Thermodynamic diagram generation method based on land parcel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113345049A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849694A (en) * | 2021-09-22 | 2021-12-28 | 上海妙一生物科技有限公司 | Analysis and device of medicine registration data |
CN115830178A (en) * | 2022-12-05 | 2023-03-21 | 珠海芯聚科技有限公司 | Integrated circuit hot spot diagram display method, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106708955A (en) * | 2016-11-29 | 2017-05-24 | 浙江宇视科技有限公司 | Thermodynamic diagram generation method and equipment |
US20190286635A1 (en) * | 2018-03-15 | 2019-09-19 | Arizona Board Of Regents On Behalf Of Arizona State University | Systems and methods for an end-to-end visual analytics system for massive-scale geospatial data |
CN110675728A (en) * | 2018-07-03 | 2020-01-10 | 百度在线网络技术(北京)有限公司 | Generation method, device and equipment of thermodynamic diagram and computer readable storage medium |
US20200151924A1 (en) * | 2018-11-09 | 2020-05-14 | Merck Sharp & Dohme Corp. | Displaying Large Data Sets in a Heat Map |
CN111915690A (en) * | 2020-08-03 | 2020-11-10 | 北京吉威空间信息股份有限公司 | Thermodynamic diagram data reduction method based on vector tiles |
CN112417233A (en) * | 2020-12-16 | 2021-02-26 | 湖北大学 | Thermodynamic diagram generation method and system considering space density difference |
-
2021
- 2021-08-04 CN CN202110888988.XA patent/CN113345049A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106708955A (en) * | 2016-11-29 | 2017-05-24 | 浙江宇视科技有限公司 | Thermodynamic diagram generation method and equipment |
US20190286635A1 (en) * | 2018-03-15 | 2019-09-19 | Arizona Board Of Regents On Behalf Of Arizona State University | Systems and methods for an end-to-end visual analytics system for massive-scale geospatial data |
CN110675728A (en) * | 2018-07-03 | 2020-01-10 | 百度在线网络技术(北京)有限公司 | Generation method, device and equipment of thermodynamic diagram and computer readable storage medium |
US20200151924A1 (en) * | 2018-11-09 | 2020-05-14 | Merck Sharp & Dohme Corp. | Displaying Large Data Sets in a Heat Map |
CN111915690A (en) * | 2020-08-03 | 2020-11-10 | 北京吉威空间信息股份有限公司 | Thermodynamic diagram data reduction method based on vector tiles |
CN112417233A (en) * | 2020-12-16 | 2021-02-26 | 湖北大学 | Thermodynamic diagram generation method and system considering space density difference |
Non-Patent Citations (3)
Title |
---|
POLCZYNSKI M 等: "A microsoft VBA application for generating heat maps", 《TRANSACTIONS IN GIS》 * |
胡宝清 等: "《县域循环经济发展评价理论、方法与实例研究》", 31 December 2011 * |
饶颖霞 等: "基于人口热力图和土地利用分类实现人流量空间分布的精确提取", 《测绘与空间地理信息》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113849694A (en) * | 2021-09-22 | 2021-12-28 | 上海妙一生物科技有限公司 | Analysis and device of medicine registration data |
CN115830178A (en) * | 2022-12-05 | 2023-03-21 | 珠海芯聚科技有限公司 | Integrated circuit hot spot diagram display method, equipment and storage medium |
CN115830178B (en) * | 2022-12-05 | 2023-09-08 | 珠海芯聚科技有限公司 | Integrated circuit hot spot diagram display method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Djurcilov et al. | Visualizing scalar volumetric data with uncertainty | |
CN110992469B (en) | Visualization method and system for massive three-dimensional model data | |
CN113345049A (en) | Thermodynamic diagram generation method based on land parcel | |
CN106021342B (en) | City space annual ring cartography and analysis method | |
CN111369657A (en) | Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium | |
CN107564087A (en) | A kind of Three-D linear symbol rendering intent based on screen | |
CN108305315B (en) | Efficient three-dimensional terrain gradual-change coloring method based on WPF | |
CN105488844B (en) | The display methods of magnanimity model real-time shadow in a kind of three-dimensional scenic | |
CN110349261B (en) | Method for generating three-dimensional thermodynamic diagram based on GIS | |
CN110110028B (en) | Method and system for displaying map according to user-defined area and oriented to OGC standard | |
CN108986024A (en) | A kind of regularly arranged processing method of laser point cloud based on grid | |
CN102682115A (en) | Dot density thematic map making method based on Voronoi picture | |
CN114092575B (en) | Digital earth real-time coloring method and device | |
Ge et al. | Realizing the box-counting method for calculating fractal dimension of urban form based on remote sensing image | |
Shen et al. | A raster-based typification method for multiscale visualization of building features considering distribution patterns | |
CN106873931A (en) | Raster data visualization device, method and computer system | |
CN111324658A (en) | Ocean temperature visual analysis method, intelligent terminal and storage medium | |
Amiraghdam et al. | LOCALIS: Locally‐adaptive Line Simplification for GPU‐based Geographic Vector Data Visualization | |
CN115423953A (en) | Water pollutant visualization method and terminal equipment | |
AU2020350243A1 (en) | Super-resolution stereoscopic visualization processing system and program | |
CN114627258B (en) | Method and system for isomorphic modeling of gravity field catamaran spheres | |
CN114155346B (en) | Data processing method and device for terrain matching | |
CN115687499B (en) | Global frequency spectrum map design and implementation system | |
Sun et al. | A global discrete grid modeling method based on the spherical degenerate quadtree | |
Felgueiras et al. | Modeling and visualization of uncertainties of categorical spatial data using geostatistics, 3D planar projections and color fusion techniques. |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210903 |
|
RJ01 | Rejection of invention patent application after publication |