CN114091133A - City information model modeling method and device, terminal equipment and storage medium - Google Patents

City information model modeling method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN114091133A
CN114091133A CN202111359910.5A CN202111359910A CN114091133A CN 114091133 A CN114091133 A CN 114091133A CN 202111359910 A CN202111359910 A CN 202111359910A CN 114091133 A CN114091133 A CN 114091133A
Authority
CN
China
Prior art keywords
building
modeling
model
area
relative coordinates
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
CN202111359910.5A
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.)
Beijing Softong Intelligent Technology Co ltd
Original Assignee
Beijing Softong Intelligent 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 Beijing Softong Intelligent Technology Co ltd filed Critical Beijing Softong Intelligent Technology Co ltd
Priority to CN202111359910.5A priority Critical patent/CN114091133A/en
Publication of CN114091133A publication Critical patent/CN114091133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a city information model modeling method, a city information model modeling device, a terminal device and a storage medium. The method comprises the following steps: acquiring a coordinate point of a frame selection area, wherein the frame selection area is an area which is selected by a user on a plane map and used for modeling; determining relative coordinates based on coordinate points within the framed area; modeling buildings in the framed area based on the relative coordinates to obtain a building model; and modifying the building model to obtain a target building model. By using the method, the modeling time can be shortened, the modeling efficiency is improved, and manpower and material resources are greatly saved.

Description

City information model modeling method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of modeling, in particular to a method and a device for modeling a city information model, a terminal device and a storage medium.
Background
It is very important to make a large-scale building scene aiming at related projects such as smart cities and smart parks, the large-scale building scene is the basis of all intelligent control calculation display, the calculation deduction of simulation data, and the deduction data presentation all depends on the large-scale building scene.
In the modeling method in the prior art, a manual modeling mode is usually adopted, wherein the manual modeling mode is manually modeled by using three-dimensional modeling software such as CAD (computer-aided design), Max (maximum numerical value), Maya (maximum numerical value) and the like according to a general layout of an area, but the modeling mode not only consumes a large amount of manpower and material resources, but also greatly consumes time; another rapid city model construction technology is that a virtual building and a virtual scene generated based on a virtual game world cannot form a corresponding relation with a building scene of a display world.
Disclosure of Invention
The embodiment of the invention provides a method and a device for modeling an urban information model, computer equipment and a storage medium, which can shorten the modeling time, improve the modeling efficiency and greatly save manpower and material resources.
In a first aspect, an embodiment of the present invention provides a method for modeling a city information model, including:
acquiring coordinate points of a framing area, wherein the framing area is an area which is framed on a plane map by a user and used for modeling, and the framing area is a city area;
determining relative coordinates based on the coordinate points of the framed area;
modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and modifying the building model to obtain a target building model, wherein the target building model is an urban building model.
In a second aspect, an embodiment of the present invention further provides a city information model modeling apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring coordinate points of a frame selection area, the frame selection area is an area which is selected by a user on a plane map and used for modeling, and the frame selection area is an urban area;
the determining module is used for determining relative coordinates based on the coordinate points of the frame selection area;
the modeling module is used for modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and the modification module is used for modifying the building model to obtain a target building model, and the target building model is an urban building model.
In a third aspect, an embodiment of the present invention further provides a terminal device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executable by the one or more processors to cause the one or more processors to implement a city information model modeling method as described in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the city information model modeling method provided in any embodiment of the present invention.
The embodiment of the invention provides a city information model modeling method, a device, terminal equipment and a storage medium, firstly, coordinate points of a frame selection area are obtained, and the frame selection area is an area which is selected by a user on a plane map and used for modeling; then determining relative coordinates based on the coordinate points of the framed area; then, modeling buildings in the framed area based on the relative coordinates to obtain a building model; and finally, modifying the building model to obtain a target building model. By utilizing the technical scheme, the modeling time can be shortened, the modeling efficiency is improved, and manpower and material resources are greatly saved.
Drawings
Fig. 1 is a schematic flowchart of a modeling method for a city information model according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an exemplary modeling method for a city information model according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a modeling method for a city information model according to a second embodiment of the present invention;
fig. 4 is a schematic flowchart of a modeling method for a city information model according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a city information model modeling apparatus according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Example one
Fig. 1 is a schematic flowchart of a city information model modeling method according to an embodiment of the present invention, where the method is applicable to building scene modeling, and is particularly applicable to modeling of a large-scale building scene, and the method can be executed by a city information model modeling apparatus, where the apparatus can be implemented by software and/or hardware and is generally integrated on a terminal device, where the terminal device includes, but is not limited to: computer equipment, smart phones, tablets and other equipment capable of installing application programs.
As shown in fig. 1, a method for modeling an urban information model according to an embodiment of the present invention includes the following steps:
and S110, obtaining a coordinate point of a frame selection area, wherein the frame selection area is an area which is selected by a user on the plane map and used for modeling.
Wherein the frame selection area is a city area.
In this embodiment, the frame-selected area may be a large-area, and the area of the frame-selected area is smaller than or equal to a set value, for example, the set value may be 200 square kilometers.
The basic function of selecting the frame area can be realized based on an open platform of a map application program, the planar map can be a map provided by the map application program, and the map application program can be a Gade map and a Baidu map.
For example, a user may open a high-rise map APP and select a boxed area on a map provided by the APP. If the default area on the map is Beijing, the user can select the area by zooming through the operation of a mouse wheel, the basis of the map tile adopts 256 pixels by 256 pixels, and the zooming level adopts 18 levels. The data coordinates used the WGS84 coordinate system.
In this embodiment, after the user selects the region for modeling in the frame, the computer may directly obtain the frame selection region, and obtain the coordinate point of the frame selection region through calculation, which is not repeated here for the process of obtaining the coordinate point of the frame selection region through calculation.
And S120, determining relative coordinates based on the coordinate points of the frame selection area.
The relative coordinates can be understood as coordinates corresponding to coordinate points meeting conditions in the frame selection area after conversion.
In this embodiment, because the data acquisition process does not perform screening and cleaning, some screening and cleaning processes need to be performed, and optionally, the screening and cleaning may include shielding the minimum building area, that is, removing the building data whose building area is smaller than the preset value. And searching all building data with the building area larger than or equal to a preset value in the database, and uniformly returning to the application program according to the corresponding data format.
Due to the limitation of the rendering engine, the corresponding coordinate points with the building area greater than or equal to the preset value need to be screened and cleaned, that is, the coordinate points with higher precision are converted, and the process of determining the relative coordinate is not described in detail here, and the specific process can refer to the second embodiment.
And S130, modeling the buildings in the framed area based on the relative coordinates to obtain a building model.
In this embodiment, the frame area may include a plurality of buildings, the relative coordinates may include building point coordinates of the plurality of buildings, and for each building, the terminal device may draw a corresponding preview plane using the building point coordinates included in the building; the terminal device may then model the target building based on the preview plane, the story height of the building, and the selected building level to obtain a building model.
The preview plane that the user wants to generate can be selected on the display page by the user, which can be understood as that the user can select to generate the preview plane of the building a, select to generate the preview plane of the building B, or select to generate the preview planes of a plurality of buildings at a time.
It should be noted that different building levels are set in the building modeling in the embodiment of the present invention, and the reason why the different levels are set is that the performance of most of the terminal devices at present cannot meet the high-precision automatic modeling of a large-area city such as beijing, and the calculation requirement, the storage requirement, and the rendering requirement of the large-area city on the terminal devices are very strict, so that the calculation amount and the storage amount can be effectively reduced by using different building levels for modeling.
It should be emphasized that the building model obtained in this step is a building element, and the building element does not include the contents of the facade display, so that the building model needs to be modified to obtain the target building model including the contents of the facade display.
And S140, modifying the building model to obtain a target building model.
Wherein the target building model is an urban building model.
In this embodiment, the desired facade model and facade map may be selected from the model library, and the facade model and facade map may be added to the building model to obtain the target building model. Optionally, a single building model may be modified, or a plurality of building models may be modified in batch, and the specific modification condition may be selected according to the actual condition.
The model base comprises a building facade uploaded by a user, a building facade manufactured by the user and a new facade model, wherein the new facade model is obtained by the user after being modified based on the existing facade model in the model base.
Optionally, the model library may be a building facade modeling library, and a user may upload a building facade that the user finds good to the modeling library for later use, may also make a set of new facade models in a visual manner by the facade modeling library and store the new facade models in the modeling library for later use, and may also reform a set of facade models meeting requirements for use by himself based on the facade models in the existing model library.
Specifically, the modifying the building model to obtain the target building model includes: obtaining the building model; acquiring a facade modeling resource from the model library by analyzing a second instruction of the user, wherein the facade modeling resource comprises a facade map and a facade model; and adding the elevation map and the elevation model into the building model to obtain a target building model.
The facade model can have various formats, for example, the format of the facade model can be fbx and obj, and the facade model can comprise more special models such as an air conditioner plug-in, window railings, monitoring equipment and the like.
The facade map may comprise various types of maps, and for example, the facade map may comprise a multi-layer facade map, a single-layer facade map, a unit map, a door and window map and the like. The multi-layer vertical face chartlet can be understood as a chartlet which represents all information of a building vertical face, the realistic effect of the chartlet is more vivid and is suitable for buildings of all levels, but the manufacturing difficulty is higher, and when the number of layers of the generated building is not consistent with the number of vertical units and chartlet resources, obvious seams appear at the repeated positions of the chartlet when the people watch the building in a close range; the single-layer elevation map can be understood as a map which only contains all elevation information of one floor, the single-layer elevation map can be divided into a seamless single-layer elevation map and a seamed single-layer elevation map, the seamless single-layer elevation map can adapt to building walls with any width on a horizontal plane, the seamed single-layer elevation map has obvious butt seams at the repeated position of the map, the single-layer elevation map can be repeatedly paved on the whole building elevation from bottom to top according to the height of the floor, and the single-layer elevation map is suitable for buildings of all levels; the unit map can be a bottom map of coating or paving of a wall or a roof, the unit map intelligence is used in visually editing the elevation map, and the unit map can be divided into a wall surface unit map and a top surface map; the door and window map can be understood as a door or window elevation map, and the door and window map can be used only when the elevation map is visually edited.
In this embodiment, the user may click and select the required facade modeling resource on the display interface, so as to trigger the second user instruction, and the terminal device may acquire the facade modeling resource by analyzing the second user instruction.
Optionally, this step may also include a push-pull operation of the building, which may be understood as the push-pull operation of the building if a shaped part such as a convex elevator hall, a concave door window, a roof staircase exit, etc. is to be made when the facade of the building is visually edited. The detailed operation process of the push-pull operation of the building is not described herein.
The city information model modeling method provided by the embodiment of the invention comprises the steps of firstly obtaining a coordinate point of a frame selection area, wherein the frame selection area is an area which is selected by a user on a plane map and used for modeling; then determining relative coordinates based on the coordinate points of the framed area; then, modeling buildings in the framed area based on the relative coordinates to obtain a building model; and finally, modifying the building model to obtain a target building model. By using the method, the building model can be modified to obtain the target building model.
Further, the method further comprises: converting the data corresponding to the target building model into output data in a preset format; exporting the output data to three-dimensional modeling software so that the three-dimensional modeling software edits the target building model.
In the present embodiment, the generated target building model may be derived into a data format editable by other three-dimensional modeling software, and for example, output data in data formats such as FBX, OBJ, SLG, and the like may be derived.
It can be understood that the data type of the target building model generated by the program is not the same as the derivable data type, so that the data is derived by performing a conversion operation of the corresponding data format to convert the data into the output data in the preset format.
The function of the facade model library enables a user to quickly replace the facade models of buildings with larger areas, and the operation mode obtained in the process can reduce the conversion errors of a plurality of intermediate processes.
Fig. 2 is an exemplary flowchart of a city information model modeling method according to a first embodiment of the present invention, which is provided on the basis of the first embodiment, and as shown in fig. 2, the method includes the following steps:
and step 1, selecting a region.
The area selection corresponds to the coordinate point of the obtained framed area, the area in which the building is to be generated is framed on the plane map, and the coordinate point of the framed area is obtained through calculation.
And 2, acquiring data.
In this step, the data acquisition corresponds to determining relative coordinates based on the coordinate points of the framed area.
And step 3, constructing a scene.
In the step, the scene construction correspondingly models the buildings in the framed area based on the relative coordinates to obtain a building model. And constructing a preview plane according to the relative coordinates, and selecting the preview plane to be generated to generate the building.
And 4, modifying the model.
In this step, the model modification corresponds to modifying the building model to obtain a target building model. And selecting a desired building element mould, and adding a vertical surface chartlet and a vertical surface modeling to the building element mould.
And 5, exporting.
In this step, the generated building model is exported to the three-dimensional modeling software in a preset format.
Example two
Fig. 3 is a schematic flow chart of a modeling method for a city information model according to a second embodiment of the present invention, and the second embodiment performs optimization based on the above embodiments. In this embodiment, the determining the relative coordinates based on the coordinate points of the frame selection area is further embodied as: and carrying out coordinate conversion on coordinate points meeting preset conditions in the coordinate points of the frame selection area to obtain relative coordinates, wherein the preset conditions are that the building area is greater than or equal to a preset value. Please refer to the first embodiment for a detailed description of the present embodiment.
As shown in fig. 3, a modeling method for a city information model provided in the second embodiment of the present invention includes the following steps:
s210, obtaining a coordinate point of a frame selection area, wherein the frame selection area is an area which is selected by a user on the plane map and used for modeling.
And S220, carrying out coordinate conversion on coordinate points meeting preset conditions in the coordinate points of the frame selection area to obtain relative coordinates, wherein the preset conditions are that the building area is larger than or equal to a preset value.
The coordinate points meeting the preset conditions can be understood as that the building area of the building corresponding to the coordinate points is larger than or equal to the preset value, and the coordinate points not meeting the preset conditions can be understood as that the building area of the building corresponding to the coordinate points is smaller than the preset value.
In one embodiment, coordinate points which do not meet the preset condition in the coordinate points of the frame selection area are removed, the coordinate points which meet the preset condition are reserved, and coordinate conversion is carried out on the coordinate points which meet the preset condition.
The coordinate conversion can change the precision of the coordinates and convert the coordinates into coordinates with higher precision. For example, taking coordinates (40.1271020271833, 116.2565524003370) as an example, the floating point bits of two data in the coordinates are both 13 bits, and the converted coordinates are (12710.2, 25655.2). Therefore, the converted coordinates are in meters, and the precision can be expressed to decimeter level. It should be noted that multiple coordinate conversions can be performed, and the upper limit of the building area can be expressed once as 100 ten thousand square kilometers, and taking 1.641 ten thousand square kilometers in beijing as an example, 100 ten thousand square kilometers are enough to express the scale of any one city.
Optionally, the relative coordinates obtained after conversion may be stored in a set file form. Exemplarily, the set file form may be item.
And S230, modeling the buildings in the framed area based on the relative coordinates to obtain a building model.
S240, modifying the building model to obtain a target building model.
The modeling method of the urban information model provided by the embodiment of the invention embodies the process of determining the relative coordinates based on the coordinate points of the framed area. The method can generate buildings with different precisions according to the requirements, can quickly generate large-area buildings with low precision, and can generate the building with the weight ratio of 1: the proportion relation of 1 models the building, and the reduction degree of the modeling is improved.
EXAMPLE III
Fig. 4 is a schematic flow chart of a modeling method for a city information model according to a third embodiment of the present invention, and the third embodiment performs optimization based on the above embodiments. In this embodiment, modeling the building in the framed area based on the relative coordinates to obtain a building model, which is further embodied as: constructing a preview plane based on the relative coordinates; determining a target building level by analyzing the first instruction of the user; determining a modeling mode based on the target building level; and modeling the preview plane based on the modeling mode to obtain a building model. Please refer to the first embodiment for a detailed description of the present embodiment.
As shown in fig. 4, a modeling method for a city information model provided in the third embodiment of the present invention includes the following steps:
s310, obtaining coordinate points of a frame selection area, wherein the frame selection area is an area which is selected by a user on the plane map and used for modeling.
And S320, determining relative coordinates based on the coordinate points of the selected area.
S330, constructing a preview plane based on the relative coordinates.
In this embodiment, the manner of constructing the preview plane based on the relative coordinates may be as follows: and determining a building center based on the relative coordinates, and constructing a preview plane according to the building center and the relative coordinates.
Specifically, the constructing a preview plane based on the relative coordinates includes: calculating the building center of each building in the framed area according to the relative coordinates; and constructing a preview plane according to the building center and the relative coordinates through a preset algorithm.
The preset algorithm may be any algorithm capable of constructing the preview plane, and is not limited to which specific preset algorithm is, and the specific process of constructing the preview plane through the preset algorithm is not described herein.
The above process can be understood as follows: a center point of each building is calculated based on the relative coordinates, and a preview plane is drawn for each building using the center point of the building and building points included on the building.
For example, the building center of each building is calculated, and for each building, a preview plane is drawn using a plurality of relative coordinates included in the building, and the normal direction is set to be a forward direction of the world coordinate system.
The user can select the preview plane which the user wants to generate on the display interface, the user can trigger the instruction to send by clicking a space bar on the keyboard, and the terminal equipment can acquire the preview plane which the user wants to select by analyzing the instruction after receiving the instruction.
And S340, determining a target building level by analyzing the first instruction of the user.
The target building level can be understood as a building level selected by a user, the building level can comprise a plurality of building levels of different levels, illustratively, the building level can comprise a level A, a level B, a level C and a level D, and the building level can be preset.
Specifically, the level a building hierarchy: the door and window is composed of grids and can be provided with grid models such as an air conditioner and the like; b-level building level: the door and window is composed of a plurality of pictures on the vertical surface; c-level building level: the whole vertical surface is a chartlet. It needs to be further explained that the A-level building level has rich facade effect and high number of faces; the B-level building level is divided into vertical face units, and the number of faces is general; the number of the C-level building layers is the lowest; the level D building has no map and the number of faces is the lowest.
Optionally, if the building level that the user wants to model is level a, the user may manually select the level a on the display interface, and when the user selects the level a on the display interface, the user may trigger sending of the first instruction, and after receiving the first instruction, the terminal device may obtain that the target building level is level a by analyzing the first instruction of the user.
And S350, determining a modeling mode based on the target building level.
In this embodiment, since the building levels of different levels correspond to different building models, different target building levels correspond to different modeling manners, that is, different target building levels can be selected to perform modeling in different modeling manners, so that different building models can be obtained.
And S360, modeling the preview plane based on the modeling mode to obtain a building model.
In this embodiment, how to model a building model is described in detail by taking a D-level building hierarchy as an example.
Specifically, if the target building level is the level with the lowest precision, correspondingly, the modeling the preview plane according to the modeling manner to obtain the building model includes: generating a building top point location corresponding to the point location information according to the point location information of the preview plane and a building height, wherein the building height is determined according to a building label, and the building label is determined according to a building type; connecting the top layer point locations of the buildings in sequence to form a top layer plane; carrying out dislocation sequencing on the point location number of the preview plane and the point location number of the top plane to obtain a new point location number; generating a building grid according to the new point position number, the preview plane and the top plane; and modeling according to the building grid to obtain a building model of a target building level.
The building model is constructed on the basis of the lowest-precision hierarchy, the whole vertical face of the building model is a face, no map is generated, the number of the faces is the lowest, and accordingly the modeling mode corresponding to the lowest-precision hierarchy is the simplest.
The point location information may be understood as location information of a building point on the preview plane, and the point location number may be understood as a number of the building point, that is, a plurality of point locations are numbered according to a location sequence.
In the embodiment, building labels can be marked on different types of buildings in an artificial intelligence identification mode, and the different types of buildings can include a gymnasium, a residential building, an office building and the like by way of example. The terminal equipment can determine the type of the building by identifying the building label, and can determine the building height according to the type of the building.
Specifically, the process of generating the building grid according to the new point location number, the preview plane, and the top plane may be: and connecting the point positions according to the new point position numbers to obtain a preview plane, pulling up the preview plane according to the height of the building, and generating the building grid by combining the top plane. Specifically, the process of obtaining the building model of the target building level by modeling according to the building grid may be: and combining the plurality of building grids to obtain a building model of a target building level.
And S360, modifying the building model to obtain a target building model.
The city information model modeling method provided by the third embodiment of the invention embodies the process of modeling buildings in the framed area based on the relative coordinates to obtain a building model. The method can be used for modeling aiming at different building levels, is suitable for various conditions, and improves the use satisfaction of users.
Example four
Fig. 5 is a schematic structural diagram of a city information model modeling apparatus according to a fourth embodiment of the present invention, which is applicable to a case of modeling a large-scale building scene, where the apparatus may be implemented by software and/or hardware and is generally integrated on a terminal device.
As shown in fig. 5, the apparatus includes: an acquisition module 110, a determination module 120, a modeling module 130, and a modification module 140.
The obtaining module 110 is configured to obtain a coordinate point of a frame selection area, where the frame selection area is an area for modeling, selected by a user on a planar map;
a determining module 120, configured to determine relative coordinates based on the coordinate points of the framed area;
the modeling module 130 is used for modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and a modification module 140, configured to modify the building model to obtain a target building model.
In this embodiment, the apparatus first obtains, through the obtaining module 110, a coordinate point of a frame selection area, where the frame selection area is an area for modeling selected by a user on a planar map; secondly, determining relative coordinates based on the coordinate points of the framed area through a determining module 120; then, modeling the buildings in the framed area based on the relative coordinates through a modeling module 130 to obtain a building model; finally, the building model is modified by a modification module 140 to obtain a target building model.
The embodiment provides a city information model modeling device, which can shorten the modeling time, improve the modeling efficiency and greatly save manpower and material resources.
Further, the determining module 120 is specifically configured to: and carrying out coordinate conversion on coordinate points meeting preset conditions in the coordinate points of the frame selection area to obtain relative coordinates, wherein the preset conditions are that the building area is greater than or equal to a preset value.
Further, the modeling module 130 is specifically configured to: constructing a preview plane based on the relative coordinates; determining a target building level by analyzing the first instruction of the user; determining a modeling mode based on the target building level; and modeling the preview plane based on the modeling mode to obtain a building model.
Based on the above technical solution, the constructing a preview plane based on the relative coordinates includes: calculating the building center of each building in the framed area according to the relative coordinates; and constructing a preview plane according to the building center and the relative coordinates through a preset algorithm.
Further, if the target building level is the level with the lowest precision, correspondingly, the modeling the preview plane according to the modeling manner to obtain the building model includes: generating a building top point location corresponding to the point location information according to the point location information of the preview plane and a building height, wherein the building height is determined according to a building label, and the building label is determined according to a building type; connecting the top layer point locations of the buildings in sequence to form a top layer plane; carrying out dislocation sequencing on the point location number of the preview plane and the point location number of the top plane to obtain a new point location number; generating a building grid according to the new point position number, the preview plane and the top plane; and modeling according to the building grid to obtain a building model of a target building level.
Further, the modification module 140 is specifically configured to: obtaining the building model; acquiring a vertical surface modeling resource from the model library by analyzing a second instruction of the user, wherein the vertical surface modeling resource comprises a vertical surface chartlet and a vertical surface modeling; adding the elevation map and the elevation model into the building model to obtain a target building model;
the model base comprises a building facade uploaded by a user, a building facade manufactured by the user and a new facade model, wherein the new facade model is obtained by the user after being modified based on the existing facade model in the model base.
Further, the apparatus further comprises an export module, the export module is configured to: converting the data corresponding to the target building model into output data in a preset format; exporting the output data to three-dimensional modeling software so that the three-dimensional modeling software edits the target building model.
The city information model modeling device can execute the city information model modeling method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present invention. As shown in fig. 6, a terminal device provided in the fifth embodiment of the present invention includes: one or more processors 41 and storage 42; the processor 41 in the terminal device may be one or more, and one processor 41 is taken as an example in fig. 6; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41 such that the one or more processors 41 implement the city information model modeling method according to any one of the embodiments of the present invention.
The terminal device may further include: an input device 43 and an output device 44.
The processor 41, the storage device 42, the input device 43 and the output device 44 in the terminal equipment may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6.
The storage device 42 in the terminal device serves as a computer-readable storage medium, and can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the modeling methods provided in the first embodiment, the second embodiment, and the third embodiment of the present invention (for example, the modules in the city information model modeling apparatus shown in fig. 5 include the obtaining module 110, the determining module 120, the modeling module 130, and the modifying module 140). The processor 41 executes various functional applications of the terminal device and data processing, i.e., implements the modeling method in the above-described method embodiment, by executing software programs, instructions, and modules stored in the storage device 42.
The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 43 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. The output device 44 may include a display device such as a display screen.
And, when the one or more programs included in the above-mentioned terminal device are executed by the one or more processors 41, the programs perform the following operations:
acquiring coordinate points of a framing area, wherein the framing area is an area which is framed on a plane map by a user and used for modeling, and the framing area is a city area;
determining relative coordinates based on the coordinate points of the framed area;
modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and modifying the building model to obtain a target building model, wherein the target building model is an urban building model.
EXAMPLE five
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, is configured to perform a city information model modeling method, where the method includes:
acquiring coordinate points of a framing area, wherein the framing area is an area which is framed on a plane map by a user and used for modeling, and the framing area is a city area;
determining relative coordinates based on the coordinate points of the framed area;
modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and modifying the building model to obtain a target building model, wherein the target building model is an urban building model.
Optionally, the program, when executed by the processor, may be further configured to perform a city information model modeling method provided in any of the embodiments of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A city information model modeling method is characterized by comprising the following steps:
acquiring coordinate points of a framing area, wherein the framing area is an area which is framed on a plane map by a user and used for modeling, and the framing area is a city area;
determining relative coordinates based on the coordinate points of the framed area;
modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and modifying the building model to obtain a target building model, wherein the target building model is an urban building model.
2. The method of claim 1, wherein determining relative coordinates based on the coordinate points of the framed area comprises:
and carrying out coordinate conversion on coordinate points meeting preset conditions in the coordinate points of the frame selection area to obtain relative coordinates, wherein the preset conditions are that the building area is greater than or equal to a preset value.
3. The method of claim 1, wherein modeling buildings within the framed area based on the relative coordinates results in a building model comprising:
constructing a preview plane based on the relative coordinates;
determining a target building level by analyzing the first instruction of the user;
determining a modeling mode based on the target building level;
and modeling the preview plane based on the modeling mode to obtain a building model.
4. The method of claim 3, wherein constructing a preview plane based on the relative coordinates comprises:
calculating the building center of each building in the framed area according to the relative coordinates;
and constructing a preview plane according to the building center and the relative coordinates through a preset algorithm.
5. The method of claim 3, wherein if the target building level is the lowest precision level, the modeling the preview plane according to the modeling manner to obtain the building model comprises:
generating a building top point location corresponding to the point location information according to the point location information of the preview plane and a building height, wherein the building height is determined according to a building label, and the building label is determined according to a building type;
connecting the top layer point locations of the buildings in sequence to form a top layer plane;
carrying out dislocation sequencing on the point location number of the preview plane and the point location number of the top plane to obtain a new point location number;
generating a building grid according to the new point position number, the preview plane and the top plane;
and modeling according to the building grid to obtain a building model of a target building level.
6. The method of claim 1, wherein modifying the building model to obtain a target building model comprises:
obtaining the building model;
acquiring a vertical surface modeling resource from the model library by analyzing a second instruction of the user, wherein the vertical surface modeling resource comprises a vertical surface chartlet and a vertical surface modeling;
adding the elevation map and the elevation model into the building model to obtain a target building model;
the model base comprises a building facade uploaded by a user, a building facade manufactured by the user and a new facade model, wherein the new facade model is obtained by the user after being modified based on the existing facade model in the model base.
7. The method of claim 1, further comprising:
converting the data corresponding to the target building model into output data in a preset format;
exporting the output data to three-dimensional modeling software so that the three-dimensional modeling software edits the target building model.
8. An apparatus for modeling a city information model, the apparatus comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring coordinate points of a frame selection area, the frame selection area is an area which is selected by a user on a plane map and used for modeling, and the frame selection area is an urban area;
the determining module is used for determining relative coordinates based on the coordinate points of the frame selection area;
the modeling module is used for modeling buildings in the framed area based on the relative coordinates to obtain a building model;
and the modification module is used for modifying the building model to obtain a target building model, and the target building model is an urban building model.
9. A terminal device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs being executable by the one or more processors to cause the one or more processors to perform the city information model modeling method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the city information model modeling method according to any one of claims 1 to 7.
CN202111359910.5A 2021-11-17 2021-11-17 City information model modeling method and device, terminal equipment and storage medium Pending CN114091133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111359910.5A CN114091133A (en) 2021-11-17 2021-11-17 City information model modeling method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111359910.5A CN114091133A (en) 2021-11-17 2021-11-17 City information model modeling method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114091133A true CN114091133A (en) 2022-02-25

Family

ID=80301174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111359910.5A Pending CN114091133A (en) 2021-11-17 2021-11-17 City information model modeling method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114091133A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117272491A (en) * 2023-11-21 2023-12-22 广东广宇科技发展有限公司 Rapid modeling method, equipment and medium based on AI drawing model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117272491A (en) * 2023-11-21 2023-12-22 广东广宇科技发展有限公司 Rapid modeling method, equipment and medium based on AI drawing model
CN117272491B (en) * 2023-11-21 2024-05-31 广东广宇科技发展有限公司 Rapid modeling method, equipment and medium based on AI drawing model

Similar Documents

Publication Publication Date Title
Pocobelli et al. Building information models for monitoring and simulation data in heritage buildings
CN107895031B (en) Self-adaptive dynamic scheduling method of building information model in three-dimensional digital city scene
CN109191577B (en) Distributed BIM cooperative platform
CN111401726A (en) Building design method, device, system and storage medium
CN111080791A (en) Building analysis method and system based on lightweight BIM model
CN107153744B (en) Underground three-dimensional pipeline decision making system
CN109657403A (en) A kind of three-dimensional live bridge modeling optimization method based on unmanned plane oblique photograph
CN114091146A (en) Method and device for block form design based on wind environment simulation and storage medium
CN112182718B (en) Component design method and device based on BIM and 3D technology and storage medium
CN111744199A (en) Image processing method and device, computer readable storage medium and electronic device
CN111859503B (en) Drawing examination method, electronic equipment and graphic server
CN113538706A (en) Digital sand table-based house scene display method, device, equipment and storage medium
TWM548837U (en) Simulation and analysis system of green building effectiveness using neural network learning
CN112507444A (en) AI-construction-based digital urban building night scene generation method and system
CN114004000A (en) System for intelligent pipeline arrangement based on BIM technology
CN114091133A (en) City information model modeling method and device, terminal equipment and storage medium
CN112991520A (en) Design and implementation method based on batch rapid three-dimensional modeling of non-fine building
CN114937137B (en) BIM and GIS-based building environment intelligent analysis method
CN115048473B (en) Urban information model artificial intelligent service method and system
Leng et al. A data integration and simplification framework for improving site planning and building design
CN113761628B (en) Building street facade transformation parameterized design generation method
CN111581808B (en) Pollutant information processing method and device, storage medium and terminal
CN112883447A (en) Method for rapidly generating drawing based on-site survey data
CN111753344A (en) Generation method of assembly type component data set, CAD platform and storage medium
Roman et al. From 3D Surveying Data to Bim to Bem: The Incube Dataset

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