CN105160191B - A kind of two-dimensional assemblage method and device based on spatial position - Google Patents

A kind of two-dimensional assemblage method and device based on spatial position Download PDF

Info

Publication number
CN105160191B
CN105160191B CN201510591110.4A CN201510591110A CN105160191B CN 105160191 B CN105160191 B CN 105160191B CN 201510591110 A CN201510591110 A CN 201510591110A CN 105160191 B CN105160191 B CN 105160191B
Authority
CN
China
Prior art keywords
coordinate
original plane
ray
transition region
conversion parameter
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
CN201510591110.4A
Other languages
Chinese (zh)
Other versions
CN105160191A (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.)
Guangzhou Urban Planning Survey and Design Institute
Original Assignee
Guangzhou Urban Planning Survey and Design Institute
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 Guangzhou Urban Planning Survey and Design Institute filed Critical Guangzhou Urban Planning Survey and Design Institute
Priority to CN201510591110.4A priority Critical patent/CN105160191B/en
Publication of CN105160191A publication Critical patent/CN105160191A/en
Application granted granted Critical
Publication of CN105160191B publication Critical patent/CN105160191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Analysing Materials By The Use Of Radiation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The two-dimensional assemblage method based on spatial position that the invention discloses a kind of, comprising: receive the original plane coordinate that user terminal is sent;Make a ray by starting point of location point of the original plane coordinate on original plane region, the intersection point number of the boundary line of the ray and each coordinate transition region is calculated one by one, and using conversion parameter corresponding to the coordinate transition region that intersection point number is odd number as the conversion parameter of the original plane coordinate;The coordinate transition region is the sub-regions after being divided in the original plane region according to conversion parameter;According to the conversion parameter of the original plane coordinate, the original plane coordinate is converted as purpose plane coordinates;The purpose plane coordinates is fed back into the user terminal.Correspondingly, the invention also discloses a kind of two-dimensional assemblage device based on spatial position.Using the embodiment of the present invention, the conversion parameter of original plane coordinate can be chosen automatically, improve transfer efficiency and accuracy.

Description

A kind of two-dimensional assemblage method and device based on spatial position
Technical field
The present invention relates to field of communication technology more particularly to a kind of two-dimensional assemblage methods and dress based on spatial position It sets.
Background technique
According to statistics, there are nearly 80% and space bit confidence in informational capacity involved in mankind's activity in current informationized society Manner of breathing association.With the development of society, all trades and professions are more and more extensive for the demand of spatial positional information.Due to various coordinates The presence of system, coordinate conversion have become a key link in spatial positional information determination.
Currently, coordinate conversion has been directed to the application of all trades and professions, such as automotive positioning, resource investigation, remote sensing figure As analysis, urban construction and management etc..In the prior art, coordinate conversion can only be in local progress, and operating efficiency is low.And And must be in locally-installed conversion program and parameter when user's application, program and parametric user are directly visible, are unfavorable for achievement Secrecy, also cause Information Security and user's popularity poor.In addition, conversion parameter is usually according to original coordinates location Domain is manually chosen, wasting manpower and material resources and easy error.
Summary of the invention
The embodiment of the present invention proposes a kind of two-dimensional assemblage method and device based on spatial position, can choose automatically The conversion parameter of original plane coordinate improves transfer efficiency and accuracy.
The embodiment of the present invention provides a kind of two-dimensional assemblage method based on spatial position, comprising:
Receive the original plane coordinate that user terminal is sent;
Make a ray by starting point of location point of the original plane coordinate on original plane region, calculates institute one by one The intersection point number of the boundary line of ray and each coordinate transition region is stated, and is the coordinate transition region institute of odd number by intersection point number Conversion parameter of the corresponding conversion parameter as the original plane coordinate;The coordinate transition region is by the original plane Region divided according to conversion parameter after a sub-regions;
According to the conversion parameter of the original plane coordinate, the original plane coordinate is converted as purpose plane coordinates;
The purpose plane coordinates is fed back into the user terminal.
Further, the location point using the original plane coordinate on original plane region is penetrated for one as starting point work Line calculates the intersection point number of the boundary line of the ray and each coordinate transition region one by one, and is odd number by intersection point number Conversion parameter of the conversion parameter corresponding to coordinate transition region as the original plane coordinate, specifically includes:
Using location point of the original plane coordinate on original plane region as starting point, on the original plane region The longitudinal axis parallel direction of the coordinate system of foundation makees a ray;
Each coordinate transition region is chosen one by one;
The coordinate of two endpoints in each edge boundary line of selected coordinate transition region is obtained one by one, and judges institute's rheme Whether the abscissa set a little is located between the abscissa of described two endpoints;
If so, calculate separately boundary line where described two endpoints first slope and the location point with it is described two Second slope of the line of the small endpoint of abscissa in endpoint, and the size of the first slope and second slope, If the first slope is greater than second slope, the ray and the boundary line have intersection point, if the first slope Less than second slope, then the ray and the boundary line do not have intersection point;
If it is not, then the ray and the boundary line do not have intersection point;
The intersection point number of the boundary line of the ray and each coordinate transition region is counted one by one, and is surprise by intersection point number Conversion parameter of the conversion parameter corresponding to several coordinate transition regions as the original plane coordinate.
Further, the conversion parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is such as Under:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For translation ginseng Number, α are the rotation angle parameter, and m is the scale parameter.
Further, before the original plane coordinate that the reception user terminal is sent, further includes:
The connection request that the user terminal is sent is received, establishes connection with the user terminal.
Further, after the purpose plane coordinates to feed back to the user terminal described, further includes:
Shutdown instruction is sent to the user terminal, disconnects the connection with the user terminal.
Correspondingly, the embodiment of the present invention also provides a kind of two-dimensional assemblage device based on spatial position, comprising:
Receiving module, for receiving the original plane coordinate of user terminal transmission;
Conversion parameter obtains module, for using location point of the original plane coordinate on original plane region as starting point Make a ray, calculate the intersection point number of the boundary line of the ray and each coordinate transition region one by one, and by intersection point number Conversion parameter of the conversion parameter corresponding to coordinate transition region for odd number as the original plane coordinate;The coordinate turns Changing region is the sub-regions after being divided in the original plane region according to conversion parameter;
Conversion module is converted to the original plane coordinate for the conversion parameter according to the original plane coordinate Purpose plane coordinates;And
Feedback module, for the purpose plane coordinates to be fed back to the user terminal.
Further, the conversion parameter obtains module and specifically includes:
Ray acquiring unit, for using location point of the original plane coordinate on original plane region as starting point, with The longitudinal axis parallel direction for the coordinate system established on the original plane region makees a ray;
Selection unit, for choosing each coordinate transition region one by one;
Judging unit, the seat of two endpoints in each edge boundary line for obtaining selected coordinate transition region one by one Mark, and judge whether the abscissa of the location point is located between the abscissa of described two endpoints;
Intersection point judging unit, for if so, the first slope of boundary line and institute where calculating separately described two endpoints State the second slope of the line for the endpoint that abscissa is small in location point and described two endpoints, and the first slope and institute The size of the second slope is stated, if the first slope is greater than second slope, the ray and the boundary line, which have, is handed over Point, if the first slope is less than second slope, the ray and the boundary line do not have intersection point;
Intersection point recognition unit, for if it is not, then the ray and the boundary line do not have intersection point;And
Statistic unit, the intersection point number of the boundary line for counting the ray and each coordinate transition region one by one, and Using conversion parameter corresponding to the coordinate transition region that intersection point number is odd number as the conversion parameter of the original plane coordinate.
Further, the conversion parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is such as Under:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For translation ginseng Number, α are the rotation angle parameter, and m is the scale parameter.
Further, the two-dimensional assemblage device based on spatial position further include:
Link block, the connection request sent for receiving the user terminal, establishes connection with the user terminal.
Further, the two-dimensional assemblage device based on spatial position further include:
Module is disconnected, for sending shutdown instruction to the user terminal, disconnects the connection with the user terminal.
The implementation of the embodiments of the present invention has the following beneficial effects:
Two-dimensional assemblage method and device provided in an embodiment of the present invention based on spatial position can be handed over by obtaining Number is put to determine the coordinate transition region where original plane coordinate, and then obtains the conversion parameter of original plane coordinate, it is real Now to the conversion of original plane coordinate, transfer efficiency and accuracy are improved;Connection is established with user terminal, to the original flat of user terminal Areal coordinate carries out unified conversion, improves transfer efficiency and Information Security;It is widely used in spatial position determination, shift position clothes The fields such as business, CORS measurement, RTK measurement, communication navigation, mapping, public safety, water conservancy, agriculture and forestry, have high scientific research, National defence and commercial value.
Detailed description of the invention
Fig. 1 is the process signal of one embodiment of the two-dimensional assemblage method provided by the invention based on spatial position Figure;
Fig. 2 is one embodiment of step S2 in the two-dimensional assemblage method provided by the invention based on spatial position Flow diagram;
Fig. 3 is another embodiment of step S2 in the two-dimensional assemblage method provided by the invention based on spatial position Schematic diagram;
Fig. 4 is the structural representation of one embodiment of the two-dimensional assemblage device provided by the invention based on spatial position Figure;
Fig. 5 is that the one of parameter acquisition module is converted in the two-dimensional assemblage device provided by the invention based on spatial position The structural schematic diagram of a embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is the stream of one embodiment of the two-dimensional assemblage method provided by the invention based on spatial position referring to Fig. 1 Journey schematic diagram, comprising:
S1, the original plane coordinate that user terminal is sent is received;
S2, a ray is made as starting point using location point of the original plane coordinate on original plane region, counted one by one The intersection point number of the boundary line of the ray and each coordinate transition region is calculated, and is the coordinate transition zone of odd number by intersection point number Conversion parameter of the conversion parameter corresponding to domain as the original plane coordinate;The coordinate transition region is will be described original Plane domain divided according to conversion parameter after a sub-regions;
S3, according to the conversion parameter of the original plane coordinate, the original plane coordinate is converted as purpose plane seat Mark;
S4, the purpose plane coordinates is fed back into the user terminal.
It should be noted that the conversion parameter between two coordinate systems is the variation with different zones and changes, such as The conversion parameter on different provincial boundaries or different circle, city is not identical, generally using circle, a city or a provincial boundaries as a coordinate transition zone Domain.After receiving original plane coordinate to be converted, need first to judge the position of the original plane coordinate, it is original with this The location point of plane coordinates is that starting point makees a ray, passes through the ray and the intersection point of the boundary line of each coordinate transition region Number is to determine coordinate transition region locating for the original plane coordinate.In turn, using the conversion parameter of the coordinate transition region as The conversion parameter of original plane coordinate is converted, to realize the automatic conversion to plane coordinates, improves transfer efficiency And accuracy.
Wherein, the original plane coordinate in user terminal can be used satellite positioning receiver, handbook, PDA, mobile phone, total station, The software and hardwares positioning device such as theodolite, road sign, electronic map measures, operating system can be used WinCE, Linux or its Its embedded system etc. can also be introduced directly into the coordinate data of other positioning devices.
It should be noted that the two-dimensional assemblage method based on spatial position of the present embodiment is realized by server, use The conversion to original plane coordinate is realized by the communication with server in family end.
Further, as shown in Fig. 2, described be with location point of the original plane coordinate on original plane region Point makees a ray, calculates the intersection point number of the boundary line of the ray and each coordinate transition region one by one, and intersection point is a Number is conversion parameter of the conversion parameter as the original plane coordinate corresponding to the coordinate transition region of odd number, specific to wrap It includes:
S21, using location point of the original plane coordinate on original plane region as starting point, with the original plane area The longitudinal axis parallel direction for the coordinate system established on domain makees a ray;
S22, each coordinate transition region is chosen one by one;
S23, obtain one by one selected coordinate transition region each edge boundary line two endpoints coordinate, and judge institute Whether the abscissa for stating location point is located between the abscissa of described two endpoints;If so, S24 is thened follow the steps, if it is not, then holding Row step S26;
S24, the first slope for calculating separately described two endpoints places boundary line and the location point and described two ends Second slope of the line of the small endpoint of abscissa in point, and the size of the first slope and second slope, if The first slope is greater than second slope, thens follow the steps S25, if the first slope is less than second slope, Execute step S26;
S25, determine that the ray and the boundary line have intersection point;
S26, determine that the ray and the boundary line do not have intersection point;
S27, count one by one the ray and each coordinate transition region boundary line intersection point number, and by intersection point number Conversion parameter of the conversion parameter corresponding to coordinate transition region for odd number as the original plane coordinate.
It should be noted that M coordinate transition region T is marked off in the coordinate system in original plane region in advance1、 T2、……、Tm, such as Guangzhou circle, Dongguan City circle, Hunan provincial boundaries.Wherein, the M corresponding conversion parameter of coordinate transition region is Tran1、Tran2、……、Tranm
When carrying out coordinate conversion, the original plane coordinate that user terminal is sent is received, wherein original plane coordinate is original Location point on plane domain is P0(x0,y0).Cross P0Point makees a ray R along the parallel direction of the y-axis of coordinate system, then by suitable Sequence selects coordinate transition region T one by onei, wherein coordinate transition region TiFor a closed polygon, convex polygon can be Or the variforms such as concave polygon, coordinate transition region TiBoundary line by a series of coordinate points P1、……、PnIt constitutes.It is selecting Select a coordinate transition region TiAfterwards, coordinate transition region T is chosen one by one in orderiEach edge boundary line whether to judge it The initial value for intersecting with ray R, and intersection counter Cr being arranged is 0, wherein two endpoints in each edge boundary line are respectively Pi (xi,yi) and Pi+1(xi+1,yi+1), xi≤xi+1.If location point P0Abscissa be located at endpoint PiAnd Pi+1Abscissa between, i.e., xi≤x0<xi+1, then P is calculated separatelyiPi+1Slope S lope1And PiP0Slope S lope2, wherein Work as Slope1It is greater than and is equal to Slope2When, illustrate ray R and this boundary line PiPi+1It is handed over effective Point makes intersection counter Cr assignment add 1, and continues to select coordinate transition region TiLower a line judged;If position Point P0Abscissa be not located at endpoint PiAnd Pi+1Abscissa between, then illustrate ray R and this boundary line PiPi+1Do not hand over Point continues to select coordinate transition region TiLower a line judged.In coordinate transition region TiAll boundary lines it is equal After judgement, if the value of intersection counter Cr is odd number, illustrate location point P0Positioned at coordinate transition region TiIn, selection Coordinate transition region TiConversion parameter TraniConversion parameter as original plane coordinate is realized to original plane coordinate Conversion;If the value for intersecting counter Cr is even number, illustrate location point P0Not in coordinate transition region TiIn, continue under selection One coordinate transition region is judged, until determining location point P0The coordinate transition region at place.
For example, as shown in figure 3, plane domain has divided three coordinate transition regions, i.e. the first coordinate transition region 31, Two coordinate transition regions 32 and third coordinate transition region 33, conversion parameter is respectively Tran1、Tran2And Tran3.With original Location point P of the plane coordinates on original plane region0Make a ray R for starting point, calculates separately ray R and the first coordinate turns The intersection point number in region 31, the second coordinate transition region 32 and third coordinate transition region 33 is changed, emergent ray R and first is counted and sits The intersection point number for marking transition region 31 is 1, and the intersection point number of ray R and the second coordinate transition region 32 is 2, ray R and The intersection point number of third coordinate transition region 33 is 0, then location point P0In the first coordinate transition region 31, the first coordinate The conversion parameter Tran of transition region 311As convert the conversion parameter of original plane coordinate.
Further, the conversion parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is such as Under:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For translation ginseng Number, α are the rotation angle parameter, and m is the scale parameter.
It should be noted that the difference between coordinate system depends primarily on the position and orientation of coordinate system, ellipsoidal parameter with And the scale definition of coordinate system.Therefore, realize the primary of two-dimensional assemblage on condition that must be set up plane coordinates system it Between meet precision and management require tight transformational relation.For lesser plane domain, the plane between Two coordinate system system turns It is fixed for changing parameter.For large range of plane domain, conversion parameter is changed with the variation in different regions , multiple plane conversion parameters can be determined by region.
In addition, can also be realized with the following method using the space coordinates of geodetic coordinates form to plane coordinate system Conversion:
Wherein,For the translation parameters of two different spaces rectangular coordinate system origins, δ μ is scale parameter, (εxy, εz) it is rotation angle parameter,For purpose coordinate,For original coordinates.
Further, before the original plane coordinate that the reception user terminal is sent, further includes:
The connection request that the user terminal is sent is received, establishes connection with the user terminal.
It should be noted that a large number of users end can simultaneously by the wireless networks such as GPRS, CDMA, WIFI, Internet with Remote server system is connected, and server distributes a unique IP address to each user terminal connected.Upon connection, User terminal obtains the roll-call of point, attribute, original plane coordinate, determine point former coordinate system and purpose coordinate to be converted System, and data boot field is added in the information that will acquire, and forms point conversion pretreatment achievement and is sent to server, data Paragraph format is as follows:
IP It calls the roll Point attribute Former coordinate system Original plane coordinate Purpose coordinate system
After server receives the data segment, IP, the roll-call of point, attribute, original plane coordinate, former coordinate are parsed System and purpose coordinate system to be converted, and using purpose coordinate system to be converted to the conversion parameter of original plane coordinate It is selected, to realize that coordinate is converted.It, will be multiple original if user terminal need to send multiple original plane coordinates and be converted Two-dimensional assemblage is to be arranged after data segment, and to the server transport sequence of data segments.
Further, after the purpose plane coordinates to feed back to the user terminal described, further includes:
Shutdown instruction is sent to the user terminal, disconnects the connection with the user terminal.
It should be noted that being used after the purpose plane coordinates after conversion is sent to user terminal according to IP address by server Family end, which receives data, can show or use the coordinate after conversion to user and user equipment, moreover, discharging after the completion of transmission should IP address.
Two-dimensional assemblage method provided in an embodiment of the present invention based on spatial position, can be by obtaining intersection point number It determines the coordinate transition region where original plane coordinate, and then obtains the conversion parameter of original plane coordinate, realize to original The conversion of beginning plane coordinates improves transfer efficiency and accuracy;Connection is established with user terminal, to the original plane coordinate of user terminal Unified conversion is carried out, transfer efficiency and Information Security are improved;Be widely used in spatial position determination, mobile location-based service, The fields such as CORS measurement, RTK measurement, communication navigation, mapping, public safety, water conservancy, agriculture and forestry have high scientific research, national defence And commercial value.
Correspondingly, the present invention also provides a kind of two-dimensional assemblage device based on spatial position, can be realized above-mentioned reality Apply all processes of the two-dimensional assemblage method based on spatial position in example.
Referring to fig. 4, be the two-dimensional assemblage device provided by the invention based on spatial position one embodiment knot Structure schematic diagram, comprising:
Receiving module 1, for receiving the original plane coordinate of user terminal transmission;
Conversion parameter obtains module 2, for being with location point of the original plane coordinate on original plane region Point makees a ray, calculates the intersection point number of the boundary line of the ray and each coordinate transition region one by one, and intersection point is a Number is conversion parameter of the conversion parameter as the original plane coordinate corresponding to the coordinate transition region of odd number;The coordinate Transition region is the sub-regions after being divided in the original plane region according to conversion parameter;
Conversion module 3 is converted to the original plane coordinate for the conversion parameter according to the original plane coordinate Purpose plane coordinates;And
Feedback module 4, for the purpose plane coordinates to be fed back to the user terminal.
Further, as shown in figure 5, conversion parameter acquisition module 2 specifically includes:
Ray acquiring unit 41, for using location point of the original plane coordinate on original plane region as starting point, Make a ray with the longitudinal axis parallel direction for the coordinate system established on the original plane region;
Selection unit 42, for choosing each coordinate transition region one by one;
Judging unit 43, the seat of two endpoints in each edge boundary line for obtaining selected coordinate transition region one by one Mark, and judge whether the abscissa of the location point is located between the abscissa of described two endpoints;
Intersection point judging unit 44, for if so, calculate separately boundary line where described two endpoints first slope and Second slope of the line of the small endpoint of abscissa in the location point and described two endpoints, and the first slope and The size of second slope, if the first slope is greater than second slope, the ray has with the boundary line Intersection point, if the first slope is less than second slope, the ray and the boundary line do not have intersection point;
Intersection point recognition unit 45, for if it is not, then the ray and the boundary line do not have intersection point;And
Statistic unit 46, the intersection point number of the boundary line for counting the ray and each coordinate transition region one by one, And join using conversion parameter corresponding to the coordinate transition region that intersection point number is odd number as the conversion of the original plane coordinate Number.
Further, the conversion parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is such as Under:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For translation ginseng Number, α are the rotation angle parameter, and m is the scale parameter.
Further, the two-dimensional assemblage device based on spatial position further include:
Link block, the connection request sent for receiving the user terminal, establishes connection with the user terminal.
Further, the two-dimensional assemblage device based on spatial position further include:
Module is disconnected, for sending shutdown instruction to the user terminal, disconnects the connection with the user terminal.
Two-dimensional assemblage device provided in an embodiment of the present invention based on spatial position, can be by obtaining intersection point number It determines the coordinate transition region where original plane coordinate, and then obtains the conversion parameter of original plane coordinate, realize to original The conversion of beginning plane coordinates improves transfer efficiency and accuracy;Connection is established with user terminal, to the original plane coordinate of user terminal Unified conversion is carried out, transfer efficiency and Information Security are improved;Be widely used in spatial position determination, mobile location-based service, The fields such as CORS measurement, RTK measurement, communication navigation, mapping, public safety, water conservancy, agriculture and forestry have high scientific research, national defence And commercial value.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (6)

1. a kind of two-dimensional assemblage method based on spatial position characterized by comprising
The connection request that user terminal is sent is received, establishes connection with the user terminal;
Receive the original plane coordinate obtained by positioning device measurement that the user terminal is sent;
Using location point of the original plane coordinate on original plane region as starting point, to be established on the original plane region The longitudinal axis parallel direction of coordinate system make a ray, calculate the boundary line of the ray and each coordinate transition region one by one Intersection point number, and using conversion parameter corresponding to the coordinate transition region that intersection point number is odd number as the original plane coordinate Conversion parameter;The coordinate transition region is a son after being divided in the original plane region according to conversion parameter Region;
According to the conversion parameter of the original plane coordinate, the original plane coordinate is converted as purpose plane coordinates;
The purpose plane coordinates is fed back into the user terminal, is applied to include at least by the purpose plane coordinates to realize It is any one or more in spatial position determination, mobile location-based service, communication navigation, CORS measurement or mapping;
Shutdown instruction is sent to the user terminal, disconnects the connection with the user terminal.
2. the two-dimensional assemblage method based on spatial position as described in claim 1, which is characterized in that described with the original Location point of the beginning plane coordinates on original plane region is that starting point makees a ray, calculates the ray and each coordinate one by one The intersection point number of the boundary line of transition region, and conversion parameter corresponding to coordinate transition region of the intersection point number for odd number is made For the conversion parameter of the original plane coordinate, specifically include:
Using location point of the original plane coordinate on original plane region as starting point, to be established on the original plane region Coordinate system longitudinal axis parallel direction make a ray;
Each coordinate transition region is chosen one by one;
The coordinate of two endpoints in each edge boundary line of selected coordinate transition region is obtained one by one, and judges the location point Abscissa whether be located between the abscissa of described two endpoints;
If so, the first slope of boundary line where calculating separately described two endpoints and the location point and described two endpoints Second slope of the line of the small endpoint of middle abscissa, and the size of the first slope and second slope, if institute First slope is stated greater than second slope, then the ray and the boundary line have intersection point, if the first slope is less than Second slope, then the ray and the boundary line do not have intersection point;
If it is not, then the ray and the boundary line do not have intersection point;
The intersection point number of the boundary line of the ray and each coordinate transition region is counted one by one, and is odd number by intersection point number Conversion parameter of the conversion parameter corresponding to coordinate transition region as the original plane coordinate.
3. the two-dimensional assemblage method based on spatial position as claimed in claim 1 or 2, which is characterized in that the conversion Parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is as follows:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For the translation parameters, α For the rotation angle parameter, m is the scale parameter.
4. a kind of two-dimensional assemblage device based on spatial position characterized by comprising
Link block establishes connection with the user terminal for receiving the connection request of user terminal transmission;
Receiving module, the original plane coordinate obtained by positioning device measurement sent for receiving the user terminal;
Conversion parameter obtains module, for using location point of the original plane coordinate on original plane region as starting point, with The longitudinal axis parallel direction of the coordinate system established on the original plane region makees a ray, calculates the ray and each one by one The intersection point number of the boundary line of coordinate transition region, and conversion corresponding to coordinate transition region of the intersection point number for odd number is joined Conversion parameter of the number as the original plane coordinate;The coordinate transition region is by the original plane region according to conversion Parameter divided after a sub-regions;
Conversion module, for the conversion parameter according to the original plane coordinate, for the purpose of original plane coordinate conversion Plane coordinates;And
Feedback module, for the purpose plane coordinates to be fed back to the user terminal, to realize the purpose plane coordinates Applied to include at least spatial position determination, mobile location-based service, communication navigation, CORS measurement or survey and draw in any one or It is multiple;
Module is disconnected, for sending shutdown instruction to the user terminal, disconnects the connection with the user terminal.
5. the two-dimensional assemblage device based on spatial position as claimed in claim 4, which is characterized in that the conversion parameter Module is obtained to specifically include:
Ray acquiring unit, for using location point of the original plane coordinate on original plane region as starting point, with described The longitudinal axis parallel direction for the coordinate system established on original plane region makees a ray;
Selection unit, for choosing each coordinate transition region one by one;
Judging unit, the coordinate of two endpoints in each edge boundary line for obtaining selected coordinate transition region one by one, and Judge whether the abscissa of the location point is located between the abscissa of described two endpoints;
Intersection point judging unit, for if so, calculating separately the first slope and institute's rheme of described two endpoints places boundary line Set the second slope of the line of endpoint a little small with abscissa in described two endpoints, and the first slope and described The size of two slopes, if the first slope is greater than second slope, the ray and the boundary line have intersection point, if The first slope is less than second slope, then the ray and the boundary line do not have intersection point;
Intersection point recognition unit, for if it is not, then the ray and the boundary line do not have intersection point;And
Statistic unit, the intersection point number of the boundary line for counting the ray and each coordinate transition region one by one, and will hand over Point number is conversion parameter of the conversion parameter as the original plane coordinate corresponding to the coordinate transition region of odd number.
6. the two-dimensional assemblage device based on spatial position as described in claim 4 or 5, which is characterized in that the conversion Parameter includes translation parameters, scale parameter and rotation angle parameter;The formula of conversion is as follows:
Wherein,For the purpose plane coordinates,For the original plane coordinate,For the translation parameters, α is The rotation angle parameter, m are the scale parameter.
CN201510591110.4A 2015-09-16 2015-09-16 A kind of two-dimensional assemblage method and device based on spatial position Active CN105160191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510591110.4A CN105160191B (en) 2015-09-16 2015-09-16 A kind of two-dimensional assemblage method and device based on spatial position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510591110.4A CN105160191B (en) 2015-09-16 2015-09-16 A kind of two-dimensional assemblage method and device based on spatial position

Publications (2)

Publication Number Publication Date
CN105160191A CN105160191A (en) 2015-12-16
CN105160191B true CN105160191B (en) 2019-04-05

Family

ID=54801047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510591110.4A Active CN105160191B (en) 2015-09-16 2015-09-16 A kind of two-dimensional assemblage method and device based on spatial position

Country Status (1)

Country Link
CN (1) CN105160191B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105973240B (en) * 2016-07-15 2018-11-23 哈尔滨工大服务机器人有限公司 A kind of conversion method of navigation module coordinate system and robot coordinate system
CN107705332A (en) * 2017-09-30 2018-02-16 新奥(中国)燃气投资有限公司 The method and device of number of devices in a kind of statistical regions
CN109827573B (en) * 2017-11-23 2020-11-13 中国移动通信集团上海有限公司 Method, system and application for judging coordinate system
CN108549579B (en) * 2018-03-20 2020-12-22 南京朝焱智能科技有限公司 GPU-based multi-target area limitation early warning method and device
CN111191643B (en) * 2020-04-10 2021-09-07 支付宝(杭州)信息技术有限公司 Iris image acquisition system and method
CN113628471A (en) * 2021-08-09 2021-11-09 广州文远知行科技有限公司 Scheduling method, device, equipment and medium for unmanned vehicle
CN116932673A (en) * 2023-05-30 2023-10-24 昆明市测绘研究院 LIDAR point cloud data coordinate conversion method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048659A (en) * 2014-06-16 2014-09-17 广州杰赛科技股份有限公司 Method and system for transforming map coordinate system
CN104219300A (en) * 2014-08-28 2014-12-17 广州市中海达测绘仪器有限公司 Coordinate transformation parameter sharing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10213150A1 (en) * 2002-03-23 2003-10-02 Philips Intellectual Property Arrangement for navigation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104048659A (en) * 2014-06-16 2014-09-17 广州杰赛科技股份有限公司 Method and system for transforming map coordinate system
CN104219300A (en) * 2014-08-28 2014-12-17 广州市中海达测绘仪器有限公司 Coordinate transformation parameter sharing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于CORS平台的三维坐标在线转换系统;杨光;《测绘通报》;20081120(第11期);第10-13页
自动分区坐标转换算法及其软件实现;刘邢巍等;《测绘通报》;20140720(第7期);第55-57页

Also Published As

Publication number Publication date
CN105160191A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105160191B (en) A kind of two-dimensional assemblage method and device based on spatial position
CN107426695B (en) Broadcast-based gridding differential data broadcasting method, server and storage medium
CN102158801B (en) Mobile terminal user-oriented accurate location based information service method and device
US9140796B2 (en) System and method for effectively performing enhanced mobile-device location procedures
CN106814379B (en) A kind of cloud RTK localization method and system
CN103364797A (en) GNSS (global navigation satellite system) differential signal broadcasting system and method combining internet and radio
CN104459740A (en) High-precision position differential positioning method of positioning terminal
CN102854491A (en) Method and system for carrying out positioning on the basis of Bluetooth technology
CN103200678A (en) Android device wireless fidelity (WiFi) indoor locating method based on position fingerprint identification algorithm
CN106842266B (en) A kind of instant reference station localization method and system
CN103185886B (en) Satellite navigation system and implementation method
CN105300373A (en) Three-dimensional coordinate conversion method and device
CN104144493A (en) Positioning method, positioning system and a base station positioning platform
CN102928860A (en) Method for improving GPS (Global Positioning System) positioning precision on the basis of local positioning information
CN204616105U (en) A kind of fixed area intelligent positioning system
CN102573053A (en) System and method for realizing hybrid positioning on cloud server
CN107071893A (en) A kind of cellular network RTK localization methods and system
US20180199154A1 (en) Retrospective path analysis
CN101207880A (en) Mobile phone indicating guidance system based on server client machine mode
CN103404177A (en) Nodes and methods for positioning
CN105300374A (en) Three-dimensional coordinate conversion method and system
CN102540225A (en) Programmable smart mobile phone based CORS (continuous operational reference system) positioning implementing method
CN105760451A (en) Big data real-time display and output end based on coordinate transformation and used for urban planning
CN105224791B (en) A kind of two-dimensional assemblage method and system based on communication pattern
CN106814381B (en) A kind of instant reference station positioning authentication method and system

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