CN104537102A - Positive geocoding service method and system for obtaining longitude and latitude - Google Patents

Positive geocoding service method and system for obtaining longitude and latitude Download PDF

Info

Publication number
CN104537102A
CN104537102A CN201510015259.8A CN201510015259A CN104537102A CN 104537102 A CN104537102 A CN 104537102A CN 201510015259 A CN201510015259 A CN 201510015259A CN 104537102 A CN104537102 A CN 104537102A
Authority
CN
China
Prior art keywords
latitude
longitude
address information
initial
module
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
CN201510015259.8A
Other languages
Chinese (zh)
Other versions
CN104537102B (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.)
Shenzhen Daole Technology Co.,Ltd.
Original Assignee
蔡树彬
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 蔡树彬 filed Critical 蔡树彬
Priority to CN201510015259.8A priority Critical patent/CN104537102B/en
Publication of CN104537102A publication Critical patent/CN104537102A/en
Application granted granted Critical
Publication of CN104537102B publication Critical patent/CN104537102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Abstract

The invention provides a positive geocoding service method and system for obtaining longitude and latitude. Initial longitude and initial latitude which are matched with source address information contained in an address file are acquired according to the received address file, reversely-queried address information corresponding to the initial longitude and the initial latitude is acquired through reverse query according to the initial longitude and the initial latitude, a source administrative region corresponding to the source address information and a reverse query administrative region corresponding to the reversely-queried address information are extracted, whether the source administrative region and the reverse query administrative region are the same is judged, when source administrative region and the reverse query administrative region are the same, the initial longitude and the initial latitude serve as final longitude and final latitude to be output. The initial longitude and the initial latitude are verified, the initial longitude and latitude serve as the final longitude and the final latitude to be output only after passing verification, the longitude and latitude errors are reduced, and accurate positioning is facilitated.

Description

A kind of forward geocoding service method and system obtaining longitude and latitude
Technical field
The present invention relates to geographic information data process, computer application field, relate in particular to a kind of forward geocoding service method and system obtaining longitude and latitude.
Background technology
Geocoding (English: geocoding) refers to process statistical data or address information being set up volume coordinate relation, also known as matching addresses, is for identifying the coding that the position of point, line, surface and attribute are arranged.Forward geocoding service achieves and Chinese address or place name is described the function being converted to relevant position on earth surface (longitude and latitude).
In recent years, along with the progress that information equipment and net application technology develop, Cartographic Technique also constantly develops thereupon, the app service of mobile device (as mobile phone) too increases the function of location, mobile phone location refers to the positional information (latitude and longitude coordinates) being obtained cell phone or terminal user by specific location technology, electronic chart marks by the technology of the position of anchored object or service.Location technology has two kinds, and a kind of is location based on GPS, and a kind of is the location of base station based on mobile operation network.Locator meams based on GPS utilizes the GPS locating module on mobile phone the position signalling of oneself to be sent to backstage, location to realize mobile phone location.Architecture is then utilize base station to the measuring and calculating distance of the distance of mobile phone to determine mobile phone location, and do not need mobile phone to have GPS station-keeping ability, but precision largely depends on the distribution of base station and the size of coverage, error can more than one kilometer.
No matter which kind of locator meams above-mentioned, still has many deviations, particularly some inglorious places, is difficult to position more accurately.Therefore, on the basis of other map products, obtaining longitude and latitude corresponding to address how more accurately, intelligently, is problem demanding prompt solution.
Summary of the invention
For this reason, technical matters to be solved by this invention is that the longitude and latitude error obtained in prior art is comparatively large, and particularly some inglorious places, are difficult to position more accurately.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
The invention provides a kind of forward geocoding service method obtaining longitude and latitude, comprising:
According to the initial longitude and latitude that the source address information that the address file received obtains and described address file comprises matches;
According to described initial longitude and latitude Query, to obtain corresponding thereto counter looks into address information;
Extract source row administrative division corresponding to described source address information respectively and describedly instead look into corresponding counter of address information and look into administrative area;
Judge described source row administrative division and described whether counter to look into administrative area identical;
When described source row administrative division with described counter look into administrative area identical time, described initial longitude and latitude is exported as final longitude and latitude.
The forward geocoding service method of acquisition longitude and latitude of the present invention, also comprises:
When described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Obtain the longitude and latitude of the source address information after expanding, it can be used as described initial longitude and latitude, and be back to described according to the described initial longitude and latitude Query acquisition anti-step looking into address information corresponding thereto.
The forward geocoding service method of acquisition longitude and latitude of the present invention, to obtain corresponding thereto according to described initial longitude and latitude Query counter look into address information before, also comprise:
Initialization tag value.
The forward geocoding service method of acquisition longitude and latitude of the present invention, also comprises:
When described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Obtain the longitude and latitude of the source address information after expanding, and it can be used as described initial longitude and latitude;
Described mark value is added 1 and upgrades described mark value;
Judging whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, when not exceeding, being back to described according to the described initial longitude and latitude Query acquisition anti-step looking into address information corresponding thereto.
The forward geocoding service method of acquisition longitude and latitude of the present invention, also comprises:
When verifying unsuccessfully, then described initial longitude and latitude is revised, and revised initial longitude and latitude is exported as final longitude and latitude.
The forward geocoding service method of acquisition longitude and latitude of the present invention, describedly correction is carried out to described initial longitude and latitude comprise:
Setting sample number;
Calculate the close address information of described source address information;
According to similarity order from high to low, from described close address information, select quantity meet the multiple close address information of sample number as sample;
Obtain the longitude and latitude of each the close address information in sample;
Using the mean value of the longitude and latitude of each close address information described as revised initial longitude and latitude.
Present invention also offers a kind of geographical coding service system of forward obtaining longitude and latitude, comprising:
Longitude and latitude acquisition module, for the initial longitude and latitude matched according to the source address information that the address file received obtains and described address file comprises;
Query module, looks into address information for obtain corresponding thereto according to described initial longitude and latitude Query counter;
Extraction module, for extracting source row administrative division corresponding to described source address information respectively and describedly instead looking into corresponding counter of address information and look into administrative area;
Administrative area judge module, for judging described source row administrative division and described whether counter to look into administrative area identical;
Output module, for when described source row administrative division with described counter look into administrative area identical time, described initial longitude and latitude is exported as final longitude and latitude.
The geographical coding service system of forward of acquisition longitude and latitude of the present invention, also comprises:
Expanded range module, for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module, for obtaining the longitude and latitude of the source address information after expansion, it can be used as described initial longitude and latitude, and restarts described Query module.
The geographical coding service system of forward of acquisition longitude and latitude of the present invention, also comprises:
Initialization module, for initialization tag value.
The geographical coding service system of forward of acquisition longitude and latitude of the present invention, also comprises:
Expanded range module, for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module, for obtaining the longitude and latitude of the source address information after expansion, and it can be used as described initial longitude and latitude;
Accumulator module, for adding 1 by described mark value and upgrading described mark value;
Verification judge module, for judging whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, when not exceeding, restarting described Query module.
The geographical coding service system of forward of acquisition longitude and latitude of the present invention, also comprises:
Correcting module, for when verifying unsuccessfully, then revises described initial longitude and latitude, and is exported as final longitude and latitude by revised initial longitude and latitude.
The geographical coding service system of forward of acquisition longitude and latitude of the present invention, described correcting module comprises:
Setup unit, for setting sample number;
Close address acquisition unit, for calculating the close address information of described source address information;
Sample extraction unit, for according to similarity order from high to low, selects quantity and meets the multiple close address information of sample number as sample from described close address information;
Sample longitude and latitude acquiring unit, for obtaining the longitude and latitude of each the close address information in sample;
Modified value acquiring unit, for the mean value of the longitude and latitude using each close address information described as revised initial longitude and latitude.
Technique scheme of the present invention has the following advantages compared to existing technology:
The invention provides a kind of forward geocoding service method and system obtaining longitude and latitude, according to the initial longitude and latitude that the source address information that the address file received obtains and address file comprises matches, according to initial longitude and latitude Query, to obtain corresponding thereto counter looks into address information again, the source row administrative division that extraction source address information is corresponding respectively and instead look into corresponding counter of address information and look into administrative area, and judge source row administrative division and whether counter to look into administrative area identical, when source row administrative division with counter look into administrative area identical time, just will state initial longitude and latitude and export as final longitude and latitude.By verifying initial longitude and latitude, only having and just initial longitude and latitude can be exported as final longitude and latitude after being verified, decreasing the error of longitude and latitude, being conducive to accurate location.
Accompanying drawing explanation
In order to make content of the present invention be more likely to be clearly understood, below according to a particular embodiment of the invention and by reference to the accompanying drawings, the present invention is further detailed explanation, wherein
Fig. 1 is the process flow diagram of the forward geocoding service method of acquisition longitude and latitude according to the embodiment of the present invention 1;
Fig. 2 is the process flow diagram of the forward geocoding service method of acquisition longitude and latitude according to the embodiment of the present invention 2;
Fig. 3 is the process flow diagram of the step S10 of the forward geocoding service method of acquisition longitude and latitude according to the embodiment of the present invention 2;
Fig. 4 is the structured flowchart according to the geographical coding service system of the forward of the acquisition longitude and latitude of the embodiment of the present invention 3;
Fig. 5 is the structured flowchart according to the geographical coding service system of the forward of the acquisition longitude and latitude of the embodiment of the present invention 4.
In figure, Reference numeral is expressed as: 1-longitude and latitude acquisition module, 2-Query module, 3-extraction module, 4-administrative area judge module, 5-output module, 6-expanded range module, 7-longitude and latitude update module, 8a-accumulator module, 9-verifies judge module, 10-correcting module, 101-setup unit, the close address acquisition unit of 102-, 103-sample extraction unit, 104-sample longitude and latitude acquiring unit, 105-modified value acquiring unit.
Embodiment
Embodiment 1
Along with the development of Cartographic Technique develops, user passes through mobile phone, the Location Request (address file) comprising azimuth information residing for user just can be sent to server by the mobile terminals such as panel computer, after server receives the address file (Location Request) that mobile terminal uploads, the source address information that address file can be comprised, by address transfer algorithm match address, convert the initial longitude and latitude matched with it to, send it back mobile terminal, after user receives initial longitude and latitude, just can the position residing for oneself be positioned, in order to position more accurately, promote the Experience Degree of user, present embodiments provide a kind of forward geocoding service method obtaining longitude and latitude, as shown in Figure 1, the method comprises:
S1. according to the initial longitude and latitude that the source address information that the address file received obtains and described address file comprises matches.First in inquiry, may there is the situation that can not check longitude and latitude in server, now can cut (also namely expanding address realm according to regular expression key word), until draw longitude and latitude address according to key word library cutting algorithm.
S2. according to described initial longitude and latitude Query, to obtain corresponding thereto counter looks into address information.Usually can adopt that reverse geographic coding is counter to be found match with longitude and latitude counter and look into address information.
S3. extract source row administrative division corresponding to described source address information respectively and describedly instead look into corresponding counter of address information and look into administrative area, administrative area can setting range as required, is such as set as county, township etc.
S4. judge described source row administrative division and described whether counter to look into administrative area identical, when described source row administrative division with described counter look into administrative area identical time enter step S5, when described source row administrative division with described counter look into administrative area different time then enter step S6.
S5. described initial longitude and latitude is exported as final longitude and latitude.
S6. when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information, wherein can be expanded the scope of source address information by regular expression.
S7. obtain the longitude and latitude of the source address information after expanding, it can be used as described initial longitude and latitude, and return step S2.
By above-mentioned steps S1-S5, by verifying initial longitude and latitude, only having and just initial longitude and latitude can be exported as final longitude and latitude after being verified, decreasing the error of longitude and latitude, being conducive to accurate location.
When source row administrative division with counter look into administrative area different time, by above-mentioned steps S6-S7, first calculate according to the source address information after expansion the longitude and latitude matched with it, and it can be used as initial longitude and latitude, new anti-administrative area is looked into again according to counter the checking in of the initial longitude and latitude after upgrading, extract source row administrative division corresponding to source address information after expanding again respectively and instead look into corresponding counter of address information and look into administrative area, reference source administrative area is with whether counter to look into administrative area identical, initial longitude and latitude after upgrading is verified, if verification is by just exporting this initial longitude and latitude as final longitude and latitude, otherwise repeat above-mentioned steps again, by upgrading initial longitude and latitude according to actual conditions, further reduce the error of longitude and latitude, be conducive to accurate location.
Embodiment 2
When source row administrative division with counter look into administrative area still identical through repeatedly verifying when, can endless loop be entered.In order to avoid this situation occurs, present embodiments provide a kind of forward geocoding service method of acquisition longitude and latitude of optimization, as shown in Figure 2, the method comprises:
S1. according to the initial longitude and latitude that the source address information that the address file received obtains and described address file comprises matches.
S2a. initialization tag value.
S2. according to described initial longitude and latitude Query, to obtain corresponding thereto counter looks into address information.
S3. extract source row administrative division corresponding to described source address information respectively and describedly instead look into corresponding counter of address information and look into administrative area.
S4. judge described source row administrative division and described whether counter to look into administrative area identical, when described source row administrative division with described counter look into administrative area identical time enter step S5, when described source row administrative division with described counter look into administrative area different time then enter step S6.
S5. described initial longitude and latitude is exported as final longitude and latitude.
S6. the scope of described source address information is expanded;
S7. obtain the longitude and latitude of the source address information after expanding, and it can be used as described initial longitude and latitude;
S8. described mark value added 1 and upgrade described mark value;
S9. judge whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, entering step S10; When not exceeding, be back to step S2;
S10. described initial longitude and latitude is revised, and revised initial longitude and latitude is exported as final longitude and latitude.Solve the problem verifying and how to feed back to longitude and latitude accurately unsuccessfully.
In the forward geocoding service method of the acquisition longitude and latitude according to the present embodiment, by setting the number of times of duplication check, such as setting predetermined threshold value is 3, every circulation primary, makes mark value add 1, when after circulation preset times, when namely exceeding predetermined threshold value, jump out verification, inform and verify unsuccessfully, thus avoid endless loop.
Preferably, as shown in Figure 3, step S10 can comprise:
S101. sample number is set; Sample number can set as required, such as can be set as 5.
S102. the close address information of described source address information is calculated; Particularly, can calculate by similarity alignment algorithm the close address information obtaining source address information.
S103. according to similarity order from high to low, from described close address information, select quantity meet the multiple close address information of sample number as sample; As sample number be set as 5 time, then need from close address information, to select 5 close address informations as sample according to similarity order from high to low.
S104. the longitude and latitude of each the close address information in sample is obtained;
S105. using the mean value of the longitude and latitude of each close address information described as revised initial longitude and latitude.Can the error of longitude and latitude be down to minimum, be conducive to accurate location.
Preferably, can at the server stores address file final longitude and latitude corresponding with it, after receiving address file, whether first server can be inquired about for same address file converted longitude and latitude, if inquired the final longitude and latitude of this address file, then directly takes out and feed back to client, if do not inquired, just can carry out the calculating of longitude and latitude, the operation of School Affairs correction according to address file, feed back to longitude and latitude accurately, improve the experience of user further.
Embodiment 3
Present embodiments provide a kind of geographical coding service system of forward obtaining longitude and latitude, as shown in Figure 4, comprise longitude and latitude acquisition module 1, Query module 2, extraction module 3, administrative area judge module 4 and output module 5, wherein the initial longitude and latitude of longitude and latitude acquisition module 1 for matching according to the source address information that the address file received obtains and described address file comprises; Query module 2 looks into address information for obtain corresponding thereto according to described initial longitude and latitude Query counter; Extraction module 3 is for extracting source row administrative division corresponding to described source address information respectively and describedly instead looking into corresponding counter of address information and look into administrative area; Administrative area judge module 4 is for judging described source row administrative division and described whether counter to look into administrative area identical; Output module 5 for when described source row administrative division with described counter look into administrative area identical time, described initial longitude and latitude is exported as final longitude and latitude.
In the geographical coding service system of the forward of the acquisition longitude and latitude according to the present embodiment, initial longitude and latitude, by being just output after verification, decreasing the error of longitude and latitude, is conducive to accurate location.
Preferably, said system can also comprise:
Expanded range module 6, for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module 7, for obtaining the longitude and latitude of the source address information after expansion, it can be used as described initial longitude and latitude, and restarts described Query module 2.
Particularly, if administrative area judge module 4 judges source row administrative division and counter to look into administrative area different, then expanded range module 6 can expand the scope of source address information by regular expression, then longitude and latitude update module 7 calculates according to the source address information after expansion the longitude and latitude matched with it again, and it can be used as initial longitude and latitude, Query module 2 new instead looks into administrative area according to counter the checking in of the initial longitude and latitude after upgrading again, source row administrative division corresponding to source address information and instead look into corresponding counter of address information and look into administrative area after extraction module 3 extracts respectively and expands, administrative area judge module 4 reference source administrative area is with whether counter to look into administrative area identical, initial longitude and latitude after upgrading is verified, if verification is by just exporting this initial longitude and latitude as final longitude and latitude, otherwise duplication check again, by upgrading initial longitude and latitude according to actual conditions, further reduce the error of longitude and latitude, be conducive to accurate location.
Embodiment 4
When source row administrative division with counter look into administrative area still identical through repeatedly verifying when, can endless loop be entered.In order to avoid this situation, present embodiments provide the geographical coding service system of forward of the another kind of acquisition longitude and latitude optimized, as shown in Figure 5, except comprising longitude and latitude acquisition module 1, Query module 2, extraction module 3, administrative area judge module 4 and the output module 5 described in embodiment 3, can also comprise:
Initialization module 2a, for initialization tag value.
Expanded range module 6, for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module 7, for obtaining the longitude and latitude of the source address information after expansion, and it can be used as described initial longitude and latitude;
Accumulator module 8a, for adding 1 by described mark value and upgrading described mark value;
Verification judge module 9, for judging whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, starting correcting module 10, when not exceeding, restarting described Query module 2.
Correcting module 10, for revising described initial longitude and latitude, and exports revised initial longitude and latitude as final longitude and latitude.Solve the problem verifying and how to feed back to longitude and latitude accurately unsuccessfully.
In the geographical coding service system of the forward of the acquisition longitude and latitude according to the present embodiment, by setting the number of times of duplication check, such as setting predetermined threshold value is 3, every circulation primary, makes mark value add 1, when after circulation preset times, when namely exceeding predetermined threshold value, jump out verification, inform and verify unsuccessfully, thus avoid endless loop.
Preferably, described correcting module 10 can comprise:
Setup unit 101, for setting sample number;
Close address acquisition unit 102, for calculating the close address information of described source address information;
Sample extraction unit 103, for according to similarity order from high to low, selects quantity and meets the multiple close address information of sample number as sample from described close address information;
Sample longitude and latitude acquiring unit 104, for obtaining the longitude and latitude of each the close address information in sample;
Modified value acquiring unit 105, for the mean value of the longitude and latitude using each close address information described as revised initial longitude and latitude.
Particularly, close address acquisition unit 102 can calculate by similarity alignment algorithm the close address information obtaining source address information, sample number can set as required, such as can be set as 5, sample extraction unit 103 needs from close address information, to select 5 close address informations as sample according to similarity order from high to low.Sample longitude and latitude acquiring unit 104 obtains the longitude and latitude of each the close address information in sample again, modified value acquiring unit 105 using its mean value as revised initial longitude and latitude, and revised initial longitude and latitude is exported as final longitude and latitude, the error of longitude and latitude is down to minimum, is conducive to accurate location.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.

Claims (12)

1. obtain a forward geocoding service method for longitude and latitude, it is characterized in that, comprising:
According to the initial longitude and latitude that the source address information that the address file received obtains and described address file comprises matches;
According to described initial longitude and latitude Query, to obtain corresponding thereto counter looks into address information;
Extract source row administrative division corresponding to described source address information respectively and describedly instead look into corresponding counter of address information and look into administrative area;
Judge described source row administrative division and described whether counter to look into administrative area identical;
When described source row administrative division with described counter look into administrative area identical time, described initial longitude and latitude is exported as final longitude and latitude.
2. the forward geocoding service method of acquisition longitude and latitude according to claim 1, is characterized in that, also comprise:
When described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Obtain the longitude and latitude of the source address information after expanding, it can be used as described initial longitude and latitude, and be back to described according to the described initial longitude and latitude Query acquisition anti-step looking into address information corresponding thereto.
3. the forward geocoding service method of acquisition longitude and latitude according to claim 1, is characterized in that, to obtain corresponding thereto according to described initial longitude and latitude Query counter look into address information before, also comprise:
Initialization tag value.
4. the forward geocoding service method of acquisition longitude and latitude according to claim 3, is characterized in that, also comprise:
When described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Obtain the longitude and latitude of the source address information after expanding, and it can be used as described initial longitude and latitude;
Described mark value is added 1 and upgrades described mark value;
Judging whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, when not exceeding, being back to described according to the described initial longitude and latitude Query acquisition anti-step looking into address information corresponding thereto.
5. the forward geocoding service method of acquisition longitude and latitude according to claim 4, is characterized in that, also comprise:
When verifying unsuccessfully, then described initial longitude and latitude is revised, and revised initial longitude and latitude is exported as final longitude and latitude.
6. the forward geocoding service method of acquisition longitude and latitude according to claim 5, is characterized in that, describedly carries out correction to described initial longitude and latitude and comprises:
Setting sample number;
Calculate the close address information of described source address information;
According to similarity order from high to low, from described close address information, select quantity meet the multiple close address information of sample number as sample;
Obtain the longitude and latitude of each the close address information in sample;
Using the mean value of the longitude and latitude of each close address information described as revised initial longitude and latitude.
7. obtain the geographical coding service system of forward of longitude and latitude, it is characterized in that, comprising:
Longitude and latitude acquisition module (1), for the initial longitude and latitude matched according to the source address information that the address file received obtains and described address file comprises;
Query module (2), looks into address information for obtain corresponding thereto according to described initial longitude and latitude Query counter;
Extraction module (3), for extracting source row administrative division corresponding to described source address information respectively and describedly instead looking into corresponding counter of address information and look into administrative area;
Administrative area judge module (4), for judging described source row administrative division and described whether counter to look into administrative area identical;
Output module (5), for when described source row administrative division with described counter look into administrative area identical time, described initial longitude and latitude is exported as final longitude and latitude.
8. the geographical coding service system of the forward of acquisition longitude and latitude according to claim 7, is characterized in that, also comprise:
Expanded range module (6), for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module (7), for obtaining the longitude and latitude of the source address information after expansion, it can be used as described initial longitude and latitude, and restarts described Query module (2).
9. the geographical coding service system of the forward of acquisition longitude and latitude according to claim 7, is characterized in that, also comprise:
Initialization module (2a), for initialization tag value.
10. the geographical coding service system of the forward of acquisition longitude and latitude according to claim 9, is characterized in that, also comprise:
Expanded range module (6), for when described source row administrative division with described counter look into administrative area different time, expand the scope of described source address information;
Longitude and latitude update module (7), for obtaining the longitude and latitude of the source address information after expansion, and it can be used as described initial longitude and latitude;
Accumulator module (8a), for adding 1 by described mark value and upgrading described mark value;
Verification judge module (9), for judging whether the mark value after upgrading exceeds predetermined threshold value, when exceeding, judging to verify unsuccessfully, when not exceeding, restarting described Query module (2).
The geographical coding service system of forward of 11. acquisition longitudes and latitudes according to claim 10, is characterized in that, also comprise:
Correcting module (10), for when verifying unsuccessfully, then revises described initial longitude and latitude, and is exported as final longitude and latitude by revised initial longitude and latitude.
The geographical coding service system of forward of 12. acquisition longitudes and latitudes according to claim 11, it is characterized in that, described correcting module (10) comprising:
Setup unit (101), for setting sample number;
Close address acquisition unit (102), for calculating the close address information of described source address information;
Sample extraction unit (103), for according to similarity order from high to low, selects quantity and meets the multiple close address information of sample number as sample from described close address information;
Sample longitude and latitude acquiring unit (104), for obtaining the longitude and latitude of each the close address information in sample;
Modified value acquiring unit (105), for the mean value of the longitude and latitude using each close address information described as revised initial longitude and latitude.
CN201510015259.8A 2015-01-13 2015-01-13 A kind of positive geocoding service method and system for obtaining longitude and latitude Active CN104537102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510015259.8A CN104537102B (en) 2015-01-13 2015-01-13 A kind of positive geocoding service method and system for obtaining longitude and latitude

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510015259.8A CN104537102B (en) 2015-01-13 2015-01-13 A kind of positive geocoding service method and system for obtaining longitude and latitude

Publications (2)

Publication Number Publication Date
CN104537102A true CN104537102A (en) 2015-04-22
CN104537102B CN104537102B (en) 2018-05-01

Family

ID=52852630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510015259.8A Active CN104537102B (en) 2015-01-13 2015-01-13 A kind of positive geocoding service method and system for obtaining longitude and latitude

Country Status (1)

Country Link
CN (1) CN104537102B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021336A (en) * 2016-05-09 2016-10-12 厦门四方中信科技有限公司 A method for automatic administrative district division for mass address information
CN110378634A (en) * 2018-07-09 2019-10-25 北京京东尚科信息技术有限公司 A kind of method and apparatus generating dispatching address
CN110427575A (en) * 2019-08-15 2019-11-08 阳光易购(湖南)科技有限公司 A kind of method that address corresponds to the judgement of longitude and latitude accuracy
CN110795512A (en) * 2018-07-17 2020-02-14 中国移动通信集团重庆有限公司 Address matching method, device, equipment and storage medium
CN111177589A (en) * 2019-12-31 2020-05-19 税友软件集团股份有限公司 Address information query method, device, equipment and storage medium
WO2020124756A1 (en) * 2018-12-17 2020-06-25 深圳市丰巢科技有限公司 Latitudinal and longitudinal information correction method and apparatus for cabinet, device, and storage medium
CN111506676A (en) * 2019-01-30 2020-08-07 菜鸟智能物流控股有限公司 Geographic data correction method, device, equipment and storage medium
CN112445880A (en) * 2020-10-20 2021-03-05 湖南地理空间大数据产业发展有限公司 Method and device for automatically gridding enterprise data in geographic space and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901258A (en) * 2010-07-15 2010-12-01 北京协进科技发展有限公司 Method and device for displaying geographic information in web page through map
CN102867004A (en) * 2011-07-06 2013-01-09 高德软件有限公司 Method and system for matching addresses
US20130013202A1 (en) * 2011-07-07 2013-01-10 Anup Som System and method for simplified representation of geographic addresses
US8538679B1 (en) * 2011-04-08 2013-09-17 Oberweis Dairy, Inc. Enhanced geocoding
US20130325318A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Geocoded Data Detection and User Interfaces for Same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901258A (en) * 2010-07-15 2010-12-01 北京协进科技发展有限公司 Method and device for displaying geographic information in web page through map
US8538679B1 (en) * 2011-04-08 2013-09-17 Oberweis Dairy, Inc. Enhanced geocoding
CN102867004A (en) * 2011-07-06 2013-01-09 高德软件有限公司 Method and system for matching addresses
US20130013202A1 (en) * 2011-07-07 2013-01-10 Anup Som System and method for simplified representation of geographic addresses
US20130325318A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Geocoded Data Detection and User Interfaces for Same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DANIEL W. GOLDBERG ETC.: ""From Text to Geographic Coordinates:The Current State of Geocoding"", 《URISA JOURNAL》 *
薛梅等: ""基于无规则地址点的地理编码模型设计及实现"", 《城市勘测》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021336A (en) * 2016-05-09 2016-10-12 厦门四方中信科技有限公司 A method for automatic administrative district division for mass address information
CN110378634A (en) * 2018-07-09 2019-10-25 北京京东尚科信息技术有限公司 A kind of method and apparatus generating dispatching address
CN110795512A (en) * 2018-07-17 2020-02-14 中国移动通信集团重庆有限公司 Address matching method, device, equipment and storage medium
CN110795512B (en) * 2018-07-17 2023-08-01 中国移动通信集团重庆有限公司 Address matching method, device, equipment and storage medium
WO2020124756A1 (en) * 2018-12-17 2020-06-25 深圳市丰巢科技有限公司 Latitudinal and longitudinal information correction method and apparatus for cabinet, device, and storage medium
CN111506676A (en) * 2019-01-30 2020-08-07 菜鸟智能物流控股有限公司 Geographic data correction method, device, equipment and storage medium
CN111506676B (en) * 2019-01-30 2023-03-24 菜鸟智能物流控股有限公司 Geographic data correction method, device, equipment and storage medium
CN110427575A (en) * 2019-08-15 2019-11-08 阳光易购(湖南)科技有限公司 A kind of method that address corresponds to the judgement of longitude and latitude accuracy
CN111177589A (en) * 2019-12-31 2020-05-19 税友软件集团股份有限公司 Address information query method, device, equipment and storage medium
CN112445880A (en) * 2020-10-20 2021-03-05 湖南地理空间大数据产业发展有限公司 Method and device for automatically gridding enterprise data in geographic space and related equipment

Also Published As

Publication number Publication date
CN104537102B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN104537102A (en) Positive geocoding service method and system for obtaining longitude and latitude
CN110502599B (en) Map data query method and device and computer readable storage medium
CN102158801B (en) Mobile terminal user-oriented accurate location based information service method and device
CN108738357B (en) Information processing apparatus, portable apparatus, and system
CN110992681B (en) Traffic network attribute information generation method, device, storage medium and electronic equipment
CN105373559A (en) Geographic information acquisition method and geographic information acquisition system
CN101179851A (en) Positioning system and method of navigation mobile phone
CN104750879B (en) Electronic map marking, claiming and error correcting method and processing equipment
CN103888975A (en) Base station latitude and longitude data verification method and system
CN108897025A (en) High-precision locating method, device, terminal device and computer readable storage medium
CN104867402A (en) Offline reverse geocoding method, device thereof and terminal equipment
CN106773783A (en) The semi-physical simulation test system and method for a kind of CORS system
CN103177189B (en) Register Data Quality Analysis method in a kind of many source positions
CN103064953B (en) Position-based is registered the POI update method of data
CN101482424A (en) Vehicle navigation method
CN104640201A (en) Positioning method and device based on WIFI (wireless fidelity) fingerprint technology
CN110569546B (en) Traffic cell division method and device
US20140180574A1 (en) Electronic device and method for updating rendezvous location of communication devices
CN114463499B (en) Building three-dimensional modeling method and device
CN111737237B (en) Missing milepost data generation method, device, equipment and storage medium
CN115190587A (en) WIFI position determination method and device, electronic equipment and storage medium
CN104199937A (en) Multi-website POI position mapping method and device
CN104050168A (en) Information processing method, electronic equipment and lexicon server
CN106443732B (en) Path diagram drawing method and system based on GPS
CN105279181A (en) Quick updating method and system of electronic map of house

Legal Events

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

Effective date of registration: 20210414

Address after: 518000 R & D building 2901, block a, building 1, Shenzhen International Innovation Valley, Dashi 1st Road, Xili community, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Daole Technology Co.,Ltd.

Address before: 1406, science and technology building, Shenzhen University, Shenzhen, Guangdong 518000

Patentee before: Cai Shubin