CN114003621A - Dynamic visualization method and system for regional carbon emission - Google Patents

Dynamic visualization method and system for regional carbon emission Download PDF

Info

Publication number
CN114003621A
CN114003621A CN202111303273.XA CN202111303273A CN114003621A CN 114003621 A CN114003621 A CN 114003621A CN 202111303273 A CN202111303273 A CN 202111303273A CN 114003621 A CN114003621 A CN 114003621A
Authority
CN
China
Prior art keywords
data
chart
carbon emission
function
spatial
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
Application number
CN202111303273.XA
Other languages
Chinese (zh)
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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN202111303273.XA priority Critical patent/CN114003621A/en
Publication of CN114003621A publication Critical patent/CN114003621A/en
Pending legal-status Critical Current

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/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a dynamic visualization method for regional carbon emission, which comprises the following steps: constructing a regional carbon emission chart database; constructing a spatial database of regional carbon emission; constructing a chart data dynamic visualization function by matching the chart type and the layout display page; constructing a dynamic visualization function of the spatial data by loading a map end base map as a basic carrier for spatial data visualization; and processing the chart data and the space data of carbon emission in the warehousing area by utilizing the constructed chart data and space data dynamic visualization function to generate data meeting the dynamic visualization requirement. The invention also discloses a dynamic visualization system for regional carbon emission.

Description

Dynamic visualization method and system for regional carbon emission
Technical Field
The invention relates to the field of low-carbon development treatment and space planning, in particular to a dynamic visualization method and system for regional carbon emission.
Background
In order to cope with global climate change, scientific decision of regional low-carbon development planning is particularly important, and the construction of intelligent visualization systems such as intelligent accounting, data visualization, situation analysis, data monitoring, intelligent evaluation decision and the like of regional carbon emission data information is the basis and technical support for regional low-carbon scientific planning, and is an important technology for realizing low-carbon intelligent planning and digital space management under the background of green low-carbon development. Therefore, the dynamic visualization method and system for regional carbon emission are established, and the targets are urgent and significant.
At present, a complete dynamic visualization technical method system with connectivity and consensus on different planning levels is not established in the low-carbon planning field. At present, a method capable of effectively quantifying regional carbon emission and dynamic visualization thereof cannot be formed, a planner and a decision maker lack a visualization tool for regional carbon emission problems and a regulation and control basis for carbon reduction and control, and it is difficult to perform 'looking for and asking for "on the symptoms' on various index data of regional carbon emission. Meanwhile, in the visualization technical implementation means of regional low-carbon planning, the existing technical means are a section taking a Geographic Information System (GIS) as a core and a static visualization mode, the result diagram has no functions of dynamics and interactivity, and the transportability and the universality are limited; the existing data visualization tool needs professional technicians to customize or use professional software to manufacture, is high in technical barrier and low in practicability, and cannot well meet the digital information requirement.
Therefore, the construction of the visualization method and the visualization system for closed-loop operation, which are based on the construction of the dynamic visualization method and the visualization system for regional carbon emission, and are used for carrying out intelligent statistics, situation monitoring, evaluation and analysis, timely early warning and intelligent decision management on regional carbon emission data, is a key basis for developing regional ' carbon peak reaching ', ' carbon neutralization ' and ' low-carbon planning research.
Disclosure of Invention
The invention provides a dynamic visualization method for regional carbon emission, which aims to solve the problem of dynamic visualization of regional carbon emission and realize intelligent, interactive, multi-level, multi-dimensional and real-time display of regional carbon emission data.
According to an embodiment of the invention, there is provided a method for regional carbon emission dynamic visualization, comprising: constructing a regional carbon emission chart database, wherein the chart database comprises regional socioeconomic development chart data and regional carbon emission chart data; constructing a spatial database of regional carbon emission, wherein the spatial database comprises carbon emission, carbon sink amount and spatial data of regions and administrative areas under the region and carbon emission, carbon sink amount and spatial data of various landfills; the chart data dynamic visualization function is constructed by matching the chart type and the layout display page, and the chart data dynamic visualization function construction comprises the following steps: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data; the method comprises the steps that a map end base map is loaded to serve as a basic carrier for spatial data visualization to construct a spatial data dynamic visualization function, wherein the spatial data dynamic visualization function comprises the steps of configuring a spatial tone map, configuring a spatial thermodynamic diagram, and setting a spatial switching function, a map click event monitoring function and a layer zooming monitoring function; and processing the chart data and the space data of carbon emission in the warehousing area by utilizing the constructed chart data and space data dynamic visualization function to generate data meeting the dynamic visualization requirement.
According to an embodiment of the invention, wherein the graphical data of regional carbon emissions comprises at least one of: the carbon emission total amount, the carbon collection total amount, the carbon emission intensity, the per-capita carbon emission, the unit energy consumption carbon emission, the carbon source-carbon collection ratio, the town unit area carbon emission, the agriculture unit area carbon emission, the ecological space unit area carbon emission, the carbon emission structure, the unit production value carbon emission of industrial enterprises with the scale above and the regional carbon emission characteristic.
According to an embodiment of the present invention, matching a chart type and a layout display page includes: matching different chart types to different display graphs, the graphs including at least one of: a word chart, a line chart, a pie chart, a bar chart, a radar chart, a bubble chart, a circle chart, a scatter chart and an area chart; rendering the graph by utilizing a visual tool library to enhance the display effect; and performing function partition on the display page, so that different graph data and graphs corresponding to the graph data are displayed in different function areas of the page.
According to an embodiment of the present invention, configuring interactive functions of chart data includes: configuring a monitoring function of sensing the position of a mouse by using chart data; configuring a click event monitoring function for supplementing and displaying chart data; and configuring a mouse position monitoring function for stopping rolling for the character form diagram, and configuring a click sequencing function for the numerical value.
According to an embodiment of the invention, configuring the spatial tone map comprises: acquiring grid space coordinates, center point coordinates, carbon emission/carbon sink data and stage division data of a region from a spatial database of regional carbon emission; configuring different color level visualization effects for the region according to different values of carbon emission and carbon sink of the region; creating a new layer and a new drawing geometric figure by using a layer drawing tool; configuring the geometric figure and adding the geometric figure into the layer; and adding the map layer to the map end base map.
According to an embodiment of the present invention, the staging data is staging demarcation point value data, which is hierarchically classified by a natural breakpoint method into carbon emission/carbon sink data imported into the database.
According to an embodiment of the invention, configuring the geometry comprises: drawing a polygon with a drawing tool, the polygon representing a shape of a region; setting the background color of the polygon according to the color level visualization effect of the region; setting the size of the polygon and the relative position on the map end base map according to the grid space coordinates and the central point coordinates of the area; and setting the characters of the polygon for enhancing the display effect, wherein the characters comprise administrative names and administrative codes of the regions.
According to an embodiment of the invention, configuring a spatial thermodynamic diagram comprises: converting the surface data of various land types into central point data; respectively configuring corresponding color level visualization effects according to the carbon emission/carbon sink quantity numerical values of the central point; and forming a space thermodynamic diagram of carbon emission/carbon sink amount of various types of land used in the area.
According to an embodiment of the present invention, setting the spatial switching function includes: configuring an initial dynamic visualization function of spatial data, and constructing a visualization switching effect of the conversion of a page view from a macroscopic view to a microscopic view; and configuring a timing loop to play earth rotation-rotation stopping-rotation-macroscopic view-microscopic view conversion for displaying the spatial color gradation diagram and the spatial thermodynamic diagram of the region.
The invention also provides a system for regional carbon emission dynamic visualization, which is used for realizing the method disclosed by the embodiment and comprises a first construction module, a second construction module, a third construction module, a fourth construction module and a processing module; wherein:
the system comprises a first construction module, a second construction module and a third construction module, wherein the first construction module is used for constructing a regional carbon emission chart database, and the chart database comprises regional socioeconomic development chart data and regional carbon emission chart data;
the second construction module is used for constructing a spatial database of regional carbon emission, wherein the spatial database comprises carbon emission, carbon sink amount and spatial data of regions and administrative areas of the regions and carbon emission, carbon sink amount and spatial data of various sites;
a third constructing module, configured to construct a chart data dynamic visualization function by matching a chart type and a layout display page, where the constructing a chart data dynamic visualization function includes: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data;
the fourth construction module is used for constructing a dynamic spatial data visualization function by loading a map end base map as a basic carrier for spatial data visualization, wherein the dynamic spatial data visualization function comprises a spatial color level map configuration function, a spatial thermodynamic map configuration function, a spatial switching function, a map click event monitoring function and a layer scaling monitoring function;
and the processing module is used for processing the chart data and the space data of the carbon emission of the warehoused region by utilizing the constructed chart data and space data dynamic visualization function to generate data meeting the dynamic visualization requirement.
The invention integrates various direct and indirect key index data capable of comprehensively reflecting regional carbon emission, effectively integrates the data on the visual page of the same limited view, develops corresponding dynamic and interactive visual methods for different data types, and breaks through the existing cross section and static visual methods of carbon emission data; meanwhile, the convenience, transportability and universality of the intelligent city intelligent management system in actual use are realized through the data dynamic interaction function and the cloud deployment technology application, and the intelligent city intelligent management system has positive practical significance and a promoting effect on the informatization development and construction of the intelligent city.
According to the method, the configuration of a regional carbon emission data source, the construction of a dynamic visual response function, the construction of a data management function and a visual real-time rendering function and cloud deployment are combined, dynamic and interactive visualization and dynamic interaction of data can be scientifically, comprehensively, visually and conveniently carried out on related data of regional carbon emission, a closed-loop operation system of intelligent statistics, situation monitoring, evaluation optimization, timely early warning and intelligent decision management of regional carbon emission is formed, and an important technical method support is provided for low-carbon intelligent planning and digital space management under the environment of green low-carbon development.
Drawings
Fig. 1 schematically shows a flow chart of a regional carbon emission dynamics visualization method according to an embodiment of the invention;
fig. 2 is a schematic diagram of a regional carbon emission dynamics visualization system according to an embodiment of the invention.
Detailed Description
In order that the objects, technical solutions and advantages of the present invention will become more apparent, the present invention will be further described in detail with reference to the accompanying drawings in conjunction with the following specific embodiments.
Fig. 1 schematically shows a flow chart of a regional carbon emission dynamics visualization method according to an embodiment of the invention.
As shown in fig. 1, the regional carbon emission dynamic visualization method according to the embodiment of the present invention includes steps S110 to S150.
Step S110, constructing a regional carbon emission chart database, wherein the chart database comprises regional socioeconomic development chart data and regional carbon emission chart data.
The graphic data of the regional socioeconomic development include, but are not limited to, economy (GDP, people-average GDP), industry (third-generation industry), energy (energy consumption structure), and the like; the graphical data of regional carbon emissions includes at least one of: the carbon emission total amount, the carbon collection total amount, the carbon emission intensity, the per-capita carbon emission, the unit energy consumption carbon emission, the carbon source-carbon collection ratio, the unit commuting distance carbon emission, the urban space unit area carbon emission, the agricultural space unit area carbon emission, the ecological space unit area carbon emission, the carbon emission structure, the unit production value carbon emission of industrial enterprises with the scale above, and the regional carbon emission characteristics.
In the implementation of building a regional carbon emission chart DATABASE, a DATABASE (CREATE DATABASE DATABASE name) may be created using a MySQL build library statement, such as a data table created using a build table statement, as follows:
the CREATE TABLE name (attribute name data type,
the type of the attribute name data is,
…,
attribute name data type
)
According to the unified division rule of data regions and years, establishing region each-level codes and year fields in each chart data sheet, establishing corresponding fields according to the characteristics of each chart data sheet, and storing corresponding data, such as: statistical chart data: aiming at the condition of only year and data value (such as man-made GDP), a data value field is added on the basis of year and area number, and corresponding data maintenance is carried out; and secondly, if additional fields exist besides the data value, increasing fields (such as energy type fields of raw coal, coke and the like added in an energy consumption structure) according to the requirements, and maintaining corresponding data. Tables 1 and 2 are examples of database tables formed according to the above implementation, see in particular the following:
table 1 shows regional carbon emission chart database-related information according to an embodiment of the present invention
Figure BDA0003339143600000061
Figure BDA0003339143600000071
Table 2 shows information related to a city carbon emission map database according to an embodiment of the present invention
Figure BDA0003339143600000072
Figure BDA0003339143600000081
Figure BDA0003339143600000091
And step S120, constructing a spatial database of regional carbon emission, wherein the spatial database comprises carbon emission, carbon sink amount and spatial data of regions and administrative areas of the regions, and carbon emission, carbon sink amount and spatial data of various sites.
The various land uses refer to land uses of a primary class, a secondary class and a tertiary class classified by land uses for national space planning, wherein in the land uses of the primary class, agricultural facility construction land, residential land, public management and public service land, commercial service land, industrial and mining land, storage land, transportation land, public facility land and special land belong to carbon source land; the fields of gardens, woodlands, grasslands, wetlands, greenlands and open spaces belong to carbon sink fields.
In the specific implementation process of building a regional carbon emission spatial database, SQL statements are used for building spatial data tables of towns, villages and various land uses of a certain city, wherein the SQL statements comprise the following fields: codes, names, codes, boundary coordinates and center point coordinates, and corresponding data maintenance is carried out; using SQL sentences to establish carbon emission/carbon sink data tables of towns and villages of a certain city and various land uses, wherein the carbon emission/carbon sink data tables comprise codes, carbon emission/carbon sink data and years; and (4) acquiring a complete data set by code association and using linked table query, and establishing a spatial database of regional carbon emission. Tables 3-5 show tables of carbon emission space data for typical towns, villages and plots of various types of land for a city constructed according to the above embodiment, see below:
table 3 shows a typical town carbon emission space data table of a certain city
Figure BDA0003339143600000101
TABLE 4 typical village carbon emission space data table of a certain city
Figure BDA0003339143600000102
TABLE 5 carbon emission space data sheet for various typical land in a city
Figure BDA0003339143600000111
Step S130, a chart data dynamic visualization function is constructed by matching the chart type and the layout display page, and the constructed chart data dynamic visualization function comprises the following steps: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data.
The matching chart type and layout display page includes: matching different chart types to different display graphs, the graphs including at least one of: word tables, line graphs, pie charts, histograms, radar charts, bubble charts, circle charts, scatter charts, area charts, etc., for example: matching character table chart of carbon emission of unit output value of industrial enterprise on the scale; the matching line graphs of "total carbon emission", "total carbon sink", "intensity of carbon emission", "average carbon emission", "carbon emission per unit energy consumption", "carbon emission per commuter distance", "carbon source carbon sink ratio", "average GDP"; the matching pie chart of the carbon emission structure and the third industrial proportion is shown; the 'energy consumption structure' and 'three types of space unit area carbon emission' are matched with a histogram; "regional carbon emission characteristics" match radar plots, etc.;
using a visualization tool library, rendering graphics to enhance display effects, such as: performing dom operation by using jquery aiming at the character table, and dynamically generating the table; performing secondary packaging on the graphs by using echarts components according to the types of the graphs (such as a column graph, a broken line graph and a pie graph) aiming at the rest other graphs to realize effect rendering;
the display page is functionally partitioned, so that different functional areas of the page display different diagram data and graphs corresponding to the diagram data, for example: and establishing a functional module partition for the visual page, performing page partition by using HTML and CSS, and adopting absolute layout (CSS: position: absolute). The top is a title, a menu and a global function area, and the display areas are divided into the display areas of all charts according to function modules: the left side is sequentially provided with a carbon emission total amount line graph, a carbon summary amount line graph and an energy consumption bar graph from top to bottom, the middle is sequentially provided with a map display area, a three-type space unit area carbon emission bar graph and a regular industrial enterprise unit output value carbon emission text chart from top to bottom, and the right side is sequentially provided with a carbon emission index line graph, a carbon emission structure pie graph and a regional carbon emission characteristic radar graph from top to bottom.
TABLE 6 visual Interactive System interface layout configuration Table
Figure BDA0003339143600000121
Note: the division of each module in the table relates to the ratio of width to height and the offset which are all based on the pixels with the width and the height of the screen
The timing jump display function of the chart can be realized by using an echo-auto-tooltip.js component for the Echarts chart, and calling a tools-Loopshoottooltip (barChart, option, { Loopsseries: true }) after the chart is rendered by barchart.setOption (option is an echo configuration attribute), so that the timing jump display function of automatically broadcasting the Echarts chart data in 2 seconds in a prompt tip (data information) rotating manner is realized.
The above-described configuration of the timing scroll function to the character table diagram can be implemented by using a js timer, setInterval (function () { },5000),5000, which is a code in the function () { } set to be executed once every five seconds, in which js is used in combination with CSS animation.
The interactive visualization function of the configuration chart data comprises the following steps: configuring a monitoring function of a diagram data sensing mouse position, for example, setting echarts configuration attribute tooltip, using show to display a prompt box component, and setting trigger to be 'axis' for a line graph and a bar graph; for pie charts, radar charts, trigger is set to "item". Configuring background color of a prompt box, and configuring textstyle.fontsize and textstyle.color to set the font size and color respectively to complete basic attribute configuration of the prompt box; configuring a format, realizing the content format setting of a floating layer of the prompt box, and finishing the setting, namely realizing the inductive display function of the chart data mouse;
the method comprises the steps that a click event monitoring function for supplementary display of chart data is configured, wherein the click event monitoring function can realize two functions, namely, similar charts are integrated into the same display module, and a drop-down box is clicked to carry out supplementary display on corresponding charts; secondly, a supplementary display chart is arranged outside the visual page, after the switching button is clicked, the current display chart is moved out of the display area, the supplementary chart is displayed in the original chart area, and after the switching button is clicked again, the previous chart can be returned; for example: similar line graphs of carbon emission intensity, per-capita carbon emission, unit-energy-consumption carbon emission, unit-commuting-distance carbon emission, carbon source-carbon sink ratio and per-capita GDP are integrated into the same display module. Setting the existing chart to comprise a number and a name by using a pull-down selection, configuring and monitoring an event of change (exchange) in the pull-down selection, acquiring the type of the selected table, calling an interface corresponding to a background according to the type, acquiring data, and drawing an echart chart in the area again to realize the supplementary display of the same type chart; setting a supplementary display chart in a visual page, setting a designated display area outside the display area, drawing a corresponding chart, setting click areas at the edge part of a visual interface, setting click events for the areas, moving a current display chart out of the display area by using CSS animation after clicking a certain area, and simultaneously displaying the supplementary chart in the original chart area;
configuring a mouse position monitoring function for stopping rolling for the character form diagram, and configuring a click sequencing function of numerical value size, wherein the click sequencing function comprises the following steps: after the character table diagram starts a rolling timer, performing mouse suspension monitoring on the area, using an onmouseover and an onmouseout to perform suspension and leaving event monitoring on the mouse respectively, and stopping the timer when the mouse enters the chart area; otherwise, when the mouse leaves the chart area, the timer is restarted; adding click events on the head of a chart output value and unit output value carbon emission table, judging the current data sorting direction by clicking each time, setting parameters of a designated sorting field and the sorting direction, calling a data API (application program interface) by using the designated parameters, inquiring data according to the designated sorting field and the designated sorting direction by a background according to a request, returning the data to a front-end page, and re-rendering the data acquired by the front end to realize a click sorting function.
Step S140, a map end base map is loaded to serve as a basic carrier for spatial data visualization to construct a spatial data dynamic visualization function, wherein the spatial data dynamic visualization function comprises spatial color level map configuration, spatial thermodynamic map configuration, spatial switching function setting, map click event monitoring function and layer zooming monitoring function setting.
The Map region can be rendered by using ArcGIS for JavaScript, the existing Map is used as the base Map, the base Map is loaded by using TileLayer, a Map component object Map is created, the base Map layer object TileLayer is added into the base Map component object, and the three-dimensional base Map view component SceneView is used for configuring a base Map container, a center point center and a level zoom, so that the Map region can be realized.
The configured space color level map comprises space data corresponding to table data of carbon emission and carbon sink amount of areas and administrative divisions below the areas and various land types, and the corresponding color level visualization effect is respectively configured according to the numerical values of the carbon emission and the carbon sink amount to form the space color level map of the carbon emission and the carbon sink amount of the administrative divisions of the areas and the various land types, and the specific implementation steps are as follows: using ajax to call a background interface, respectively obtaining grid space coordinates, center point coordinates, carbon emission/carbon transfer data and stage division data of each town and each village of a certain city (the stage division point value data is generated and stored in a database through a hierarchical division mode of a natural breakpoint method when the carbon emission/carbon transfer data is imported), using GraphicsLayer to create a new layer, using Graphic to respectively create polygons (color stage areas), points (town/village center points) and characters (town/village names) to draw geometric figures, judging the stage positions according to the carbon emission/carbon transfer when traversing a data list, setting corresponding colors of the polygons (shown in a table 7), adding all the geometric figures into the layer, and finally adding the created layer onto a base map.
TABLE 7 Gray scale chart data sheet for towns of a certain city
Figure BDA0003339143600000151
According to an embodiment of the invention, configuring the geometry comprises: drawing a polygon with a drawing tool, the polygon representing a shape of a region; setting the background color of the polygon according to the color level visualization effect of the region; setting the size of the polygon and the relative position on the map end base map according to the grid space coordinates and the central point coordinates of the area; and setting the characters of the polygon for enhancing the display effect, wherein the characters comprise administrative names and administrative codes of the regions.
According to an embodiment of the invention, configuring a spatial thermodynamic diagram comprises: converting the surface data of various land types into central point data; respectively configuring corresponding color level visualization effects according to the carbon emission/carbon sink quantity numerical values of the central point; and forming a space thermodynamic diagram of carbon emission/carbon sink amount of various types of land used in the area. Specifically, the service released by ArcGIS for JavaScript and ArcMap software can be combined: drawing a thermodynamic diagram of carbon emission and carbon sink by using ArcMap software, and issuing the thermodynamic diagram into an ArcGIS Server service; the ArcGIS for JavaScript side uses a published service address (REST URL), uses the MapImageLayer to load the layer service, uses Legend information existing in the Legend loading service at the same time, and then loads the picture layer into the map.
According to an embodiment of the present invention, the setting space switching function includes using a change in a map view angle to implement a view conversion from macro to micro of data: when the loading of the base map is completed, the central point is set to [116.22767682918371,0], and the level is 1, namely the global view of the earth. When a certain city is selected, a city view angle which is maintained in advance is obtained by selecting the certain city, and the transformation from the regional map of the earth, the country, the province, the city and the county to the map view angle of the certain city is realized by using the goTo according to the existing base map; configuring a default dynamic visualization function of periodically and circularly playing earth rotation, stopping rotation, converting from a macroscopic view to a microscopic view, displaying a color gradation diagram, a thermodynamic diagram and the like, and finally returning to the global visual angle of the earth for rotation; the automatic switching of the visual angle and the image layer is realized by using a js timer and a map visual angle conversion function, the whole process is that the earth rotates, the rotation is stopped, and the visual angle, the carbon emission color level diagram, the carbon convergence color level diagram, the carbon emission thermodynamic diagram, the carbon convergence thermodynamic diagram and the earth global visual angle are converted from a macroscopic view to a microscopic view and enter a certain city to rotate, and the process is repeatedly circulated; after the map is loaded, setting an initial earth visual angle, and changing the earth angle at regular time by using a timer to realize earth rotation; setting a timer, switching once every 20 seconds, and setting a switching type corresponding to the dynamic visualization process.
According to the embodiment of the invention, the setting of the monitoring map click event and the layer zooming monitoring function comprises the steps of respectively carrying out layer superposition from top to bottom and from large to small on the spatial color level maps of the carbon emission/carbon sink of the areas, administrative divisions below the areas and various lands aiming at the spatial color level maps, configuring the monitoring map click event and the layer zooming monitoring function, namely clicking the map layer of a certain regional administrative area, displaying the spatial color level map of the next administrative area layer in an amplified manner, and clicking again to pop up a pop-up display window which pops up the name of the administrative area to which the click position belongs or the name of the land and the corresponding carbon emission/carbon sink amount value; setting a zoom view height level threshold, and hiding the current layer and returning to a space color level map of a previous or first administrative district when the view height level of the zoom display page exceeds the set threshold; aiming at the space thermodynamic diagram, the transparency of the central point of the carbon emission and carbon sink amount of various land is modified into full transparency, the upper and lower layers are superposed with the space thermodynamic diagram of the carbon emission and carbon sink amount of various land, and a monitoring map click event is configured. Clicking any position of the space thermodynamic diagram of various land carbon emission and carbon sink quantities, and popping up a popup display window of the land name and the carbon emission/carbon sink quantity value of the fully transparent central point to which the clicked position belongs.
And S150, processing the chart data and the spatial data of the carbon emission of the warehoused region by utilizing the constructed chart data and spatial data dynamic visualization function to generate data meeting the dynamic visualization requirement.
In the specific implementation process, firstly, maintenance functions of adding, modifying, deleting and the like of chart data are constructed; setting global area selection and year selection, and corresponding the data maintenance ends of all charts to different areas of a visual page; setting data pull-down selection or manual input, using js to construct submitted data, using ajax to call a corresponding chart data interface, and realizing real-time storage of maintenance data; secondly, constructing a spatial data import function, importing carbon emission, carbon sink amount and spatial data of regions and administrative divisions below the regions, and importing carbon emission, carbon sink amount and spatial data of various land; the data import can adopt the following two modes: firstly, the front end transmits an excel file which completes data maintenance to a background server in a streaming mode through an uploading inlet, the background uses a poi (JAVA analysis office document tool) to analyze the data after acquiring the file, corresponding field data are respectively acquired, the data are added into a database through a data operation layer, and the excel data uploading is completed; secondly, the front end transmits a JSON file downloaded from a network or exported from ArcMap to a background server in a streaming form through an upload entrance, the background analyzes JSON data by using a JSONArray (analyzing JSON array tool) and a JSONObject (analyzing JSON object tool) after acquiring the file, analyzes effective fields (administrative codes, names, boundary coordinates, center point coordinates, carbon emission data and the like) from the data to acquire corresponding field data, and adds the data to a database through a data operation layer to finish the uploading of the JSON data. A data storage function is established, after data maintenance or import is carried out at the front end, a background database interface service is called, and the maintenance/import data is stored in a regional carbon emission database; in the whole process, a front end calls a background interface through ajax, a background acquires a request by using httpServlet, data is processed, and data storage is completed through database connection and sql.
And configuring a calling interface function of the visual page, so that the visual page can immediately acquire maintenance/import data of the database, and automatically render in real time according to the configured dynamic and interactive visual code rules to realize the dynamic interaction function of the data.
All data of the visual page are in an interface calling mode, and when new data are put in a storage, automatic rendering of a visual function is carried out according to the dynamic and interactive visual established code rule of chart data/space data.
According to the embodiment of the invention, cloud deployment can be carried out on the method, including the steps of making the local project codes into the service package and uploading the service package to the cloud server; writing a service starting script, and setting production environment configuration such as database connection, port number, log output and the like; and (3) establishing a server startup automatic operation script task, manually and immediately starting a current task, starting a service, for example, entering a task planning program in a windows system server, establishing a task, setting a task name and setting a task starting trigger as starting, operating a compiled script file, and finishing storage to finish startup self-starting.
The method realizes dynamic visualization of regional carbon emission data, better meets the requirements of intellectualization, interactivity and real-time display of the carbon emission data, and has good social and economic effects on monitoring regional carbon emission.
Fig. 2 is a schematic diagram of a regional carbon emission dynamics visualization system according to an embodiment of the invention.
As shown in fig. 2, the regional carbon emissions dynamic visualization system 200 includes a first building module 210, a second building module 220, a third building module 230, a fourth building module 240, and a processing module 250, wherein:
a first construction module 210 for constructing a regional carbon emissions graph database, wherein the graph database comprises regional socioeconomic development graph data and regional carbon emissions graph data;
the second construction module 220 is configured to construct a spatial database of regional carbon emission, where the spatial database includes carbon emission, carbon sequestration, and spatial data of each administrative area under the region and the region, and carbon emission, carbon sequestration, and spatial data of each land;
a third constructing module 230, configured to construct a chart data dynamic visualization function by matching the chart type and the layout display page, where the constructed chart data dynamic visualization function includes: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data;
a fourth construction module 240, configured to construct a dynamic visualization function of spatial data by loading a map end base map as a basic carrier for spatial data visualization, where the dynamic visualization function of spatial data includes configuring a spatial tone map, configuring a spatial thermodynamic map, and setting a spatial switching function, a map click event monitoring function, and a layer scaling monitoring function;
and the processing module 250 is configured to process the chart data and the spatial data of carbon emissions in the warehoused area by using the constructed chart data and spatial data dynamic visualization function, so as to generate data meeting the dynamic visualization requirement.
The system can realize dynamic visualization of regional carbon emission data, can display related data of regional carbon emission in real time in multiple layers and multiple dimensions, and can interactively display the related data of carbon emission required by a user according to the requirements of the user.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for dynamic visualization of regional carbon emissions, comprising:
constructing a regional carbon emission chart database, wherein the chart database comprises regional socioeconomic development chart data and regional carbon emission chart data;
constructing a spatial database of regional carbon emission, wherein the spatial database comprises carbon emission, carbon sink amount and spatial data of regions and administrative areas under the regions and carbon emission, carbon sink amount and spatial data of various landfills;
the chart data dynamic visualization function is constructed by matching the chart type and the layout display page, and comprises the following steps: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data;
the method comprises the steps that a map end base map is loaded to serve as a basic carrier for spatial data visualization to construct a spatial data dynamic visualization function, wherein the spatial data dynamic visualization function comprises the steps of configuring a spatial tone map, configuring a spatial thermodynamic diagram and setting a spatial switching function, a map click event monitoring function and a layer zooming monitoring function;
and processing the chart data and the space data of carbon emission in the warehousing area by utilizing the constructed chart data and space data dynamic visualization function to generate data meeting the dynamic visualization requirement.
2. The method of claim 1, wherein the graphical data of regional carbon emissions comprises at least one of: the carbon emission total amount, the carbon collection total amount, the carbon emission intensity, the per-capita carbon emission, the unit energy consumption carbon emission, the carbon source-carbon collection ratio, the unit commuting distance carbon emission, the urban space unit area carbon emission, the agricultural space unit area carbon emission, the ecological space unit area carbon emission, the carbon emission structure, the unit production value carbon emission of industrial enterprises with the scale above, and the regional carbon emission characteristics.
3. The method of claim 1, wherein the matching a chart type and layout display page comprises:
matching different chart types to different display graphs, the graphs including at least one of: a word chart, a line chart, a pie chart, a bar chart, a radar chart, a bubble chart, a circle chart, a scatter chart and an area chart;
rendering the graph by utilizing a visual tool library to enhance the display effect;
and performing function partition on the display page, so that different graph data and graphs corresponding to the graph data are displayed in different function areas of the page.
4. The method of claim 1, wherein the interactive functions of the configuration chart data comprise:
configuring a monitoring function of sensing the position of a mouse by using chart data;
configuring a click event monitoring function for supplementing and displaying chart data;
and configuring a mouse position monitoring function for stopping rolling for the character form graph, and configuring a click sequencing function for numerical values.
5. The method of claim 1, wherein the configuring the spatial tone map comprises:
acquiring grid space coordinates, center point coordinates, carbon emission/carbon sink data and stage division data of a region from a spatial database of regional carbon emission;
configuring different color level visualization effects for the region according to different values of carbon emission and carbon sink of the region;
creating a new layer and a new drawing geometric figure by using a layer drawing tool;
configuring the geometric figure and adding the geometric figure into the layer;
and adding the map layer to the map end base map.
6. The method of claim 5, wherein the staging data is staging demarcation point value data, the carbon emissions/carbon sink data imported into the database being hierarchically partitioned by a natural breakpoint method.
7. The method of claim 5, wherein configuring the geometry comprises:
drawing a polygon with a drawing tool, the polygon representing a shape of a region;
setting the background color of the polygon according to the color level visualization effect of the region;
setting the size of the polygon and the relative position on the map end base map according to the grid space coordinates and the central point coordinates of the area;
and setting the characters of the polygon for enhancing the display effect, wherein the characters comprise administrative names and administrative codes of the regions.
8. The method of claim 1, wherein configuring the spatial thermodynamic diagram comprises:
converting the surface data of various land types into central point data;
respectively configuring corresponding color level visualization effects according to the carbon emission/carbon sink quantity numerical values of the central point;
and forming a space thermodynamic diagram of carbon emission/carbon sink amount of various types of land used in the area.
9. The method of claim 1, wherein the setting a spatial switching function comprises:
configuring an initial dynamic visualization function of spatial data, and constructing a visualization switching effect of the conversion of a page view from a macroscopic view to a microscopic view;
and configuring a timing loop to play earth rotation-rotation stopping-rotation-macroscopic view-microscopic view conversion for displaying the spatial color gradation diagram and the spatial thermodynamic diagram of the region.
10. A dynamic visualization system for regional carbon emissions for implementing the method according to any one of claims 1-9, wherein:
the system comprises a first construction module, a second construction module and a third construction module, wherein the first construction module is used for constructing a regional carbon emission chart database, and the chart database comprises regional socioeconomic development chart data and regional carbon emission chart data;
the second construction module is used for constructing a spatial database of regional carbon emission, wherein the spatial database comprises carbon emission, carbon sink amount and spatial data of regions and administrative areas of the regions and carbon emission, carbon sink amount and spatial data of various sites;
a third constructing module, configured to construct a chart data dynamic visualization function by matching a chart type and a layout display page, where the constructing a chart data dynamic visualization function includes: dynamically rendering the chart, setting a timing jumping display function of the chart, a timing rolling function of the character chart and an interaction function of configuring chart data;
the fourth construction module is used for constructing a dynamic spatial data visualization function by loading a map end base map as a basic carrier for spatial data visualization, wherein the dynamic spatial data visualization function comprises a spatial color level map configuration function, a spatial thermodynamic map configuration function, a spatial switching function, a map click event monitoring function and a layer scaling monitoring function;
and the processing module is used for processing the chart data and the space data of the carbon emission of the warehoused region by utilizing the constructed chart data and space data dynamic visualization function to generate data meeting the dynamic visualization requirement.
CN202111303273.XA 2021-11-05 2021-11-05 Dynamic visualization method and system for regional carbon emission Pending CN114003621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111303273.XA CN114003621A (en) 2021-11-05 2021-11-05 Dynamic visualization method and system for regional carbon emission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111303273.XA CN114003621A (en) 2021-11-05 2021-11-05 Dynamic visualization method and system for regional carbon emission

Publications (1)

Publication Number Publication Date
CN114003621A true CN114003621A (en) 2022-02-01

Family

ID=79927737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111303273.XA Pending CN114003621A (en) 2021-11-05 2021-11-05 Dynamic visualization method and system for regional carbon emission

Country Status (1)

Country Link
CN (1) CN114003621A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841007A (en) * 2022-05-17 2022-08-02 杨邦会 Carbon emission diffusion influence analysis method based on urban regional scale
CN115936953A (en) * 2023-01-06 2023-04-07 深圳润澄金景科技服务有限公司 Carbon sink calculation method, electronic device and storage medium
CN116258239A (en) * 2022-12-08 2023-06-13 江苏巨亘建筑科技有限公司 Intelligent control energy carbon-grid management integrated system and carbon-grid management method
CN116993854A (en) * 2023-04-27 2023-11-03 国网湖北省电力有限公司宜昌供电公司 Visual monitoring method for large data of carbon emission

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114841007A (en) * 2022-05-17 2022-08-02 杨邦会 Carbon emission diffusion influence analysis method based on urban regional scale
CN116258239A (en) * 2022-12-08 2023-06-13 江苏巨亘建筑科技有限公司 Intelligent control energy carbon-grid management integrated system and carbon-grid management method
CN116258239B (en) * 2022-12-08 2024-01-26 江苏巨亘建筑科技有限公司 Intelligent control energy carbon-grid management integrated system and carbon-grid management method
CN115936953A (en) * 2023-01-06 2023-04-07 深圳润澄金景科技服务有限公司 Carbon sink calculation method, electronic device and storage medium
CN116993854A (en) * 2023-04-27 2023-11-03 国网湖北省电力有限公司宜昌供电公司 Visual monitoring method for large data of carbon emission

Similar Documents

Publication Publication Date Title
CN114003621A (en) Dynamic visualization method and system for regional carbon emission
Netek et al. Implementation of heat maps in geographical information system–exploratory study on traffic accident data
Zeiler Modeling our world: the ESRI guide to geodatabase design
CN105701103B (en) Three-dimensional application system based on geographic information
Booth et al. Getting started with ArcGIS
US9892474B2 (en) Computing system and method for visualizing integrated real estate data
CN104408564A (en) Digital water resource system
Tucci et al. Using spatial analysis and geovisualization to reveal urban changes: Milan, Italy, 1737–2005
CN108537441A (en) Land Use Transition economic society Effect Evaluation and monitoring information integrated system
García et al. Visualization to support decision-making in cities: advances, technology, challenges, and opportunities
Zoppi et al. Differentials in the regional operational program expenditure for public services and infrastructure in the coastal cities of Sardinia (Italy) analyzed in the ruling context of the Regional Landscape Plan
Shariatpour et al. Urban 3D Modeling as a Precursor of City Information Modeling and Digital Twin for Smart City Era: A Case Study of the Narmak Neighborhood of Tehran City, Iran
Yagoub et al. GIS applications for dumping site selection
Bearman GIS: Research Methods
Pascaul et al. An architecture for geographic information systems on the web-WebGIS
Pareta Urban land use planning using digital cartographic modelling
Demir et al. GIS-based procedural modeling in contemporary urban planning practice
Heppler Green dreams, toxic legacies: Toward a digital political ecology of Silicon Valley
Abduraufovich ESTABLISHING A PROCEDURE TO GENERATE CUSTOMIZED LAND USE MAPS UTILIZING REMOTE SENSING DATA
Zhang et al. Design and implementation of decision-making support system for thematic map cartography
Romdhoni The Geometries of Indonesian Cities: A Study of the Regional Variations Based on Demography, Street Network, and Topology
Du Plessis The impact of spatial planning on the structure of South African cities since 1994
Nickayin et al. Complexifying Urban Histories: The Mediterranean Perspective
Zhu et al. Design and implementation of scenic area information management system based on WebGIS
Yue et al. The establishment and application of the geographic mapping database by city/county unit in China

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