CN112598993A - CIM-based city map platform visualization method and device and related products - Google Patents

CIM-based city map platform visualization method and device and related products Download PDF

Info

Publication number
CN112598993A
CN112598993A CN202011572457.1A CN202011572457A CN112598993A CN 112598993 A CN112598993 A CN 112598993A CN 202011572457 A CN202011572457 A CN 202011572457A CN 112598993 A CN112598993 A CN 112598993A
Authority
CN
China
Prior art keywords
building
data
rendering
target
vector
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.)
Granted
Application number
CN202011572457.1A
Other languages
Chinese (zh)
Other versions
CN112598993B (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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202011572457.1A priority Critical patent/CN112598993B/en
Priority claimed from CN202011572457.1A external-priority patent/CN112598993B/en
Publication of CN112598993A publication Critical patent/CN112598993A/en
Application granted granted Critical
Publication of CN112598993B publication Critical patent/CN112598993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
    • G09B29/007Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Ecology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The embodiment of the application discloses a city map platform visualization method and device based on CIM and related products. The method comprises the following steps: building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; the 3D city map model is rendered, so that the 3D city map model is constructed in a mode of generating vector building graphs according to vector data and superposing the vector building graphs, and compared with the prior art, the method is low in manufacturing cost and simpler and more convenient in data updating.

Description

CIM-based city map platform visualization method and device and related products
Technical Field
The application relates to the technical field of City Information Modeling (CIM), in particular to a CIM-based city map platform visualization method and device and a related product.
Background
At present, in the prior art, a CIM map platform mainly has several schemes, the first is a two-dimensional map form, the implementation mode is relatively simple, the user experience is slightly poor, only a plane effect can be shown, no three-dimensional sense exists, and the landform mark is unclear; the second type is a 2.5D map, which is generated in a manner of axial side projection according to data such as a digital ortho-map (dom), a digital elevation model (dem), a digital line map (dlg), and the like, and a true three-dimensional model at a certain height, a certain viewing angle and a certain lighting effect, but the manufacturing process is relatively complicated, firstly, building photo data are collected, a 3D animation modeling is performed, and finally, a picture is output, and the picture needs to be combined and modified, so that the labor cost is relatively high, the viewing angle is fixed, and the interaction mode of the building is not obvious; the third is to adopt the real three-dimensional model, the three-dimensional model construction can be artificial modeling or unmanned aerial vehicle collection, one square kilometer of artificial modeling requires 1 month of modeling time, the unmanned aerial vehicle is used for taking a picture, 1 square kilometer requires 1 day of time, and finally software is needed to generate an output model, if a mistake is made in the process of generating the model by the software, the model with the square kilometer of 1 is needed to be generated again, the requirement on machine configuration is high, otherwise the efficiency is affected, the manufacturing period is relatively long, the cost is huge, the performance is poor, larger network resources and server resources are occupied, not only the data manufacturing cost is high, but also the server software needs to purchase the license of a large manufacturer, and the cost is huge; the operation on the client computer is very unsmooth, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a CIM-based city map platform visualization method, a CIM-based city map platform visualization device and related products, the 3D city map model is constructed in a mode of overlaying vector building graphs, the manufacturing cost is low, and data updating is simpler and more convenient.
In a first aspect, an embodiment of the present application provides a city map platform visualization method based on CIM, where the method includes:
building data and road data are obtained; converting the building data and the road data into vector data of the building and the road;
generating a vector building graph according to the vector data;
superposing the vector building graph on a two-dimensional map to obtain a 3D city map model;
rendering the 3D city map model.
In a second aspect, an embodiment of the present application provides a city map platform visualization device based on CIM, where the device includes:
the receiving and transmitting unit is used for acquiring building data and road data;
a processing unit for converting the building data and road data into vector data of buildings and roads;
the processing unit is further used for generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; rendering the 3D city map model.
In a third aspect, an embodiment of the present application provides an electronic device, including: a transceiver, a processor and a memory, the processor being connected to the memory, the memory being configured to store a computer program, the processor being configured to execute the computer program stored in the memory to cause the electronic device to perform the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, which stores a computer program, where the computer program makes a computer execute the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program, the computer being operable to cause a computer to perform the method according to the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the embodiment of the present application, building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; the 3D city map model is rendered, so that the 3D city map model is constructed in a mode of generating vector building graphs according to vector data and superposing the vector building graphs, and compared with the prior art, the method is low in manufacturing cost and simpler and more convenient in data updating.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a city map platform visualization method based on CIM according to an embodiment of the present disclosure;
fig. 2A is a schematic diagram illustrating an effect of rendering a 3D city map model according to an embodiment of the present disclosure;
FIG. 2B is a schematic diagram illustrating an effect of rendering a target building according to an embodiment of the present disclosure;
fig. 2C is a schematic diagram illustrating a rendering effect on a thermal distribution diagram according to an embodiment of the present disclosure;
fig. 2D is a schematic diagram illustrating a rendering effect of a first tag according to an embodiment of the present disclosure;
fig. 2E is a schematic diagram of a rendering effect of a dynamic cluster line provided in the embodiment of the present application;
fig. 2F is a schematic view of a rendering effect of a flying lead according to an embodiment of the present disclosure;
fig. 2G is a schematic diagram of a rendering effect of a dynamic moire effect according to an embodiment of the present application;
fig. 2H is a schematic diagram illustrating a rendering effect of a circular scanning effect according to an embodiment of the present disclosure;
fig. 2I is a schematic view of a rendering effect of a sector scanning effect according to an embodiment of the present disclosure;
fig. 2J is a schematic view of a rendering effect of a smoke effect according to an embodiment of the present disclosure;
fig. 2K is a schematic view of a rendering effect of a dynamic water area effect according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another city map platform visualization method based on CIM according to an embodiment of the present disclosure;
fig. 4 is a block diagram of functional units of a city map platform visualization device based on CIM according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a method for visualizing a CIM-based city map platform according to an embodiment of the present application. The method comprises the following steps:
101. building data and road data are obtained; and converting the building data and the road data into vector data of the building and the road.
Wherein the building data may include at least one of: height, area, external structural data, internal spatial structural data, numbers, name fields, etc., and the road data may include at least one of: road width, road starting point and ending point positions, road grade fields, name fields, etc., without limitation.
In a specific implementation, the building data and the road data may be building data and road data detected by the collecting device, or building data and road data purchased from a special measuring company, which is not limited in the embodiment of the present application.
In specific implementation, the building data and the road data are converted into vector data of the building and the road, and the vector data can be obtained by vectorizing and mapping the building data and the road data.
102. And generating a vector building graph according to the vector data.
Wherein the vector building graphic may comprise a vector building model.
In the embodiment of the present application, the vector building figure can be generated from the existing vector data, and when the data is changed, the updated vector building figure can be generated from the changed vector data.
Optionally, in step 102, the generating a vector building graph according to the vector data may include:
21. converting the vector data into a 3D data stream in a target model format;
22. and loading the 3D data stream in the target model format to obtain the vector building graph.
Vector data can be converted into a 3D data stream in a target model format by using a preset open source application programming interface (api), specifically, vector data in a shp format can be converted into a 3D data stream in a 3dtiles format, and a model in an obj or fbx format can also be converted into a 3D data stream in a 3dtiles format.
103. And superposing the vector building graph on a two-dimensional map to obtain a 3D city map model.
The vector building graph can be overlapped on the two-dimensional map to obtain a 3D city map model, and the 3D city map model can be generated more simply and rapidly in an overlapping mode.
104. Rendering the 3D city map model.
In a specific implementation, the entity objects in the 3D city map model may be rendered, and data of each entity object may be rendered, where the entity objects may include at least one of the following: buildings, roads, terrain (e.g., water areas), people groups, vehicles, etc., and the data of each physical object may include, for example, building data, road data, traffic flow, road traffic conditions, etc., and the embodiments of the present application are not limited thereto. As shown in fig. 2A, fig. 2A is a schematic diagram illustrating an effect of rendering a 3D city map model according to an embodiment of the present disclosure.
Optionally, the building data includes target building data of a target building, the road data includes target road data around the target building, the target building is any building, and the rendering the 3D city map model in step 103 may include:
31. determining a target building rendering parameter corresponding to the target building according to the target building data and the target road data;
32. and rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter.
Wherein the building data may include at least one of: height, area, number, name field, etc.; the road data may include at least one of: road name, road number, road class field, etc.
Wherein the target building rendering parameters may include at least one of: display color, display frequency, display duration, etc.
In a specific implementation, when a user clicks a building, a target building can be determined according to a mouse cursor or a position where the user clicks a screen, after the target building is determined, the target building can be subjected to luminous and color-changing display, the luminous and color-changing target building can be clicked, target building data of the target building, such as height, area and number, can be displayed, and similarly, when the user clicks a road, target road data of the road, such as road name, road number and road grade field, can be displayed, so that an interactive display function with the user can be realized.
Optionally, the step 22 of rendering the target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter includes:
determining a target display color corresponding to the target building according to the height and/or the area;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target display color.
As shown in fig. 2B, fig. 2B is a schematic diagram of an effect of rendering a target building according to an embodiment of the present disclosure, a mapping relationship between a height and/or an area and a display color may be preset, so that a target display color corresponding to the height and/or the area of the target building may be determined according to the mapping relationship.
Optionally, in step 103, the rendering the 3D city map model may include:
acquiring density distribution information of a target object in a target area, wherein the target area is an area of any distributed building in the 3D city map model;
generating a thermal distribution diagram according to the density distribution information;
determining thermodynamic diagram rendering parameters according to the building density distribution information;
rendering the thermodynamic distribution diagram according to the thermodynamic diagram rendering parameters.
The target object may be, for example, a building, and may analyze building distribution density, or the target object may be a human traffic, may distribute human traffic density distributions of different areas, and may also be another object, which is not limited herein.
Wherein the thermodynamic diagram rendering parameters include at least one of: the method comprises the following steps of (1) performing progressive color parameters, longitude and latitude information, shadow parameters and transparency parameters, specifically, when the thermodynamic diagram rendering parameters are the progressive color parameters, setting different colors or colors with different shades for different distribution densities, for example, a region with high density can be rendered by red, a region with low density can be rendered by yellow, and for example, a region with high density can be rendered by dark color, and a region with low density can be rendered by light color; the 3D city map model can be determined to be the center position of the upper thermal distribution map according to the latitude and longitude information, and the shadow and the transparency can be set for the areas of the thermal distribution map with different densities according to the shadow parameter and the transparency parameter, as shown in fig. 2C, fig. 2C is a rendering effect schematic diagram for the thermal distribution map provided by the embodiment of the present application, so that density information such as the flow of people and the distribution of buildings can be displayed more intuitively in the manner of the thermal distribution map.
Optionally, the method further comprises:
acquiring a query request of a user;
determining result data according to the query request;
displaying the result data on a display interface of the 3D city map model;
and determining a label position corresponding to the result data, displaying a first label corresponding to the result data at the label position, and displaying a service information display frame corresponding to the first label.
In specific implementation, in order to realize the map attribute inter-checking and linkage functions of the map, a query request of a user can be received, result data is displayed in a 3D city map model, when the user clicks a data result, the position of a tag can be quickly positioned, as shown in FIG. 2D, the rendering effect schematic diagram of the first tag provided by the embodiment of the application is shown in FIG. 2D, when the user clicks the first tag, the service information display frame of the first tag can be displayed in a pop-up frame mode, and therefore the user can more conveniently view service information corresponding to the first tag.
Optionally, the vector data includes road vector data, and in step 103, the rendering the 3D city map model may include:
analyzing road traffic flow information according to the road vector data;
and generating a dynamic cluster line according to the road traffic flow information, and rendering the dynamic cluster line.
In specific implementation, in order to simulate traffic conditions, road vector data can be converted into a dynamic cluster line, and traffic flow information in a real environment can be effectively simulated, as shown in fig. 2E, fig. 2E is a rendering effect schematic diagram of the dynamic cluster line provided by the embodiment of the present application, wherein the direction of the dynamic cluster line can represent the traffic flow running direction, so that a user can view the traffic flow information of a road more intuitively in a 3D city map model, and the visualization effect is more vivid.
Optionally, in step 103, the rendering the 3D city map model may include:
determining at least two associated objects;
generating flying leads according to the service associated information of the at least two associated objects;
and connecting the at least two related objects according to the flying line.
For example, as shown in fig. 2F, fig. 2F is a rendering effect schematic diagram of a flying line provided in the embodiment of the present application, and through the flying line, a connection between each device can be established, so that a user can more vividly and intuitively see a relationship between each associated object.
Optionally, in step 103, the rendering the 3D city map model may include:
determining a rendering effect type of a target rendering object and a target object rendering parameter;
and rendering the target rendering object according to the rendering effect type and the target object rendering parameter.
Wherein the rendering effect type may include any one of: dynamic ripple effect, circular scanning effect, sector scanning effect, smoke effect, dynamic water area effect, and the like, without limitation;
wherein the target rendering object may include at least one of: buildings, fire alarm events, water areas, etc.
For example, the building data may include attribute information of a building, and the attribute information of the building may include at least one of the following: the base height of an object, for example, a building; highlight range, e.g., 0-60 meters; the moving height range of the halo, for example, 300 meters, etc., the attribute information of the fire alarm event may include a fire alarm level, a fire occurrence location, and the attribute information of the water area may include a water area, a water depth, etc.
In specific implementation, as shown in fig. 2G, fig. 2G is a rendering effect schematic diagram of a dynamic ripple effect provided in this embodiment of the present application, the dynamic ripple effect may be used to enhance the vision of a transparent building, and the target object rendering parameters for rendering the dynamic ripple effect may include: the ripple rendering area, the ripple amplitude and the like, so that the dynamic halo can be set according to the target object rendering parameters for rendering the dynamic ripple effect, and the parameters are set on the building layer.
In specific implementation, as shown in fig. 2H, fig. 2H is a rendering effect schematic diagram of a circular scanning effect provided in the embodiment of the present application, and as shown in fig. 2I, fig. 2I is a rendering effect schematic diagram of a sector scanning effect provided in the embodiment of the present application, a rendering effect of a building group may be improved by using the circular scanning effect or the sector scanning effect, and a target object rendering parameter of the circular scanning effect may include: scan radius, scan rate, scan frequency, scan center point location, etc., and the target object rendering parameters for the sector scan effect may include: the scanning center point position, the scanning radius, the sector area angle, the scanning speed, the scanning frequency and the like can prompt a user to pay attention to the scanned building area through a sector or circular scanning effect.
In specific implementation, as shown in fig. 2J, fig. 2J is a rendering effect schematic diagram of a smoke effect provided in this embodiment, when an alarm condition such as a fire occurs, the alarm display may be performed on the fire condition in a smoke effect rendering manner, and specifically, a target object rendering parameter of the smoke effect rendering may include at least one of the following: the method comprises the following steps of initial position, particle speed and service life, particle initial proportion coefficient, particle ending proportion coefficient and the like, wherein the parameters of the initial position, the particle speed and the service life, the particle initial proportion coefficient, the particle ending proportion coefficient and the like are used for specifying the behavior of a single particle and controlling the appearance and the behavior of a single particle object along with time, and the conversion of the particle size between the starting proportion and the ending proportion is realized, so that the expression of visual effect is enhanced, and the visual perception of a user is more intuitive.
In specific implementation, for a water area in the 3D city map model, a dynamic water area effect may be superimposed, as shown in fig. 2K, fig. 2K is a rendering effect schematic diagram of the dynamic water area effect provided in the embodiment of the present application, where a target object rendering parameter for rendering the dynamic water area effect may include at least one of the following: the area, the position, the transparency and the like of the water area layer can be used for superposing the dynamic water area layer in specific areas such as rivers, lakes and the like, so that special effect rendering of the specific areas such as the rivers, the lakes and the like is realized.
It can be seen that, in the embodiment of the present application, building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; the 3D city map model is rendered, so that the 3D city map model is constructed in a mode of generating vector building graphs according to vector data and superposing the vector building graphs, and compared with the prior art, the method is low in manufacturing cost and simpler and more convenient in data updating.
Referring to fig. 3, fig. 3 is a schematic flowchart of a city map platform visualization method based on CIM according to an embodiment of the present disclosure. The method of the embodiment comprises the following steps:
301. building data and road data are obtained; and converting the building data and the road data into vector data of the building and the road.
302. Converting the vector data into a 3D data stream in a target model format.
303. And loading the 3D data stream in the target model format to obtain the vector building graph.
304. And superposing the vector building graph on a two-dimensional map to obtain a 3D city map model.
305. And determining a target building rendering parameter corresponding to the target building according to the target building data and the target road data.
306. And rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter.
307. And acquiring density distribution information of a target object in a target area, wherein the target area is an area of any distributed building in the 3D city map model.
308. And generating a thermal distribution diagram according to the density distribution information.
309. And determining thermodynamic diagram rendering parameters according to the building density distribution information.
310. Rendering the thermodynamic distribution diagram according to the thermodynamic diagram rendering parameters.
The same contents in this embodiment as those in the embodiment shown in fig. 1 will not be repeated here.
It can be seen that, in the embodiment of the present application, building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; converting the vector data into a 3D data stream in a target model format; loading the 3D data stream in the target model format to obtain a vector building graph; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; rendering the 3D city map model, wherein target building rendering parameters corresponding to the target building are determined according to the target building data and the target road data; rendering a target building component corresponding to the target building in the 3D city map model according to the rendering parameters of the target building, acquiring density distribution information of a target object in a target area, and generating a thermal distribution map according to the density distribution information; determining thermodynamic diagram rendering parameters according to the building density distribution information; the thermodynamic distribution diagram is rendered according to thermodynamic diagram rendering parameters, so that vector building graphs are generated according to vector data, the 3D city map model is built in a mode of superposing the vector building graphs, compared with the prior art, the manufacturing cost is low, data updating is simpler and more convenient, in addition, the building and density distribution information of the 3D city map model can be rendered through different rendering parameters, and a more vivid rendering effect is realized.
Referring to fig. 4, fig. 4 is a block diagram of functional units of a city map platform visualization device based on CIM according to an embodiment of the present disclosure. The CIM-based city map platform visualization apparatus 400 includes a transceiver unit 401 and a processing unit 402, wherein:
the transceiver unit 401 is configured to acquire building data and road data;
a processing unit 402 for converting the building data and road data into vector data of buildings and roads;
the processing unit 402 is further configured to generate a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; rendering the 3D city map model.
In some possible embodiments, in said generating a vector building graphic from said vector data, the processing unit 402 is specifically configured to:
converting the vector data into a 3D data stream in a target model format;
and loading the 3D data stream in the target model format to obtain the vector building graph.
In some possible embodiments, the building data includes target building data of a target building, the road data includes target road data around the target building, the target building is any building, and the processing unit 402 is specifically configured to, in the aspect of rendering the 3D city map model:
determining a target building rendering parameter corresponding to the target building according to the target building data and the target road data;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter.
In some possible embodiments, the target building data includes a height and/or an area of the target building, and the processing unit 402 is specifically configured to, in the aspect of rendering the target building component corresponding to the target building in the 3D city map model according to the target building rendering parameters:
determining a target display color corresponding to the target building according to the height and/or the area;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target display color.
In some possible embodiments, in said rendering the 3D city map model, the processing unit 402 is specifically configured to:
acquiring density distribution information of a target object in a target area, wherein the target area is an area of any distributed building in the 3D city map model;
generating a thermal distribution diagram according to the density distribution information;
determining thermodynamic diagram rendering parameters according to the building density distribution information;
rendering the thermodynamic distribution diagram according to the thermodynamic diagram rendering parameters.
In some possible embodiments, the processing unit 402 is further configured to:
acquiring a query request of a user;
determining result data according to the query request;
displaying the result data on a display interface of the 3D city map model;
and determining a label position corresponding to the result data, displaying a first label corresponding to the result data at the label position, and displaying a service information display frame corresponding to the first label.
In some possible embodiments, the vector data includes road vector data, and in the aspect of rendering the 3D city map model, the processing unit 402 is specifically configured to:
analyzing road traffic flow information according to the road vector data;
and generating a dynamic cluster line according to the road traffic flow information, and rendering the dynamic cluster line.
In some possible embodiments, in said rendering the 3D city map model, the processing unit 402 is specifically configured to:
determining at least two associated objects;
generating flying leads according to the service associated information of the at least two associated objects;
and connecting the at least two related objects according to the flying line.
In some possible embodiments, in said rendering the 3D city map model, the processing unit 402 is specifically configured to:
determining a rendering effect type of a target rendering object and a target object rendering parameter;
and rendering the target rendering object according to the rendering effect type and the target object rendering parameter.
It can be seen that, in the embodiment of the present application, building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; the 3D city map model is rendered, so that the 3D city map model is constructed in a mode of generating vector building graphs according to vector data and superposing the vector building graphs, and compared with the prior art, the method is low in manufacturing cost and simpler and more convenient in data updating.
It can be understood that the functions of each program module of the city map platform visualization apparatus based on CIM according to this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
It should be understood that the CIM-based city map platform visualization device in the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile Internet device MID (Mobile Internet Devices, abbreviated as MID) or a wearable device, etc. The above CIM-based city map platform visualization device is merely an example, and is not exhaustive, and includes but is not limited to the above CIM-based city map platform visualization device. In practical applications, the city map platform visualization apparatus based on CIM may further include: intelligent vehicle terminals, computer equipment, etc.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device 500 includes a transceiver 501, a processor 502, and a memory 503. Connected to each other by a bus 504. The memory 503 is used to store computer programs and data, and may transmit the data stored by the memory 503 to the processor 502.
The processor 502 is configured to read the computer program in the memory 503 to perform the following operations:
building data and road data are obtained; converting the building data and the road data into vector data of the building and the road;
generating a vector building graph according to the vector data;
superposing the vector building graph on a two-dimensional map to obtain a 3D city map model;
rendering the 3D city map model.
In some possible embodiments, in said generating a vector building graphic from said vector data, the processor 502 is configured to read the computer program in the memory 503, and specifically to perform the following operations:
converting the vector data into a 3D data stream in a target model format;
and loading the 3D data stream in the target model format to obtain the vector building graph.
In some possible embodiments, the building data includes target building data of a target building, the road data includes target road data around the target building, the target building is any building, and the processor 502 is configured to read the computer program in the memory 503, and specifically perform the following operations in terms of rendering the 3D city map model:
determining a target building rendering parameter corresponding to the target building according to the target building data and the target road data;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter.
In some possible embodiments, the target building data includes a height and/or an area of the target building, and the processor 502 is configured to read a computer program in the memory 503 to perform the following operations in terms of rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameters:
determining a target display color corresponding to the target building according to the height and/or the area;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target display color.
In some possible embodiments, in said rendering of said 3D city map model, the processor 502 is further configured to read the computer program in the memory 503 to:
acquiring density distribution information of a target object in a target area, wherein the target area is an area of any distributed building in the 3D city map model;
generating a thermal distribution diagram according to the density distribution information;
determining thermodynamic diagram rendering parameters according to the building density distribution information;
rendering the thermodynamic distribution diagram according to the thermodynamic diagram rendering parameters.
In some possible embodiments, the processor 502 is further configured to read the computer program in the memory 503 to perform the following operations:
acquiring a query request of a user;
determining result data according to the query request;
displaying the result data on a display interface of the 3D city map model;
and determining a label position corresponding to the result data, displaying a first label corresponding to the result data at the label position, and displaying a service information display frame corresponding to the first label.
In some possible embodiments, the vector data comprises road vector data, and the processor 502 is further configured to read the computer program in the memory 503 to perform the following operations in the aspect of rendering the 3D city map model:
analyzing road traffic flow information according to the road vector data;
and generating a dynamic cluster line according to the road traffic flow information, and rendering the dynamic cluster line.
In some possible embodiments, in said rendering of said 3D city map model, the processor 502 is further configured to read the computer program in the memory 503 to:
determining at least two associated objects;
generating flying leads according to the service associated information of the at least two associated objects;
and connecting the at least two related objects according to the flying line.
In some possible embodiments, in said rendering of said 3D city map model, the processor 502 is further configured to read the computer program in the memory 503 to:
determining a rendering effect type of a target rendering object and a target object rendering parameter;
and rendering the target rendering object according to the rendering effect type and the target object rendering parameter.
It can be seen that, in the embodiment of the present application, building data and road data are obtained; converting the building data and the road data into vector data of the building and the road; generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; the 3D city map model is rendered, so that the 3D city map model is constructed in a mode of generating vector building graphs according to vector data and superposing the vector building graphs, and compared with the prior art, the method is low in manufacturing cost and simpler and more convenient in data updating.
Specifically, the transceiver 501 may be the transceiver unit 401 of the CIM-based city map platform visualization apparatus 400 according to the embodiment shown in fig. 4, and the processor 502 may be the processing unit 402 of the CIM-based city map platform visualization apparatus 400 according to the embodiment shown in fig. 4.
It should be noted that, in the implementation process, the steps of the above method may be implemented by hardware integrated logic circuits in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software elements in a processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in a memory, and a processor executes instructions in the memory, in combination with hardware thereof, to perform the steps of the above-described method. To avoid repetition, it is not described in detail here. The specific implementation steps and other implementation steps in the embodiments of the present application may refer to the steps in the above method embodiments, and are not described in detail here to avoid repetition.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium stores a computer program, where the computer program is executed by a processor to implement part or all of the steps of any one of the CIM-based city map platform visualization methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the above method embodiments based on a CIM city map platform visualization method.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A city map platform visualization method based on a City Information Model (CIM) is characterized by comprising the following steps:
building data and road data are obtained; converting the building data and the road data into vector data of the building and the road;
generating a vector building graph according to the vector data;
superposing the vector building graph on a two-dimensional map to obtain a 3D city map model;
rendering the 3D city map model.
2. The method of claim 1, wherein generating a vector building graphic from the vector data comprises:
converting the vector data into a 3D data stream in a target model format;
and loading the 3D data stream in the target model format to obtain the vector building graph.
3. The method according to claim 1 or 2, wherein the building data includes target building data for a target building, the road data including target road data around the target building, the target building being any building, the rendering the 3D city map model including:
determining a target building rendering parameter corresponding to the target building according to the target building data and the target road data;
and rendering a target building component corresponding to the target building in the 3D city map model according to the target building rendering parameter.
4. The method of claim 1 or 2, wherein said rendering the 3D city map model comprises:
acquiring density distribution information of a target object in a target area, wherein the target area is an area of any distributed building in the 3D city map model;
generating a thermal distribution diagram according to the density distribution information;
determining thermodynamic diagram rendering parameters according to the building density distribution information;
rendering the thermodynamic distribution diagram according to the thermodynamic diagram rendering parameters.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring a query request of a user;
determining result data according to the query request;
displaying the result data on a display interface of the 3D city map model;
and determining a label position corresponding to the result data, displaying a first label corresponding to the result data at the label position, and displaying a service information display frame corresponding to the first label.
6. The method of claim 1 or 2, wherein the vector data comprises road vector data, and wherein rendering the 3D city map model comprises:
analyzing road traffic flow information according to the road vector data;
and generating a dynamic cluster line according to the road traffic flow information, and rendering the dynamic cluster line.
7. The method of claim 1 or 2, wherein said rendering the 3D city map model comprises:
determining a rendering effect type of a target rendering object and a target object rendering parameter;
and rendering the target rendering object according to the rendering effect type and the target object rendering parameter.
8. A CIM-based city map platform visualization device, the device comprising:
the receiving and transmitting unit is used for acquiring building data and road data;
a processing unit for converting the building data and road data into vector data of buildings and roads;
the processing unit is further used for generating a vector building graph according to the vector data; superposing the vector building graph on a two-dimensional map to obtain a 3D city map model; rendering the 3D city map model.
9. An electronic device, comprising: a transceiver, a processor connected with a memory for storing a computer program, and a memory for executing the computer program stored in the memory to cause the electronic device to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method according to any one of claims 1-7.
CN202011572457.1A 2020-12-25 City map platform visualization method and device based on CIM and related products Active CN112598993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011572457.1A CN112598993B (en) 2020-12-25 City map platform visualization method and device based on CIM and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011572457.1A CN112598993B (en) 2020-12-25 City map platform visualization method and device based on CIM and related products

Publications (2)

Publication Number Publication Date
CN112598993A true CN112598993A (en) 2021-04-02
CN112598993B CN112598993B (en) 2024-06-07

Family

ID=

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114758086A (en) * 2022-06-15 2022-07-15 盈嘉互联(北京)科技有限公司 Method and device for constructing urban road information model
CN115439609A (en) * 2022-09-01 2022-12-06 广州南方智能技术有限公司 Three-dimensional model rendering method, system, device and medium based on map service
CN117876622A (en) * 2024-03-11 2024-04-12 深圳市迷你玩科技有限公司 City map generation method and device, electronic equipment and readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008012411A1 (en) * 2008-03-04 2009-09-10 Universität Konstanz Interactive method for integrated representation of schematic networks and geographical maps
CN104536967A (en) * 2014-11-27 2015-04-22 电子科技大学 RFID (Radio Frequency Identification Devices) based library vacant seat query system
CN105279791A (en) * 2014-06-25 2016-01-27 上海照炎信息科技有限公司 Fast rendering method for three-dimensional thermodynamic diagram
CN105740256A (en) * 2014-12-09 2016-07-06 高德信息技术有限公司 Generation method and generation device of three-dimensional map
CN106780736A (en) * 2017-01-09 2017-05-31 网易(杭州)网络有限公司 Map data processing method and device, three-dimensional map generation method and device
CN108280138A (en) * 2017-12-27 2018-07-13 上海五零盛同信息科技有限公司 City Green illuminates Spatial Data Modeling analysis and visualization rendering system
CN112000758A (en) * 2020-08-25 2020-11-27 南京烽火星空通信发展有限公司 Three-dimensional city building construction method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008012411A1 (en) * 2008-03-04 2009-09-10 Universität Konstanz Interactive method for integrated representation of schematic networks and geographical maps
CN105279791A (en) * 2014-06-25 2016-01-27 上海照炎信息科技有限公司 Fast rendering method for three-dimensional thermodynamic diagram
CN104536967A (en) * 2014-11-27 2015-04-22 电子科技大学 RFID (Radio Frequency Identification Devices) based library vacant seat query system
CN105740256A (en) * 2014-12-09 2016-07-06 高德信息技术有限公司 Generation method and generation device of three-dimensional map
CN106780736A (en) * 2017-01-09 2017-05-31 网易(杭州)网络有限公司 Map data processing method and device, three-dimensional map generation method and device
CN108280138A (en) * 2017-12-27 2018-07-13 上海五零盛同信息科技有限公司 City Green illuminates Spatial Data Modeling analysis and visualization rendering system
CN112000758A (en) * 2020-08-25 2020-11-27 南京烽火星空通信发展有限公司 Three-dimensional city building construction method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114758086A (en) * 2022-06-15 2022-07-15 盈嘉互联(北京)科技有限公司 Method and device for constructing urban road information model
CN114758086B (en) * 2022-06-15 2022-08-30 盈嘉互联(北京)科技有限公司 Method and device for constructing urban road information model
CN115439609A (en) * 2022-09-01 2022-12-06 广州南方智能技术有限公司 Three-dimensional model rendering method, system, device and medium based on map service
CN115439609B (en) * 2022-09-01 2023-09-22 广州南方智能技术有限公司 Three-dimensional model rendering method, system, equipment and medium based on map service
CN117876622A (en) * 2024-03-11 2024-04-12 深圳市迷你玩科技有限公司 City map generation method and device, electronic equipment and readable medium

Similar Documents

Publication Publication Date Title
Keil et al. Creating immersive virtual environments based on open geospatial data and game engines
CN108919944B (en) Virtual roaming method for realizing data lossless interaction at display terminal based on digital city model
LU501999A1 (en) Pumped storage power station comprehensive management method, platform and system, device and medium
CN105719343A (en) Method for constructing virtual streetscape map
CN115526066B (en) Engineering project virtual simulation teaching method and system based on BIM technology
CN114202622A (en) Virtual building generation method, device, equipment and computer readable storage medium
CN111832105B (en) Model fusion method and related device
CN112053440A (en) Method for determining individualized model and communication device
CN112069580A (en) Digital delivery method, platform, system, equipment and medium for pumped storage power station
CN114663324A (en) Fusion display method of BIM (building information modeling) model and GIS (geographic information system) information and related components
CN116523738B (en) Task triggering method and device, storage medium and electronic equipment
CN114386119A (en) Parking space information display method and related products thereof
CN115328320B (en) Hydraulic engineering online learning method and system
CN112598993B (en) City map platform visualization method and device based on CIM and related products
CN112070901A (en) AR scene construction method and device for garden, storage medium and terminal
WO2023005934A1 (en) Data processing method and system, and electronic device
CN112598993A (en) CIM-based city map platform visualization method and device and related products
WO2023010540A1 (en) Method and apparatus for verifying scanning result of laser radar, and device and storage medium
CN115509897A (en) Automatic driving simulation test map display method and related device
CN114972599A (en) Method for virtualizing scene
Netek et al. From 360° camera toward to virtual map app: Designing low‐cost pilot study
CN115130171A (en) AR scene-based environment analysis system and method, electronic device and storage medium
CN114359498A (en) Map display method, device, equipment and computer program product
CN112927327B (en) Three-dimensional visualization method for biomedical platform data map
CN110990501A (en) Three-dimensional road modeling method and device, electronic equipment and storage medium

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
GR01 Patent grant