CN1588345A - Geological marking language ata browser and its mapping method - Google Patents
Geological marking language ata browser and its mapping method Download PDFInfo
- Publication number
- CN1588345A CN1588345A CN 200410053374 CN200410053374A CN1588345A CN 1588345 A CN1588345 A CN 1588345A CN 200410053374 CN200410053374 CN 200410053374 CN 200410053374 A CN200410053374 A CN 200410053374A CN 1588345 A CN1588345 A CN 1588345A
- Authority
- CN
- China
- Prior art keywords
- data
- markup language
- gml
- geographical
- geographical markup
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention relates to geographic information technology, and is especially geographic mark language data browser and its drawing method capable of showing geographic mark language (GML) in basic geographic information system (GIS) vector diagram mode and performing basic GIS operation. The browser is based on the radio transmission hardware environment comprising computer network, server computing system, etc. The method is based on expandable mark language (XML) and JAVA APPLET application program in JAVA SWING graphic image technology, receives GML file in flow mode, and calculates map zooming scale, translation distance or planar diagram layer re-drawing process. The present invention can meet the requirement of displaying GML in basic GIS vector diagram mode, realizes the zooming, translation and other basic operation of basic GIS, meets the requirement of graphic browsing of GML data, etc.
Description
Technical field
The present invention relates to a kind of geographical information technology field, refer to a kind of geographical markup language GML can the demonstration in basic GIS vector graphics mode especially, and carry out the geographical markup language data browser and the method for drafting thereof of basic GIS operation tool.
Background technology
Separate the existing problem of storage at spatial data and attribute data with document form, the OGC of Open Geographic Information System association proposed geographical markup language GML in 1999, and obtained the support energetically of many companies, as Oracle, Galdos, MapInfo, CubeWerx etc.In May, 2000, the OGC of Open Geographic Information System association has released based on the geographical markup language GML of XML DTD (Document Type Definitions, DTD (Document Type Definition)) and resource description framework RDF (Resource Description Frameworks) 1.0 editions.In February calendar year 2001, Open Geographic Information System association OGC has released again fully based on the GML of XML Schema 2.0 editions.In February, 2003,3.0 editions formal issues of GML.
Geographical markup language GML is the application of expandable mark language XML in the geospatial information field.Geographical markup language GML can store and issue the geography information of various features, and the demonstration of control geography information in Web browser.Geographical markup language GML can represent the spatial data and the non-space attribute data of geographical space object.By Web numerous geography information sources is integrated, provide various levels of application service, support the exploitation and the management of local data simultaneously to the user.So to say that the appearance of geographical markup language GML technology is the once leap of geographical spatial data management method.
Geographical markup language GML is based on the geography information abstract model, i.e. spatial entities feature and attributes encapsulation.Geographic entity comprises a series of attribute and corresponding geological information, and in general attribute is made up of name, type and value, and geological information is made up of fundamental element such as point, line, surface, curve, polygon etc.Simultaneously, geographical markup language GML has encapsulated the space and geographical frame of reference.The space and geographical frame of reference is the basis that Geographic Information System (GIS) data is handled.Geographical markup language GML has encapsulated space and geographical frame of reference, main projection relation etc., guarantees the extendability and the dirigibility of distributed treatment.
But, because geographical markup language GML has just emerged soon, therefore also do not occur as yet at present and geographical markup language GML can be shown in basic Geographic Information System GIS vector graphics mode, and manage the instrument of infosystem GIS operation basically, yet development along with Geographic Information System GIS, network geographic information system GIS with exploration and interoperability becomes more and more important, so the importance of geographical markup language GML is also obvious day by day.
Summary of the invention
In order to overcome above-mentioned weak point, fundamental purpose of the present invention aims to provide a kind of JAVAAPPLET application program based on expandable mark language XML and JAVA SWING graph image technology, and it receives geographical markup language GML file with the form of stream; This instrument adopts JAVA DOM mode that data-switching is become data structure in the internal memory and geographical markup language data browser and method for drafting thereof that its drawing process is provided to reading of data.
The technical problem to be solved in the present invention is: be based on the JAVA APPLET application program of XML and JAVA SWING graph image technology, and with the form of stream, can be document flow or network character stream, receive geographical markup language GML file; To adopt JAVA DOM mode that data-switching is become data structure in the internal memory to reading of data; To read geographical markup language GML by the XML API of java, and the data direct representation that reads be come out with java 2D graph technology; Solve its drawing process; Map scaling or translation distance need be calculated,, the technology of the process of repainting be solved simultaneously for planar figure layer; The demand that will show in basic Geographic Information System GIS vector graphics mode, realize basic Geographic Information System GIS amplification, dwindle, operation such as translation.
The technical solution adopted for the present invention to solve the technical problems is: this browser comprises computing machine, computer network, the wireless transmission hardware environment that device such as server computing system and server stores system is formed, output terminal by the client computing system sends request signal to the input end of computer network, sending request signal carries out transmission of wireless signals and transmits request by computer network, transmit request signal and send request geographical markup language GML signal by the server computing system, request geographical markup language GML signal carries out transmission of wireless signals to computer network by the server stores system, computer network obtains geographical markup language GML, and pass through computer network wireless transmission geographical markup language GML data to the client output system, show existing geographical markup language GML in the graph image mode.
A kind of method for drafting of geographical markup language data browser, this method is based on the JAVA APPLET application program of expandable mark language XML and JAVA SWING graph image technology, form with stream, can be document flow or network character stream, receive geographical markup language GML file, because geographical markup language GML is a kind of special shape of expandable mark language XML, therefore this instrument adopts JAVA DOM mode to reading of data, data-switching is become data structure in the internal memory, in drawing process, need calculate the process that repaints of map scaling or translation distance or planar figure layer, its concrete job step is:
Step 1. geographical markup language GML request of data
By network or directly open geographical markup language GML data stream,, geographical markup language GML is read with the form of character stream because GML is a text formatting from this locality;
Step 2. is judged not data
1) if data are arranged, then obtains geographical markup language GML data;
2) if no datat then turns back to geographical markup language GML request of data;
Step 3. is converted to the point, line, surface in the internal memory
Geographical markup language GML is converted to point, line, surface in the internal memory, and the data that will read into data structure with oneself definition in internal memory is preserved;
Step 4. need to judge whether coordinate conversion
1), then enters after the coordinate conversion and calculate amplification or scale down, translation distance and convert the full mold data to if need coordinate conversion;
2), then directly enter and calculate amplification or scale down, translation distance and convert the full mold data to if do not need coordinate conversion;
Spatial data is owing to adopt different reference frames therefore possibly can't show simultaneously, thus we in this unified Conversion of Spatial Data with different coordinates to local coordinate system, so that demonstration simultaneously.
Step 5. calculate amplify, dwindle, translation
Because Geographic Information System GIS data all are type double precisions, yet draw the java vector graphics and then must adopt integer, therefore data must be carried out corresponding conversion, simultaneously to determine map scaling and translation distance, make whole figure can be presented on the drawing panel fully intuitively according to the size of drawing panel; When realizing amplifying, dwindle, during translation, recomputating map scaling or translation distance;
Step 6. point, line, surface that draw
These point, line, surface and the corresponding figure that draws draw;
Step 7. judges whether to be face
1) if face then repaints the hollowing graphics place with background color, repaints with background color for the place of hollowing out in the figure;
2) if not face, then entering draws finishes;
Step 8. is drawn and is finished.
The invention has the beneficial effects as follows: geographical markup language GML browser, not only can satisfy the demand that geographical markup language GML is shown in basic Geographic Information System GIS vector graphics mode, realized also that simultaneously basic Geographic Information System GIS amplifies, dwindle, operations such as translation, use this instrument can develop Web Geographic Information System generalized information system quickly and easily on the net based on geographical markup language GML data, simultaneously various isomeric datas can also be converted to geographical markup language GML, and corresponding tool arranged, utilize this instrument to browse, this has not only solved the current needs of browsing for geographical markup language GML graphical data, has also satisfied the integrated demonstration needs of isomeric data simultaneously.
Description of drawings
The present invention is further described below in conjunction with drawings and Examples.
Accompanying drawing 1 is the hardware environment schematic flow sheet that the present invention is based on;
Accompanying drawing 2 is schematic flow sheets of the concrete job step of the present invention;
Label declaration in the accompanying drawing:
1-geographical markup language GML request of data;
2-obtains geographical markup language GML data;
3-geographical markup language GML is converted to the point, line, surface in the internal memory;
The 4-coordinate conversion;
5-calculates amplification or scale down, translation distance and converts the full mold data to;
6-these point, line, surface that draw;
7-repaints the hollowing graphics place with background color;
8-draws and finishes;
9-has not data;
Whether 10-needs coordinate conversion;
Whether 11-is face;
20-client computing system;
21-sends request;
The 22-computer network;
23-transmits request;
24-server computing system;
25-request geographical markup language GML;
26-server stores system;
27-obtains geographical markup language GML;
28-transmission geographical markup language GML data;
29-shows existing geographical markup language GML in the graph image mode;
Embodiment
See also shown in the accompanying drawing 1, for instrument of the present invention based on the hardware environment schematic flow sheet, because the present invention is the wireless transmission hardware environment, so can not directly represent it between each module in the accompanying drawing with line, its arrow and lines all be drawn between each module below, and be described with signal transmission and transmission mode; This browser comprises computing machine, computer network, the wireless transmission hardware environment that device such as server computing system and server stores system is formed, output terminal by client computing system 20 sends request 21 signals to the input end of computer network 22, sending request 21 signals carries out transmission of wireless signals and transmits request 23 by computer network 22, transmit request 23 signals and send request geographical markup language GML25 signal by server computing system 24, request geographical markup language GML25 signal carries out transmission of wireless signals to computer network 22 by server stores system 26, computer network 22 obtains geographical markup language GML27, and pass through computer network 22 wireless transmission geographical markup language GML data 28 to the client output system, show existing geographical markup language GML29 in the graph image mode.
This instrument adopts popular technology Java Applet at present, and it can easily be embedded in HTML, ASP, the jsp file.The architecture of this fat client's thin server obtains the spatial data that needs from spatial data source, then data are sent to the customer.Finish the work of back by the Java Applet on the browser, and result is shown to the user; It does not need to install client software, and client operation speed is fast, and the burden of server and Network Transmission is light, realizes the load balance at two ends easily.
See also shown in the accompanying drawing 2; a kind of method for drafting of geographical markup language data browser; this method is based on the JAVA APPLET application program of expandable mark language XML and JAVA SWING graph image technology; form with stream; can be document flow or network character stream; receive geographical markup language GML file; because geographical markup language GML is a kind of special shape of expandable mark language XML; therefore this instrument adopts JAVA DOM mode to reading of data; data-switching is become data structure in the internal memory; in drawing process; need calculate map scaling or translation distance; simultaneously for planar figure layer, the process that repaints also be one very complexity also be the technology that needs focused protection, its concrete job step is:
Step 1. geographical markup language GML request of data 1
By network or directly open geographical markup language GML data stream,, geographical markup language GML is read with the form of character stream because GML is a text formatting from this locality;
Step 2. is judged not data 9
1) if data are arranged, then obtains geographical markup language GML data 2;
2) if no datat then turns back to geographical markup language GML request of data 1;
Step 3. is converted to the point, line, surface in the internal memory
Geographical markup language GML is converted to point, line, surface 3 in the internal memory, and the data that will read into data structure with oneself definition in internal memory is preserved;
Step 4. need to judge whether coordinate conversion 10
3), then enter after the coordinate conversion 4 and calculate amplification or scale down, translation distance and convert full mold data 5 to if need coordinate conversion;
4), then directly enter and calculate amplification or scale down, translation distance and convert full mold data 5 to if do not need coordinate conversion;
Spatial data is owing to adopt different reference frames therefore possibly can't show simultaneously, thus we in this unified Conversion of Spatial Data with different coordinates to local coordinate system, so that demonstration simultaneously.
Step 5. calculate amplify, dwindle, translation
Because Geographic Information System GIS data all are type double precisions, yet draw the java vector graphics and then must adopt integer, therefore data must be carried out corresponding conversion, simultaneously to determine map scaling and translation distance, make whole figure can be presented on the drawing panel fully intuitively according to the size of drawing panel; When realizing amplifying, dwindle, during translation, recomputating map scaling or translation distance;
Step 6. point, line, surface that draw
These point, line, surface 6 and the corresponding figure that draws draw;
Step 7. judges whether to be face 11
3) if face then repaints hollowing graphics place 7 with background color, repaint with background color for the place of hollowing out in the figure;
4) if not face, then entering draws finishes 8;
Step 8. is drawn and is finished.
Java among the present invention is a kind of Object Oriented computer language that SUN company designs for the internet specially, it both can be used for developing the software systems of isolated operation, also can be used for developing the stand alone software that is similar to plug-in type, but the user needn't worry the installation and the debugging problem of software, but because working procedure is directly to obtain in real time from the internet.The topmost characteristics of Java are exactly the platform-neutral of object code, and the software of writing with Java may operate on any computer platform, promptly so-called " once writing, everywhere operation (Write once, run anywhere) ".Java can well support the Web pattern, and can support the data manipulation under the distributed data state.Java is that the client-side technology by a kind of Applet of being called realizes this function.
Advantage based on the implementation of Geographic Information System GIS Java Applet is that its architecture-neutral all has nothing to do with platform and operating system.Simultaneously it can dynamic operation, need not install in advance, and its all Geographic Information System GIS basic operation can finish in client, and not only operating speed is fast, and has alleviated the burden of network greatly.
Java Applet mainly is the exploitation of being responsible for Web Geographic Information System GIS client, the general processing that only need finish Geographic Information System GIS data with browse and basic Geographic Information System GIS operation (as amplify, dwindle, roaming, inquiry, analysis etc.).
The main Geographic Information System GIS operation of this instrument comprises:
1) amplification of figure and dwindling.
2) translation of figure.
3) the clicking of figure, frame choosing.
4) be activated to current layer, whole figure layer.
5) open new figure layer.
6) delete layer.
7) figure layer on move, move down.
Claims (2)
1, a kind of geographical markup language data browser, this device comprises computing machine, computer network, the wireless transmission hardware environment of server computing system and server stores system, it is characterized in that: by the output terminal of client computing system (20) the input end request of sending (21) signal to computer network (22), the request of sending (21) signal carries out transmission of wireless signals and transmits request (23) by computer network (22), transmit request (23) signal and send request geographical markup language GML (25) signal by server computing system (24), request geographical markup language GML (25) signal carries out transmission of wireless signals to computer network (22) by server stores system (26), computer network (22) obtains geographical markup language GML (27), and pass through computer network (22) wireless transmission geographical markup language GML data (28) to the client output system, show existing geographical markup language GML (29) in the graph image mode.
2, a kind of method for drafting of geographical markup language data browser, this method is based on the JAVAAPPLET application program of expandable mark language XML and JAVA SWING graph image technology, form with stream receives geographical markup language GML file, adopt JAVA DOM mode that data-switching is become data structure in the internal memory to reading of data, in drawing process, need calculate the process that repaints of map scaling or translation distance or planar figure layer, its concrete job step is:
Step 1. geographical markup language GML request of data (1)
By network or directly open geographical markup language GML data stream,, geographical markup language GML is read with the form of character stream because GML is a text formatting from this locality;
Step 2. is judged not data (9)
1) if data are arranged, then obtains geographical markup language GML data (2);
2) if no datat then turns back to geographical markup language GML request of data (1);
Step 3. is converted to the point, line, surface in the internal memory
Geographical markup language GML is converted to point, line, surface (3) in the internal memory, and the data that will read into data structure with oneself definition in internal memory is preserved;
Step 4. need to judge whether coordinate conversion (10)
1), then enters after the coordinate conversion (4) and calculate amplification or scale down, translation distance and convert full mold data (5) to if need coordinate conversion;
2), then directly enter and calculate amplification or scale down, translation distance and convert full mold data (5) to if do not need coordinate conversion;
Step 5. calculate amplify, dwindle, translation
Data are carried out corresponding conversion, will determine map scaling and translation distance according to the size of drawing panel simultaneously, make whole figure can be presented on the drawing panel fully intuitively; When realizing amplifying, dwindle, during translation, recomputating map scaling or translation distance;
Step 6. point, line, surface that draw
These point, line, surface (6) and the corresponding figure that draws draw;
Step 7. judges whether to be face (11)
1) if face then repaints hollowing graphics place (7) with background color;
2) if not face, then entering draws finishes (8);
Step 8. is drawn and is finished.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410053374 CN1588345A (en) | 2004-08-03 | 2004-08-03 | Geological marking language ata browser and its mapping method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410053374 CN1588345A (en) | 2004-08-03 | 2004-08-03 | Geological marking language ata browser and its mapping method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1588345A true CN1588345A (en) | 2005-03-02 |
Family
ID=34602830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410053374 Pending CN1588345A (en) | 2004-08-03 | 2004-08-03 | Geological marking language ata browser and its mapping method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1588345A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192215B (en) * | 2006-11-24 | 2010-08-11 | 中国科学院声学研究所 | Information aggregation and enquiry method based on geographic coordinates |
CN101840426A (en) * | 2010-04-15 | 2010-09-22 | 同济大学 | GML document storage and enquiry method based on coordinate separation |
CN101359341B (en) * | 2008-09-08 | 2010-09-29 | 中国科学院地理科学与资源研究所 | Dimension setting method based on vector data traffic |
CN102411763A (en) * | 2010-09-20 | 2012-04-11 | 湖南科创信息技术股份有限公司 | Mobile automobile danger survey method and system based on third generation (3G) network |
CN103365862A (en) * | 2012-03-28 | 2013-10-23 | 北京百度网讯科技有限公司 | Method and equipment for generating pictures corresponding to pages |
CN103886773A (en) * | 2014-03-19 | 2014-06-25 | 北京市交通信息中心 | Method for monitoring taxi on GIS map in real time under B/S environment |
CN106504024A (en) * | 2016-10-26 | 2017-03-15 | 青岛西海岸投资促进有限公司 | A kind of urban geographic information processing method |
-
2004
- 2004-08-03 CN CN 200410053374 patent/CN1588345A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192215B (en) * | 2006-11-24 | 2010-08-11 | 中国科学院声学研究所 | Information aggregation and enquiry method based on geographic coordinates |
CN101359341B (en) * | 2008-09-08 | 2010-09-29 | 中国科学院地理科学与资源研究所 | Dimension setting method based on vector data traffic |
CN101840426A (en) * | 2010-04-15 | 2010-09-22 | 同济大学 | GML document storage and enquiry method based on coordinate separation |
CN101840426B (en) * | 2010-04-15 | 2012-08-22 | 同济大学 | GML document storage and enquiry method based on coordinate separation |
CN102411763A (en) * | 2010-09-20 | 2012-04-11 | 湖南科创信息技术股份有限公司 | Mobile automobile danger survey method and system based on third generation (3G) network |
CN103365862A (en) * | 2012-03-28 | 2013-10-23 | 北京百度网讯科技有限公司 | Method and equipment for generating pictures corresponding to pages |
CN103886773A (en) * | 2014-03-19 | 2014-06-25 | 北京市交通信息中心 | Method for monitoring taxi on GIS map in real time under B/S environment |
CN103886773B (en) * | 2014-03-19 | 2016-03-16 | 北京市交通信息中心 | Under a kind of B/S environment in GIS map the method for Real-Time Monitoring taxi |
CN106504024A (en) * | 2016-10-26 | 2017-03-15 | 青岛西海岸投资促进有限公司 | A kind of urban geographic information processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1104677C (en) | Cut-and-paste method and data processing system in table | |
CN102129364B (en) | Method for embedding widget toolbar in application program and rapid widget accessing method | |
CN1613105A (en) | Presenting html content on a small screen terminal display | |
US7216177B1 (en) | Apparatus and method for supplying electronic content to network appliances | |
CN1892653A (en) | Method and system for non-intrusive portlet rendering for printing | |
AU2007300233A1 (en) | Method and system for displaying graphical objects on a digital map | |
CN101078989A (en) | Visio file cross-platform network browser implementation method and software | |
CN1542599A (en) | Multi-directional display and navigation of hierarchical data and optimization of display area consumption | |
CN1945578A (en) | Method for forming and applying high speed Wcb electronic map based on space data base and SVG | |
CN103955549A (en) | Web GIS system based on SVG and data input and search method thereof | |
KR20120077000A (en) | Online application system, apparatus by use of extended fields and method thereof | |
US20130167049A1 (en) | Geographic information service system | |
TWI539302B (en) | Late resource localization binding for web services | |
CN1588345A (en) | Geological marking language ata browser and its mapping method | |
CN103414888B (en) | Building video and graphic display methods based on SVG technology | |
Zhang et al. | GML-based interoperable geographical databases | |
CN103440114B (en) | A kind of three-dimensional wellbore trajectory display system of sing on web framework | |
CN101271460A (en) | Method and apparatus for mixing Web application | |
CN1877558A (en) | Dynamic drawing system for network electronic map and method therefor | |
US20090307578A1 (en) | Top down chinese character display on a computing device | |
Stefanakis et al. | Google earth and XML: advanced visualization and publishing of geographic information | |
CN1828602A (en) | Display output realization method based on mobile terminal WAP browser | |
CN1510637A (en) | General method for printing and drawing graphics document, dynamic link-base | |
CN112783385A (en) | Dynamic generation method of environment-friendly monitoring map point location identification | |
CN1471679A (en) | Extensible style sheet designs using metal-tag information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |