[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111581310A - Method for drawing city building into three-dimensional building on two-dimensional map and application - Google Patents

Method for drawing city building into three-dimensional building on two-dimensional map and application Download PDF

Info

Publication number
CN111581310A
CN111581310A CN202010266573.4A CN202010266573A CN111581310A CN 111581310 A CN111581310 A CN 111581310A CN 202010266573 A CN202010266573 A CN 202010266573A CN 111581310 A CN111581310 A CN 111581310A
Authority
CN
China
Prior art keywords
dimensional
building
buildings
map
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
CN202010266573.4A
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.)
Hangzhou Shizai Shuke Information Technology Co ltd
Original Assignee
Hangzhou Shizai Shuke Information Technology 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 Hangzhou Shizai Shuke Information Technology Co ltd filed Critical Hangzhou Shizai Shuke Information Technology Co ltd
Priority to CN202010266573.4A priority Critical patent/CN111581310A/en
Publication of CN111581310A publication Critical patent/CN111581310A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/56Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

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

Abstract

The invention relates to a geographic information system, in particular to a method for lifting an urban building into a three-dimensional building on a two-dimensional map and application thereof. The method comprises the following steps: (1) mining coordinate data of the building; (2) the data is published into vector tile service on the GeoServer; (3) js access using leaflet-mapbox ox-gl. The invention provides a method for lifting a city building into a three-dimensional building on a two-dimensional map and application of the method in a security visual system.

Description

Method for drawing city building into three-dimensional building on two-dimensional map and application
Technical Field
The invention relates to a geographic information system, in particular to a method for lifting an urban building into a three-dimensional building on a two-dimensional map and application thereof.
Background
The security industry in China began gradually from the 80 s in the 20 th century, and due to the limitations of economic development and infrastructure, security in China at early stages is mainly people's air defense, and the security technology is only a concept. In the early 80 s of the 20 th century, areas such as Beijing, Shanghai, Guangzhou began to look at the security industry. Especially, Shenzhen on the opening front edge of reform has become an important development area of security industry due to its unique geographic advantages and advanced electronic technology advantages. Since the 21 st century, with the development of high-tech products and digital networks, security products have changed in quality, and the security industry has gradually become an important force for supporting the development of national economy.
At present, electronic maps used by various large-scale manufacturers in the security industry are mainly two-dimensional maps, and can realize object technologies such as video monitoring, GIS, GPS navigation, target detection and identification, target tracking and the like. However, with the development of urban construction, how many high buildings stand in the city, and crisscross traffic, a severe test is generated for the current security system taking a two-dimensional map as a main part, and the limitation is seriously highlighted. Fig. 1 shows the electronic map which is the widest application range and is used most at present, and it can be seen from the figure that the buildings in the city are flat on the map and are not vivid enough in terms of display effect. Aiming at the problems, the existing technical method mainly comprises the following steps:
three-dimensional data is provided by manual modeling or unmanned aerial vehicle oblique photography, Microsoft ActiveX technology is used, C + + development language is used to combine with a set of graphics api interface (Direct 3D under Microsoft Windwos or OpenGL across platforms), and the three-dimensional model data is rendered on an IE browser. The disadvantages of this method are:
(1) the method is limited to IE browsers, and other Chrome and Firefox do not support.
(2) Modeling has a certain economic cost.
And 3DGIS technology based on urban three-dimensional modeling and GIS application is started, so that the electronic map is upgraded from two-dimensional information to three-dimensional geographic space information. The method is particularly suitable for application scenes with few user interaction and high display requirements, such as large-screen display, geographic information visualization projects and the like.
Disclosure of Invention
The first purpose of the present invention is to provide a method for raising an urban building into a three-dimensional building on a two-dimensional map, aiming at the disadvantages of the prior art.
For this reason, the above object of the present invention is achieved by the following technical solutions:
a method for lifting city buildings into three-dimensional buildings on a two-dimensional map is characterized in that: the method comprises the following steps:
(1) mining coordinate data of the building;
(2) the data is published into vector tile service on the GeoServer; and
(3) js access using leaflet-mapbox ox-gl.
While adopting the technical scheme, the invention can also adopt or combine the following technical scheme:
as a preferred technical scheme of the invention: the common data of the outline longitude and latitude coordinates of the building and the stored geographic data of the building height data comprise a main file, an index file and a dBASE table, and the format of the main file is SHP. The shape file is developed by the ESRI, and a shape file of an ESRI (environmental Systems Research institute) includes a main file, an index file, and a dBASE table. Where the suffix for the main file is.
As a preferred technical scheme of the invention: the GeoServer supports Vector Tiles. GeoServer is implemented by J2EE specified by OpenGIS Web server, map data can be conveniently published by utilizing GeoServer, users are allowed to update, delete and insert feature data, space geographic information can be easily and rapidly shared among users through GeoServer, and a vector data source is newly built and published as vector tile service.
As a preferred technical scheme of the invention: and (3) issuing a service address obtained by vector tile service on the GeoServer based on the data in the step (2) and combining xyz in the tile service address to form a new address, adding the new address serving as data into a map layer of the LEAFLET-mapbox-gl, and fusing the new address with a traditional two-dimensional tile map accessed by the LEAFLET-mapbox-gl.
The invention also aims to provide an application of the method for lifting the urban building into the three-dimensional building on the two-dimensional map in the security visual system, aiming at the defects in the prior art.
For this reason, the above object of the present invention is achieved by the following technical solutions:
the application of the method for pulling up the city building into the three-dimensional building on the two-dimensional map in the security visual system is characterized in that: the application is based on the method of raising urban buildings into three-dimensional buildings on a two-dimensional map as described above.
The invention provides a method for lifting an urban building into a three-dimensional building on a two-dimensional map and application of the method in a security visual system. According to the invention, three-dimensional data of urban buildings need to be acquired, original data is converted into vector tile data by means of a relatively new vector tile technology at the present stage, a LEAFLET-mapbox-gl is used for loading the vector tile, so that a canvas is superposed on a current two-dimensional map, and finally a three-dimensional building is rendered on the canvas. The two-dimensional map is partially overlapped with the three-dimensional building, and plays a role of increasing the quality of the map in some service scenes, for example, the map in large-screen display has better three-dimensional visual effect.
Drawings
Fig. 1 is a schematic diagram of a mainstream two-dimensional map.
FIG. 2 is a schematic diagram of a newly created vector data source.
FIG. 3 is a schematic diagram of a publish-to-vector tile service.
Fig. 4 is a schematic diagram of layer preview.
FIG. 5 is a schematic illustration of a vector tile service preview.
Fig. 6 is a schematic diagram of a three-dimensional architectural effect map.
Detailed Description
The invention is described in further detail with reference to the figures and specific embodiments.
An advanced information system is built in a certain city, wherein a plurality of functions relate to an electronic map, and a plurality of empty-proof circles are required to be built around a gymnasium in the city on the map for making a safe and protective navigation work for a recently held singing concert. In order to make a system user use a map more intuitively, a building inside the air defense circle needs to be three-dimensionally arranged.
If the geographic information data of the building already exists, the data is imported into a database (mainstream databases such as mysql and Oracle). Using an administrator account, logging in a GeoServer supporting Vector Tiles, clicking left data storage, clicking right new Vector data source, filling bigBuildings with the name of the data source after the information is filled in by the input item, and finally clicking for storage, as shown in FIG. 2. The GeoServer login default user name/password is admin/GeoServer, the Vector tile release is not supported by default, a Vector Tiles package needs to be downloaded to a GeoServer organ network, and the downloaded Vector Tiles package is placed under a lib file under a GeoServer installation directory.
GeoServer is implemented by J2EE specified by OpenGIS Web server, map data can be conveniently published by GeoServer, users are allowed to update, delete and insert feature data, space geographic information can be easily and rapidly shared among users by GeoServer, and a vector data source is newly built and published as vector tile service is shown in figures 2 and 3. After the successful release, a service address is obtained, for example: http:// localhost:800/geoserver/gwc/service/tms/1.0.0/vectorTileText%3AbigBuildings @ EPSG%3A900913@ pbf. And previewing the viewable effect graph on the GeoServer layer, and operating as shown in FIGS. 4 and 5.
The react-leaf is a modern, open source JavaScript library developed for building mobile device friendly interactive maps. Js is a set of 3d map JavaScript libraries developed based on webgl.
Similar to accessing pgis and a high-resolution map by using a exact-leaf let, it is necessary to provide a wms service address individual exact-leaf let, where the address is composed by using the service address issued in step 2 and xyz in the tile service address: http:// localhost:800/geoserver/gwc/service/tms/1.0.0/vectorTileText%3AbigBuildings @ EPSG%3A900913@ pbf/{ z }/{ x }/{ y }. pbf, then set to the value of the map object mapUrl attribute of the exact-leaf.
Clicking left layer- > right layer list point big buildings- > clicking tab page Tile Caching, checking application/vnd. mapbox-Tile below, and saving, as shown in FIG. 3.
Clicking the Layer on the left side to Preview the Layer Preview, and seeing that a row of title is bigBuildings on the right side of the page, which indicates that the service is successfully published, as shown in FIG. 4. Options are selected in the Select One drop-down box, whether the published service data is correct or not is previewed, and height data of the building can be checked, as shown in fig. 5.
So far, the construction of the vector tile service address is completed, and only the access map needs to be coded later. The example uses the act-leaf in combination with the leaf-mapbox-gl.js open source framework to access the published vector tile service, and completes the overlaying of the three-dimensional building on the two-dimensional map, and the specific effect is shown in fig. 6.
The above-described embodiments are intended to illustrate the present invention, but not to limit the present invention, and any modifications, equivalents, improvements, etc. made within the spirit of the present invention and the scope of the claims fall within the scope of the present invention.

Claims (5)

1. A method for lifting city buildings into three-dimensional buildings on a two-dimensional map is characterized in that: the method comprises the following steps:
(1) mining coordinate data of the building;
(2) the data is published into vector tile service on the GeoServer; and
(3) js access using leaflet-mapbox ox-gl.
2. The method of raising urban buildings into three-dimensional buildings on a two-dimensional map as claimed in claim 1, characterized in that: the common data of the outline longitude and latitude coordinates of the building and the stored geographic data of the building height data comprise a main file, an index file and a dBASE table, and the file format is SHP.
3. The method of raising urban buildings into three-dimensional buildings on a two-dimensional map as claimed in claim 1, characterized in that: the GeoServer supports Vector Tiles.
4. The method of raising urban buildings into three-dimensional buildings on a two-dimensional map as claimed in claim 1, characterized in that: and (3) issuing a service address obtained by vector tile service on the GeoServer based on the data in the step (2) and combining xyz in the tile service address to form a new address, adding the new address serving as data into a map layer of the LEAFLET-mapbox-gl, and fusing the new address with a traditional two-dimensional tile map accessed by the LEAFLET-mapbox-gl.
5. The application of the method for pulling up the city building into the three-dimensional building on the two-dimensional map in the security visual system is characterized in that: the application is based on the method of raising urban buildings into three-dimensional buildings on a two-dimensional map according to claim 1.
CN202010266573.4A 2020-04-07 2020-04-07 Method for drawing city building into three-dimensional building on two-dimensional map and application Pending CN111581310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010266573.4A CN111581310A (en) 2020-04-07 2020-04-07 Method for drawing city building into three-dimensional building on two-dimensional map and application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010266573.4A CN111581310A (en) 2020-04-07 2020-04-07 Method for drawing city building into three-dimensional building on two-dimensional map and application

Publications (1)

Publication Number Publication Date
CN111581310A true CN111581310A (en) 2020-08-25

Family

ID=72113540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010266573.4A Pending CN111581310A (en) 2020-04-07 2020-04-07 Method for drawing city building into three-dimensional building on two-dimensional map and application

Country Status (1)

Country Link
CN (1) CN111581310A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269849A (en) * 2020-10-31 2021-01-26 武汉中海庭数据技术有限公司 Three-dimensional map display method, system, electronic equipment and storage medium
CN112269847A (en) * 2020-10-31 2021-01-26 武汉中海庭数据技术有限公司 Real-time display method and system of high-precision map data and electronic equipment
CN112927327A (en) * 2021-03-24 2021-06-08 苏州市生物医药产业创新中心 Three-dimensional visualization method for data map of biological medicine platform
CN114387413A (en) * 2022-01-14 2022-04-22 华戎信息产业有限公司 Three-dimensional map generation method and system based on visualization engine
CN114445312A (en) * 2022-01-19 2022-05-06 北京百度网讯科技有限公司 Map data fusion method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180182041A1 (en) * 2016-12-27 2018-06-28 Aon Global Operations Ltd (Singapore Branch) Systems and Methods for Wide-Scale Mapping of Neighborhood Property Geolocations and Estimating Property Values Thereof
CN109299165A (en) * 2018-09-20 2019-02-01 南京中新赛克科技有限责任公司 Massive spatial data WebGIS based on OpenLayers4 visualizes solution
CN110489499A (en) * 2019-05-31 2019-11-22 武汉大学 A kind of on-line intelligence special map plotting method
CN110633307A (en) * 2019-08-19 2019-12-31 北京建筑大学 Spatio-temporal analysis method for urban public bicycles connected to subway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180182041A1 (en) * 2016-12-27 2018-06-28 Aon Global Operations Ltd (Singapore Branch) Systems and Methods for Wide-Scale Mapping of Neighborhood Property Geolocations and Estimating Property Values Thereof
CN109299165A (en) * 2018-09-20 2019-02-01 南京中新赛克科技有限责任公司 Massive spatial data WebGIS based on OpenLayers4 visualizes solution
CN110489499A (en) * 2019-05-31 2019-11-22 武汉大学 A kind of on-line intelligence special map plotting method
CN110633307A (en) * 2019-08-19 2019-12-31 北京建筑大学 Spatio-temporal analysis method for urban public bicycles connected to subway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIMZGISER: "矢量切片绘制(mapbox-gl+geoserver)" *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269849A (en) * 2020-10-31 2021-01-26 武汉中海庭数据技术有限公司 Three-dimensional map display method, system, electronic equipment and storage medium
CN112269847A (en) * 2020-10-31 2021-01-26 武汉中海庭数据技术有限公司 Real-time display method and system of high-precision map data and electronic equipment
CN112927327A (en) * 2021-03-24 2021-06-08 苏州市生物医药产业创新中心 Three-dimensional visualization method for data map of biological medicine platform
CN112927327B (en) * 2021-03-24 2023-11-03 苏州市生物医药产业创新中心 Three-dimensional visualization method for biomedical platform data map
CN114387413A (en) * 2022-01-14 2022-04-22 华戎信息产业有限公司 Three-dimensional map generation method and system based on visualization engine
CN114445312A (en) * 2022-01-19 2022-05-06 北京百度网讯科技有限公司 Map data fusion method and device, electronic equipment and storage medium
CN114445312B (en) * 2022-01-19 2024-03-01 北京百度网讯科技有限公司 Map data fusion method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111581310A (en) Method for drawing city building into three-dimensional building on two-dimensional map and application
CN110018742B (en) Construction method of network virtual travel system
CN101908232B (en) Interactive scene simulation system and scene virtual simulation method
CN105701103B (en) Three-dimensional application system based on geographic information
CN111354084B (en) Network geographic information service system based on three-dimensional model tiles
JP3212113B2 (en) Map information display method and device
CN110189405B (en) Live-action three-dimensional modeling method considering building density
KR101450133B1 (en) System and Method for Providing Underground Utilities Cross Section Information based on Augmented Reality
CN107153744B (en) Underground three-dimensional pipeline decision making system
CN108572951B (en) Mapping data three-dimensional display system based on geographic information
CN108388995B (en) Method and system for establishing road asset management system
CN106611438A (en) Method and device for updating and slicing local area of three-dimensional simulation map
CN116912437A (en) Live-action three-dimensional visualization method and system based on semantic point cloud
Bi et al. Research on the construction of City information modelling basic platform based on multi-source data
CN108595079A (en) A kind of project of transmitting and converting electricity surveying method shared based on multiple terminals cloud platform
CN103985249A (en) Road elevation information extracting method and device
CN117931810B (en) Structured management method and system for spatial image data
CN114398457A (en) A method for accessing, displaying and managing MapGIS and ArcGIS services based on OGC standards
CN111063003B (en) Method and system for making mine distribution map
CN107291820A (en) A kind of boundary marker approaches to IM based on full-view image
CN114661841A (en) Electronic map publishing method, device, equipment and electronic map scheduling method
CN107589924A (en) A kind of quick methods of exhibiting in remotely-sensed data mobile terminal of five layer of ten Pyatyi institutional framework
CN117689808A (en) City data integrated management method, system, equipment and medium based on CIM
US7146275B2 (en) Digital map generating system and its method
CN113450619A (en) Fire-fighting smoke and heat training hall application three-dimensional geographic information simulation drill system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825