CN109144497B - Geographic space browser platform based on android and construction method - Google Patents

Geographic space browser platform based on android and construction method Download PDF

Info

Publication number
CN109144497B
CN109144497B CN201810735127.6A CN201810735127A CN109144497B CN 109144497 B CN109144497 B CN 109144497B CN 201810735127 A CN201810735127 A CN 201810735127A CN 109144497 B CN109144497 B CN 109144497B
Authority
CN
China
Prior art keywords
browser
android
platform
interface
plug
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.)
Active
Application number
CN201810735127.6A
Other languages
Chinese (zh)
Other versions
CN109144497A (en
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.)
Zhongke Star Map Co ltd
Original Assignee
Zhongke Star Map Co ltd
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 Zhongke Star Map Co ltd filed Critical Zhongke Star Map Co ltd
Priority to CN201810735127.6A priority Critical patent/CN109144497B/en
Publication of CN109144497A publication Critical patent/CN109144497A/en
Application granted granted Critical
Publication of CN109144497B publication Critical patent/CN109144497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an android-based geospatial browser platform and a construction method thereof. The method comprises the steps that a geospatial browser platform adopts a kernel of a chrome browser as an integral framework, and the kernel of the chrome browser is modified so that the framework can operate a PPAPI plug-in on an android platform; and packaging the original geographic information system software of the PC terminal into a PPAPPI plug-in, and transplanting the geographic information system software by modifying a graphical program interface of the geographic information system software. The advantages of this platform are embodied in: the interface is convenient to develop, and the client does not need to be updated frequently; a browser frame is used for displaying an interface, a bottom layer interface can be defined highly freely, and a complex three-dimensional display function is realized based on an OpenGLES interface; the method can be well adapted to GIS software at the PC end, and the original product does not need to be modified on a large scale.

Description

Geographic space browser platform based on android and construction method
Technical Field
The invention relates to the field of geographic information system visualization, in particular to a geographic space browser platform based on android and a construction method.
Background
With the development of mobile GIS, the GIS software of a mobile terminal is more abundant, and a lot of software is already put into use at home and abroad. Google, ArcGIS, ESRI, hypergraph, etc. have introduced a secondary development platform based on embedded operating systems. The Android platform equipment terminal is developed rapidly and has high market share, and research on mobile GIS software based on the Android platform becomes one of the key points of GIS development attention at present.
ArcGIS mobile can be considered a representation of a fully mature, proprietary mobile GIS application. These applications are general-purpose tools that allow users to add thematic data (ArcGIS applications) and even edit and update geometry and properties. An SDK is also included to allow for the development of specific applications.
Some open source projects support mobile devices, primarily in the form of web applications, but only a few in the form of local applications.
Google Earth Engine (GEE) cloud platforms provide researchers for the first time to quantitatively analyze geographic changes with high temporal resolution throughout the earth. The GEE provides an Application Programming Interface (API) that allows for quantitative analysis of various types of geographic data sets.
The application of a mobile Geographic Information System (GIS) is widely used for collecting field data, and the decision-making capability of field investigators is improved. However, although conventional object-oriented GIS functionality development models typically employ modularity to reduce repetitive tasks, such models still cannot be similar for different data collection applications using GIS requirements. Moreover, changing the data format or content requires a high program modification effort.
At present, a WebGIS system is mostly adopted in the GIS system, and a plurality of mature GIS platforms and professional applications are already applied to the WebGIS. Because of the new technology, the GIS platform on the mobile terminal is few, and compared with desktop GIS and WebGIS, the function interface is few and few, and can only meet the public requirements of simple map browsing, place name address searching, positioning, navigation and the like, the special map layer cannot be loaded, and the professional requirements of the homeland department, the surveying and mapping department and the like cannot be met, and the mobile office is more and more the urgent requirements of the homeland and the surveying and mapping industry.
In the big data era, three-dimensional visualization has become an essential key technology in the aspects of terrain analysis, geographic process simulation, auxiliary decision making and the like. With the increase of market share of mobile equipment, mobile terminal GIS software becomes more and more important. Mobile GIS is also becoming an increasingly urgent need in the territory and mapping industries. The transition from desktop GIS to mobile GIS has become a major trend.
The traditional three-dimensional mobile terminal software is developed by using a native language of a mobile platform, such as an Android platform, and Java is adopted; or use a browser framework to present the geographic information based on a WebGL interface.
Many companies have a lot of mature experiences and products in the GIS industry of the PC end, and if new languages and engines are learned again, it is difficult to transplant the advantageous products of the PC end to the mobile end in a short time.
In addition, if the native development language of the mobile platform is adopted, the development period is long, the program is bloated, and the program needs to be updated frequently. Although map engines such as the Cesium can support mobile GIS through cross-platform, the Cesium is a JavaScript interface based on WebGL, is limited by the number and functions of the interfaces, cannot meet the requirement of customized three-dimensional display, and is weak in three-dimensional analysis capability.
In an Android (Android) platform, if a native interface is used, NDK technology is required to be adopted, secondary development is carried out on a C + + layer based on a rendering engine, and then the interface is packaged and called by a Java layer, so that the interface is displayed. If WebGL is used, it needs to be developed by means of a relatively mature engine at present. The method can not be well combined with the original products of the PC terminal, and some original characteristic functions need to be redeveloped based on a WebGL interface. There are some disadvantages as follows: (1) android native application is bulky, and an application program needs to be updated every time an interface is modified. (2) Like the maps engine of Cesium, based on the WebGL interface. Many companies have mature products at the PC end, the bottom layer is developed by using C + +, an OpenGL interface is adopted, and development by reusing Cesium is time-consuming and labor-consuming. (3) The interface of Cesium is not rich in functions for the part of three-dimensional visualization, and can not be mature like a GIS at a PC end.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides the android-based geospatial browser platform which is less in time consumption and small in code modification amount and can realize the development of the custom special effect and the construction method thereof.
In order to solve the technical problems, the invention adopts the technical scheme that:
a geographic space browser platform based on android adopts a kernel of a chrome browser as an integral framework, and the kernel of the chrome browser is modified to enable the framework to run a PPAPI plug-in on the android platform; and packaging the original geographic information system software of the PC terminal into a PPAPPI plug-in, and transplanting the geographic information system software by modifying a graphical program interface of the geographic information system software.
Further, the android-based geospatial browser platform comprises a user interface, a display layer, a business layer, a logic layer and an interface layer, wherein the display layer, the business layer and the logic layer comprise modified chrome browser kernels and PPAPI plug-ins packaged with geographic information system software; the interface layer is an OpenGLES interface provided by the Chromium.
The invention also comprises a construction method of the geographic space browser platform based on the android, which comprises the following steps:
step 1, adopting a kernel of a Chromium browser as an integral framework, and enabling the framework to run a PPAPI plug-in on an android platform by modifying the kernel of the Chromium browser;
step 2, transforming and packaging original geographic information system software of the PC end into a PPAPPI plug-in, wherein the transformation specifically comprises the following steps: using a graphical program interface supported by both the original PC end software and the android platform;
and 3, developing a user interface.
Further, in step 2, the graphical program interface supported by both the original PC end software and the android platform is an OpenGLES interface provided by the chrome.
Further, the modifying of the chromosome kernel, specifically, the supporting of the android platform by the PPAPPI mechanism for adding the chromosome kernel, includes the following steps:
(1) customizing a page analysis module of the Chromium, and starting a browser plug-in when a self-defined label appears on a webpage;
(2) calling an OpenGLES2 interface packaged by chrome in the browser plug-in to start a three-dimensional rendering function;
(3) and displaying the three-dimensional rendering effect on a webpage through a PPAPI mechanism of Chromium.
Further, the user interface is developed using a front-end language including, but not limited to, Html, CSS, JavaScript.
According to the invention, the original PC end software is transplanted to an Android platform through less code change, the time consumption is less, the code modification amount is small, and the development of a custom special effect can be realized by modifying a C + + interface at the bottom layer; the whole platform is transplanted rapidly, the advantages of the original PC side GIS software can be combined well, and the Android market is rapidly integrated.
Compared with traditional Android GIS software, the platform has the main advantages that: the interface is convenient to develop, and the client does not need to be updated frequently; the method comprises the steps that a browser frame display interface is tried, a bottom layer interface can be freely defined, and a complex three-dimensional display function is achieved based on an OpenGLES interface; the method can be well adapted to GIS software at the PC end, and the original product does not need to be modified on a large scale.
Drawings
FIG. 1 is a schematic diagram of a geospatial browser platform of the present invention.
FIG. 2 is a flow chart of a mechanism for running a PPAPI plug-in on an Android system.
Fig. 3 is a block diagram of the structure of the original GIS software of the PC.
Fig. 4 is a structural diagram of the android-terminal GIS software.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The content of the embodiment comprises a geographic space browser platform based on Android and a construction method thereof.
The method comprises the steps that an Android-based geographic space browser platform adopts a kernel of a chrome browser as an integral frame, and the kernel of the chrome browser is modified to enable the frame to run a PPAPI plug-in on the Android platform; and packaging the original geographic information system software of the PC terminal into a PPAPPI plug-in, and transplanting the geographic information system software by modifying a graphical program interface of the geographic information system software. As shown in fig. 1, the geospatial browser platform includes a user interface, a presentation layer, a service layer, a logic layer, and an interface layer, where the presentation layer, the service layer, and the logic layer include a modified kernel of a chrome browser and a PPAPI plug-in packaged with geographic information system software; the interface layer is an OpenGLES interface provided by the Chromium.
The construction method comprises the following steps:
step 1, adopting a kernel of a chrome browser as an integral framework, and modifying the kernel of the chrome browser to enable the framework to run a PPAPI plug-in on an android platform, as shown in FIG. 2, the process specifically comprises:
firstly, a webpage parsing module of the chrome is customized, and when a self-defined tag such as "< geo vis >" appears on a webpage, a browser plug-in can be opened through a browser of the platform.
In the browser plug-in, the function of three-dimensional display is realized by calling an OpenGLES2 interface packaged by chrome.
And finally, displaying the rendering effect on the webpage through a PPAPI mechanism of the chrome.
Step 2, transforming and packaging original geographic information system software of the PC end into a PPAPPI plug-in, wherein the transformation specifically comprises the following steps: using a graphical program interface supported by both the original PC end software and the android platform;
since the Android platform uses the OpenGLES2 interface, which is a subset of OpenGL2, rewriting is not completely required, and only interfaces supported by OpenGL2 and OpenGLES2 need to be used. As can be seen from figures 3 and 4, the mechanism of the platform is very similar to the original structure of the GIS software at the PC terminal. For the code of the original platform, only the OpenGL library called by the rendering engine of the original PC end needs to be changed into the OpenGLES library provided by the Chromium, and the code can be transplanted to the Android platform with little code modification cost.
And 3, developing a user interface.
The interface development language of PC originally is various, and can be various program languages such as Qt, MFC, C #, and the like. After the platform is used, the interfaces are all in front-end languages such as Html, CSS and JavaScript. The development is convenient, the Android software does not need to be frequently updated every time the service logic is changed, and only the webpage on the server needs to be updated.
The above embodiments are not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make variations, modifications, additions or substitutions within the technical scope of the present invention.

Claims (6)

1. An android-based geospatial browser platform, comprising: the method comprises the steps that a kernel of a Chromium browser is used as an integral framework, and the kernel of the Chromium browser is modified, so that the framework can run a PPAPI plug-in on an android platform; and packaging the original geographic information system software of the PC terminal into a PPAPPI plug-in, and transplanting the geographic information system software by modifying a graphical program interface of the geographic information system software.
2. The android-based geospatial browser platform of claim 1, wherein: the android-based geospatial browser platform comprises a user interface, a display layer, a business layer, a logic layer and an interface layer, wherein the display layer, the business layer and the logic layer comprise modified chrome browser kernels and PPAPI plug-ins packaged with geographic information system software; the interface layer is an OpenGLES interface provided by the Chromium.
3. The method of claim 1 or 2, wherein the method comprises: the method comprises the following steps:
step 1, adopting a kernel of a Chromium browser as an integral framework, and enabling the framework to run a PPAPI plug-in on an android platform by modifying the kernel of the Chromium browser;
step 2, transforming and packaging original geographic information system software of the PC end into a PPAPPI plug-in, wherein the transformation specifically comprises the following steps: using a graphical program interface supported by both the original PC end software and the android platform;
and 3, developing a user interface.
4. The method of claim 3, wherein the method comprises: the method for modifying the chromosome kernel, specifically for adding the support of the PPAPI mechanism of the chromosome to the android platform, comprises the following steps:
(1) customizing a page analysis module of the Chromium, and starting a browser plug-in when a self-defined label appears on a webpage;
(2) calling an OpenGLES2 interface packaged by chrome in the browser plug-in to start a three-dimensional rendering function;
(3) and displaying the three-dimensional rendering effect on a webpage through a PPAPI mechanism of Chromium.
5. The method of claim 4, wherein the android-based geospatial browser platform comprises: in the step 2, the graphical program interface supported by both the original PC end software and the android platform is an OpenGLES interface provided by the chrome.
6. The method of claim 5, wherein the android-based geospatial browser platform comprises: the user interface is developed using a front-end language including, but not limited to, Html, CSS, JavaScript.
CN201810735127.6A 2018-07-06 2018-07-06 Geographic space browser platform based on android and construction method Active CN109144497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810735127.6A CN109144497B (en) 2018-07-06 2018-07-06 Geographic space browser platform based on android and construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810735127.6A CN109144497B (en) 2018-07-06 2018-07-06 Geographic space browser platform based on android and construction method

Publications (2)

Publication Number Publication Date
CN109144497A CN109144497A (en) 2019-01-04
CN109144497B true CN109144497B (en) 2021-07-20

Family

ID=64799768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810735127.6A Active CN109144497B (en) 2018-07-06 2018-07-06 Geographic space browser platform based on android and construction method

Country Status (1)

Country Link
CN (1) CN109144497B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857710A (en) * 2020-06-18 2020-10-30 远光软件股份有限公司 Method and device for developing Eclipse plug-in based on embedded chromium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199714A (en) * 2014-08-25 2014-12-10 广州菜鸟信息科技有限公司 Method for achieving mobile terminal GIS platform on android system and apple system
CN106886404A (en) * 2017-01-17 2017-06-23 武汉卓尔云市集团有限公司 A kind of 3D rendering devices of android
CN106990961A (en) * 2017-03-28 2017-07-28 易网数通(北京)科技有限公司 A kind of method for building up of WebGL graphics rendering engines
CN107229480A (en) * 2017-06-19 2017-10-03 郑州云海信息技术有限公司 A kind of desktop application construction method and device based on web technology
CN107239405A (en) * 2017-08-03 2017-10-10 四川长虹电器股份有限公司 A kind of automated testing method based on many browser kernels of Android
CN107688529A (en) * 2017-02-20 2018-02-13 平安科技(深圳)有限公司 Component adjustment method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199714A (en) * 2014-08-25 2014-12-10 广州菜鸟信息科技有限公司 Method for achieving mobile terminal GIS platform on android system and apple system
CN106886404A (en) * 2017-01-17 2017-06-23 武汉卓尔云市集团有限公司 A kind of 3D rendering devices of android
CN107688529A (en) * 2017-02-20 2018-02-13 平安科技(深圳)有限公司 Component adjustment method and device
CN106990961A (en) * 2017-03-28 2017-07-28 易网数通(北京)科技有限公司 A kind of method for building up of WebGL graphics rendering engines
CN107229480A (en) * 2017-06-19 2017-10-03 郑州云海信息技术有限公司 A kind of desktop application construction method and device based on web technology
CN107239405A (en) * 2017-08-03 2017-10-10 四川长虹电器股份有限公司 A kind of automated testing method based on many browser kernels of Android

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"基于Android 的WebGIS 地理定位服务";李沛鸿;《地理空间信息》;20121231;第2-3节 *
"基于开源浏览器技术的客户端平台设计";宗莲松;《成都电子机械高等专科学校学报》;20160630;第2-3节 *
"嵌入式浏览器移植与图形库优化";杨国武;《中国优秀硕士论文全文数据》;20160315;第3.3-3.4节 *

Also Published As

Publication number Publication date
CN109144497A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
Chen et al. Assessment of open source GIS software for water resources management in developing countries
Chaturvedi et al. Web-based Exploration of and interaction with large and deeply structured semantic 3D city models using HTML5 and WebGL
CN114048329A (en) Knowledge graph construction and display method and device, electronic equipment and medium
Eck An R package for reading EPANET files
CN109144497B (en) Geographic space browser platform based on android and construction method
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
CN115827803A (en) Data display method and device, terminal equipment and storage medium
Pascaul et al. An architecture for geographic information systems on the web-WebGIS
CN114222317A (en) Data processing method and device, electronic equipment and storage medium
CN116775174A (en) Processing method, device, equipment and medium based on user interface frame
Lawhead QGIS Python Programming Cookbook
CN102253825A (en) Method for manufacturing personalized electronic map and friendly interface thereof
Neteler et al. Advances in free software geographic information systems
Wang et al. Visualisation of spatial data quality for internet and mobile GIS applications
ESCAP Producing land cover change maps and statistics: step by step guide on the use of QGIS and RStudio
CN116662435B (en) Cloud GIS two-three-dimensional integrated visualization system and integrated visualization method
Karlberg Mobile map client API: design and implementation for Android
Xia et al. Time efficiency optimization technique of mass data rendering by Mobile GIS
ESCAP Producing land cover change maps and statistics: guide on advanced use of QGIS and RStudio
Di Pasquale et al. New frontiers for WebGIS platforms generation
Hardy et al. Generalisation, Web Mapping and Data Delivery over the Internet
Titanto et al. Google maps-based geospatial application framework with custom layers management
Gao et al. An EF6 Code-First Approach Using MVC Architecture Pattern for Watershed Data Download, Visualization and Analysis System Development Based on CUAHSI-HIS
Whalen A map system to disseminate national science on forests for the creation of regional tree planting prioritization plans
Kaynak et al. Geo-WC: Custom Web Components for Earth Science Organizations and Agencies

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 101399 No. 2 East Airport Road, Shunyi Airport Economic Core Area, Beijing (1st, 5th and 7th floors of Industrial Park 1A-4)

Applicant after: Zhongke Star Map Co., Ltd.

Address before: 101399 No. 2 East Airport Road, Shunyi Airport Economic Core Area, Beijing (1st, 5th and 7th floors of Industrial Park 1A-4)

Applicant before: Space Star Technology (Beijing) Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Fu Kun

Inventor after: Zhang Difei

Inventor after: Chi Xiaoyan

Inventor after: Zeng Gang

Inventor after: Wang Yanhui

Inventor before: Fu Kun

Inventor before: Chi Xiaoyan

Inventor before: Zeng Gang

Inventor before: Wang Yanhui