Check patentability & draft patents in minutes with Patsnap Eureka AI!

Script-driven hierarchical graph construction method

A construction method and a layered technology, applied in the direction of drawing from basic elements and filling planes with attributes, can solve the problems of map graphic symbols that are difficult to transplant and flexibly apply, difficult to integrate and apply, and do not have dynamic interactivity, etc., to achieve enhanced Rendering ability and information expression ability, good interactivity, maintenance and expansion of efficient and low-cost effects

Inactive Publication Date: 2016-12-21
NANJING NORMAL UNIVERSITY
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The shortcomings of the above-mentioned map symbol production method mainly include: 1) the map graphic symbols generated by making are often raster pictures or vector line graphics, which do not have dynamic interactivity; 2) the map graphic symbols made by specific technology and specific software are difficult Transplantation and flexible application make it difficult to integrate and apply on other platforms; 3) Symbols implemented in computer programming languages ​​need to be recompiled when adding and modifying new symbols, and the scalability is not strong

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
  • Script-driven hierarchical graph construction method
  • Script-driven hierarchical graph construction method
  • Script-driven hierarchical graph construction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] This embodiment provides a script-driven hierarchical graph construction method. The core steps of the railway graph based on this method are as follows: figure 1 shown. During specific implementation, the following steps are included:

[0044] A. Write the Lua script code file that is used to realize graphic construction, present embodiment selects railway line figure, explains the typical process based on technical scheme construction figure of the present invention, and railway line figure is as follows image 3 Shown:

[0045] 1. Define the geometric storage objects needed to realize the graphics construction, and define them as global variables. There are three storage objects needed to realize the representation of the railway line graph, namely, the parallel lines of the left and right tracks of the railway and the equal-spaced parallel horizontal lines representing the railway sleepers.

[0046] 2. Set the color of the output graphics, the railway track line ...

Embodiment 2

[0075] This embodiment provides a script-driven hierarchical graph construction method, the implementation process of the second, third and fourth parts in the construction method is the same for each graph, but the first part is written to realize the graph The part of the constructed Lua script code is different for each graph. This article takes the graphs describing the "disaster-affected area distribution range" and "population concentration area range" as examples, such as Figure 4 As shown, further illustrate the Lua script file code implementation method and flow for implementing graphic construction.

Embodiment approach

[0076] Disaster-affected area distribution graph, which mainly includes three objects: an external polygon table, polygon center text label, and polygon line filling. The implementation method of the Lua script file software used to construct the graph is as follows:

[0077] (1) Define graphic output elements and attributes:

[0078] outLine=PolyLine:new(); outLine:setFillType(ESF_Bias_L); / / Set line fill

[0079] outLine2=PolyLine:new(true); / / Output two line objects representing the polyline area and the inner fill line

[0080] minControlNum=2; maxControlNum=2000; / / minimum input 2 points, maximum 2000 points

[0081] sizeHandle=controlHandle:new(); sizeParam=scaleDouble:new(0.1, "the size of the symbol text"); define the control point and scale value used to control the text size

[0082] text1=innerText:new(0); text1:setText("disaster"); / / Define the output text object and content

[0083] function update(lstPoint)

[0084] ... / / Initialize data processing

[0085] inser...

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 discloses a script-driven hierarchical graph construction method. The method specifically comprises the following steps of: (1) compiling a script file code for constructing a line-area symbol; (2) registering an interactive script file for graph construction, and registering the script file into a symbol manager of a display device so that the display device can call the script file; (3) realizing an input layer required by the graph construction, wherein the input layer is used for inputting graph basic drawing point information; and (4) obtaining required graph drawing parameter information by the display device through an output layer, designed in the display device, for receiving a script-driven graph construction result, calling and executing a graph construction algorithm which is realized on the basis of a script language, and importing a graph drawing basic point sequence interactively input by the user so as to complete the construction of an interactive map graph. The map graph constructed on the basis of the method has favorable geographic entity expression and dynamic interaction abilities.

Description

technical field [0001] The invention relates to a map graphics production technology in the fields of geographic information technology and digital maps, and provides a script-driven layered graphics construction method. Background technique [0002] Map graphics are the specific realization of line and surface symbols in map symbols and the carrier of information expression and transmission. Map symbols are the language of maps, and they are the basic means of expressing map content. Map symbols are composed of graphics and characters of different shapes, sizes and colors. As far as a single symbol is concerned, it can represent the spatial location, size, quality and quantity characteristics of things; as far as similar symbols are concerned, it can reflect the distribution characteristics of various elements; and the sum of various symbols can indicate the relationship between elements. relationship and overall characteristics of the region. Map symbols can point out th...

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): G06T11/20G06T11/40
CPCG06T11/20G06T11/40
Inventor 彭国强温永宁李玉婷张丰源肖驰
Owner NANJING NORMAL UNIVERSITY
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