CN116975479A - Three-dimensional map data loading and transmitting method and device, electronic equipment and medium - Google Patents

Three-dimensional map data loading and transmitting method and device, electronic equipment and medium Download PDF

Info

Publication number
CN116975479A
CN116975479A CN202210421398.0A CN202210421398A CN116975479A CN 116975479 A CN116975479 A CN 116975479A CN 202210421398 A CN202210421398 A CN 202210421398A CN 116975479 A CN116975479 A CN 116975479A
Authority
CN
China
Prior art keywords
map data
map
dimensional
model
data type
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
CN202210421398.0A
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 Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202210421398.0A priority Critical patent/CN116975479A/en
Priority to PCT/CN2023/079766 priority patent/WO2023202245A1/en
Publication of CN116975479A publication Critical patent/CN116975479A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Structural Engineering (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The embodiment of the invention discloses a three-dimensional map data loading and sending method, a three-dimensional map data loading and sending device, electronic equipment and a medium. One embodiment of the three-dimensional map data loading method comprises the following steps: generating a model bounding box which encloses the building model in the visible area of the map; determining map levels of the building models surrounded by the corresponding model bounding boxes; generating a three-dimensional map data request based on the map level and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map level in a preset map data type set, and the map data type set represents each display granularity; transmitting the three-dimensional map data request to an associated server; in response to receiving a return three-dimensional map data set corresponding to the three-dimensional map data request, the return three-dimensional map data set is loaded. The embodiment saves the waiting time of model loading and can display building objects with different display granularities in a geographic space.

Description

Three-dimensional map data loading and transmitting method and device, electronic equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method, a device, electronic equipment and a medium for loading and sending three-dimensional map data.
Background
The building information model (Building Information Modeling, BIM) is a digital representation of the physical and functional characteristics of a facility (construction project). The BIM is characterized in that a virtual three-dimensional building engineering model is established, and a complete building engineering information base consistent with the actual situation is provided for a building information model by utilizing a digitizing technology. The integration of BIM with other advanced technologies or with application systems can play a greater comprehensive role. The BIM is combined with a three-dimensional geographic information system (Geographic Information System, GIS) to realize the fine management of building elements. Currently, when BIM is displayed in a three-dimensional GIS, the following methods are generally adopted: and displaying all building information models in the three-dimensional GIS, or setting a specific map level range and a visible area range, and hiding the models when the area after the user operation is not in the range.
However, when BIM is displayed in the three-dimensional GIS in the above manner, there are often the following technical problems: when all building information models are displayed in a three-dimensional GIS, the model loading efficiency is low, a user needs to wait for a long time when browsing the building information models, the user experience is poor, and when the model loading time is too long, the number of times of running errors of a browser or a client is more; when a specific map level range and a visible area range are set, the overall distribution of building objects in the geographic space cannot be shown.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose three-dimensional map data loading and transmitting methods, apparatuses, electronic devices, and computer readable media to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a three-dimensional map data loading method, the method comprising: generating a model bounding box which surrounds the building model in the map visible area according to the map visible area; determining a map level corresponding to each building model surrounded by the model bounding box based on the map visual area and the model bounding box; generating a three-dimensional map data request based on the map hierarchy and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set represents each display granularity; transmitting the three-dimensional map data request to an associated server; and loading the returned three-dimensional map data set corresponding to the three-dimensional map data request, which is sent by the server, in response to the received returned three-dimensional map data set, wherein the returned three-dimensional map data set corresponds to the map data type.
Optionally, before the sending the three-dimensional map data request to the associated server, the method further includes: generating a transformed model bounding box in response to detecting the map level transformation operation; and generating an updated three-dimensional map data request according to the transformed map level corresponding to the map level transformation operation and the transformed model bounding box, wherein the updated three-dimensional map data request corresponds to the map data type corresponding to the transformed map level in the map data type set.
In a second aspect, some embodiments of the present disclosure provide a three-dimensional map data loading apparatus, applied to a client, the apparatus including: a first generation unit configured to generate a model bounding box that encloses a building model within a map viewing area, from the map viewing area; a determining unit configured to determine a map level corresponding to each building model surrounded by the model bounding box, based on the map visual area and the model bounding box; a second generation unit configured to generate a three-dimensional map data request based on the map hierarchy and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set characterizes each display granularity; a transmitting unit configured to transmit the three-dimensional map data request to an associated server; and the loading unit is configured to load the returned three-dimensional map data set in response to receiving the returned three-dimensional map data set corresponding to the three-dimensional map data request sent by the server, wherein the returned three-dimensional map data set corresponds to the map data type.
Optionally, before the sending unit, the apparatus further comprises: and a model bounding box generating unit and a three-dimensional map data request generating unit. Wherein the model bounding box generation unit is configured to generate a transformed model bounding box in response to detecting the map-level transformation operation. The three-dimensional map data request generation unit is configured to generate an updated three-dimensional map data request according to the transformed map level corresponding to the map level transformation operation and the transformed model bounding box, wherein the updated three-dimensional map data request corresponds to a map data type corresponding to the transformed map level in the map data type set.
In a third aspect, some embodiments of the present disclosure provide a three-dimensional map data transmission method, the method including: receiving a three-dimensional map data request sent by a client, wherein the three-dimensional map data request is generated by adopting the method described in any implementation manner of the first aspect, and the three-dimensional map data request comprises a map level and a model bounding box; determining the coordinates of the model center points of all building models surrounded by the model bounding boxes to obtain a model center point coordinate set; selecting a map data type meeting a preset map level range condition from the map data type set as a target map data type according to the map level and a map level range set corresponding to the map data type set; and sending the three-dimensional map data corresponding to the model center point coordinates in the model center point coordinate set as a return three-dimensional map data set to the client.
Optionally, the selecting, as the target map data type, a map data type satisfying a preset map level range condition from the map data type set according to the map level and a map level range set corresponding to the map data type set, includes: determining a map level range including the map level in the map level range set as a target map level range; and determining the map data type representing the first display granularity as the target map data type in response to the map data type representing the first display granularity corresponding to the target map level range.
Optionally, the selecting, as the target map data type, a map data type satisfying a preset map level range condition from the map data type set according to the map level and a map level range set corresponding to the map data type set, includes: and determining the map data type representing the second display granularity as the target map data type in response to the map data type representing the second display granularity corresponding to the target map level range, wherein the second display granularity is smaller than the first display granularity.
Optionally, the selecting, as the target map data type, a map data type satisfying a preset map level range condition from the map data type set according to the map level and a map level range set corresponding to the map data type set, includes: and determining the map data type representing the third display granularity as the target map data type in response to the map data type representing the third display granularity corresponding to the target map level range, wherein the third display granularity is smaller than the second display granularity.
Optionally, the sending the three-dimensional map data set with the map data type being the target map data type and corresponding to the model center point coordinates in the model center point coordinate set as the return three-dimensional map data set to the client includes: determining a model identifier corresponding to each model center point coordinate in the model center point coordinate set to obtain a model identifier set; selecting the map data type as the target map data type from the three-dimensional map data set according to a pre-constructed K-dimensional tree spatial index, wherein each node in the K-dimensional tree spatial index is composed of model identifications, and each three-dimensional map data with the model identifications being respectively the same as each model identification in the model identification set is used as a returned three-dimensional map data set; and sending the returned three-dimensional map data set to the client.
In a fourth aspect, some embodiments of the present disclosure provide a three-dimensional map data transmitting apparatus, applied to a server, the apparatus including: a receiving unit configured to receive a three-dimensional map data request sent by a client, where the three-dimensional map data request is generated by using the method described in any implementation manner of the first aspect, and the three-dimensional map data request includes a map hierarchy and a model bounding box; a determining unit configured to determine model center point coordinates of each building model surrounded by the model bounding box, to obtain a model center point coordinate set; a selection unit configured to select, as a target map data type, a map data type satisfying a preset map level range condition from the set of map data types, based on the map level and a set of map level ranges corresponding to the set of map data types; and a transmitting unit configured to transmit, as a return three-dimensional map data set, each three-dimensional map data, which is of the target map data type and corresponds to each model center point coordinate in the model center point coordinate set, to the client.
Optionally, the selection unit is further configured to: determining a map level range including the map level in the map level range set as a target map level range; and determining the map data type representing the first display granularity as the target map data type in response to the map data type representing the first display granularity corresponding to the target map level range.
Optionally, the selection unit is further configured to: and determining the map data type representing the second display granularity as the target map data type in response to the map data type representing the second display granularity corresponding to the target map level range, wherein the second display granularity is smaller than the first display granularity.
Optionally, the selection unit is further configured to: and determining the map data type representing the third display granularity as the target map data type in response to the map data type representing the third display granularity corresponding to the target map level range, wherein the third display granularity is smaller than the second display granularity.
Optionally, the transmitting unit is further configured to: determining a model identifier corresponding to each model center point coordinate in the model center point coordinate set to obtain a model identifier set; selecting the map data type as the target map data type from the three-dimensional map data set according to a pre-constructed K-dimensional tree spatial index, wherein each node in the K-dimensional tree spatial index is composed of model identifications, and each three-dimensional map data with the model identifications being respectively the same as each model identification in the model identification set is used as a returned three-dimensional map data set; and sending the returned three-dimensional map data set to the client.
In a fifth aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; and a storage device having one or more programs stored thereon, which when executed by the one or more processors cause the one or more processors to implement the method described in any of the above first or third aspects.
In a sixth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the above first or third aspects.
The above embodiments of the present disclosure have the following advantageous effects: by the three-dimensional map data loading method of some embodiments of the present disclosure, waiting time of model loading is saved, running error times of a browser or a client are reduced, and building objects with different display granularities can be displayed in a geographic space. Specifically, the reasons for the longer model loading waiting time, the greater number of browser or client running errors, and the inability to display building objects at different display granularities in a geospatial are: when all building information models are displayed in a three-dimensional GIS, the model loading efficiency is low, a user needs to wait for a long time when browsing the building information models, the user experience is poor, and when the model loading waiting time is too long, the operation error times of a browser or a client are more; when a specific map level range and a visible area range are set, the overall distribution of building objects in the geographic space cannot be shown. Based on this, the three-dimensional map data loading method of some embodiments of the present disclosure first generates a model bounding box that encloses the building model within the map visual area according to the map visual area. Thus, a model bounding box that can enclose all building models within the current map viewable area can be determined. Then, a map level corresponding to each building model surrounded by the model bounding box is determined based on the map visual area and the model bounding box. From this, a map level can be determined that can encompass all building models within the current map viewable area. And then, generating a three-dimensional map data request based on the map level and the model bounding box. Wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset set of map data types. The set of map data types characterizes individual display granularity. Thus, the generated three-dimensional map data request can be used for requesting three-dimensional map data of the map data type corresponding to the current map level, and the three-dimensional map data is different in display granularity due to different map data types. And secondly, the three-dimensional map data request is sent to an associated server. And finally, responding to the received returned three-dimensional map data set which is sent by the server and corresponds to the three-dimensional map data request, and loading the returned three-dimensional map data set. Wherein the return three-dimensional map data set corresponds to the map data type. Thus, the received return three-dimensional map data set corresponding to the display granularity corresponding to the current map level can be loaded. And because the display granularity of the loaded return three-dimensional map data set corresponds to the current map level, when the map level is smaller, the display granularity of the return three-dimensional map data set is larger, and the data size of the return three-dimensional map data set is smaller, so that the waiting time of model loading is saved. And because the display granularity of the loaded returned three-dimensional map data set corresponds to the current map level, the building objects with different display granularities can be displayed in the geographic space, and then the overall distribution of the building objects in the geographic space can be displayed when the current map level is smaller.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a three-dimensional map data loading method according to some embodiments of the present disclosure;
fig. 2 is a schematic view of one application scenario of a three-dimensional map data transmission method according to some embodiments of the present disclosure;
FIG. 3 is a flow chart of some embodiments of a three-dimensional map data loading method according to the present disclosure;
FIG. 4 is a flow chart of some embodiments of a three-dimensional map data transmission method according to the present disclosure;
FIG. 5 is a schematic structural view of some embodiments of a three-dimensional map data loading device according to the present disclosure;
fig. 6 is a schematic structural view of some embodiments of a three-dimensional map data transmitting apparatus according to the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of one application scenario of a three-dimensional map data loading method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, a client (e.g., computing device 101) may generate a model bounding box 103 from a map visual area 102 that encloses building models within the map visual area 102. The computing device 101 may then determine, based on the map visual area 102 and the model bounding box 103, a map level 104 corresponding to each building model enclosed by the model bounding box 103. Thereafter, the computing device 101 may generate a three-dimensional map data request 105 based on the map hierarchy 104 and the model bounding box 103. Wherein the three-dimensional map data request 105 corresponds to a map data type corresponding to the map hierarchy 104 in a preset map data type set 106. The set of map data types 106 described above characterizes individual display granularity. Second, the computing device 101 may send the three-dimensional map data request 105 to the associated server 107. Finally, the computing device 101 may load the returned three-dimensional map data set 108 in response to receiving the returned three-dimensional map data set 108 corresponding to the three-dimensional map data request 105 sent by the server 107. Wherein the return three-dimensional map data set 108 corresponds to the map data type.
The computing device 101 may be hardware or software. When the computing device is hardware, the computing device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices listed above. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of computing devices in fig. 1 is merely illustrative. There may be any number of computing devices, as desired for an implementation.
Fig. 2 is a schematic diagram of one application scenario of a three-dimensional map data transmission method according to some embodiments of the present disclosure.
In the application scenario of fig. 2, first, a server (e.g., computing device 201) may receive a three-dimensional map data request 203 sent by a client 202. Wherein the three-dimensional map data request 203 includes a map hierarchy 204 and a model bounding box 205. The computing device 201 may then determine model center point coordinates for each building model surrounded by the model bounding box 205 described above, resulting in a set of model center point coordinates 206. Thereafter, the computing device 201 may select, as the target map data type 209, a map data type satisfying a preset map level range condition from the above-described map data type set 208, according to the above-described map level 204 and the map level range set 208 corresponding to the map data type set 207. Thereafter, the computing device 201 may send, as the return three-dimensional map data set 211, respective three-dimensional map data in the three-dimensional map data set 210, which is of the above-described target map data type 209 and corresponds to respective model center point coordinates in the above-described model center point coordinate set 207, to the above-described client 202.
The computing device 201 may be hardware or software. When the computing device is hardware, the computing device may be implemented as a distributed cluster formed by a plurality of servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices listed above. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of computing devices in fig. 2 is merely illustrative. There may be any number of computing devices, as desired for an implementation.
With continued reference to fig. 3, a flow 300 of some embodiments of a three-dimensional map data loading method according to the present disclosure is shown. The three-dimensional map data loading method is applied to a client and comprises the following steps:
step 301, generating a model bounding box which encloses the building model in the visible area of the map according to the visible area of the map.
In some embodiments, an executing subject of the three-dimensional map data loading method (e.g., computing device 101 shown in fig. 1) may generate a model bounding box that encloses the building model within the map viewable area from the map viewable area. The map visual area may be a screen visual area for displaying a map in the display screen of the execution body. The map visual area may be represented as a sequence of screen coordinates. That is, the map visual area may be formed by sequentially connecting the screen coordinates in the screen coordinate sequence. In practice, first, the executing body may determine a three-dimensional geographic coordinate vertex group of each building model in the visible area of the map, to obtain a three-dimensional geographic coordinate vertex group set. Then, a plurality of three-dimensional geographic coordinate vertices from the set of three-dimensional geographic coordinate vertex sets may be selected as vertices of the model bounding box by a bounding box algorithm. For example, the bounding box algorithm may be an AABB bounding box algorithm. Thus, the model bounding box can be composed with the vertices of the respective model bounding boxes. Thus, a model bounding box that can enclose all building models within the current map viewable area can be determined.
Step 302, determining map levels of building models surrounded by corresponding model bounding boxes based on the map visual area and the model bounding boxes.
In some embodiments, the execution subject may determine a map level corresponding to each building model surrounded by the model bounding box based on the map visual area and the model bounding box. In practice, first, the execution subject may determine a difference between a largest screen abscissa and a smallest screen abscissa in the screen coordinate sequence of the map visual area as a screen width. Then, the difference between the largest three-dimensional geographic abscissa and the smallest three-dimensional geographic abscissa among the vertices (three-dimensional geographic coordinate vertices) of the respective model bounding boxes described above may be determined as the geographic width. Then, the ratio of the screen width to the preset map tile width can be determined as the map tile number. Here, the preset map tile width may be a preset map tile width. For example, the preset map tile width may be 256 pixels. Second, the ratio of the geographic width to the number of map tiles may be determined as the actual width of the map tiles. Then, a map scale corresponding to the actual width of the map tile may be selected from a preset map scale set as a target map scale. The corresponding relation between the actual width of the map tile and the target map scale may be: the actual width of the map tile is the same as or the closest to the unit actual length of the representation of the target map scale. Finally, the map level corresponding to the target map scale may be set as the map level corresponding to each building model surrounded by the model bounding box. From this, a map level can be determined that can encompass all building models within the current map viewable area.
Step 303, a three-dimensional map data request is generated based on the map hierarchy and the model bounding box.
In some embodiments, the executing entity may generate the three-dimensional map data request based on the map hierarchy and the model bounding box. Wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset set of map data types. The set of map data types characterizes individual display granularity. The set of map data types described above may include, but is not limited to, the following map data types: three-dimensional aggregate building point classes, texture white films classes and BIM models classes. The three-dimensional aggregate building point class can represent three-dimensional map data as an aggregate three-dimensional building point data type. The texture white film class may characterize three-dimensional map data as data types of building model surfaces displayed in texture or white film form. The BIM model class described above may characterize BIM data types. The display granularity described above may characterize the degree of refinement of the data display. The higher the degree of refinement, the smaller the display particle size fraction. Conversely, the lower the degree of refinement, the greater the display particle size fraction. In practice, the execution subject may generate a request for requesting three-dimensional map data of building model objects within the model bounding box at the map level as a three-dimensional map data request. The three-dimensional map data request includes an address, i.e., a web address, for requesting three-dimensional map data of the building model object in the model bounding box at the map level. In practice, the web address is typically represented by a uniform resource locator (Uniform Resource Locator, URL). Thus, the generated three-dimensional map data request can be used for requesting three-dimensional map data of the map data type corresponding to the current map level, and the three-dimensional map data is different in display granularity due to different map data types.
Alternatively, first, the above-described execution subject may generate the transformed model bounding box in response to detecting the map-level transformation operation. The map level transformation operation may be a map zoom-in or map zoom-out operation performed by a user on a map page. The step of generating the transformed model bounding box by the execution subject may refer to step 301, and will not be described herein. Thus, after the map level transformation, a model bounding box that can enclose all building models within the current map viewable area can be redetermined.
Then, an updated three-dimensional map data request may be generated from the transformed map level and the transformed model bounding box corresponding to the map level transformation operation. Wherein the updated three-dimensional map data request corresponds to a map data type of the set of map data types that corresponds to the transformed map level. The step of generating the updated three-dimensional map data request by the executing body may refer to step 302, and will not be described herein. Thus, after the map hierarchy is transformed, a three-dimensional map data request for requesting three-dimensional map data of a map data type corresponding to the current map hierarchy can be regenerated from the transformed map hierarchy and the model bounding box.
Step 304, the three-dimensional map data request is sent to the associated server.
In some embodiments, the executing entity may send the three-dimensional map data request to the associated server through a wired connection or a wireless connection. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connections, wiFi connections, bluetooth connections, wiMAX connections, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
In step 305, in response to receiving the returned three-dimensional map data set corresponding to the three-dimensional map data request sent by the server, the returned three-dimensional map data set is loaded.
In some embodiments, the executing entity may load the returned three-dimensional map data set in the map visible area in response to receiving the returned three-dimensional map data set corresponding to the three-dimensional map data request sent by the server. Wherein the return three-dimensional map data set corresponds to the map data type. That is, the data type of the returned three-dimensional map data set is the same as the map data type. Thus, the received return three-dimensional map data set corresponding to the display granularity corresponding to the current map level can be loaded.
The above embodiments of the present disclosure have the following advantageous effects: by the three-dimensional map data loading method of some embodiments of the present disclosure, waiting time of model loading is saved, running error times of a browser or a client are reduced, and building objects with different display granularities can be displayed in a geographic space. Specifically, the reasons for the longer model loading waiting time, the greater number of browser or client running errors, and the inability to display building objects at different display granularities in a geospatial are: when all building information models are displayed in a three-dimensional GIS, the model loading efficiency is low, a user needs to wait for a long time when browsing the building information models, the user experience is poor, and when the model loading waiting time is too long, the operation error times of a browser or a client are more; when a specific map level range and a visible area range are set, the overall distribution of building objects in the geographic space cannot be shown. Based on this, the three-dimensional map data loading method of some embodiments of the present disclosure first generates a model bounding box that encloses the building model within the map visual area according to the map visual area. Thus, a model bounding box that can enclose all building models within the current map viewable area can be determined. Then, a map level corresponding to each building model surrounded by the model bounding box is determined based on the map visual area and the model bounding box. From this, a map level can be determined that can encompass all building models within the current map viewable area. And then, generating a three-dimensional map data request based on the map level and the model bounding box. Wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset set of map data types. The set of map data types characterizes individual display granularity. Thus, the generated three-dimensional map data request can be used for requesting three-dimensional map data of the map data type corresponding to the current map level, and the three-dimensional map data is different in display granularity due to different map data types. And secondly, the three-dimensional map data request is sent to an associated server. And finally, responding to the received returned three-dimensional map data set which is sent by the server and corresponds to the three-dimensional map data request, and loading the returned three-dimensional map data set. Wherein the return three-dimensional map data set corresponds to the map data type. Thus, the received return three-dimensional map data set corresponding to the display granularity corresponding to the current map level can be loaded. And because the display granularity of the loaded return three-dimensional map data set corresponds to the current map level, when the map level is smaller, the display granularity of the return three-dimensional map data set is larger, and the data size of the return three-dimensional map data set is smaller, so that the waiting time of model loading is saved. And because the display granularity of the loaded returned three-dimensional map data set corresponds to the current map level, the building objects with different display granularities can be displayed in the geographic space, and then the overall distribution of the building objects in the geographic space can be displayed when the current map level is smaller.
With further reference to fig. 4, a flow 400 of some embodiments of a three-dimensional map data transmission method is shown. The flow 400 of the three-dimensional map data sending method is applied to a server and comprises the following steps:
step 401, receiving a three-dimensional map data request sent by a client.
In some embodiments, the execution subject of the three-dimensional map data transmission method (e.g., the computing device 201 shown in fig. 2) may receive the three-dimensional map data request transmitted by the client through a wired connection or a wireless connection. Wherein the three-dimensional map data request is generated using any of the methods described above in any of those embodiments corresponding to fig. 3. The three-dimensional map data request includes a map hierarchy and a model bounding box.
And step 402, determining the coordinates of the model center points of the building models surrounded by the model bounding boxes, and obtaining a model center point coordinate set.
In some embodiments, the executing entity may determine the coordinates of the model center point of each building model surrounded by the model bounding box, to obtain a set of coordinates of the model center point. The coordinates of the center point of the model may be the coordinates of the geometric center of the building model.
Step 403, selecting a map data type meeting the preset map level range condition from the map data type set as a target map data type according to the map level and the map level range set corresponding to the map data type set.
In some embodiments, the executing body may select, as the target map data type, a map data type satisfying a preset map level range condition from the map data type set according to the map level and a map level range set corresponding to the map data type set. The preset map level range condition may be that "a map level range in the map level range set corresponding to the map data type includes the map level". Thus, the map data type corresponding to the map hierarchy can be determined as the target map data type.
As an example, the above set of map level ranges may be [ [0,8], [9,18] ]. The map data type corresponding to the map level range [0,8] can be a three-dimensional aggregate building point location type. The map data type corresponding to the map level range [9,18] may be a BIM model class. The map level may be 5. The map data type satisfying the preset map level range condition is a three-dimensional aggregate building point type.
In some optional implementations of some embodiments, the executing entity may determine a map level range including the map level in the set of map level ranges as a target map level range. Then, a map data type characterizing the first display granularity may be determined as the target map data type in response to the target map level range corresponding to the map data type characterizing the first display granularity. The map data type representing the first display granularity may be a three-dimensional aggregate building point type. The execution body may determine the three-dimensional aggregate building point class as the target map data type. Thus, when the current map level is within the map level range corresponding to the three-dimensional aggregate building point class, the three-dimensional aggregate building point class can be determined as the target map data type.
As an example, the map level may be 5. The map level range set may be [ [0,7], [8,13], [14,18] ]. Wherein the target map level range is [0,7]. The map data type corresponding to the target map level range [0,7] may be a three-dimensional aggregate building point class. The target map data type is a three-dimensional aggregate building point class.
In some optional implementations of some embodiments, the executing entity may determine, as the target map data type, a map data type that characterizes the second display granularity in response to the target map level range corresponding to the map data type that characterizes the second display granularity. Wherein the second display granularity is smaller than the first display granularity. The map data type characterizing the second display granularity may be a texture white film type. The execution subject may determine the texture-white film class as the target map data type. Thus, the texture-white-film class can be determined as the target map data type when the current map level is within the map level range corresponding to the texture-white-film class.
As an example, the map level may be 9. The map level range set may be [ [0,7], [8,13], [14,18] ]. Wherein the target map level range is [8,13]. The map data type corresponding to the target map level range [8,13] may be a texture white film type. The target map data type is a texture white film class.
In some optional implementations of some embodiments, the executing entity may determine, as the target map data type, a map data type that characterizes the third display granularity in response to the target map level range corresponding to the map data type that characterizes the third display granularity. Wherein the third display granularity is smaller than the second display granularity. The map data type characterizing the third display granularity may be a BIM model class. The execution subject may determine the BIM model class as the target map data type. Thus, the BIM model class can be determined as the target map data type when the current map level is within the map level range corresponding to the BIM model class.
As an example, the map level may be 15. The map level range set may be [ [0,7], [8,13], [14,18] ]. Wherein the target map level range is [14,18]. The map data type corresponding to the target map level range [14,18] may be a BIM model class. The target map data type is a BIM model class.
And step 404, taking the map data type in the three-dimensional map data set as a target map data type, and sending each three-dimensional map data corresponding to each model center point coordinate in the model center point coordinate set as a return three-dimensional map data set to the client.
In some embodiments, the executing body may send, as the returned three-dimensional map data set, each three-dimensional map data corresponding to each model center point coordinate in the model center point coordinate set, of which the map data type in the three-dimensional map data set is the target map data type, to the client. In practice, for each three-dimensional map data in the three-dimensional map data set, the execution subject may determine whether the map data type is the target map data type, and whether the model center point coordinates are the same as the respective model center point coordinates in the model center point coordinate set. In response to determining, the three-dimensional map data may be determined to return three-dimensional map data. Therefore, each obtained returned three-dimensional map data can be used as a returned three-dimensional map data set to be sent to the client side, so that the client side can load the returned three-dimensional map data set.
In some optional implementations of some embodiments, first, the executing entity may determine a model identifier corresponding to each model center point coordinate in the model center point coordinate set, to obtain a model identifier set. In practice, the executing body may search the model identifier corresponding to the model center point coordinate from a preset model center point coordinate-model identifier correspondence table. Then, according to the pre-constructed K-dimensional tree spatial index, the map data type is selected from the three-dimensional map data set as the target map data type, and each three-dimensional map data with the same model identifier as each model identifier in the model identifier set is used as the return three-dimensional map data set. Wherein, each node in the K-dimensional tree (K-dimensional tree) spatial index is composed of model identifications. Finally, the return three-dimensional map data set may be sent to the client. Therefore, the model identification unified by the model can be quickly matched through the K-dimensional tree space index on the two-dimensional model, so that the three-dimensional model can be quickly matched, and the matching speed of the space range in a large number of three-dimensional models is improved.
The above embodiments of the present disclosure have the following advantageous effects: by the three-dimensional map data sending method, waiting time of model loading is saved, running error times of a browser or a client are reduced, and building objects with different display granularities can be displayed in a geographic space. Specifically, the reasons for the longer model loading waiting time, the greater number of browser or client running errors, and the inability to display building objects at different display granularities in a geospatial are: when all building information models are displayed in a three-dimensional GIS, the model loading efficiency is low, a user needs to wait for a long time when browsing the building information models, the user experience is poor, and when the model loading waiting time is too long, the operation error times of a browser or a client are more; when a specific map level range and a visible area range are set, the overall distribution of building objects in the geographic space cannot be shown. Based on this, the three-dimensional map data transmission method of some embodiments of the present disclosure first receives a three-dimensional map data request transmitted by a client. Wherein the three-dimensional map data request includes a map hierarchy and a model bounding box. And then, determining the coordinates of the model center points of the building models surrounded by the model bounding boxes to obtain a model center point coordinate set. Then, according to the map level and the map level range set corresponding to the map data type set, selecting the map data type meeting the preset map level range condition from the map data type set as the target map data type. Thus, the map data type corresponding to the map hierarchy can be determined as the target map data type. And finally, sending the three-dimensional map data corresponding to the model center point coordinates in the model center point coordinate set as a return three-dimensional map data set to the client, wherein the map data type in the three-dimensional map data set is the target map data type. Therefore, each obtained returned three-dimensional map data can be used as a returned three-dimensional map data set to be sent to the client side, so that the client side can load the returned three-dimensional map data set. And because the display granularity of the returned three-dimensional map data set corresponds to the current map level, when the map level is smaller, the display granularity of the returned three-dimensional map data set is larger, and the data size of the returned three-dimensional map data set is smaller, so that the waiting time of model loading is saved. And because the display granularity of the returned three-dimensional map data set corresponds to the current map level, the building objects with different display granularities can be displayed in the geographic space, and then the overall distribution of the building objects in the geographic space can be displayed when the current map level is smaller.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a three-dimensional map data loading apparatus, which correspond to those method embodiments shown in fig. 3, and which are particularly applicable in various electronic devices.
As shown in fig. 5, the three-dimensional map data loading apparatus 500 of some embodiments includes: a first generation unit 501, a determination unit 502, a second generation unit 503, a transmission unit 504, and a loading unit 505. Wherein the first generating unit 501 is configured to generate, according to the map visual area, a model bounding box that encloses the building model in the map visual area; the determining unit 502 is configured to determine a map level corresponding to each building model surrounded by the model bounding box, based on the map visual area and the model bounding box; the second generating unit 503 is configured to generate a three-dimensional map data request based on the map hierarchy and the model bounding box, where the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set characterizes each display granularity; the transmitting unit 504 is configured to transmit the three-dimensional map data request to an associated server; the loading unit 505 is configured to load the returned three-dimensional map data set corresponding to the three-dimensional map data request, which is sent by the server, in response to receiving the returned three-dimensional map data set, where the returned three-dimensional map data set corresponds to the map data type.
Optionally, before the sending unit 504, the three-dimensional map data loading device further includes: a model bounding box generation unit and a three-dimensional map data request generation unit (not shown in the figure). Wherein the model bounding box generation unit is configured to generate a transformed model bounding box in response to detecting the map-level transformation operation. The three-dimensional map data request generation unit is configured to generate an updated three-dimensional map data request according to the transformed map level corresponding to the map level transformation operation and the transformed model bounding box, wherein the updated three-dimensional map data request corresponds to a map data type corresponding to the transformed map level in the map data type set.
It will be appreciated that the elements described in the apparatus 500 correspond to the various steps in the method described with reference to fig. 3. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 500 and the units contained therein, and are not described in detail herein.
With further reference to fig. 6, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a three-dimensional map data transmitting apparatus, which correspond to those method embodiments shown in fig. 4, and which are particularly applicable to various electronic devices.
As shown in fig. 6, the three-dimensional map data transmitting apparatus 600 of some embodiments includes: a receiving unit 601, a determining unit 602, a selecting unit 603, and a transmitting unit 604. Wherein the receiving unit 601 is configured to receive a three-dimensional map data request sent by a client, wherein the three-dimensional map data request is generated by the method in the embodiments corresponding to fig. 4, and the three-dimensional map data request includes a map hierarchy and a model bounding box; the determining unit 602 is configured to determine the coordinates of the model center points of the building models surrounded by the model bounding boxes, so as to obtain a set of coordinates of the model center points; the selecting unit 603 is configured to select, as a target map data type, a map data type satisfying a preset map level range condition from the set of map data types, based on the map level and the set of map level ranges corresponding to the set of map data types; the transmitting unit 604 is configured to transmit, as a return three-dimensional map data set, each three-dimensional map data, which is of the target map data type and corresponds to each of the model center point coordinates in the model center point coordinate set, to the client.
Optionally, the selection unit 603 is further configured to: determining a map level range including the map level in the map level range set as a target map level range; and determining the map data type representing the first display granularity as the target map data type in response to the map data type representing the first display granularity corresponding to the target map level range.
Optionally, the selection unit 603 is further configured to: and determining the map data type representing the second display granularity as the target map data type in response to the map data type representing the second display granularity corresponding to the target map level range, wherein the second display granularity is smaller than the first display granularity.
Optionally, the selection unit 603 is further configured to: and determining the map data type representing the third display granularity as the target map data type in response to the map data type representing the third display granularity corresponding to the target map level range, wherein the third display granularity is smaller than the second display granularity.
Optionally, the sending unit 604 is further configured to: determining a model identifier corresponding to each model center point coordinate in the model center point coordinate set to obtain a model identifier set; selecting the map data type as the target map data type from the three-dimensional map data set according to a pre-constructed K-dimensional tree spatial index, wherein each node in the K-dimensional tree spatial index is composed of model identifications, and each three-dimensional map data with the model identifications being respectively the same as each model identification in the model identification set is used as a returned three-dimensional map data set; and sending the returned three-dimensional map data set to the client.
It will be appreciated that the elements described in the apparatus 600 correspond to the various steps in the method described with reference to fig. 4. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 600 and the units contained therein, and are not described in detail herein.
Referring now to FIG. 7, a schematic diagram of a structure of an electronic device (e.g., computing device 101 of FIG. 1 or computing device 201 of FIG. 2) 700 suitable for use in implementing some embodiments of the disclosure is shown. The electronic device shown in fig. 7 is only one example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 7, the electronic device 700 may include a processing means (e.g., a central processor, a graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
In general, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 shows an electronic device 700 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 7 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 709, or from storage 708, or from ROM 702. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 701.
It should be noted that, the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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 or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, 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. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, 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: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: generating a model bounding box which surrounds the building model in the map visible area according to the map visible area; determining a map level corresponding to each building model surrounded by the model bounding box based on the map visual area and the model bounding box; generating a three-dimensional map data request based on the map hierarchy and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set represents each display granularity; transmitting the three-dimensional map data request to an associated server; and loading the returned three-dimensional map data set corresponding to the three-dimensional map data request, which is sent by the server, in response to the received returned three-dimensional map data set, wherein the returned three-dimensional map data set corresponds to the map data type.
Or cause the electronic device to: receiving a three-dimensional map data request sent by a client, wherein the three-dimensional map data request is generated by adopting the method described in any implementation manner of the first aspect, and the three-dimensional map data request comprises a map level and a model bounding box; determining the coordinates of the model center points of all building models surrounded by the model bounding boxes to obtain a model center point coordinate set; selecting a map data type meeting a preset map level range condition from the map data type set as a target map data type according to the map level and a map level range set corresponding to the map data type set; and sending the three-dimensional map data corresponding to the model center point coordinates in the model center point coordinate set as a return three-dimensional map data set to the client.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first generation unit, a determination unit, a second generation unit, a transmission unit, and a loading unit. The names of these units do not limit the unit itself in some cases, and for example, the first generation unit may also be described as "a unit that generates a model bounding box that encloses the building model within the map visual area" from the map visual area ".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (11)

1. A three-dimensional map data loading method, comprising:
generating a model bounding box which surrounds a building model in a map visible area according to the map visible area;
Determining map levels corresponding to the building models surrounded by the model bounding box based on the map visual area and the model bounding box;
generating a three-dimensional map data request based on the map hierarchy and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set characterizes each display granularity;
transmitting the three-dimensional map data request to an associated server;
and responding to the received returned three-dimensional map data set which is sent by the server and corresponds to the three-dimensional map data request, and loading the returned three-dimensional map data set, wherein the returned three-dimensional map data set corresponds to the map data type.
2. The method of claim 1, wherein prior to the sending the three-dimensional map data request to the associated server, the method further comprises:
generating a transformed model bounding box in response to detecting the map level transformation operation;
generating an updated three-dimensional map data request according to the transformed map level and the transformed model bounding box corresponding to the map level transformation operation, wherein the updated three-dimensional map data request corresponds to the map data type corresponding to the transformed map level in the map data type set.
3. A three-dimensional map data transmission method, comprising:
receiving a three-dimensional map data request sent by a client, wherein the three-dimensional map data request is generated by adopting the method of any one of claims 1-2, and the three-dimensional map data request comprises a map level and a model bounding box;
determining the coordinates of the model center points of all building models surrounded by the model bounding boxes to obtain a model center point coordinate set;
selecting a map data type meeting a preset map level range condition from the map data type set as a target map data type according to the map level and a map level range set corresponding to the map data type set;
and sending each three-dimensional map data which is respectively corresponding to each model center point coordinate in the model center point coordinate set as a return three-dimensional map data set to the client.
4. A method according to claim 3, wherein the selecting, from the set of map data types, a map data type satisfying a preset map level range condition as a target map data type according to the map level and a set of map level ranges corresponding to the set of map data types, comprises:
Determining a map level range including the map level in the map level range set as a target map level range;
responsive to the target map level range corresponding to a map data type characterizing a first display granularity, determining the map data type characterizing the first display granularity as a target map data type.
5. The method of claim 4, wherein the selecting, as the target map data type, a map data type satisfying a preset map level range condition from the set of map data types according to the map level and a set of map level ranges corresponding to the set of map data types, comprises:
and determining the map data type representing the second display granularity as a target map data type in response to the target map level range corresponding to the map data type representing the second display granularity, wherein the second display granularity is smaller than the first display granularity.
6. The method of claim 5, wherein the selecting, from the set of map data types, a map data type that satisfies a preset map level range condition as a target map data type according to the map level and a set of map level ranges corresponding to the set of map data types, comprises:
And determining the map data type representing the third display granularity as a target map data type in response to the target map level range corresponding to the map data type representing the third display granularity, wherein the third display granularity is smaller than the second display granularity.
7. A method according to claim 3, wherein said sending each three-dimensional map data in the three-dimensional map data set of map data types that are the target map data types and that respectively correspond to each model center point coordinate in the model center point coordinate set as a return three-dimensional map data set to the client comprises:
determining a model identifier corresponding to each model center point coordinate in the model center point coordinate set to obtain a model identifier set;
selecting map data types from the three-dimensional map data set as the target map data types according to a pre-constructed K-dimensional tree spatial index, wherein each three-dimensional map data with model identifications which are respectively identical to each model identification in the model identification set is used as a returned three-dimensional map data set, and each node in the K-dimensional tree spatial index consists of the model identifications;
And sending the returned three-dimensional map data set to the client.
8. A three-dimensional map data loading device applied to a client, comprising:
a first generation unit configured to generate a model bounding box that encloses a building model within a map visible area from the map visible area;
a determining unit configured to determine a map level corresponding to each building model surrounded by the model bounding box, based on the map visual area and the model bounding box;
a second generation unit configured to generate a three-dimensional map data request based on the map hierarchy and the model bounding box, wherein the three-dimensional map data request corresponds to a map data type corresponding to the map hierarchy in a preset map data type set, and the map data type set characterizes each display granularity;
a transmitting unit configured to transmit the three-dimensional map data request to an associated server;
and the loading unit is configured to load a return three-dimensional map data set corresponding to the three-dimensional map data request, which is sent by the server, in response to receiving the return three-dimensional map data set, wherein the return three-dimensional map data set corresponds to the map data type.
9. A three-dimensional map data transmitting device is applied to a server and comprises:
a receiving unit configured to receive a three-dimensional map data request sent by a client, wherein the three-dimensional map data request is generated by the method of any one of claims 1-2, the three-dimensional map data request including a map hierarchy and a model bounding box;
the determining unit is configured to determine the coordinates of the model center points of the building models surrounded by the model bounding boxes to obtain a model center point coordinate set;
a selection unit configured to select, as a target map data type, a map data type satisfying a preset map level range condition from among the map data type sets, according to the map level and a map level range set corresponding to the map data type set;
and the sending unit is configured to send each three-dimensional map data which is in the three-dimensional map data set, is of the target map data type, and corresponds to each model center point coordinate in the model center point coordinate set respectively to the client as a return three-dimensional map data set.
10. An electronic device, comprising:
One or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-2 or claims 3-7.
11. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-2 or claims 3-7.
CN202210421398.0A 2022-04-21 2022-04-21 Three-dimensional map data loading and transmitting method and device, electronic equipment and medium Pending CN116975479A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210421398.0A CN116975479A (en) 2022-04-21 2022-04-21 Three-dimensional map data loading and transmitting method and device, electronic equipment and medium
PCT/CN2023/079766 WO2023202245A1 (en) 2022-04-21 2023-03-06 Three-dimensional map data loading and sending method and apparatus, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210421398.0A CN116975479A (en) 2022-04-21 2022-04-21 Three-dimensional map data loading and transmitting method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN116975479A true CN116975479A (en) 2023-10-31

Family

ID=88419040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210421398.0A Pending CN116975479A (en) 2022-04-21 2022-04-21 Three-dimensional map data loading and transmitting method and device, electronic equipment and medium

Country Status (2)

Country Link
CN (1) CN116975479A (en)
WO (1) WO2023202245A1 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426596B (en) * 2011-11-03 2014-07-30 北京地拓科技发展有限公司 Map loading method and device
CN104867174B (en) * 2015-05-08 2018-02-23 腾讯科技(深圳)有限公司 A kind of three-dimensional map rendering indication method and system
US10984039B2 (en) * 2016-11-02 2021-04-20 Sap Se Hierarchical map visualizations of geo-enriched data
CN112035433B (en) * 2020-08-12 2024-03-26 华设设计集团股份有限公司 Method for converting BIM model into GIS model supporting hierarchical loading of large quantities
CN112347546A (en) * 2020-11-30 2021-02-09 久瓴(江苏)数字智能科技有限公司 BIM rendering method, device and computer-readable storage medium based on lightweight device
CN113112603B (en) * 2021-04-09 2024-05-17 北京沃东天骏信息技术有限公司 Method and device for optimizing three-dimensional model
CN113934958B (en) * 2021-12-17 2022-04-22 北京德风新征程科技有限公司 Page loading method and device, electronic equipment and computer readable medium
CN114004002B (en) * 2021-12-30 2022-04-15 天津市天房科技发展股份有限公司 Method and device for displaying high-precision construction model of sea under CIM platform

Also Published As

Publication number Publication date
WO2023202245A1 (en) 2023-10-26

Similar Documents

Publication Publication Date Title
CN111597466A (en) Display method and device and electronic equipment
CN109801354B (en) Panorama processing method and device
CN110765752B (en) Test question generation method and device, electronic equipment and computer readable storage medium
CN111652675A (en) Display method and device and electronic equipment
CN115600629A (en) Vehicle information two-dimensional code generation method, electronic device and computer readable medium
CN115908679A (en) Texture mapping method, device, equipment and storage medium
CN111798251A (en) Verification method and device of house source data and electronic equipment
CN115022106B (en) Group information processing method, device, equipment and medium
CN116975479A (en) Three-dimensional map data loading and transmitting method and device, electronic equipment and medium
CN113126985B (en) Method, apparatus, electronic device and computer readable medium for page rendering
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN111327472B (en) Method and device for acquiring target network
CN111597414B (en) Display method and device and electronic equipment
CN111680754B (en) Image classification method, device, electronic equipment and computer readable storage medium
CN110941683B (en) Method, device, medium and electronic equipment for acquiring object attribute information in space
CN113808238A (en) Animation rendering method and device, readable medium and electronic equipment
CN111367592B (en) Information processing method and device
CN113506356A (en) Drawing method and device of area map, readable medium and electronic equipment
CN111696214A (en) House display method and device and electronic equipment
CN112862110B (en) Model generation method and device and electronic equipment
CN114357348B (en) Display method and device and electronic equipment
WO2023029892A1 (en) Video processing method and apparatus, device and storage medium
CN111857879B (en) Data processing method, device, electronic equipment and computer readable medium
CN117688708B (en) Quick automatic modeling method, device, equipment and medium for cable channel equipment
CN114445596B (en) Three-dimensional model display method, device, 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