Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for dynamically presenting two-dimensional spatial data by using color mapping technology in scalable vector graphics (SVG)

A two-dimensional space and color mapping technology, applied in the direction of program control devices, etc., can solve the problem that the excellent characteristics of SVG are not fully utilized, and achieve the effect of low development difficulty, high development efficiency, and strong practicability

Active Publication Date: 2013-02-20
TSINGHUA UNIV
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is still no case of using color mapping technology to dynamically display spatial data in SVG, and the excellent features, rapid development, and strong scalability of SVG have not been fully utilized.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for dynamically presenting two-dimensional spatial data by using color mapping technology in scalable vector graphics (SVG)
  • Method for dynamically presenting two-dimensional spatial data by using color mapping technology in scalable vector graphics (SVG)
  • Method for dynamically presenting two-dimensional spatial data by using color mapping technology in scalable vector graphics (SVG)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here can be used to explain the present invention, but not to limit the present invention.

[0014] Based on the SVG graphics format, the present invention provides a method for dynamically displaying spatial data in SVG using color mapping technology, such as figure 1 Shown, the specific embodiment of the present invention comprises the following steps:

[0015] S1. Use the DOM programming interface to access the SVG document, and create a g element at the top of the document as a blank canvas.

[0016] After opening the SVG document with the SVG renderer, call the DOM function to create a g element canvas at the top layer of the document (that is, at the end of the SVG document). The Java sample code is as follows:

[0017]

[0018] S2. If the space range of interest is not ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for dynamically presenting two-dimensional spatial data by using a color mapping technology in SVG. The method comprises the steps of visiting an SVG document and newly creating a blank canvas; if a concerned space range is not the whole SVG plane, newly creating a clipping path which serves as a shade that is applied to the canvas; setting grid spacing parameters in a transverse direction and a longitudinal direction, and calculating coordinates, widths and heights of all grid rectangles; collecting scalar data of t period of n points in a two-dimensional space; using a spatial interpolation algorithm to calculate scalar values of central points of all grid rectangles; using the color mapping technology to map scalar values of central points of all grid rectangles as specific colors; if t=1, creating all grid rectangles sequentially on the canvas and filling colors corresponding to scalar values; if t>1, changing filling colors of all grid rectangles into the color corresponding to the current scalar value sequentially; and if the period to be displayed exists, enabling t to be equal to t+1, and returning to S4 to display data of the next period. The method is low in development difficulty, high in development efficiency and high in practicability.

Description

technical field [0001] The invention relates to the field of computer applications, and in particular provides a method for dynamically displaying two-dimensional spatial data using color mapping technology in SVG (Scalable Vector Graphics, scalable vector graphics). Background technique [0002] Spatial data refers to the data used to represent the position, shape, size, and distribution characteristics of spatial entities. It is related to both space and time. It exists widely in many disciplines such as geography, meteorology, electricity, and architecture. . A common form of spatial data is a scalar field. The attributes of each point in the scalar field space can be represented by a single value (scalar). In the two-dimensional space of the Cartesian coordinate system, the value of a point in the scalar field can be expressed as (x, y, v t ), where the subscript t indicates that the scalar field changes with time, that is, the time-varying scalar field. [0003] With...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
Inventor 陈启鑫赖晓文夏清康重庆
Owner TSINGHUA UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More