CN113516710A - Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium - Google Patents

Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113516710A
CN113516710A CN202110816691.2A CN202110816691A CN113516710A CN 113516710 A CN113516710 A CN 113516710A CN 202110816691 A CN202110816691 A CN 202110816691A CN 113516710 A CN113516710 A CN 113516710A
Authority
CN
China
Prior art keywords
projection
zone
band
reference point
geographic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110816691.2A
Other languages
Chinese (zh)
Other versions
CN113516710B (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.)
Heduoqianmo Technology Beijing Co ltd
Original Assignee
Heduoqianmo Technology Beijing 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 Heduoqianmo Technology Beijing Co ltd filed Critical Heduoqianmo Technology Beijing Co ltd
Priority to CN202110816691.2A priority Critical patent/CN113516710B/en
Publication of CN113516710A publication Critical patent/CN113516710A/en
Application granted granted Critical
Publication of CN113516710B publication Critical patent/CN113516710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • 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

Abstract

The embodiment of the disclosure discloses a coordinate positioning method, a coordinate positioning device, an electronic device and a computer readable medium. One embodiment of the method comprises: creating a buffer area of a boundary line of the target projection zone and the adjacent projection zone; for each cross-band distributed geographic element corresponding to a buffer, performing the following steps: projecting the geographic elements in a target projection zone and an adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element; for each cross-band distributed geographic element corresponding to the buffer zone, determining a reference point coordinate sequence of the geographic element under the positioning projection band number in response to the positioning projection band number being the same as the target projection band number or the adjacent projection band number of the geographic element. This embodiment reduces the degree of distortion of the geographic element projection results.

Description

Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a coordinate positioning method and apparatus, an electronic device, and a computer-readable medium.
Background
Coordinate positioning, i.e. coordinate projection transformation, is the transformation of spherical coordinates into coordinates in another coordinate system. Currently, when positioning spherical coordinates of a geographic element, the following methods are generally adopted: converting the spherical coordinates of each geographic element by adopting a middle projection zone spanning a research area; or converting the spherical coordinates into coordinates in a geocentric geostationary coordinate system.
However, when the spherical coordinates of the geographic elements are located in the above manner, the following technical problems often exist:
firstly, when the intermediate projection zone spanning the research area is adopted to convert the spherical coordinates of all the geographic elements, the projection result has larger deformation degree for the geographic elements which are far away from the central meridian of the intermediate projection zone in the research area;
secondly, when the spherical coordinates are converted into coordinates in the geocentric/geostationary coordinate system, the two-dimensional coordinates need to be switched to three-dimensional coordinates, which results in the waste of computing resources of the computing equipment.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary 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 coordinate locating methods, apparatuses, electronic devices and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a coordinate locating method, the method comprising: creating a buffer area of an interface line of a target projection area and an adjacent projection area based on a preset buffer area radius, wherein the target projection area and the adjacent projection area are projection areas under a target projection coordinate system, and the adjacent projection area corresponds to the target projection area; for each cross-band distributed geographic element corresponding to the above buffer, performing the following steps: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element; and for each geographical element which is distributed across the zones and corresponds to the buffer area, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element.
In a second aspect, some embodiments of the present disclosure provide a coordinate locating apparatus comprising: a creating unit configured to create a buffer area of an intersection line of a target projection area and a neighboring projection area based on a preset buffer area radius, wherein the target projection area and the neighboring projection area are projection areas in a target projection coordinate system, and the neighboring projection area corresponds to the target projection area; an execution unit configured to execute, for each cross-band distributed geographic element corresponding to the buffer, the following steps: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element; and the determining unit is configured to respond to that the positioning projection band number of the received positioning point is the same as the target projection band number or the adjacent projection band number of the geographic element for each geographic element distributed across bands corresponding to the buffer area, and determine a reference point coordinate sequence of the geographic element under the positioning projection band number according to the target projection band reference point coordinate sequence or the adjacent projection band reference point coordinate sequence of the geographic element.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the coordinate positioning method of some embodiments of the present disclosure, the degree of deformation of the geographic element projection result is reduced. Specifically, the reason why the degree of deformation of the result of the projection of the geographic element is large is that: when the intermediate projection zone spanning the research area is adopted to convert the spherical coordinates of each geographic element, the projection result has larger deformation degree for the geographic elements which are far away from the central meridian of the intermediate projection zone in the research area. Based on this, the coordinate positioning method of some embodiments of the present disclosure first creates a buffer area of the boundary line between the target projection zone and the adjacent projection zone based on the preset buffer area radius. The target projection zone and the adjacent projection zone are projection zones under a target projection coordinate system, and the adjacent projection zones correspond to the target projection zones. Thus, the created buffer can be used as a reference area for determining the geographic elements to be projected twice. Then, for each cross-band distributed geographic element corresponding to the above buffer, the following steps are performed: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; and determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element. Thus, the cross-band geographic elements in the buffer can be projected twice, and the reference point coordinate sequences of the two projections can be directly read. And finally, for each geographical element which is distributed across the zones and corresponds to the buffer area, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element. Therefore, the reference point coordinate sequence of the geographic element to be read can be determined from the reference point coordinate sequences projected twice according to the positioning projection band number of the positioning point. Also because each geographic element is projected under the projection zone in which the geographic element is located, such that the geographic element is closer to the central meridian of the projection zone. And further reduces the deformation degree of the geographic element projection result.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic illustration of one application scenario of a coordinate locating method according to some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a coordinate locating method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of a coordinate locating method according to the present disclosure;
FIG. 4 is a schematic structural diagram of some embodiments of a coordinate locating device according to the present disclosure;
FIG. 5 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 is to be understood that the 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 for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the 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 coordinate locating method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may create a buffer 103 of the boundary line of the target projection zone and the adjacent projection zone based on a preset buffer radius 102. The target projection zone and the adjacent projection zone are projection zones under a target projection coordinate system, and the adjacent projection zones correspond to the target projection zones. Then, the computing device 101 may perform the following steps for each cross-band distributed geographic element (e.g., geographic element 104) corresponding to the above-described buffer 103: projecting the geographic element 104 in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence 105 and an adjacent projection zone reference point coordinate sequence 106 of the geographic element 104; determining the band number of the target projection band as the target projection band number 107 of the geographic element 104; the zone number of the adjacent projected zone is determined as the adjacent projected zone number 108 of the geographic element 104. Finally, for each cross-band distributed geographic element (e.g., geographic element 104) corresponding to the buffer 103, the computing device 101 may determine, from the target projection band reference point coordinate sequence 105 or the adjacent projection band reference point coordinate sequence 106 of the geographic element 104, a reference point coordinate sequence 110 of the geographic element 104 under the positioning projection band reference point 109 in response to the received positioning projection band number 109 of the positioning point being the same as the target projection band number 107 or the adjacent projection band reference number 108 of the geographic element.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple 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 enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And 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 implementation needs dictate.
With continued reference to FIG. 2, a flow 200 of some embodiments of a coordinate locating method according to the present disclosure is shown. The process 200 of the coordinate locating method includes the following steps:
step 201, creating a buffer area of the boundary line between the target projection area and the adjacent projection area based on the preset buffer area radius.
In some embodiments, an executing body of the coordinate location method (e.g., computing device 101 shown in fig. 1) may create a buffer of the boundary lines of the target projection zone and the adjacent projection zones based on a preset buffer radius. The preset buffer area radius may be a preset radius for creating a buffer area around the geospatial target. The buffer area may be an influence range or a service range of the geospatial object, and specifically, the buffer area is a polygon with a width equal to the radius of the preset buffer area, around a point, a line, or a plane entity. The target projection zone and the adjacent projection zone may be projection zones in a target projection coordinate system. The target projection coordinate system may be a 6-degree banded UTM (Universal Transverse Mercator) coordinate system. The target projection zone may be a projection zone in each of the projection zones after 6-degree banding, which needs to be projected currently. It is understood that the executing entity may sequentially use the respective projection bands after the 6-degree division as the target projection band to project the geographic elements under each projection band. The geographic element may be a line or a plane element in a geographic space. The above-mentioned geographic elements may also be point elements in geographic space. The adjacent projection zone corresponds to the target projection zone. The adjacent projection zone may be a projection zone next to the target projection zone among projection zones that are 6 degrees divided. Thus, the created buffer can be used as a reference area for determining the geographic elements to be projected twice.
Step 202, for each cross-band distributed geographic element corresponding to a buffer, performing the following steps:
step 2021, projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element.
In some embodiments, the executing entity may first project the geographic element on the target projection zone to obtain a target projection zone reference point coordinate sequence of the geographic element. Then, the execution subject may project the geographic element in the adjacent projection zone to obtain a reference point coordinate sequence of the adjacent projection zone of the geographic element. Here, the projection mode is a projection in which the spherical coordinates of the geographic element are projected on the target projection coordinate system. It will be appreciated that when the geographic element is a point element, there is only one reference point coordinate in the target projection strip reference point coordinate sequence and the adjacent projection strip reference point coordinate sequence. The geographical elements distributed across the band corresponding to the buffer area may be geographical elements distributed across the band within the buffer area.
Step 2022, determine the band number of the target projection band as the target projection band number of the geographic element.
In some embodiments, the execution subject may determine the band number of the target projection band as the target projection band number of the geographic element. In practice, the execution body may add a target projection band number field to the object corresponding to the geographic element, and determine the band number of the target projection band as the field value of the target projection band number field.
At step 2023, the band number of the adjacent projection band is determined as the adjacent projection band number of the geographic element.
In some embodiments, the execution subject may determine the band number of the adjacent projection band as the adjacent projection band number of the geographic element. In practice, the execution body may add a neighboring projection zone number field to the object corresponding to the geographic element, and determine a zone number of the neighboring projection zone as a field value of the neighboring projection zone number field.
Optionally, the step may further include determining a north-south hemisphere identifier of the geographic element according to the target projection coordinate sequence with the reference point. The southern hemisphere identifier may be an identifier that characterizes the geographic element as being in a southern hemisphere or a northern hemisphere, or spanning the southern hemisphere and the northern hemisphere. For example, the southern-northern hemisphere identifier may be "Y" characterizing the geographic element in the southern hemisphere. When the northern and southern hemispheres are identified as "N", the above geographic elements are characterized as being in the northern hemisphere. When the north-south hemisphere is labeled "C", the geographic elements are characterized as spanning the north-south hemisphere.
Through step 202, two projections may be performed on the cross-band geographic elements in the buffer, and the reference point coordinate sequences of the two projections may be directly read.
Step 203, for each geographic element distributed across the zone corresponding to the buffer zone, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographic element, and determining a reference point coordinate sequence of the geographic element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographic element.
In some embodiments, for each of the geographic elements distributed across the bands corresponding to the buffer, the execution body may determine, in response to the received location projection band number of the location point being the same as the target projection band number or the adjacent projection band number of the geographic element, a reference point coordinate sequence of the geographic element under the location projection band number according to the target projection band reference point coordinate sequence or the adjacent projection band reference point coordinate sequence of the geographic element. The positioning point may be a received positioning coordinate of the vehicle. For example, the location point may be a GPS location point. The positioning projection band number may be a band number of a projection band where the positioning point is located.
In practice, the execution main body may determine, in response to that the received positioning projection band number of the positioning point is the same as the target projection band number of the geographic element, a reference point coordinate sequence of the geographic element under the positioning projection band number according to the target projection band reference point coordinate sequence of the geographic element. For example, the execution subject may select, from the target projection zone reference point coordinate sequence of the geographic element, target projection zone reference point coordinates under the target projection zone as reference point coordinates of the geographic element under the positioning projection zone number to obtain a reference point coordinate sequence.
The execution main body can also respond that the received positioning projection band number of the positioning point is the same as the adjacent projection band number of the geographic element, and determine the reference point coordinate sequence of the geographic element under the positioning projection band number according to the adjacent projection band reference point coordinate sequence of the geographic element. For example, the execution subject may select, from the adjacent projection zone reference point coordinate sequence of the geographic element, an adjacent projection zone reference point coordinate under the adjacent projection zone as a reference point coordinate of the geographic element under the positioning projection zone number to obtain a reference point coordinate sequence.
Optionally, in response to determining that the positioning projection band number is the same as the target projection band number of the geographic element and that the positioning hemispherical south-north identifier of the positioning point is the same as the hemispherical south-north identifier of the geographic element, selecting the target projection band reference point coordinates under the target projection band from the target projection band reference point coordinate sequence of the geographic element as the reference point coordinates of the geographic element under the positioning projection band number to obtain a reference point coordinate sequence.
Optionally, in response to determining that the positioning projection band number is the same as the adjacent projection band number of the geographic element and that the positioning hemispherical south-north mark of the positioning point is the same as the hemispherical south-north mark of the geographic element, selecting an adjacent projection band reference point coordinate under the adjacent projection band from an adjacent projection band reference point coordinate sequence of the geographic element as a reference point coordinate of the geographic element under the positioning projection band number to obtain a reference point coordinate sequence.
Therefore, the reference point coordinate sequence of the geographic element to be read can be determined from the reference point coordinate sequences projected twice according to the positioning projection band number of the positioning point.
The above embodiments of the present disclosure have the following advantages: by the coordinate positioning method of some embodiments of the present disclosure, the degree of deformation of the geographic element projection result is reduced. Specifically, the reason why the degree of deformation of the result of the projection of the geographic element is large is that: when the intermediate projection zone spanning the research area is adopted to convert the spherical coordinates of each geographic element, the projection result has larger deformation degree for the geographic elements which are far away from the central meridian of the intermediate projection zone in the research area. Based on this, the coordinate positioning method of some embodiments of the present disclosure first creates a buffer area of the boundary line between the target projection zone and the adjacent projection zone based on the preset buffer area radius. The target projection zone and the adjacent projection zone are projection zones under a target projection coordinate system, and the adjacent projection zones correspond to the target projection zones. Thus, the created buffer can be used as a reference area for determining the geographic elements to be projected twice. Then, for each cross-band distributed geographic element corresponding to the above buffer, the following steps are performed: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; and determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element. Thus, the cross-band geographic elements in the buffer can be projected twice, and the reference point coordinate sequences of the two projections can be directly read. And finally, for each geographical element which is distributed across the zones and corresponds to the buffer area, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element. Therefore, the reference point coordinate sequence of the geographic element to be read can be determined from the reference point coordinate sequences projected twice according to the positioning projection band number of the positioning point. Also because each geographic element is projected under the projection zone in which the geographic element is located, such that the geographic element is closer to the central meridian of the projection zone. And further reduces the deformation degree of the geographic element projection result.
With further reference to FIG. 3, a flow 300 of further embodiments of a coordinate locating method is shown. The process 300 of the coordinate locating method includes the following steps:
step 301, creating a buffer area of the boundary line between the target projection area and the adjacent projection area based on the preset buffer area radius.
Step 302, for each cross-band distributed geographic element corresponding to a buffer, performing the following steps:
and step 3021, projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element.
And step 3022, determining the band number of the target projection band as the target projection band number of the geographic element.
Step 3023, determining the zone number of the adjacent projection zone as the adjacent projection zone number of the geographic element.
And 303, for each geographical element which is distributed across the zone and corresponds to the buffer zone, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element.
In some embodiments, the specific implementation of steps 301 and 303 and the technical effect brought by the implementation can refer to steps 201 and 203 in the embodiments corresponding to fig. 2, which are not described herein again.
And step 304, determining each geographic element which is not distributed across the zones under the target projection zone and the adjacent projection zones as the geographic element distributed in the same zone to obtain a geographic element set distributed in the same zone.
In some embodiments, an executing entity (e.g., the computing device 101 shown in fig. 1) of the coordinate location method may determine each geographic element that is not distributed across the zones in the target projection zone and the adjacent projection zones as the same-zone distributed geographic elements, resulting in the same-zone distributed set of geographic elements.
Step 305, for each same-zone distributed geographic element in the same-zone distributed geographic element set, executing the following processing steps:
step 3051, projecting the geographic elements distributed in the same zone in a projection zone corresponding to the geographic elements distributed in the same zone to obtain a reference point coordinate sequence of the geographic elements distributed in the same zone.
In some embodiments, the executing subject performs projection by projection in the target projection coordinate system. The target projection coordinate system may be a 6-degree banded UTM (Universal Transverse Mercator) coordinate system.
Step 3052, determining the band number of the projection band corresponding to the geographic element with the distribution as the target projection band number of the geographic element with the distribution.
In some embodiments, the execution subject may determine a band number of the projection band corresponding to the geographic element with the same distribution as a target projection band number of the geographic element with the same distribution.
Step 3053, determining the preset numerical value as the adjacent projection band number of the geographic elements distributed in the same band.
In some embodiments, the execution subject may determine the preset value as an adjacent projection zone number of the geographic elements distributed in the same zone. The preset value may be any value greater than the total number of projection bands in the target projection coordinate system. For example, the preset value may be 999.
And step 306, generating a vehicle running track corresponding to the positioning point according to the reference point coordinate sequence and the target point of each geographic element under the positioning projection zone corresponding to the positioning projection zone number.
In some embodiments, the execution subject may generate a driving track of the vehicle corresponding to the positioning point according to a reference point coordinate sequence of each geographic element under the positioning projection zone corresponding to the positioning projection zone number. The sum target point may be a preset point coordinate of the destination. In practice, the executing entity may generate the driving trajectory of the vehicle corresponding to the positioning point according to the reference point coordinate sequence and the target point position of each geographic element through a trajectory planning algorithm (e.g., Dijkstra algorithm, a-star algorithm, RRT (Random Tree) algorithm).
And 307, controlling the vehicle to run according to the running track.
In some embodiments, the execution body may control the vehicle to run according to the running track. In practice, the executing body may control the vehicle to travel along the travel track.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the process 200 of the coordinate locating method in some embodiments corresponding to fig. 3 represents the step of controlling the vehicle to run. Therefore, the solutions described in the embodiments can determine the reference point coordinate sequence of the pre-transformed geographic element according to the positioning projection band corresponding to the positioning point. And then determining the running track of the vehicle corresponding to the positioning point according to the determined reference point coordinate sequence so as to control the running of the vehicle. Due to the fact that the deformation degree of the projection result of the determined geographic elements is small, the generated driving track is accurate, and the matching degree of the positioning points and the driving track in the driving process of the vehicle is improved. In addition, step 301-305 and the related content serve as an invention point of the embodiment of the present disclosure, and solve the technical problem mentioned in the background art that "when the spherical coordinates are converted into coordinates in the geocentric-geostationary coordinate system, the two-dimensional coordinates need to be switched to the three-dimensional coordinates, which results in wasting computing resources of the computing device". And the two-dimensional coordinates do not need to be switched to the three-dimensional coordinates in advance, so that computational resources of the computing equipment are saved.
With further reference to fig. 4, as an implementation of the methods illustrated in the above figures, the present disclosure provides some embodiments of a coordinate locating apparatus, which correspond to those illustrated in fig. 2, and which may be particularly applicable in various electronic devices.
As shown in FIG. 4, the coordinate locating device 400 of some embodiments includes: a creation unit 401, an execution unit 402 and a determination unit 403. Wherein the creating unit 401 is configured to create a buffer area of an interface line between a target projection area and a neighboring projection area based on a preset buffer area radius, wherein the target projection area and the neighboring projection area are projection areas in a target projection coordinate system, and the neighboring projection area corresponds to the target projection area; the execution unit 402 is configured to, for each cross-band distributed geographic element corresponding to the above-mentioned buffer, perform the following steps: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element; the determining unit 403 is configured to, for each of the geographic elements distributed across the bands corresponding to the buffer, in response to the received positioning projection band number of the positioning point being the same as the target projection band number or the adjacent projection band number of the geographic element, determine a reference point coordinate sequence of the geographic element under the positioning projection band number according to the target projection band reference point coordinate sequence or the adjacent projection band reference point coordinate sequence of the geographic element.
It will be understood that the elements described in the apparatus 400 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 400 and the units included therein, and will not be described herein again.
Referring now to FIG. 5, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1) 500 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams 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 illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples 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 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, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications 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 network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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: creating a buffer area of an interface line of a target projection area and an adjacent projection area based on a preset buffer area radius, wherein the target projection area and the adjacent projection area are projection areas under a target projection coordinate system, and the adjacent projection area corresponds to the target projection area; for each cross-band distributed geographic element corresponding to the above buffer, performing the following steps: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element; and for each geographical element which is distributed across the zones and corresponds to the buffer area, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a creation unit, an execution unit, and a determination unit. Where the names of these cells do not in some cases constitute a definition of the cell itself, for example, the creation cell may also be described as a "cell that creates a buffer of the boundary of the target projection zone and the adjacent projection zones based on a preset buffer radius".
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology 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-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A coordinate locating method comprising:
creating a buffer area of an interface line of a target projection area and an adjacent projection area based on a preset buffer area radius, wherein the target projection area and the adjacent projection area are projection areas under a target projection coordinate system, and the adjacent projection area corresponds to the target projection area;
for each cross-band distributed geographic element corresponding to the buffer, performing the following steps:
projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element;
determining the band number of the target projection band as the target projection band number of the geographic element;
determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element;
and for each geographical element which is distributed across the zones and corresponds to the buffer area, responding to the fact that the positioning projection zone number of the received positioning point is the same as the target projection zone number or the adjacent projection zone number of the geographical element, and determining a reference point coordinate sequence of the geographical element under the positioning projection zone number according to the target projection zone reference point coordinate sequence or the adjacent projection zone reference point coordinate sequence of the geographical element.
2. The method of claim 1, wherein the steps further comprise:
and determining the south-north hemisphere identifications of the geographic elements according to the coordinate sequence of the target projection with the reference point.
3. The method of claim 2, wherein said determining a sequence of reference point coordinates of said geographic element under said positioning projection band number comprises:
and in response to determining that the positioning projection band number is the same as the target projection band number of the geographic element and that the positioning southern-northern hemisphere identification of the positioning point is the same as the southern-northern hemisphere identification of the geographic element, selecting target projection band reference point coordinates under the target projection band from the target projection band reference point coordinate sequence of the geographic element as reference point coordinates of the geographic element under the positioning projection band number to obtain a reference point coordinate sequence.
4. The method of claim 3, wherein the determining a sequence of reference point coordinates of the geographic element under the location projection band number further comprises:
and in response to determining that the positioning projection band number is the same as the adjacent projection band number of the geographic element and that the positioning southern-northern hemisphere identification of the positioning point is the same as the southern-northern hemisphere identification of the geographic element, selecting adjacent projection band reference point coordinates under the adjacent projection band from the adjacent projection band reference point coordinate sequence of the geographic element as reference point coordinates of the geographic element under the positioning projection band number to obtain a reference point coordinate sequence.
5. The method according to one of claims 1-4, wherein the method further comprises:
determining each geographic element which is not distributed across the zones under the target projection zone and the adjacent projection zones as the geographic element distributed in the same zone to obtain a geographic element set distributed in the same zone;
for each co-located distributed geographic element of the set of co-located distributed geographic elements, performing the following processing steps:
projecting the geographic elements distributed in the same zone in a projection zone corresponding to the geographic elements distributed in the same zone to obtain a reference point coordinate sequence of the geographic elements distributed in the same zone;
determining the band number of the projection band corresponding to the geographic elements distributed in the same band as the target projection band number of the geographic elements distributed in the same band;
and determining a preset numerical value as the adjacent projection band number of the geographic elements distributed in the same band.
6. The method of claim 5, wherein the method further comprises:
and generating a driving track of the vehicle corresponding to the positioning point according to the reference point coordinate sequence of each geographic element under the positioning projection zone corresponding to the positioning projection zone number.
7. The method of claim 6, wherein the method further comprises:
and controlling the vehicle to run according to the running track.
8. A coordinate positioning apparatus comprising:
a creating unit configured to create a buffer of an intersection line of a target projection zone and an adjacent projection zone based on a preset buffer radius, wherein the target projection zone and the adjacent projection zone are projection zones in a target projection coordinate system, and the adjacent projection zone corresponds to the target projection zone;
an execution unit configured to, for each cross-band distributed geographic element corresponding to the buffer, perform the following steps: projecting the geographic element in the target projection zone and the adjacent projection zone respectively to obtain a target projection zone reference point coordinate sequence and an adjacent projection zone reference point coordinate sequence of the geographic element; determining the band number of the target projection band as the target projection band number of the geographic element; determining the band number of the adjacent projection band as the adjacent projection band number of the geographic element;
a determining unit configured to, for each of the geographical elements distributed across the band corresponding to the buffer, in response to a received positioning projection band number of the positioning point being the same as a target projection band number or an adjacent projection band number of the geographical element, determine a reference point coordinate sequence of the geographical element under the positioning projection band number according to a target projection band reference point coordinate sequence or an adjacent projection band reference point coordinate sequence of the geographical element.
9. 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, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202110816691.2A 2021-07-20 2021-07-20 Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium Active CN113516710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110816691.2A CN113516710B (en) 2021-07-20 2021-07-20 Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110816691.2A CN113516710B (en) 2021-07-20 2021-07-20 Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN113516710A true CN113516710A (en) 2021-10-19
CN113516710B CN113516710B (en) 2022-11-11

Family

ID=78067365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110816691.2A Active CN113516710B (en) 2021-07-20 2021-07-20 Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113516710B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3021130A1 (en) * 2014-05-15 2015-11-20 Virtualsensitive METHOD FOR DETECTING AN INTERACTION POINT FOR A TOUCH TABLE, TOUCH TABLE
CN109712249A (en) * 2018-12-31 2019-05-03 成都纵横大鹏无人机科技有限公司 Geographic element augmented reality method and device
CN111340856A (en) * 2018-12-19 2020-06-26 杭州海康威视系统技术有限公司 Vehicle tracking method, device, equipment and storage medium
CN111651711A (en) * 2020-06-10 2020-09-11 中国煤炭地质总局勘查研究总院 Geological exploration drilling geospatial data coordinate conversion method
CN111819419A (en) * 2017-12-27 2020-10-23 宝马股份公司 Deformation correction of a digital map for a vehicle
CN112348953A (en) * 2020-11-06 2021-02-09 中铁第一勘察设计院集团有限公司 Railway BIM model processing method crossing geographical zoning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3021130A1 (en) * 2014-05-15 2015-11-20 Virtualsensitive METHOD FOR DETECTING AN INTERACTION POINT FOR A TOUCH TABLE, TOUCH TABLE
CN111819419A (en) * 2017-12-27 2020-10-23 宝马股份公司 Deformation correction of a digital map for a vehicle
CN111340856A (en) * 2018-12-19 2020-06-26 杭州海康威视系统技术有限公司 Vehicle tracking method, device, equipment and storage medium
CN109712249A (en) * 2018-12-31 2019-05-03 成都纵横大鹏无人机科技有限公司 Geographic element augmented reality method and device
CN111651711A (en) * 2020-06-10 2020-09-11 中国煤炭地质总局勘查研究总院 Geological exploration drilling geospatial data coordinate conversion method
CN112348953A (en) * 2020-11-06 2021-02-09 中铁第一勘察设计院集团有限公司 Railway BIM model processing method crossing geographical zoning

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GUSTAF UGGLA 等: "Geographic capabilities and limitations of Industry Foundation Classes", 《AUTOMATION IN CONSTRUCTION》 *
刘洋 等: "矿区对不同高斯分带投影中测量数据的选择与应用研究", 《煤炭技术》 *
胡丹 等: "基于ArcObject 地理格网工具的设计与实现", 《测绘技术装备》 *

Also Published As

Publication number Publication date
CN113516710B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN112150490B (en) Image detection method, device, electronic equipment and computer readable medium
CN113190613A (en) Vehicle route information display method and device, electronic equipment and readable medium
CN115205305A (en) Instance segmentation model training method, instance segmentation method and device
CN112150491A (en) Image detection method, image detection device, electronic equipment and computer readable medium
CN111897904A (en) Method and device for determining whether ship enters typhoon ring and electronic equipment
CN113516710B (en) Coordinate positioning method, coordinate positioning device, electronic equipment and computer readable medium
CN111324470A (en) Method and device for generating information
CN114138450B (en) Composite task scheduling method and device in intelligent street lamp system and readable storage medium
CN112597174B (en) Map updating method and device, electronic equipment and computer readable medium
CN113970754A (en) Positioning method and device of autonomous travelable equipment
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN112764629A (en) Augmented reality interface display method, device, equipment and computer readable medium
CN111897903A (en) Ship position prediction method, device, electronic equipment and computer readable medium
CN110728478A (en) Method and device for generating information
CN111385603A (en) Method for embedding video into two-dimensional map
CN115310728B (en) Parking route generation method, device, equipment and computer readable medium
CN110621066B (en) Method and apparatus for processing information
CN114697206B (en) Method, device, equipment and computer readable medium for managing nodes of Internet of things
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
CN111625707B (en) Recommendation response method, device, medium and equipment
CN110619087B (en) Method and apparatus for processing information
CN113624249B (en) Lock point operation execution method, device, electronic equipment and computer readable medium
CN110647599A (en) Method and apparatus for displaying information
CN112734962B (en) Attendance information generation method and device, computer equipment and readable storage medium
CN116933302A (en) Method and device for processing user position data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant