CN103955549A - Web GIS system based on SVG and data input and search method thereof - Google Patents

Web GIS system based on SVG and data input and search method thereof Download PDF

Info

Publication number
CN103955549A
CN103955549A CN201410224416.1A CN201410224416A CN103955549A CN 103955549 A CN103955549 A CN 103955549A CN 201410224416 A CN201410224416 A CN 201410224416A CN 103955549 A CN103955549 A CN 103955549A
Authority
CN
China
Prior art keywords
svg
geographic information
attribute information
map
information data
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
CN201410224416.1A
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.)
Chongqing University
Original Assignee
Chongqing 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 Chongqing University filed Critical Chongqing University
Priority to CN201410224416.1A priority Critical patent/CN103955549A/en
Publication of CN103955549A publication Critical patent/CN103955549A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention provides a Web GIS (Geographic Information System) system based on an SVG and a data input and search method thereof. The system and the data input and search method change a working mode, apply the SVG graphics technique to the Web GIS system, employ a relational database storage technology, dynamically execute the input storage and search output of SVG map data by a Web server and realize the display of an electronic map in an SVG format in a Web browser at a client side with the help of an SVG plug-in in the Web browser; data input and storage processing of geographic information enables data management to be convenient, and the data search and output processing of the geographic information effectively solves the problem of low processing efficiency in a map displaying process based on a grid graph technology in the prior art due to zooming operation, accelerates the response speed of geographic information display and provides a good solution for the realization of the Web GIS system based on the SVG.

Description

WebGIS system based on SVG and data typing and querying method
Technical field
The invention belongs to internet Geographic Information System applied technical field, relate in particular to a kind of WebGIS system and data typing and querying method based on SVG.
Background technology
Progressively enforcement along with digital city, digital earth conception, network geographic information system (Web Geographic Information System, be called for short WebGIS) due to its applicable dynamic application analysis, without be equipped with the expensive advantages such as professional Geographic Information System (GIS) software for client, become rapidly the main flow trend of Geographic Information System (Geographic Information System is called for short GIS) technical development.The application model of electronic chart generally adopts Browser/Server Mode (B/S pattern), and user only need to, by the corresponding website of access, just can use electronic chart.Electronic map system is a kind of computer information system that is specifically designed to management geographical space distributed data.It can gather, store, management, retrieval, analysis and application and geographical space distribute relevant various data, and export in a variety of forms the graphic product of data, be to utilize ripe network technology, the communication technology, GIS technology, realize a kind of new Map Services mode.It can navigate to needed geographic position data fast by variety of way.Yet, although electronic chart can complete basic inquiry and interactive task at present, in function, meeting user's needs, it is applied being able to like that in the imagination that be far from and popularizes comparatively widely.Cause the reason of this situation a lot, wherein the more topmost transmission process problem that is not solve large volume space data.Existing WebGIS system, it generally all adopts HTML static page to present the electronic chart of grid graph document form to the browser of client under B/S pattern, but because geography information scope and number of elements that the electronic chart of each grid graph document form can present are fixed, on the one hand, when carrying out large-scale electronic chart demonstration, owing to being subject to the restriction of pixel expressive ability, the electronic chart of grid graph document form is just difficult to demonstrate the geographic information data elemental characteristic compared with horn of plenty, affected the Data Representation ability to geography information, on the other hand, whenever carrying out map while zooming in or out operation, the browser of client just need to again obtain after zooming in or out the electronic chart of a new grid graph document form of corresponding geographical range of information and number of elements, and shown after being reloaded by browser, and the data volume of the electronic chart of each grid graph document form is all larger, therefore whenever electronic chart is carried out after convergent-divergent processing, client easily causes spending a large amount of time wait data transmission and processing and Graphics Processing because of the restriction of Internet Transmission condition and the restriction of hardware Graphics Processing performance, affected the treatment effeciency that presents of geography information.Thus, existing WebGIS system because of exist geographic information data expressive ability limited, present the defect that treatment effeciency is lower, more and more can not meet the demand for development of WebGIS technology.
Summary of the invention
For the above-mentioned problems in the prior art, the invention provides a kind of WebGIS system based on SVG, it is by changing the mode of operation of WebGIS system, the electronic chart of realizing SVG form in the Web browser of client shows, electronic chart by SVG form is the feature of vector graphics file data, make electronic chart demonstration can possess more outstanding geographic information data expressive ability and convergent-divergent and present treatment effeciency, to solve existing WebGIS systematic geography information data performance limited ability, to present the problem that treatment effeciency is lower.
For achieving the above object, the present invention has adopted following technological means:
WebGIS system based on SVG, comprises client, Web server and map database server, described client is carried out data communication by internet and Web server, and client has Web browser, in described Web browser, be provided with SVG plug-in unit, for the interactive function by the embedded script of SVG plug-in unit, to Web server, submit the request of WebGIS data query to, and receive the electronic map query destination file of the SVG form that Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file, described Web server and map database server communicate, and have SVG map datum generation module, map datum warehouse-in processing module, inquiry request processing module and SVG map datum sending module, described SVG map datum generation module is for being converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form, described map datum warehouse-in processing module is for each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of the electronic chart vector graphics file that extracts SVG map datum generation module and be converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server and store, described inquiry request processing module, for responding the WebGIS data query request from client, parses the geographic information data element being queried in the request of WebGIS data query and is sent to SVG map datum sending module, whole geographic information data elements and corresponding vector position attribute information and display attribute information thereof that described SVG map datum sending module comprises for search and obtain the geographic area at the geographic information data element place being queried from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client, described map database server is also stored for receiving each geographic information data element of transmission that Web server arranges and corresponding vector position attribute information and display attribute information thereof, and for the geographic information data element of having stored, according to the up-to-date data content receiving, upgrades in storing process.
Correspondingly, the present invention also provides the data entry method of the above-mentioned WebGIS system based on SVG, for to the typing of WebGIS system and storage geographic information data.For this reason, the present invention has adopted following technological means:
The data entry method of the above-mentioned WebGIS system based on SVG, specifically comprises the steps:
11) draw AutoCAD map file, be stored as DXF form, and the SVG map datum generation module of typing Web server;
12) the SVG map datum generation module of Web server is converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form;
13) map datum of Web server warehouse-in processing module extracts each geographic information data element and corresponding vector position attribute information and the display attribute information thereof in the electronic chart vector graphics file that SVG map datum generation module is converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server;
14) map database server receives each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of transmission that Web server arranges, and judges respectively whether current each geographic information data element receiving has storage in database; For the geographic information data element of not yet storing, by the vector position attribute information and the direct stored data base of display attribute information of its geographic information data element and correspondence thereof; For the geographic information data element of having stored, according to the up-to-date data content receiving, its geographic information data element and corresponding vector position attribute information and display attribute information thereof are upgraded.
Correspondingly, the present invention also provides the data enquire method of the above-mentioned WebGIS system based on SVG, for from WebGIS system queries geographic information data.For this reason, the present invention has adopted following technological means:
The data enquire method of the above-mentioned WebGIS system based on SVG, specifically comprises the steps:
21) utilize client, the geographic information data element of inquiring about by the Web browser typing of client, submits WebGIS data query request by the interactive function of the embedded script of SVG plug-in unit to Web server by Web browser;
22) the inquiry request processing module of Web server, for responding the WebGIS data query request from client, parses the geographic information data element being queried in the request of WebGIS data query and is sent to SVG map datum sending module;
23) whole geographic information data elements and corresponding vector position attribute information and the display attribute information thereof that the geographic area at the geographic information data element place being queried comprises searched and obtained to the SVG map datum sending module of Web server from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client,
24) the electronic map query destination file of the SVG form that the Web browser of client reception Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file.
Than prior art, the present invention has following beneficial effect:
1, the present invention is based on the WebGIS system of SVG, changed the mode of operation of existing WebGIS system, no longer adopt HTML static page to present the electronic chart of grid graph document form to the browser of client, but SVG graph technology is applied in WebGIS system, from being convenient to the generation of SVG formatted data and the angle that storage realizes, utilize relational database memory technology, by Web server, dynamically carried out typing storage and the inquiry output function of SVG map datum, and by the SVG plug-in unit of Web browser, the electronic chart of realizing SVG form in the Web browser of client shows, for the realization of the WebGIS system based on SVG provides good solution.
2, the present invention is based on the WebGIS system of SVG, by SVG graph data, there is unified standard and open feature, improved transfer efficiency and the ability to express of spatial data on network, can show more exquisite interactive graphics (IG) effect.
3, in the geographic information data typing and stores processor process of WebGIS system of the present invention, utilize relational database technology to carry out the storage of SVG map datum, data management is convenient, can give full play to the strong point of relational database management system.
4, in the geographic information data inquiry output processing procedure of WebGIS system of the present invention, because the data volume of SVG form map datum is less, be conducive to improve data transmission efficiency, and the map datum of SVG form is vector figure data, can directly carry out arbitrarily zoom operations and not lose geographic information data expressive force, therefore in the process of carrying out zoom operations without again obtaining new map datum, and Web browser does not need to reload after data Graphics Processing in addition yet, but directly change the viewbox property value of the map datum of current shown SVG, effectively eliminated in prior art and because zoom operations causes, presented the problem that treatment effeciency is lower in the map procedure for displaying based on grid graph technology, accelerated the response speed that geography information shows.
5, the electronic chart that the present invention is based on the WebGIS system of SVG shows that can possess more outstanding geographic information data expressive ability and convergent-divergent presents treatment effeciency, can solve well existing WebGIS systematic geography information data performance limited ability, present the problem that treatment effeciency is lower.
Accompanying drawing explanation
Fig. 1 is the architecture block diagram that the present invention is based on the WebGIS system of SVG.
Embodiment
In the existing WebGIS system based on grid graph technology, because Data Representation limited ability, the data volume of the electronic chart of grid graph document form are larger, cause WebGIS system exist geographic information data expressive ability poor, present the defects such as treatment effeciency is lower, can not meet the technology trends of the diversification of WebGIS system, multi-platformization.Yet, than grid graph technology, SVG(Scalable Vector Graphics, scalable vector graphics) and technology has advantages of a lot of outstanding.SVG is the two-dimension vector graphics form of an opening, it is an application of extending mark language XML, it allows vector graphic shapes (if any the track of straight line and curve composition), image and three kinds of Drawing Objects of text, and the object that Drawing Object can be combined, customized style, distortion and composition had previously been played up, and have that nested conversion, path are cut apart, the characteristic such as masking-out, filter effect and template object.Specifically, SVG graph technology has following technical advantage:
1. based on XML standard:
XML generally acknowledges the next generation network markup language that has infinite vitality.XML is actually a kind of definitional language, has broken through the constraint of how much of HTML fixation marks, make the content of file abundanter, more complicated, more easily form rounded system.XML language has than the better management of html language and interaction capabilities.SVG be start most design in just based on XML, this makes it have a kind of inborn advantage; Therefore, also can in SVG, develop how new function so that more network service to be provided.Data in image can as required, be read, revise and be added up by application program, and finally in image, show.These application are current HTML and associated picture technology untouchability.Meanwhile, the grammer of SVG and structure are based on XML, so itself also has good ductility.
2. high-quality image:
SVG, as vector data form, compares with grating image, and it can free convergent-divergent and does not lose graphical quality.Meanwhile, it, also can correction to grating image except having the advantage of vector image.As XLINK(, expansion connects) label, SVG can call grating image.
3. text formatting:
Can any graphics process instrument, only use general text edit software, as notepad just can synthetic image.Meanwhile, also can utilize programming language to programme to realize.Online SVG image can dynamically change in real time according to the amount of relation in database.Word in SVG image is also text formatting.This is different from the word in present image and animation.Word in image and animation is in fact all image at present.Therefore, the word in SVG can searched engine as keyword searching, the word in image also can be searched by user browser.Because be text formatting, SVG cross-platform work well, can also solve the problems such as relevant outside output, color mode simultaneously.
4. file data amount is less:
Because based on vector format, the grid graph file layouts such as SVG image ratio GIF and JPEG have less file data amount size, so its network data transmission is rapider.
5. open:
Because SVG is the standard that W3C organizes to set up, be open, be convenient to joint development, this is conducive to its development.
6. SVG image can be dynamic, interaction:
Animation is by directly stating (such as embed SVG animated element in SVG) or being defined or triggered by script.SVG is by complete the application of more complicated with script, and script language calling SVG DOM Document Object Model (SVG Document Object Model) visits or control all elements, attribute and property value.Event handler is as mouseover, and onclick etc. can be applied on SVG Drawing Object, due to SVG and other Web standard completely compatible and synchronous, as XML, CSS2, XSLT, DOM2, HTML etc.Therefore,, on the same Web page, some characteristic as Script Programming etc., can be applied on XHTML and SVG element simultaneously.
7. compatible:
As the recommendation form of W3C, SVG and existing other open standards, as XML, CSS2, XSLT, DOM2 etc. have good compatibility.
According to above-mentioned characteristic introduction, can know, SVG has the features such as any scalability, little, the easy generation of document size, modifiability, strong interactivity, text independence, hyperlink, neutrality, platform-neutral, therefore, if can realize WebGIS system based on SVG graph technology, just can overcome WebGIS systematic geography information data in prior art, show limited ability, present the problem that treatment effeciency is lower.For this reason, the present invention just provides a kind of WebGIS system realization scheme based on SVG, by changing the mode of operation of WebGIS system, the electronic chart of realizing SVG form in the Web browser of client shows, electronic chart by SVG form is the feature of vector graphics file data, makes electronic chart demonstration can possess more outstanding geographic information data expressive ability and convergent-divergent and presents treatment effeciency.
The present invention is based on the WebGIS entire system framework of SVG as shown in Figure 1, it comprises client, Web server and map database server.In system, client is carried out data communication by internet and Web server, and client has Web browser; In Web browser, be provided with SVG plug-in unit, for the interactive function by the embedded script of SVG plug-in unit, to Web server, submit the request of WebGIS data query to, and receive the electronic map query destination file of the SVG form that Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file.Web server communicates with map database server, and has SVG map datum generation module, map datum warehouse-in processing module, inquiry request processing module and SVG map datum sending module, wherein, SVG map datum generation module is for being converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form, map datum warehouse-in processing module is for each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of the electronic chart vector graphics file that extracts SVG map datum generation module and be converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server and store, inquiry request processing module, for responding the WebGIS data query request from client, parses the geographic information data element being queried in the request of WebGIS data query and is sent to SVG map datum sending module, whole geographic information data elements and corresponding vector position attribute information and display attribute information thereof that SVG map datum sending module comprises for search and obtain the geographic area at the geographic information data element place being queried from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client.Map database server is also stored for receiving each geographic information data element of transmission that Web server arranges and corresponding vector position attribute information and display attribute information thereof, and for the geographic information data element of having stored, according to the up-to-date data content receiving, upgrades in storing process.
In the present invention is based on the WebGIS system of SVG, from specific implementation, say, the function of client is to show spatial data and WebGIS function is provided for user, therefore client can be utilized computer programming, take the hardware device that possesses computing machine processing capacity as carrier in addition program operation realize.In concrete application, can adopt Web development platform ASP.NET, utilize Microsoft Visual C# language to programme and realize the Web browser function of client, and integrated SVG plug-in unit.SVG plug-in unit can adopt the SVGViewer of Adobe company.
Map database server can adopt existing database server technology to be achieved, it mainly realizes the storage to SVG map datum, and in storing process, carry out duplicate removal identification and renewal, avoid the related data of identical geographic information data element to carry out repeated storage.It can be SQL Server that the database of the concrete application of map database server is realized technology, also can adopt Oracle, according to actual conditions demand, determines.
Web server can adopt existing webserver technology to be achieved, it mainly realizes the function to the typing storage of SVG map datum and inquiry output, and the typing of SVG map datum storage is all relevant with the database storage techniques of SVG file with inquiry output.SVG graph technology is based on XML standard, and its storage mode can be based upon on XML memory technology.Certainly, Web server and map database server also can be integrated by technology, on same server hardware entity, are achieved.
At present, the storage mode of XML mainly contains four kinds.One, file system mode, is directly stored as file XML, during access, by the bibliographic structure of file system and the element structure of XML document, is provided the level of data is accessed; File storage simply and easily realizes, and without storage conversion and reconstruct Query Result, but exists query processing inefficiency, file size to be subject to the deficiencies such as the restriction of memory size, concurrency is poor, security is low.Two, native XML database, is about to XML document and element as the database of basic structure.There is content and concentrate placement, be easy to search and management, inquiry velocity is fast, can process large-scale document arbitrarily, the advantages such as data lossless mistake, but native XML database development time is relatively short, technology is ripe not enough, need to improve at the aspects such as polymerizing power of security, multi-user concurrent, data.Three, object-oriented database, is about to XML and is described as an object and deposits database in.This method is supported complex data type, can set up intuitively the object pattern of XML data, can utilize OQL (OQL) to realize the inquiry to XML data, storage is higher with search efficiency, but maximum shortcoming is the immature of object-oriented database self, cannot provide minute inquiry and efficiently index fast.Four, relational database, is about to XML semi structured data and is converted into structural data and is stored in bivariate table, utilizes relational database to realize the store and management of XML.Owing to there is heterogeneite in the data pattern of XML and relational database, the conversion of XML pattern must be mapped to relational data base schema, both conversions must be lost some information, but the relational database as current Sybase, take solid algebraic process as basis, there is efficient Indexing Mechanism, Structured Query Language (SQL) (SQL), the support of practical transaction management and Restoration Mechanism and a large amount of instruments.The difference of more above-mentioned four kinds of storage modes, in WebGIS system of the present invention, has adopted relational database storage mode to realize the stores processor of SVG map datum.Therefore, in the Web server of WebGIS system of the present invention, adopt map datum warehouse-in processing module to complete SVG map datum to conversion and housekeeping operation between database storage, to extract each geographic information data element and corresponding vector position attribute information and the display attribute information thereof in the electronic chart vector graphics file of SVG form, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server and store.In SVG graph data, element is divided into two classes, i.e. graphic element and frame elements.Graphic element comprises path <path>, word <text>, image <image>, Reusable Components <use> and six kinds of basic configurations: rectangle <rect>, circle <circle>, oval <ellipse>, line <line>, broken line <polyline>, polygon <polygon>.Simple graph is directly built by basic configuration, and each basic configuration is with attributes such as position, size, color, profiles.Complex figure can be described with path <path>, and path is series of orders, is used for creating explication, can be opening or closed shape, also can comprise one or more line, curve and line segment.SVG carries out coordinate conversion by <transform>, realizes figure scaling, rotation, mirror image, inclination texts.Frame elements can comprise graphic element and other frame elements, as: SVG file identification <svg>, grouping <g>, reusable component definition <defs>, graphics template <symbol>, clip path <clipPath>, image masks <mask>, pattern <pattern>, label L EssT.LTssT.LTmarker>, link <a> and condition are processed <switch> etc.<g> element energy separated graphics object, is convenient to management and using.<defs> element definition reusable component can call in figure main body.And atural object in real world can be divided into simple atural object and the large class of complicated atural object two, wherein simple atural object is divided into five classes according to its geometric properties again: point-like entity, Linear Entity, planar entity, annotation body, and grid body.Complicated atural object consists of a plurality of simple atural object.Generally, some geographical entities can be used as a figure layer, and a figure layer can consist of same type or dissimilar geographical entity, and some figure layers form a complete map.In the electronic chart vector graphics file of SVG form, can use fundamental figure image primitive usually to represent this five classes atural object.For example, point-like entity adopts <circle> element representation; Linear Entity is to adopt <path> element or <line> to represent; Planar entity is <path> element or the <polyline> element representation that adopts sealing; Annotation body is to adopt <text> element representation, and grid body is to adopt <image> element representation.<g> element marshalling for the entity of same figure layer.And vector position attribute information and the display attribute information of each geographic information data element in electronic chart vector graphics file can represent with the attribute of each graphic element.Thus, by the electronic chart vector graphics file to SVG form, carry out Data Analysis, just can extract wherein each geographic information data element and corresponding vector position attribute information and display attribute information thereof.In addition, for electronic chart vector graphics file how to make and generate SVG form, although have now the Core Generator of some SVG figures, as the embedded output of SVG in the Illustrator9 of Adobe, CorelDraw9 provides the plug-in unit of output SVG etc., but the SVG file generating is all difficult to meet the Organization of Data requirement of WebGIS system., the present invention is based in the WebGIS system of SVG for this reason, adopted the SVG map datum by being transformed again after AutoCAD map making file to generate scheme.And the graphical format of AutoCAD comprises two kinds of DWG file and DXF files, but the graphic decoder mode of the straight modern unexposed DWG form of autodesk, inc., as will be directly read DWG file, just need to analyze its binary data, decode its form, this work is relatively very difficult.DXF(Drawing eXchange Format) be GIF(Graphic Interchange format), with ASCII character storage file, can use notepad editor, simple readability, the object presentation layer aggregated(particle) structure of its storage.And the structure of SVG form is followed dom tree structure, DXF formatted file be converted to SVG formatted file, only need to set up AutoCAD object in DXF to the mapping relations of the element in SVG, from the angle of technology realization, be just easy to.DXF formatted file is converted to the concrete methods of realizing of SVG formatted file, can be referring to technical literature " Liu Ling, Li Baizhan, Yang Mingyu; Cad file is converted to the discussion [J] of SVG file. computer utility, 2006,26 ".The present invention is based in the WebGIS system of SVG, by SVG map datum generation module, realize AutoCAD map file to the conversion process of SVG formatted file, after making the AutoCAD map file of DXF form, be input to SVG map datum generation module, SVG map datum generation module is converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form, then by map datum warehouse-in processing module, the electronic chart vector graphics file of SVG form is carried out to data extraction and warehouse-in processing again.
Particularly, the present invention is based in the WebGIS system of SVG, the data entry method to the typing of WebGIS system and storage geographic information data, specifically comprises the steps:
11) draw AutoCAD map file, be stored as DXF form, and the SVG map datum generation module of typing Web server;
12) the SVG map datum generation module of Web server is converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form;
13) map datum of Web server warehouse-in processing module extracts each geographic information data element and corresponding vector position attribute information and the display attribute information thereof in the electronic chart vector graphics file that SVG map datum generation module is converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server;
14) map database server receives each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of transmission that Web server arranges, and judges respectively whether current each geographic information data element receiving has storage in database; For the geographic information data element of not yet storing, by the vector position attribute information and the direct stored data base of display attribute information of its geographic information data element and correspondence thereof; For the geographic information data element of having stored, according to the up-to-date data content receiving, its geographic information data element and corresponding vector position attribute information and display attribute information thereof are upgraded.
And Web server is for the query processing of SVG map datum, be similar to the reverse implementation that SVG map datum warehouse-in is processed.In the present invention is based on the WebGIS system of SVG, inquiry request processing module by Web server responds after the WebGIS data query request from client, parse the geographic information data element being queried in the request of WebGIS data query and be sent to SVG map datum sending module, whole geographic information data elements and corresponding vector position attribute information and the display attribute information thereof that the geographic area at the geographic information data element place being queried comprises searched and obtained to SVG map datum sending module from map database server; And for the geographic information data element being queried, its display effect should be different from other geographic information data element, so that inquiry is clearly queried the information such as the orientation, shape of object, so SVG map datum sending module can will be modified to display attribute information corresponding to geographic information data element being queried getting according to the object display properties that is queried presetting; What preset is queried object display properties, particularly, can be set as specific Show Color (for example, by red-label or highlighted demonstration), or add specific show tags (for example adding drawing pin display icon) etc.; After this, SVG map datum sending module rebuilds according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form again, by http protocol, is sent to client.
Particularly, the present invention is based in the WebGIS system of SVG, the data enquire method from WebGIS system queries geographic information data, specifically comprises the steps:
21) utilize client, the geographic information data element of inquiring about by the Web browser typing of client, submits WebGIS data query request by the interactive function of the embedded script of SVG plug-in unit to Web server by Web browser;
22) Web server state inquiry request processing module for responding the WebGIS data query request from client, parse the geographic information data element being queried in the request of WebGIS data query and be sent to SVG map datum sending module;
23) whole geographic information data elements and corresponding vector position attribute information and the display attribute information thereof that the geographic area at the geographic information data element place being queried comprises searched and obtained to the SVG map datum sending module of Web server from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client,
24) the electronic map query destination file of the SVG form that the Web browser of client reception Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file.
In sum, the WebGIS system that the present invention is based on SVG has changed the mode of operation of existing WebGIS system, no longer adopt HTML static page to present the electronic chart of grid graph document form to the browser of client, but SVG graph technology is applied in WebGIS system, from being convenient to the generation of SVG formatted data and the angle that storage realizes, utilize relational database memory technology, by Web server, dynamically carried out typing storage and the inquiry output function of SVG map datum, and by the SVG plug-in unit of Web browser, the electronic chart of realizing SVG form in the Web browser of client shows.Because SVG graph data has unified standard and opening, improved transfer efficiency and the ability to express of spatial data on network, can show more exquisite interactive graphics (IG) effect, in the geographic information data typing and stores processor process of WebGIS system, utilize relational database technology to carry out the storage of SVG map datum, data management is convenient, can give full play to the strong point of Relational Data Base Management system, in addition, in the geographic information data inquiry output processing procedure of WebGIS system, because the data volume of SVG form map datum is less, be conducive to improve data transmission efficiency, and the map datum of SVG form is vector figure data, can directly carry out arbitrarily zoom operations and not lose geographic information data expressive force, therefore in the process of carrying out zoom operations without again obtaining new map datum, and Web browser does not need to reload after data Graphics Processing in addition yet, but directly change the viewbox property value of the map datum of current shown SVG, effectively eliminated in prior art and because zoom operations causes, presented the problem that treatment effeciency is lower in the map procedure for displaying based on grid graph technology, accelerated the response speed that geography information shows.As can be seen here, the WebGIS system that the present invention is based on SVG is the feature of vector graphics file data by the electronic chart of SVG form, make electronic chart demonstration can possess more outstanding geographic information data expressive ability and convergent-divergent and present treatment effeciency, can solve well existing WebGIS systematic geography information data performance limited ability, present the problem that treatment effeciency is lower.
Finally explanation is, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of claim scope of the present invention.

Claims (3)

1. the WebGIS system based on SVG, is characterized in that, comprises client, Web server and map database server;
Described client is carried out data communication by internet and Web server, and client has Web browser; In described Web browser, be provided with SVG plug-in unit, for the interactive function by the embedded script of SVG plug-in unit, to Web server, submit the request of WebGIS data query to, and receive the electronic map query destination file of the SVG form that Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file;
Described Web server and map database server communicate, and have SVG map datum generation module, map datum warehouse-in processing module, inquiry request processing module and SVG map datum sending module, described SVG map datum generation module is for being converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form, described map datum warehouse-in processing module is for each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of the electronic chart vector graphics file that extracts SVG map datum generation module and be converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server and store, described inquiry request processing module, for responding the WebGIS data query request from client, parses the geographic information data element being queried in the request of WebGIS data query and is sent to SVG map datum sending module, whole geographic information data elements and corresponding vector position attribute information and display attribute information thereof that described SVG map datum sending module comprises for search and obtain the geographic area at the geographic information data element place being queried from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client,
Described map database server is also stored for receiving each geographic information data element of transmission that Web server arranges and corresponding vector position attribute information and display attribute information thereof, and for the geographic information data element of having stored, according to the up-to-date data content receiving, upgrades in storing process.
2. the data entry method of the WebGIS system based on SVG as claimed in claim 1, is characterized in that, for to the typing of described WebGIS system and storage geographic information data, specifically comprises the steps:
11) draw AutoCAD map file, be stored as DXF form, and the SVG map datum generation module of typing Web server;
12) the SVG map datum generation module of Web server is converted to the AutoCAD map file of the DXF form of typing the electronic chart vector graphics file of SVG form;
13) map datum of Web server warehouse-in processing module extracts each geographic information data element and corresponding vector position attribute information and the display attribute information thereof in the electronic chart vector graphics file that SVG map datum generation module is converted to, and each geographic information data element and corresponding vector position attribute information thereof and display attribute information are arranged and be sent to map database server;
14) map database server receives each geographic information data element and corresponding vector position attribute information and the display attribute information thereof of transmission that Web server arranges, and judges respectively whether current each geographic information data element receiving has storage in database; For the geographic information data element of not yet storing, by the vector position attribute information and the direct stored data base of display attribute information of its geographic information data element and correspondence thereof; For the geographic information data element of having stored, according to the up-to-date data content receiving, its geographic information data element and corresponding vector position attribute information and display attribute information thereof are upgraded.
3. the data enquire method of the WebGIS system based on SVG as claimed in claim 1, is characterized in that, for from described WebGIS system queries geographic information data, specifically comprises the steps:
21) utilize client, the geographic information data element of inquiring about by the Web browser typing of client, submits WebGIS data query request by the interactive function of the embedded script of SVG plug-in unit to Web server by Web browser;
22) the inquiry request processing module of Web server, for responding the WebGIS data query request from client, parses the geographic information data element being queried in the request of WebGIS data query and is sent to SVG map datum sending module;
23) whole geographic information data elements and corresponding vector position attribute information and the display attribute information thereof that the geographic area at the geographic information data element place being queried comprises searched and obtained to the SVG map datum sending module of Web server from map database server, and according to the object display properties that is queried presetting, display attribute information corresponding to geographic information data element being queried getting modified, and then rebuild according to vector position attribute information corresponding to each geographic information data element and display attribute information the electronic map query destination file that includes each geographic information data element getting that generates SVG form, by http protocol, be sent to client,
24) the electronic map query destination file of the SVG form that the Web browser of client reception Web server returns by http protocol, call SVG plug-in unit and resolve the electronic map query destination file receiving, in Web browser, realize the demonstration to electronic map query destination file.
CN201410224416.1A 2014-05-26 2014-05-26 Web GIS system based on SVG and data input and search method thereof Pending CN103955549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410224416.1A CN103955549A (en) 2014-05-26 2014-05-26 Web GIS system based on SVG and data input and search method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410224416.1A CN103955549A (en) 2014-05-26 2014-05-26 Web GIS system based on SVG and data input and search method thereof

Publications (1)

Publication Number Publication Date
CN103955549A true CN103955549A (en) 2014-07-30

Family

ID=51332824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410224416.1A Pending CN103955549A (en) 2014-05-26 2014-05-26 Web GIS system based on SVG and data input and search method thereof

Country Status (1)

Country Link
CN (1) CN103955549A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463968A (en) * 2014-12-22 2015-03-25 山东鲁能软件技术有限公司 Remote-sensing image binocular stereo vision matching and three-dimensional reconstructing method based on power grid GIS three-dimensional platform
CN104503755A (en) * 2014-12-22 2015-04-08 中软信息系统工程有限公司 Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps
CN105868392A (en) * 2016-04-18 2016-08-17 重庆市勘测院 Method for lossless conversion and storage of massive complex planning data based on MicroStation
CN106354863A (en) * 2016-09-06 2017-01-25 北京交控科技股份有限公司 System and method for managing rail-transit electronic map
CN106504636A (en) * 2016-12-16 2017-03-15 成都四威电子有限公司成都星石科技分公司 A kind of method that Two-dimensional electron map is quickly generated based on dwg files
CN106570185A (en) * 2016-11-10 2017-04-19 广西大学 Electrical power system figure cross-platform display method
CN106649882A (en) * 2017-01-10 2017-05-10 浪潮通信信息系统有限公司 Spatial data management middleware applied to telecom field and implementation method thereof
CN106709815A (en) * 2015-08-10 2017-05-24 国网上海市电力公司 Method of reading medium-voltage distribution network grid structure data in PMS system
CN108509191A (en) * 2018-03-16 2018-09-07 杭州聚秀科技有限公司 A kind of housing property management WEB graphic methods
CN108875026A (en) * 2018-06-21 2018-11-23 威创集团股份有限公司 Display method of weather information, device and the computer equipment of combination
CN105243082B (en) * 2015-09-07 2018-11-30 百度在线网络技术(北京)有限公司 The recombination method and reconstruction unit of scalable vector graphics image
CN109218975A (en) * 2018-09-28 2019-01-15 苏州中亿丰科技有限公司 A kind of sight spot navigation system based on SVG
CN109753551A (en) * 2019-01-28 2019-05-14 中国科学院遥感与数字地球研究所 The data organization and storage method, device of dynamic geographical phenomena
CN110263301A (en) * 2019-06-27 2019-09-20 北京百度网讯科技有限公司 Method and apparatus for determining the color of text
CN110543534A (en) * 2019-08-07 2019-12-06 广州城市信息研究所有限公司 Layer attribute fine configuration method, device, medium and terminal equipment
CN113111044A (en) * 2021-04-07 2021-07-13 多点(深圳)数字科技有限公司 Data processing method and device, server device and storage medium
CN113850994A (en) * 2021-09-09 2021-12-28 安徽科力信息产业有限责任公司 Road information display and change method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060280373A1 (en) * 2005-06-10 2006-12-14 Canon Kabushiki Kaisha Information processing apparatus and method
CN103226604A (en) * 2013-04-27 2013-07-31 上海先之决信息科技发展有限公司 SVG-based Web GIS system and relevant energy consumption monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060280373A1 (en) * 2005-06-10 2006-12-14 Canon Kabushiki Kaisha Information processing apparatus and method
CN103226604A (en) * 2013-04-27 2013-07-31 上海先之决信息科技发展有限公司 SVG-based Web GIS system and relevant energy consumption monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柳玲 等: "基于SVG的WebGIS的设计与实现", 《重庆大学学报(自然科学版)》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503755A (en) * 2014-12-22 2015-04-08 中软信息系统工程有限公司 Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps
CN104463968B (en) * 2014-12-22 2017-09-05 山东鲁能软件技术有限公司 The matching of remote sensing image binocular stereo vision and three-dimensional rebuilding method based on power grid GIS three-dimensional platform
CN104503755B (en) * 2014-12-22 2018-02-13 中软信息系统工程有限公司 Dynamic information fusion based on HTML5 high definition bitmaps shows method
CN104463968A (en) * 2014-12-22 2015-03-25 山东鲁能软件技术有限公司 Remote-sensing image binocular stereo vision matching and three-dimensional reconstructing method based on power grid GIS three-dimensional platform
CN106709815A (en) * 2015-08-10 2017-05-24 国网上海市电力公司 Method of reading medium-voltage distribution network grid structure data in PMS system
CN105243082B (en) * 2015-09-07 2018-11-30 百度在线网络技术(北京)有限公司 The recombination method and reconstruction unit of scalable vector graphics image
CN105868392A (en) * 2016-04-18 2016-08-17 重庆市勘测院 Method for lossless conversion and storage of massive complex planning data based on MicroStation
CN105868392B (en) * 2016-04-18 2019-04-09 重庆市勘测院 A kind of lossless conversion storage method of magnanimity complexity layout data based on MicroStation
CN106354863A (en) * 2016-09-06 2017-01-25 北京交控科技股份有限公司 System and method for managing rail-transit electronic map
CN106570185A (en) * 2016-11-10 2017-04-19 广西大学 Electrical power system figure cross-platform display method
CN106504636A (en) * 2016-12-16 2017-03-15 成都四威电子有限公司成都星石科技分公司 A kind of method that Two-dimensional electron map is quickly generated based on dwg files
CN106649882A (en) * 2017-01-10 2017-05-10 浪潮通信信息系统有限公司 Spatial data management middleware applied to telecom field and implementation method thereof
CN108509191A (en) * 2018-03-16 2018-09-07 杭州聚秀科技有限公司 A kind of housing property management WEB graphic methods
CN108875026A (en) * 2018-06-21 2018-11-23 威创集团股份有限公司 Display method of weather information, device and the computer equipment of combination
CN109218975A (en) * 2018-09-28 2019-01-15 苏州中亿丰科技有限公司 A kind of sight spot navigation system based on SVG
CN109753551A (en) * 2019-01-28 2019-05-14 中国科学院遥感与数字地球研究所 The data organization and storage method, device of dynamic geographical phenomena
CN109753551B (en) * 2019-01-28 2021-03-16 中国科学院遥感与数字地球研究所 Data organization and storage method and device for dynamic geographic phenomena
CN110263301A (en) * 2019-06-27 2019-09-20 北京百度网讯科技有限公司 Method and apparatus for determining the color of text
CN110263301B (en) * 2019-06-27 2023-12-05 北京百度网讯科技有限公司 Method and device for determining color of text
CN110543534A (en) * 2019-08-07 2019-12-06 广州城市信息研究所有限公司 Layer attribute fine configuration method, device, medium and terminal equipment
CN113111044A (en) * 2021-04-07 2021-07-13 多点(深圳)数字科技有限公司 Data processing method and device, server device and storage medium
CN113850994A (en) * 2021-09-09 2021-12-28 安徽科力信息产业有限责任公司 Road information display and change method and system
CN113850994B (en) * 2021-09-09 2022-12-30 安徽科力信息产业有限责任公司 Road information display and change method and system

Similar Documents

Publication Publication Date Title
CN103955549A (en) Web GIS system based on SVG and data input and search method thereof
Yang et al. Efficient transmission of vector data over the Internet
CN110245368A (en) A kind of the structuring processing and storage method of BIM data
CN101976459B (en) Method for implementing automatic shelving system of virtual reality library
EP2056217A1 (en) Geographic XML database management system
CN110008366B (en) Construction drawing previewing method and system
CN108009211A (en) Multisource map vector tile rendering system based on rule base
CN104317842A (en) Intelligent data extraction and thematic map generation engine based on geographic information technology
CN103927385A (en) Unifying method and device of data model
Zhang et al. GML-based interoperable geographical databases
JP2000259659A (en) Geographic information system and recording medium
Antoniou et al. The potential of XML encoding in geomatics converting raster images to XML and SVG
CN107193913A (en) The searching method and system of cartoon material
CN107515913A (en) A kind of multivariate data model integrated construction method and its virtual interactive interface system
Yao et al. Interoperable internet mapping—an open source approach
CN102110166B (en) Browser-based body 3D (3-demensional) visualizing and editing system and method
Panchaud et al. Service-driven 3D atlas cartography
CN110147408A (en) For the big data integrated system of multi-source heterogeneous spatial data
Hu et al. Geospatial web service for remote sensing data visualization
Spanaki et al. Web Mapping and XML Technologies: A Close Relationship
Zhang et al. Geographic information integration and publishing based on GML and SVG
de Vries et al. Accessing a 3D geo-DBMS using Web technology
Franke et al. VCoRE: a web resource oriented architecture for efficient data exchange
D'Andrea et al. Spatial and non-spatial archaeological data integration using MAD
Abdalla et al. A unified approach for spatial data query

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140730