CN105354878B - The preparation method and device of a kind of electronic map data - Google Patents

The preparation method and device of a kind of electronic map data Download PDF

Info

Publication number
CN105354878B
CN105354878B CN201410419783.7A CN201410419783A CN105354878B CN 105354878 B CN105354878 B CN 105354878B CN 201410419783 A CN201410419783 A CN 201410419783A CN 105354878 B CN105354878 B CN 105354878B
Authority
CN
China
Prior art keywords
footprint
latitude
faces
subpoint
longitude 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.)
Active
Application number
CN201410419783.7A
Other languages
Chinese (zh)
Other versions
CN105354878A (en
Inventor
贾双成
朱玟征
叶旻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Pdager Mobility Inc
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 Pdager Mobility Inc filed Critical Pdager Mobility Inc
Priority to CN201410419783.7A priority Critical patent/CN105354878B/en
Publication of CN105354878A publication Critical patent/CN105354878A/en
Application granted granted Critical
Publication of CN105354878B publication Critical patent/CN105354878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present invention provides a kind of preparation method and device of electronic map data, and methods described includes:For any subtle three-dimensional model, subpoint of the shape point of the subtle three-dimensional model in latitude and longitude coordinates plane is obtained, and determine the tile where the subpoint;And for each FootPrint face in each tile where the subpoint, obtain the latitude and longitude coordinates of the shape point in the FootPrint faces;Detect the subtle three-dimensional model of subpoint composition perspective plane and the FootPrint faces latitude and longitude coordinates scope it is whether partly or entirely overlapping;If so, the height in the FootPrint faces is set to 0.The method according to the invention can automatic detection subtle three-dimensional model whether overlapped with FootPrint faces;Three-dimensional data making can be efficiently carried out, and improves the display effect of electronic map.

Description

The preparation method and device of a kind of electronic map data
Technical field
The present invention relates to the preparation method and device in electronic chart field, more particularly to a kind of electronic map data.
Background technology
Electronic three-dimensional map because it has higher identification, make one with electronic map can intuitively, true to nature enter Row interaction, enjoys user to favor.With the development of graph processing technique and correlation technique so that electronic three-dimensional map increasingly into It is ripe.Generally for such as building of the object in real world, by building the three-dimensional mould of the building in electronic three-dimensional map Type is shown.
In some electronic three-dimensional maps, a threedimensional model can be rendered by three-dimensional modeling data.It is generally three-dimensional Model data store be the multiple shape points for forming the threedimensional model data, by default rule by the shape of threedimensional model Shape point, which is attached, can render the threedimensional model.FootPrint (contour of building figure) data are in three-dimensional modeling data One kind, the FootPrint data are used to build some and have the FootPrint faces of height, have height by these FootPrint faces build a rough threedimensional model and are used to represent the object in real world, are such as rendered with FootPrint faces Into a cuboid to represent a mansion.
Generally, some other use can also be stored when being stored with FootPrint data in electronic three-dimensional map In the three-dimensional modeling data for rendering subtle three-dimensional model, this is used for the three-dimensional modeling data such as 3D for rendering subtle three-dimensional model Landmark (three-dimensional building thing) data.Wherein, 3D Landmark data are generally by manual manufacture, for rendering fine three Dimension module, the model display go out more fine three-dimensional building thing, can be very good to represent the shape of building, texture and material Matter etc., give vivid sensation true to nature.And under normal circumstances, because its is with high costs, in electronic three-dimensional map data, only The object for having minority has 3D Landmark models.
Generally, also can basis when going out subtle three-dimensional model according to 3D Landmark data renders in electronic three-dimensional map FootPrint data, render a FootPrint model.So, in electronic three-dimensional map, subtle three-dimensional model and Coincidence is had between FootPrint models, causes the display effect of electronic three-dimensional map can be very poor.
During three-dimensional data makes, in order to solve to be deposited between the model rendered according to different three-dimensional modeling datas Coincidence causes display effect difference the problem of, the usual number by manually deleting the FootPrint faces in some FootPrint models According to these FootPrint faces are the faces overlapped with subtle three-dimensional model.But because it uses manual operation, human cost is held high It is expensive, it is also possible to maloperation to be present.In addition, this method deletes the FootPrint data containing much information for display effect, In the presence of potential negative effect.Therefore, how during data creating, the data of electronic three-dimensional map are dealt carefully with, with Avoid the problem of causing display effect difference because of model coincidence when rendering being present, it appears very urgent.
The content of the invention
It is an object of the invention to provide a kind of preparation method of electronic map data and device, to overcome three in correlation technique Dimension module overlaps between may having the face of height with some, the problem of causing display effect difference.
The present invention provides a kind of preparation method of electronic map data, and contour of building figure is included for making The electronic map of FootPrint models and subtle three-dimensional model, including:
For any subtle three-dimensional model, the shape point of the subtle three-dimensional model is obtained in latitude and longitude coordinates plane Subpoint, and determine the tile where the subpoint;And
For each FootPrint face in each tile where the subpoint, from FootPrint data Obtain the latitude and longitude coordinates of the shape point in the FootPrint faces;
Detect the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces of the subpoint composition Whether coordinate range is partly or entirely overlapping;
When the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates range section or whole in the FootPrint faces When overlapping, the height in the FootPrint faces is set to 0.
The present invention provides a kind of producing device of electronic map data, and contour of building figure is included for making The electronic map of FootPrint models and subtle three-dimensional model, described device include:
First acquisition module, for for any subtle three-dimensional model, the shape point for obtaining the subtle three-dimensional model to exist Subpoint in latitude and longitude coordinates plane, and determine the tile where the subpoint;
Second acquisition module, for for each FootPrint face in each tile where the subpoint, The latitude and longitude coordinates of the shape point in the FootPrint faces are obtained from FootPrint data;
Detection module, for the perspective plane of the subtle three-dimensional model that detects subpoint composition and described Whether the latitude and longitude coordinates scope in FootPrint faces is partly or entirely overlapping;
Setup module, for when the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates in the FootPrint faces When range section or overlapping whole, the height in the FootPrint faces is set to 0.
The present invention at least has the advantages that:By detecting FootPrint faces and essence in latitude and longitude coordinates plane Whether the projection of thin threedimensional model has coincidence, if so, representing that the FootPrint faces overlap with subtle three-dimensional model, then should The height in FootPrint faces is arranged to 0.Due to when rendering subtle three-dimensional model, if the height in FootPrint faces is 0, The FootPrin faces will no longer be shown, so as to effectively prevent overlap between two models caused by display effect difference the problem of; In addition, going out the FootPrint faces overlapped with subtle three-dimensional model by automatic detection, and the height in the face is set to 0 automatically, in fact The now FootPrint data without the manually FootPrint faces that deletion overlaps with subtle three-dimensional model, are improved in data creating During data-handling efficiency, effectively avoid due to the problem of artificial incorrect operation is brought;In addition, the embodiment of the present invention also retains The FootPrint data in FootPrint faces, so as to effectively prevent because deleting FootPrint data containing much information, Existing potential negative effect.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not Can the limitation present invention.
Brief description of the drawings
Fig. 1 is the exemplary process diagram of the preparation method of electronic map data in the embodiment of the present invention;
Fig. 2 is the another exemplary flow chart of the preparation method of electronic map data in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the producing device of electronic map data in the embodiment of the present invention.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with Figure of description, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explain the present invention, and is not intended to limit the present invention, and in the case where not conflicting, this hair The feature in embodiment and embodiment in bright can be mutually combined.
The embodiment of the present invention provides a kind of preparation method of electronic map data, and FootPrint models are included for making With the electronic map of subtle three-dimensional model, this method can electronic map include a variety of data sources in the case of, handle across watt The three-dimensional modeling data (such as 3D Landmark data) for being used to render subtle three-dimensional model of piece, is applicable to arbitrary shape three The three-dimensional data of dimension module.
In technical scheme provided in an embodiment of the present invention, by subtle three-dimensional model to latitude and longitude coordinates plane (i.e. ground) Project, the latitude and longitude coordinates model in FootPrint faces and the perspective plane of subtle three-dimensional model is detected in latitude and longitude coordinates plane Enclose whether partly or entirely it is overlapping, if so, representing that the FootPrint faces overlap with subtle three-dimensional model, then by the FootPrint The height in face is arranged to 0 (i.e. the altitude information of the FootPrint faces in FootPrint data is 0).
The preparation method of the electronic map data in the embodiment of the present invention is described in detail below.
Embodiment one
As shown in figure 1, be the exemplary process diagram of the preparation method of electronic map data in the embodiment of the present invention, this method Including step 101- steps 104:
Step 101:For any subtle three-dimensional model, the shape point of the subtle three-dimensional model is obtained in latitude and longitude coordinates Subpoint in plane, and determine the tile where the subpoint.
Step 102:For each FootPrint face in each tile where the subpoint, from The latitude and longitude coordinates of the shape point in the FootPrint faces are obtained in FootPrint data.
Step 103:Detect the perspective plane of the subtle three-dimensional model of the subpoint composition and the FootPrint faces Latitude and longitude coordinates scope whether partly or entirely it is overlapping.
Step 104:When the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates scope portion in the FootPrint faces When dividing or be all overlapping, the height in the FootPrint faces is set to 0.
Wherein, in one embodiment, before step 101, when the threedimensional model number for rendering subtle three-dimensional model According to the FootPrint data, can be according to tile by the FootPrint numbers when not carrying out cutting storage according to tile Cut and stored respectively according to the three-dimensional modeling data, in order to be able to rapidly obtain subtle three-dimensional mould according to tile The shape point of type and obtains the latitude and longitude coordinates of the shape point in FootPrint faces in the subpoint of latitude and longitude coordinates plane.
Step 103 is described in detail below:
Step 103 can be performed as following four mode:
Mode one:
Subpoint is detected whether in FootPrint faces, specifically, step 103 can perform as step A1-A2:
Step A1:Judge whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the range of the latitude and longitude coordinates in FootPrint faces.
Wherein, when the latitude and longitude coordinates of subpoint are when on the side in FootPrint faces, the longitude and latitude of the subpoint can be considered as Coordinate is spent not in the range of the latitude and longitude coordinates in FootPrint faces.
Step A2:When the latitude and longitude coordinates of at least one subpoint in the subpoint are in the FootPrint faces When in the range of latitude and longitude coordinates, the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates in the FootPrint faces are determined Range section is all overlapping.
Wherein, when the latitude and longitude coordinates of the subpoint are not in the range of the latitude and longitude coordinates in the FootPrint faces When, determine the subtle three-dimensional model perspective plane and the FootPrint faces latitude and longitude coordinates scope it is completely not overlapping.
By detect in subpoint whether the latitude and longitude coordinates of at least one subpoint the FootPrint faces warp , will whether partly or complete to the latitude and longitude coordinates scope on the perspective plane of threedimensional model and FootPrint faces in the range of latitude coordinate Portion is overlapping, be reduced to point whether the detection in the range of latitude and longitude coordinates, so as to improve detection efficiency.
Further, in one embodiment, when the quantity of the shape point in the FootPrint faces is more than predetermined threshold value When, step A1 can perform as step B1-B2:
Step B1:The FootPrint faces are determined according to the latitude and longitude coordinates of the shape point in the FootPrint faces most Small Rectangular Bounding Volume coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, is put down in latitude and longitude coordinates The minimum rectangle of the latitude and longitude coordinates of all shape points comprising the FootPrint faces in face.
Wherein it is possible to the distance between two farthest shape points of distance in FootPrint faces, surrounded for minimum rectangle The length of box;Line is done to two shape points, with the both direction perpendicular to the line, in the FootPrint faces Two shape points farthest apart from the line are respectively found out in above-mentioned both direction, with two shape points farthest apart from the line To the line apart from sum, the width as minimum rectangle bounding box.
It should be noted that any can determine that the method for minimum rectangle bounding box is applied to this hair according to prior art Bright embodiment, is not limited herein.
Step B2:Judge whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the minimum rectangle bounding box coordinate range in FootPrint faces.
Above-mentioned steps A2, which can perform, is:When the latitude and longitude coordinates of at least one subpoint in the subpoint are described When in the minimum rectangle bounding box coordinate range in FootPrint faces, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
Wherein, when the latitude and longitude coordinates of the subpoint are not in the minimum rectangle bounding box seat in the FootPrint faces When in the range of mark, projecting with the latitude and longitude coordinates scope in the FootPrint faces completely not for the subtle three-dimensional model is determined It is overlapping.
It is by when the shape point in FootPrint faces is more than predetermined threshold value, whether subpoint is more in having for complexity Detection in the FootPrint faces on side, it is reduced to detect the latitude and longitude coordinates of subpoint whether in a simple rectangle Detection, when the shape point in FootPrint faces is more, can further improve detection efficiency.
Mode two:
The shape point in FootPrint faces is detected whether in perspective plane, specifically, step 103 can be performed as step C1- C3:
Step C1:According to the latitude and longitude coordinates of the subpoint, the minimum rectangle bounding box coordinate of the subpoint is determined Scope, wherein, the minimum rectangle bounding box of the subpoint refers to, all projections are included in latitude and longitude coordinates plane The minimum rectangle of the latitude and longitude coordinates of point.
Wherein, the determination method of the minimum rectangle bounding box of subpoint, surrounded with the minimum rectangle in above-mentioned FootPrint faces The determination method of box can be will not be repeated here with identical.
Step C2:Judge in the shape point in the FootPrint faces whether the latitude and longitude coordinates of at least one shape point In the minimum rectangle bounding box coordinate range of the subpoint.
Step C3:When the latitude and longitude coordinates of at least one shape point in the shape point in the FootPrint faces are described When in the minimum rectangle bounding box coordinate range of subpoint, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
Wherein, when the FootPrint faces shape point latitude and longitude coordinates not in the minimum rectangle of the subpoint When in bounding box coordinate range, the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates in the FootPrint faces are determined Scope is not completely overlapping.
Because the quantity of the generally shape point in FootPrint faces is with respect to the negligible amounts of subpoint, pass through detection Whether the latitude and longitude coordinates of the shape point in FootPrint faces can subtract in the minimum rectangle bounding box coordinate range of subpoint The quantity of the point detected less, so as to improve detection efficiency.
Mode three:
Whether detection faces are partly or entirely overlapping with face, specifically, step 103 can perform as step D1-D4:
Step D1:According to the latitude and longitude coordinates of the subpoint, the minimum rectangle bounding box coordinate of the subpoint is determined Scope, wherein, the minimum rectangle bounding box of the subpoint refers to, all projections are included in latitude and longitude coordinates plane The minimum rectangle of the latitude and longitude coordinates of point.
Step D2:The FootPrint faces are determined according to the latitude and longitude coordinates of the shape point in the FootPrint faces most Small Rectangular Bounding Volume coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, is put down in latitude and longitude coordinates The minimum rectangle of the latitude and longitude coordinates of all shape points comprising the FootPrint faces in face.
Step D3:Judge the minimum rectangle bounding box coordinate range of the subpoint and the minimum in the FootPrint faces Whether Rectangular Bounding Volume coordinate range is partly or entirely overlapping.
Step D4:When the minimum rectangle bounding box coordinate range of the subpoint and the minimum square in the FootPrint faces When shape bounding box coordinate range is partly or entirely overlapping, the perspective plane of the subtle three-dimensional model and the FootPrint are determined The latitude and longitude coordinates range section in face is all overlapping.
When the minimum rectangle bounding box coordinate range of the subpoint and the minimum rectangle bounding box in the FootPrint faces When coordinate range is not completely overlapping, determine that the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces are sat It is completely not overlapping to mark scope.
By detecting, whether two minimum rectangle bounding box coordinate ranges are partially or completely overlapping to be realized to subtle three-dimensional mould The perspective plane of type and the whether part or all of overlapping detection of the latitude and longitude coordinates scope in FootPrint faces, are reduced to two The detection of minimum rectangle bounding box coordinate range, can improve detection efficiency.
Mode four:
Whether detection line line intersects, specifically, to improve the accuracy of detection, step 103 can be performed as step E1- E2:
Step E1:Detect in the line of any two points of the subpoint whether at least exist a line with it is described Intersect at least one side in FootPrint faces.
Wherein, adjacent two shape point in FootPrint faces, a line in the FootPrint faces is formed.
Step E2:When line and the FootPrint in the line of any two points of the subpoint being at least present When at least one side in face is intersecting, determine that the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces are sat Mark range section or all overlapping.
Wherein, it is at least one with the FootPrint faces when being not present in the line of any two points of the subpoint The intersecting line in side, and when the subpoint does not have inclusion relation with the FootPrint faces, determine the subtle three-dimensional mould Type projection and the FootPrint faces latitude and longitude coordinates scope it is completely not overlapping, wherein, the subpoint with it is described There is inclusion relation to refer in FootPrint faces, and the latitude and longitude coordinates of the subpoint are all in the shape point in the FootPrint faces Latitude and longitude coordinates in the range of or the subpoint latitude and longitude coordinates all the FootPrint faces shape point longitude and latitude Outside coordinate range.
Wherein, the perspective plane of subtle three-dimensional model is probably an irregular shape, it may be possible to convex polygon, it is also possible to It is concave polygon.Whether intersected by the line for detecting subpoint with the side in FootPrint faces, you can be interpreted as according to fine The perspective plane of threedimensional model and the respective true form in FootPrint faces are detected, so as to improve the accurate of detection Property.
To sum up, the embodiment of the present invention in latitude and longitude coordinates plane by detecting FootPrint faces and subtle three-dimensional model Projection whether have coincidence, if so, representing that the FootPrint faces overlap with subtle three-dimensional model, then by the FootPrint faces Highly it is arranged to 0.Due to when rendering subtle three-dimensional model, if the height in FootPrint faces is 0, the FootPrin faces Will no longer be shown, so as to effectively prevent overlap between two models caused by display effect difference the problem of;In addition, by automatic The FootPrint faces overlapped with subtle three-dimensional model are detected, and the height in the face is set to 0 automatically, are realized without manually deleting Except the FootPrint data in the FootPrint faces overlapped with subtle three-dimensional model, the data during data creating are improved Treatment effeciency, effectively avoid due to the problem of artificial incorrect operation is brought;In addition, the embodiment of the present invention also retains FootPrint The FootPrint data in face, it is existing potential so as to effectively prevent because deleting the FootPrint data containing much information Negative effect.
Below by a simple embodiment, in the embodiment of the present invention, the preparation method of electronic map data is carried out Describe in detail.
Embodiment two
So that subtle three-dimensional model is by the 3D Landmark models of 3D Landmark data renders as an example, for fine three The subpoint of dimension module is handled across the situation of tile, and the preparation method of electronic map data in the embodiment of the present invention is carried out Describe in detail, as shown in Fig. 2 the method comprising the steps of 201- steps 210:
Step 201:FootPrint data and 3D Landmark data are cut and stored respectively according to tile.
Wherein, in one embodiment, FootPrint data can be stored according to the table structure shown in table 1.In table 1 " shape point sequence " is used for the latitude and longitude coordinates of shape point and the high number of degrees in the FootPrint faces for storing FootPrint faces According to;" tile information " in table 1, for representing the tile belonging to the FootPrint faces.
The FootPrint data storages of table 1 are illustrated
The storage organization of corresponding 3D Landmark data can be as shown in table 2, and " tile information " represents 3D in table 2 Tile belonging to Landmark models;" shape point sequence " is used for the longitude and latitude for storing the shape point of 3D Landmark models in table 2 Spend coordinate and altitude information.
The FootPrint data storages of table 2 are illustrated
ID (major key) Type Shape point sequence Tile information
a 3D Landmark A
b 3D Landmark A
c 3D Landmark A
d 3D Landmark A
Step 202:Cut from step 1 in the 3D Landmark data of storage, for any 3D in tile A Landmark models, obtain subpoint of the shape point of the 3D Landmark models in latitude and longitude coordinates plane.
Wherein, in one embodiment, one " projection " row can be increased on the basis of table 2, for storing 3D The subpoint of Landmark models.
Step 203:For each FootPrint face in tile A, the FootPrint numbers of storage are cut from step 1 In, the latitude and longitude coordinates of the shape point in the FootPrint faces are obtained.
The execution sequence of wherein step 203 is unrestricted, and step 203 can perform simultaneously with step 202, can also be in step Perform after rapid 201 and before step 202.
Step 204:Judge whether the quantity of the shape point in the FootPrint faces is more than predetermined threshold value, if otherwise performing Step 205, if then performing step 206.
Step 205:Judge whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the range of the latitude and longitude coordinates in FootPrint faces, if performing step 208, step 209 is performed if not.
Step 206:The FootPrint faces are determined according to the latitude and longitude coordinates of the shape point in the FootPrint faces Minimum rectangle bounding box coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, in latitude and longitude coordinates The minimum rectangle of the latitude and longitude coordinates of all shape points comprising the FootPrint faces in plane, performs step 207 afterwards.
Step 207:Judge whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the minimum rectangle bounding box coordinate range in FootPrint faces, if so, step 208 is performed, if it is not, performing step 209.
Step 208:The height in the FootPrint faces is set to 0.
Step 209:Judge whether at least one subpoint is in tile A adjacent tiles B in the subpoint, if It is step 210 to be performed, if otherwise terminating.
Wherein, step 209 is to be deposited to handle 3D Landmark projection across the situation of tile in one embodiment , therefore the execution sequence of the step can also be unrestricted, such as step 209 can perform after step 202.This Outside, when the subpoint of 3D Landmark models is across tile, the tile information of tile, is used for where can recording subpoint Which determine to detect tile according to the tile information.
Step 210:For each FootPrint face in tile B, if the FootPrint faces and 3D Landmark moulds When the latitude and longitude coordinates range section or overlapping whole on the perspective plane of type, the height in the FootPrint faces is set to 0.
Which it should be noted that can first determine to handle tile according to tile, it is determined that in the tile Which subtle three-dimensional model is handled;It can also first determine to handle which subtle three-dimensional model, and then according to this The subpoint of subtle three-dimensional model, it is determined that handling the tile where the subpoint, both the above method is applied to this Inventive embodiments, this is not limited.
A kind of producing device of electronic map data is also provided in the embodiment of the present invention, contour of building is included for making The electronic map of FootPrint models and subtle three-dimensional model is schemed, as shown in figure 3, the device includes:
First acquisition module 301, for for any subtle three-dimensional model, obtaining the shape point of the subtle three-dimensional model Subpoint in latitude and longitude coordinates plane, and determine the tile where the subpoint;
Second acquisition module 302, for for each FootPrint in each tile where the subpoint Face, the latitude and longitude coordinates of the shape point in the FootPrint faces are obtained from FootPrint data;
Detection module 303, for the perspective plane of the subtle three-dimensional model that detects subpoint composition and described Whether the latitude and longitude coordinates scope in FootPrint faces is partly or entirely overlapping;
Setup module 304, for being sat when the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces When marking range section or overlapping whole, the height in the FootPrint faces is set to 0.
Wherein, in one embodiment, the detection module 303 includes:
First judging unit, for judging whether the latitude and longitude coordinates of at least one subpoint are in institute in the subpoint In the range of the latitude and longitude coordinates for stating FootPrint faces;
First determining unit, for when the latitude and longitude coordinates of at least one subpoint in the subpoint are described When in the range of the latitude and longitude coordinates in FootPrint faces, the perspective plane of the subtle three-dimensional model and the FootPrint faces are determined Latitude and longitude coordinates range section or all it is overlapping.
Wherein, in one embodiment, first judging unit includes:
First face rectangle determination subelement, the quantity for the shape point when the FootPrint faces are more than predetermined threshold value When, the minimum rectangle bounding box in the FootPrint faces is determined according to the latitude and longitude coordinates of the shape point in the FootPrint faces Coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, comprising described in latitude and longitude coordinates plane The minimum rectangle of the latitude and longitude coordinates of all shape points in FootPrint faces;
Judgment sub-unit, for judging whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the minimum rectangle bounding box coordinate range in FootPrint faces;
The latitude and longitude coordinates that first determining unit is used to work as at least one subpoint in the subpoint are described When in the minimum rectangle bounding box coordinate range in FootPrint faces, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
Wherein, in one embodiment, the detection module includes:
First subpoint rectangle determining unit, for the latitude and longitude coordinates according to the subpoint, determines the subpoint Minimum rectangle bounding box coordinate range, wherein, the minimum rectangle bounding box of the subpoint refers to, in latitude and longitude coordinates plane The minimum rectangle of the interior latitude and longitude coordinates comprising all subpoints;
Second judging unit, in the shape point for judging the FootPrint faces whether at least one shape point Latitude and longitude coordinates are in the minimum rectangle bounding box coordinate range of the subpoint;
Second determining unit, for when the longitude and latitude of at least one shape point in the shape point in the FootPrint faces When coordinate is in the minimum rectangle bounding box coordinate range of the subpoint, perspective plane and the institute of the subtle three-dimensional model are determined State the latitude and longitude coordinates range section or all overlapping in FootPrint faces.
Wherein, in one embodiment, the detection module includes:
Second subpoint rectangle determining unit, for the latitude and longitude coordinates according to the subpoint, determines the subpoint Minimum rectangle bounding box coordinate range, wherein, the minimum rectangle bounding box of the subpoint refers to, in latitude and longitude coordinates plane The minimum rectangle of the interior latitude and longitude coordinates comprising all subpoints;
Second face rectangle determining unit, the latitude and longitude coordinates for the shape point according to the FootPrint faces determine institute The minimum rectangle bounding box coordinate range in FootPrint faces is stated, wherein, the minimum rectangle bounding box in the FootPrint faces is Refer to, the minimum rectangle of the latitude and longitude coordinates of all shape points comprising the FootPrint faces in latitude and longitude coordinates plane;
3rd judging unit, for judging the minimum rectangle bounding box coordinate range of the subpoint and described Whether the minimum rectangle bounding box coordinate range in FootPrint faces is partly or entirely overlapping;
3rd determining unit, for the minimum rectangle bounding box coordinate range when the subpoint and the FootPrint When the minimum rectangle bounding box coordinate range in face is partly or entirely overlapping, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. preparation method of electronic map data, for making comprising contour of building figure FootPrint models and finely The electronic map of threedimensional model, it is characterised in that methods described includes:
    For any subtle three-dimensional model, projection of the shape point of the subtle three-dimensional model in latitude and longitude coordinates plane is obtained Point, and determine the tile where the subpoint;And
    For each FootPrint face in each tile where the subpoint, obtained from FootPrint data The latitude and longitude coordinates of the shape point in the FootPrint faces;
    Detect the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates in the FootPrint faces of the subpoint composition Whether scope is partly or entirely overlapping;
    When the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates range section in the FootPrint faces or all overlapping When, the height in the FootPrint faces is set to 0.
  2. 2. according to the method for claim 1, it is characterised in that the subtle three-dimensional of the detection subpoint composition Whether the latitude and longitude coordinates scope in the perspective plane of model and the FootPrint faces is partly or entirely overlapping, including:
    Judge in the subpoint whether the latitude and longitude coordinates of at least one subpoint the FootPrint faces longitude and latitude In coordinate range;
    When at least one subpoint in the subpoint latitude and longitude coordinates the FootPrint faces latitude and longitude coordinates model When enclosing interior, the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates range section in the FootPrint faces or complete are determined Portion is overlapping.
  3. 3. according to the method for claim 2, it is characterised in that
    It is described whether extremely to judge in the subpoint when the quantity of the shape point in the FootPrint faces is more than predetermined threshold value The latitude and longitude coordinates of a rare subpoint in the range of the latitude and longitude coordinates in the FootPrint faces, including:
    The minimum rectangle for determining the FootPrint faces according to the latitude and longitude coordinates of the shape point in the FootPrint faces is surrounded Box coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, institute is included in latitude and longitude coordinates plane State the minimum rectangle of the latitude and longitude coordinates of all shape points in FootPrint faces;
    Judge in the subpoint whether the latitude and longitude coordinates of at least one subpoint the FootPrint faces minimum square In shape bounding box coordinate range;
    Longitude and latitude of the latitude and longitude coordinates for working as at least one subpoint in the subpoint in the FootPrint faces is sat When in the range of mark, the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates range section in the FootPrint faces are determined Or it is all overlapping, including:
    When at least one subpoint in the subpoint latitude and longitude coordinates the FootPrint faces minimum rectangle surround When in box coordinate range, the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates scope in the FootPrint faces are determined It is partly or entirely overlapping.
  4. 4. according to the method for claim 1, it is characterised in that the subtle three-dimensional of the detection subpoint composition Whether the latitude and longitude coordinates scope in the perspective plane of model and the FootPrint faces is partly or entirely overlapping, including:
    According to the latitude and longitude coordinates of the subpoint, the minimum rectangle bounding box coordinate range of the subpoint is determined, wherein, institute The minimum rectangle bounding box for stating subpoint refers to that the longitude and latitude comprising all subpoints is sat in latitude and longitude coordinates plane Target minimum rectangle;
    Judge whether the latitude and longitude coordinates of at least one shape point are in the subpoint in the shape point in the FootPrint faces Minimum rectangle bounding box coordinate range in;
    When at least one shape point in the shape point in the FootPrint faces latitude and longitude coordinates the subpoint minimum When in Rectangular Bounding Volume coordinate range, the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces are determined Coordinate range is partly or entirely overlapping.
  5. 5. according to the method for claim 1, it is characterised in that the subtle three-dimensional of the detection subpoint composition Whether the latitude and longitude coordinates scope in the perspective plane of model and the FootPrint faces is partly or entirely overlapping, including:
    According to the latitude and longitude coordinates of the subpoint, the minimum rectangle bounding box coordinate range of the subpoint is determined, wherein, institute The minimum rectangle bounding box for stating subpoint refers to that the longitude and latitude comprising all subpoints is sat in latitude and longitude coordinates plane Target minimum rectangle;
    The minimum rectangle for determining the FootPrint faces according to the latitude and longitude coordinates of the shape point in the FootPrint faces is surrounded Box coordinate range, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, institute is included in latitude and longitude coordinates plane State the minimum rectangle of the latitude and longitude coordinates of all shape points in FootPrint faces;
    Judge that the minimum rectangle bounding box coordinate range of the subpoint and the minimum rectangle bounding box in the FootPrint faces are sat Whether partly or entirely overlapping mark scope;
    When the minimum rectangle bounding box coordinate range of the subpoint and the minimum rectangle bounding box coordinate in the FootPrint faces When range section or overlapping whole, determine that the perspective plane of the subtle three-dimensional model and the longitude and latitude in the FootPrint faces are sat Mark range section or all overlapping.
  6. A kind of 6. producing device of electronic map data, for making comprising contour of building figure FootPrint models and finely The electronic map of threedimensional model, it is characterised in that described device includes:
    First acquisition module, for for any subtle three-dimensional model, obtaining the shape point of the subtle three-dimensional model in longitude and latitude The subpoint spent in coordinate plane, and determine the tile where the subpoint;
    Second acquisition module, for for each FootPrint face in each tile where the subpoint, from The latitude and longitude coordinates of the shape point in the FootPrint faces are obtained in FootPrint data;
    Detection module, the perspective plane of the subtle three-dimensional model formed for detecting the subpoint and the FootPrint Whether the latitude and longitude coordinates scope in face is partly or entirely overlapping;
    Setup module, for when the perspective plane of the subtle three-dimensional model and the latitude and longitude coordinates scope in the FootPrint faces When partly or entirely overlapping, the height in the FootPrint faces is set to 0.
  7. 7. device according to claim 6, it is characterised in that the detection module includes:
    First judging unit, for judging whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the range of the latitude and longitude coordinates in FootPrint faces;
    First determining unit, for when the latitude and longitude coordinates of at least one subpoint in the subpoint are described When in the range of the latitude and longitude coordinates in FootPrint faces, the perspective plane of the subtle three-dimensional model and the FootPrint faces are determined Latitude and longitude coordinates range section or all it is overlapping.
  8. 8. device according to claim 7, it is characterised in that first judging unit includes:
    First face rectangle determination subelement, when the quantity for the shape point when the FootPrint faces is more than predetermined threshold value, root The minimum rectangle bounding box coordinate in the FootPrint faces is determined according to the latitude and longitude coordinates of the shape point in the FootPrint faces Scope, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, comprising described in latitude and longitude coordinates plane The minimum rectangle of the latitude and longitude coordinates of all shape points in FootPrint faces;
    Judgment sub-unit, for judging whether the latitude and longitude coordinates of at least one subpoint are described in the subpoint In the minimum rectangle bounding box coordinate range in FootPrint faces;
    First determining unit, for when the latitude and longitude coordinates of at least one subpoint in the subpoint are described When in the minimum rectangle bounding box coordinate range in FootPrint faces, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
  9. 9. device according to claim 6, it is characterised in that the detection module includes:
    First subpoint rectangle determining unit, for the latitude and longitude coordinates according to the subpoint, determines the subpoint most Small Rectangular Bounding Volume coordinate range, wherein, the minimum rectangle bounding box of the subpoint refers to, is wrapped in latitude and longitude coordinates plane The minimum rectangle of latitude and longitude coordinates containing all subpoints;
    Second judging unit, in the shape point for judging the FootPrint faces whether the longitude and latitude of at least one shape point Coordinate is spent in the minimum rectangle bounding box coordinate range of the subpoint;
    Second determining unit, for when the latitude and longitude coordinates of at least one shape point in the shape point in the FootPrint faces When in the minimum rectangle bounding box coordinate range of the subpoint, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
  10. 10. device according to claim 6, it is characterised in that the detection module includes:
    Second subpoint rectangle determining unit, for the latitude and longitude coordinates according to the subpoint, determines the subpoint most Small Rectangular Bounding Volume coordinate range, wherein, the minimum rectangle bounding box of the subpoint refers to, is wrapped in latitude and longitude coordinates plane The minimum rectangle of latitude and longitude coordinates containing all subpoints;
    Second face rectangle determining unit, for described in the latitude and longitude coordinates determination of the shape point according to the FootPrint faces The minimum rectangle bounding box coordinate range in FootPrint faces, wherein, the minimum rectangle bounding box in the FootPrint faces refers to, The minimum rectangle of the latitude and longitude coordinates of all shape points comprising the FootPrint faces in latitude and longitude coordinates plane;
    3rd judging unit, for the minimum rectangle bounding box coordinate range for judging the subpoint and the FootPrint faces Minimum rectangle bounding box coordinate range whether partly or entirely it is overlapping;
    3rd determining unit, for the minimum rectangle bounding box coordinate range when the subpoint and the FootPrint faces When minimum rectangle bounding box coordinate range is partly or entirely overlapping, the perspective plane of the subtle three-dimensional model and described is determined The latitude and longitude coordinates range section in FootPrint faces is all overlapping.
CN201410419783.7A 2014-08-22 2014-08-22 The preparation method and device of a kind of electronic map data Active CN105354878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410419783.7A CN105354878B (en) 2014-08-22 2014-08-22 The preparation method and device of a kind of electronic map data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410419783.7A CN105354878B (en) 2014-08-22 2014-08-22 The preparation method and device of a kind of electronic map data

Publications (2)

Publication Number Publication Date
CN105354878A CN105354878A (en) 2016-02-24
CN105354878B true CN105354878B (en) 2018-03-30

Family

ID=55330845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410419783.7A Active CN105354878B (en) 2014-08-22 2014-08-22 The preparation method and device of a kind of electronic map data

Country Status (1)

Country Link
CN (1) CN105354878B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105894579A (en) * 2016-03-30 2016-08-24 天脉聚源(北京)科技有限公司 Method and device for displaying data
CN105894583A (en) * 2016-03-30 2016-08-24 天脉聚源(北京)科技有限公司 Method and device for displaying data
CN105844685A (en) * 2016-03-30 2016-08-10 天脉聚源(北京)科技有限公司 Method and device for displaying data
CN109978999B (en) * 2017-12-27 2023-02-28 浙江宇视科技有限公司 Coordinate calibration method and device and terminal equipment
CN109712251A (en) * 2018-12-13 2019-05-03 成都四方伟业软件股份有限公司 A kind of abstract and tool is as the three-dimensional data of combination gets system ready and gets method ready
CN110942522B (en) * 2019-10-14 2024-04-16 北京奇艺世纪科技有限公司 Processing method and device for judging overlap between models

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763657A (en) * 2008-10-10 2010-06-30 新奥特(北京)视频技术有限公司 Three-dimensional terrain display method for video production
CN102216959A (en) * 2008-11-19 2011-10-12 苹果公司 Techniques for manipulating panoramas

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5883673B2 (en) * 2012-02-09 2016-03-15 株式会社ジオ技術研究所 Point designation system in 3D map

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763657A (en) * 2008-10-10 2010-06-30 新奥特(北京)视频技术有限公司 Three-dimensional terrain display method for video production
CN102216959A (en) * 2008-11-19 2011-10-12 苹果公司 Techniques for manipulating panoramas

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Field Report on the Modeling of 3D Landmarks in Scholar Projects;Frank Steinicke等;《Proceedings of the IEEE Virtual Reatity Workshop on Virtual CityScapes:Key Research Issues in Modeling Large-Scale Immersive》;20081231;第1-2页 *
Footprint-Based 3D Generalization of Building Groups for Virtual City Visualization;Shuang He等;《GEOProcessing 2012:The Fourth International Conference on Advanced Geographic Information Systems, Applications,and Services》;20121231;第177-182页 *
基于ArcGlobe的城市三维GIS研究与实现;毛健等;《安徽农业科学》;20121231;第40卷(第1期);第237-239页 *

Also Published As

Publication number Publication date
CN105354878A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105354878B (en) The preparation method and device of a kind of electronic map data
CN103761397B (en) Three-dimensional model slice for surface exposure additive forming and projection plane generating method
CN106934826B (en) Rock slope structure refined modeling and block identification method
US10318654B2 (en) Slicing and/or texturing for three-dimensional printing
US11574438B2 (en) Generating three-dimensional virtual scene
US9581992B2 (en) Method and apparatus for a cutting process automatic generation tool of CAM
CN108267154B (en) Map display method and device
CN107610131A (en) A kind of image cropping method and image cropping device
CN104504760B (en) The method and system of real-time update 3-D view
CN103279989A (en) Three-dimensional laser imaging system planar point cloud data triangularization processing method
CN107622530B (en) Efficient and robust triangulation network cutting method
EP2564377A1 (en) Systems and methods for primitive intersection in ray tracing
CN109410213A (en) Polygon pel method of cutting out, computer readable storage medium, electronic equipment based on bounding box
CN107248142A (en) A kind of cultural relic fragments method for automatically split-jointing
CN111241610A (en) Three-dimensional modeling method, three-dimensional modeling device, computing equipment and storage medium
CN104915053A (en) Position determining method and device for interface controls
CN108744520B (en) Method and device for determining placement position of game model and electronic equipment
CN114290660A (en) Curved surface layered 3D printing method and system
CN106355636B (en) The processing method of water body grid in the rendering of virtual reality three-dimensional waterbody
CN113012259A (en) Method for filling concave polygon based on triangulation algorithm
CN108038900A (en) Oblique photograph model monomerization approach, system and computer-readable recording medium
CN104680578A (en) BIM-based axis labeling method and system
CN107393019B (en) Particle-based cloth simulation method and device
CN112560126B (en) Data processing method, system and storage medium for 3D printing
CN105205206A (en) Seeking method for intersection sections of complex planar chips

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181210

Address after: 100102 7, first opening Plaza, 10 Fu Fu Street, Wangjing, Chaoyang District, Beijing.

Patentee after: Gaode Software Co., Ltd.

Address before: 100081 Beijing Haidian District Suzhou Street 3 15 15 1502

Patentee before: PDAger Mobility Inc.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200508

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 10102 First Opening Plaza, No. 10 Furong Street, Wangjing, Chaoyang District, Beijing, 7th Floor

Patentee before: AUTONAVI SOFTWARE Co.,Ltd.

TR01 Transfer of patent right