CN104537102B - A kind of positive geocoding service method and system for obtaining longitude and latitude - Google Patents

A kind of positive geocoding service method and system for obtaining longitude and latitude Download PDF

Info

Publication number
CN104537102B
CN104537102B CN201510015259.8A CN201510015259A CN104537102B CN 104537102 B CN104537102 B CN 104537102B CN 201510015259 A CN201510015259 A CN 201510015259A CN 104537102 B CN104537102 B CN 104537102B
Authority
CN
China
Prior art keywords
latitude
longitude
address information
administrative area
source
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
CN201510015259.8A
Other languages
Chinese (zh)
Other versions
CN104537102A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of positive geocoding service method and system for obtaining longitude and latitude, the initial longitude and latitude that the source address information included with address file matches is obtained according to the address file of reception, corresponding thereto counter, which is obtained, further according to initial longitude and latitude Query looks into address information, the corresponding source administrative area of source address information is extracted respectively looks into that address information is corresponding counter to look into administrative area with counter, and judge source administrative area and whether counter to look into administrative area identical, when source administrative area with it is counter look into administrative area it is identical when, will just state initial longitude and latitude and be exported as final longitude and latitude.By being verified to initial longitude and latitude, it can just be exported only after being verified using initial longitude and latitude as final longitude and latitude, reduce the error of longitude and latitude, be conducive to be accurately positioned.

Description

A kind of positive geocoding service method and system for obtaining longitude and latitude
Technical field
The present invention relates to geographic information data processing, computer application field, relates in particular to a kind of acquisition longitude and latitude Positive geocoding service method and system.
Background technology
Geocoding (English:Geocoding) refer to statistics or address information establishing space coordinate relation Process, also known as address matching is to identify the position of point, line, surface and the coding that sets of attribute.Positive geocoding service Realize the function that Chinese address or place name description are converted to relevant position on earth surface (longitude and latitude).
In recent years, as information equipment and the progress of net application technology development, Cartographic Technique also constantly develop therewith, The app services of mobile equipment (such as mobile phone) also increase the function of positioning, mobile phone position refer to by specific location technology come Cell phone or the positional information (latitude and longitude coordinates) of terminal user are obtained, marks the position for being positioned object on the electronic map Technology or service.Location technology has two kinds, and a kind of is the positioning based on GPS, and a kind of is the base station based on mobile operation network Positioning.Positioning method based on GPS is that the position signal of oneself is sent to positioning backstage using the GPS positioning module on mobile phone To realize mobile phone positioning.Base station location is then to determine mobile phone location using measuring and calculating distance of the base station to the distance of mobile phone, It is not required mobile phone that there is GPS positioning ability, but precision depends greatly on the distribution of base station and the size of coverage, by mistake Difference can be more than one kilometer.
No matter which kind of above-mentioned positioning method, still have many deviations, particularly some inglorious places, it is difficult to relatively accurate Carry out position.Therefore, on the basis of other map products, how more accurately, the corresponding longitude and latitude in address is intelligently obtained Degree, is a problem to be solved.
The content of the invention
For this reason, the technical problems to be solved by the invention are that the longitude and latitude error that obtains in the prior art is larger, especially It is some inglorious places, it is difficult to more accurately be positioned.
In order to solve the above technical problems, technical scheme is as follows:
The present invention provides a kind of positive geocoding service method for obtaining longitude and latitude, including:
The initial longitude and latitude that the source address information included with described address file matches is obtained according to the address file of reception Degree;
Anti- address information is looked into according to what the initial longitude and latitude Query obtained corresponding thereto;
The corresponding source administrative area of the source address information is extracted respectively and described counter looks into that address information is corresponding counter to look into administration Area;
Judge the source administrative area and described whether counter to look into administrative area identical;
When the source administrative area with it is described it is counter look into administrative area it is identical when, the initial longitude and latitude is defeated as final longitude and latitude Go out.
The positive geocoding service method of the present invention for obtaining longitude and latitude, further includes:
When the source administrative area with it is described it is counter look into administrative area difference when, expand the scope of the source address information;
The longitude and latitude of the source address information after expanding is obtained, as the initial longitude and latitude, and is back to described Anti- the step of looking into address information corresponding thereto is obtained according to the initial longitude and latitude Query.
The positive geocoding service method of the present invention for obtaining longitude and latitude, reverse according to the initial longitude and latitude Inquiry obtains corresponding thereto counter and looks into before address information, further includes:
Initialization tag value.
The positive geocoding service method of the present invention for obtaining longitude and latitude, further includes:
When the source administrative area with it is described it is counter look into administrative area difference when, expand the scope of the source address information;
The longitude and latitude of the source address information after expanding is obtained, and as the initial longitude and latitude;
The mark value is added 1 and updates the mark value;
Judge renewal after mark value whether exceed predetermined threshold value, when beyond when, judge verification fail, when without departing from when, It is back to described anti-the step of looking into address information obtained according to the initial longitude and latitude Query corresponding thereto.
The positive geocoding service method of the present invention for obtaining longitude and latitude, further includes:
When verifying failure, then the initial longitude and latitude is modified, and using revised initial longitude and latitude as most Whole longitude and latitude output.
The positive geocoding service method of the present invention for obtaining longitude and latitude, it is described that the initial longitude and latitude is carried out Amendment includes:
Set sample number;
Calculate the close address information of the source address information;
According to the order of similarity from high to low, from the close address information selecting quantity meets the more of sample number A close address information is as sample;
Obtain the longitude and latitude of each close address information in sample;
Using the average value of the longitude and latitude of each close address information as revised initial longitude and latitude.
Present invention also offers a kind of geographical coding service system of the forward direction for obtaining longitude and latitude, including:
Longitude and latitude acquisition module, believes for obtaining the source address included with described address file according to the address file of reception The matched initial longitude and latitude of manner of breathing;
Query module, the anti-address of looking into for being obtained corresponding thereto according to the initial longitude and latitude Query are believed Breath;
Extraction module, for extracting the corresponding source administrative area of the source address information respectively and described counter looking into address information pair That answers counter looks into administrative area;
Administrative area judgment module, for judging the source administrative area and described whether counter to look into administrative area identical;
Output module, for when the source administrative area with it is described it is counter look into administrative area it is identical when, the initial longitude and latitude is made Exported for final longitude and latitude.
The forward direction geographical coding service system of the present invention for obtaining longitude and latitude, further includes:
Scope extension module, for when the source administrative area with it is described it is counter look into administrative area difference when, expand the source address The scope of information;
Longitude and latitude update module, for obtaining the longitude and latitude of the source address information after expanding, as the initial warp Latitude, and restart the Query module.
The forward direction geographical coding service system of the present invention for obtaining longitude and latitude, further includes:
Initialization module, for initialization tag value.
The forward direction geographical coding service system of the present invention for obtaining longitude and latitude, further includes:
Scope extension module, for when the source administrative area with it is described it is counter look into administrative area difference when, expand the source address The scope of information;
Longitude and latitude update module, for obtaining the longitude and latitude of the source address information after expanding, and as described initial Longitude and latitude;
Accumulator module, for the mark value to be added 1 and updates the mark value;
Verify judgment module, for judge update after mark value whether exceed predetermined threshold value, when beyond when, judge to verify Failure, when without departing from when, restart the Query module.
The forward direction geographical coding service system of the present invention for obtaining longitude and latitude, further includes:
Correcting module, for when verifying failure, being then modified to the initial longitude and latitude, and will be revised initial Longitude and latitude is exported as final longitude and latitude.
The forward direction geographical coding service system of the present invention for obtaining longitude and latitude, the correcting module include:
Setup unit, for setting sample number;
Close address acquisition unit, for calculating the close address information of the source address information;
Sample extraction unit, for the order according to similarity from high to low, selects from the close address information Quantity meets multiple close address informations of sample number as sample;
Sample longitude and latitude acquiring unit, for obtaining the longitude and latitude of each close address information in sample;
Correction value acquiring unit, for using the average value of the longitude and latitude of each close address information as revised Initial longitude and latitude.
The above technical solution of the present invention has the following advantages over the prior art:
The present invention provides a kind of positive geocoding service method and system for obtaining longitude and latitude, according to the address of reception The initial longitude and latitude that file acquisition matches with the source address information that address file includes, further according to initial longitude and latitude Query Obtain corresponding thereto counter and look into address information, extract the corresponding source administrative area of source address information respectively and look into address information pair with counter Answer it is counter look into administrative area, and judge whether source administrative area and anti-administrative area of looking into identical, when source administrative area with counter to look into administrative area identical When, it will just state initial longitude and latitude and be exported as final longitude and latitude.By being verified to initial longitude and latitude, only when being verified It can just be exported afterwards using initial longitude and latitude as final longitude and latitude, reduce the error of longitude and latitude, be conducive to be accurately positioned.
Brief description of the drawings
In order to make the content of the present invention more clearly understood, the specific embodiment below according to the present invention and combination Attached drawing, the present invention is described in further detail, wherein
Fig. 1 is the flow chart of the positive geocoding service method of according to embodiments of the present invention 1 acquisition longitude and latitude;
Fig. 2 is the flow chart of the positive geocoding service method of according to embodiments of the present invention 2 acquisition longitude and latitude;
Fig. 3 is the stream of the step S10 of the positive geocoding service method of according to embodiments of the present invention 2 acquisition longitude and latitude Cheng Tu;
Fig. 4 is the structure diagram of the geographical coding service system of forward direction of according to embodiments of the present invention 3 acquisition longitude and latitude;
Fig. 5 is the structure diagram of the geographical coding service system of forward direction of according to embodiments of the present invention 4 acquisition longitude and latitude.
Reference numeral is expressed as in figure:1- longitude and latitude acquisition modules, 2- Query modules, 3- extraction modules, 4- are administrative Area's judgment module, 5- output modules, 6- scope extension modules, 7- longitude and latitude update modules, 8a- accumulator modules, 9- verifications judge Module, 10- correcting modules, 101- setup units, the close address acquisition units of 102-, 103- sample extraction units, 104- samples Longitude and latitude acquiring unit, 105- correction value acquiring units.
Embodiment
Embodiment 1
Develop with the continuous development of Cartographic Technique, user will can be wrapped by mobile terminals such as mobile phone, tablet computers Location Request (address file) containing azimuth information residing for user is sent to server, and server receives mobile terminal upload After address file (Location Request), the source address information that can include address file, by address conversion algorithmic match address, turns Change matched initial longitude and latitude into, send back mobile terminal, just can be to residing for oneself after user receives initial longitude and latitude Position located, in order to more accurately be positioned, lift the Experience Degree of user, present embodiments provide one kind and obtain Learn from else's experience the positive geocoding service method of latitude, as shown in Figure 1, this method includes:
S1. the initial warp that the source address information included with described address file matches is obtained according to the address file of reception Latitude.In inquiring about first, server may there is a situation where to can not check longitude and latitude, can be cut at this time according to key word library Algorithm cuts address (namely expanding address realm according to regular expression keyword), until drawing longitude and latitude.
S2. anti-address information is looked into according to what the initial longitude and latitude Query obtained corresponding thereto.It can usually adopt With counter find of reverse geographic coding anti-address information is looked into what longitude and latitude matched.
S3. the corresponding source administrative area of the source address information is extracted respectively and described counter looks into that address information is corresponding counter to look into row Scope can be set as needed in administrative division, administrative area, for example is set as county, township etc..
S4. judge whether the source administrative area and the anti-administrative area of looking into are identical, when the source administrative area and described counter look into S5 is entered step when administrative area is identical, when the source administrative area with it is described it is counter look into administrative area difference when then enter step S6.
S5. the initial longitude and latitude is exported as final longitude and latitude.
S6. when the source administrative area with it is described it is counter look into administrative area difference when, expand the scope of the source address information, wherein The scope of source address information can be expanded by regular expression.
S7. the longitude and latitude of the source address information after expanding is obtained, as the initial longitude and latitude, and return to step S2。
, just can be by initially only after being verified by being verified to initial longitude and latitude by above-mentioned steps S1-S5 Longitude and latitude is exported as final longitude and latitude, reduces the error of longitude and latitude, is conducive to be accurately positioned.
When source administrative area with it is counter look into administrative area it is different when, by above-mentioned steps S6-S7, first believed according to the source address after expansion Breath calculates matched longitude and latitude, and as initial longitude and latitude, is looked into further according to the initial longitude and latitude after renewal is counter Obtain it is new it is counter look into administrative area, then after extraction expands respectively the corresponding source administrative area of source address information with counter to look into address information corresponding It is counter look into administrative area, reference source administrative area and it is counter look into whether administrative area identical, the initial longitude and latitude after renewal is verified, if Verification is exported by the way that the initial longitude and latitude can be just used as to final longitude and latitude, above-mentioned steps is otherwise repeated, by according to reality Situation is updated initial longitude and latitude, further reduces the error of longitude and latitude, is conducive to be accurately positioned.
Embodiment 2
When source administrative area and it is counter look into administrative area through repeatedly verify it is still different in the case of, endless loop can be entered.In order to keep away Exempt from such case, present embodiments provide a kind of positive geocoding service method of the acquisition longitude and latitude of optimization, such as Fig. 2 Shown, this method includes:
S1. the initial warp that the source address information included with described address file matches is obtained according to the address file of reception Latitude.
S2a. initialization tag value.
S2. anti-address information is looked into according to what the initial longitude and latitude Query obtained corresponding thereto.
S3. the corresponding source administrative area of the source address information is extracted respectively and described counter looks into that address information is corresponding counter to look into row Administrative division.
S4. judge whether the source administrative area and the anti-administrative area of looking into are identical, when the source administrative area and described counter look into S5 is entered step when administrative area is identical, when the source administrative area with it is described it is counter look into administrative area difference when then enter step S6.
S5. the initial longitude and latitude is exported as final longitude and latitude.
S6. the scope of the source address information is expanded;
S7. the longitude and latitude of the source address information after expanding is obtained, and as the initial longitude and latitude;
S8. the mark value is added 1 and updates the mark value;
S9. judge renewal after mark value whether exceed predetermined threshold value, when beyond when, judge verification fail, enter step S10;When without departing from when, be back to step S2;
S10. the initial longitude and latitude is modified, and revised initial longitude and latitude is defeated as final longitude and latitude Go out.Accurate longitude and latitude how is fed back to after solving the problems, such as verification failure.
In the positive geocoding service method according to the acquisition longitude and latitude of the present embodiment, by setting duplication check Number, for example predetermined threshold value is set as 3, per circulation primary, mark value is added 1, after preset times are circulated, i.e., beyond default threshold During value, verification is jumped out, verification failure is informed, so as to avoid endless loop.
Preferably, as shown in figure 3, step S10 can include:
S101. sample number is set;Sample number can be set as needed, for example can be set as 5.
S102. the close address information of the source address information is calculated;Specifically, can by similarity alignment algorithm come Calculate the close address information for obtaining source address information.
S103. the order according to similarity from high to low, from the close address information selecting quantity meets sample Several multiple close address informations are as sample;When being set as 5 such as sample number, then the order from high to low according to similarity is needed 5 close address informations are selected from proximally location information as sample.
S104. the longitude and latitude of each close address information in sample is obtained;
S105. using the average value of the longitude and latitude of each close address information as revised initial longitude and latitude.Can The error of longitude and latitude to be minimized, be conducive to be accurately positioned.
Preferably, can be in server storage address file and corresponding final longitude and latitude, when receiving address text After part, whether server can be inquired about for same address file converted longitude and latitude, if having inquired the ground first The final longitude and latitude of location file, then directly take out and feed back to client, if do not inquired, just can according to address file into Pass through calculating, verification and the modified operation of latitude, feed back to accurate longitude and latitude, further improve the experience of user.
Embodiment 3
A kind of geographical coding service system of the forward direction for obtaining longitude and latitude is present embodiments provided, as shown in figure 4, including longitude and latitude Degree acquisition module 1, Query module 2, extraction module 3, administrative area judgment module 4 and output module 5, wherein longitude and latitude obtain Modulus block 1 is used to obtain the initial warp that the source address information included with described address file matches according to the address file of reception Latitude;Query module 2 is used to counter look into address information according to what the initial longitude and latitude Query obtained corresponding thereto; Extraction module 3 is used to extracting the corresponding source administrative area of the source address information respectively and described counter looks into that address information is corresponding counter to be looked into Administrative area;Administrative area judgment module 4 is used to judging the source administrative area and described whether counter to look into administrative area identical;Output module 5 For when the source administrative area with it is described it is counter look into administrative area it is identical when, the initial longitude and latitude is exported as final longitude and latitude.
In the geographical coding service system of forward direction of the acquisition longitude and latitude according to the present embodiment, initial longitude and latitude passes through verification It can just be output afterwards, reduce the error of longitude and latitude, be conducive to be accurately positioned.
Preferably, said system can also include:
Scope extension module 6, for when the source administrative area with it is described it is counter look into administrative area difference when, expand the source address The scope of information;
Longitude and latitude update module 7, for obtaining the longitude and latitude of the source address information after expanding, as the initial warp Latitude, and restart the Query module 2.
Specifically, if administrative area judgment module 4 judges that source administrative area is different with anti-administrative area of looking into, scope extension module 6 The scope of source address information can be expanded by regular expression, then longitude and latitude update module 7 is further according to the source after expansion Location information calculates matched longitude and latitude, and as initial longitude and latitude, after Query module 2 is further according to renewal Initial longitude and latitude it is counter check in it is new it is counter look into administrative area, extraction module 3 after extraction expands respectively again source address information it is corresponding Source administrative area with it is counter look into address information it is corresponding it is counter look into administrative area, 4 reference source administrative area of administrative area judgment module and counter look into administration Whether area is identical, and the initial longitude and latitude after renewal is verified, if the initial longitude and latitude by can just be used as finally by verification Longitude and latitude export, otherwise repeat verification, by being updated according to actual conditions to initial longitude and latitude, further reduce through The error of latitude, is conducive to be accurately positioned.
Embodiment 4
When source administrative area and it is counter look into administrative area through repeatedly verify it is still different in the case of, endless loop can be entered.In order to keep away Exempt from such case, the geographical coding service system of forward direction of the acquisition longitude and latitude of another optimization is present embodiments provided, such as Fig. 5 institutes Show, except judging mould including the longitude and latitude acquisition module 1 described in embodiment 3, Query module 2, extraction module 3, administrative area Outside block 4 and output module 5, it can also include:
Initialization module 2a, for initialization tag value.
Scope extension module 6, for when the source administrative area with it is described it is counter look into administrative area difference when, expand the source address The scope of information;
Longitude and latitude update module 7, for obtaining the longitude and latitude of the source address information after expanding, and as described initial Longitude and latitude;
Accumulator module 8a, for the mark value to be added 1 and updates the mark value;
Verify judgment module 9, for judge update after mark value whether exceed predetermined threshold value, when beyond when, judge school Test failure, start correcting module 10, when without departing from when, restart the Query module 2.
Correcting module 10, for being modified to the initial longitude and latitude, and using revised initial longitude and latitude as most Whole longitude and latitude output.Accurate longitude and latitude how is fed back to after solving the problems, such as verification failure.
In the geographical coding service system of forward direction of the acquisition longitude and latitude according to the present embodiment, by setting duplication check Number, for example predetermined threshold value is set as 3, per circulation primary, mark value is added 1, after preset times are circulated, i.e., beyond default threshold During value, verification is jumped out, verification failure is informed, so as to avoid endless loop.
Preferably, the correcting module 10 can include:
Setup unit 101, for setting sample number;
Close address acquisition unit 102, for calculating the close address information of the source address information;
Sample extraction unit 103, for the order according to similarity from high to low, chooses from the close address information Go out quantity and meet multiple close address informations of sample number as sample;
Sample longitude and latitude acquiring unit 104, for obtaining the longitude and latitude of each close address information in sample;
Correction value acquiring unit 105, for using the average value of the longitude and latitude of each close address information as amendment Initial longitude and latitude afterwards.
Specifically, close address acquisition unit 102 can calculate acquisition source address information by similarity alignment algorithm Close address information, sample number can be set as needed, for example can be set as 5, sample extraction unit 103 then need by 5 close address informations are selected as sample from proximally location information according to the order of similarity from high to low.Sample longitude and latitude Degree acquiring unit 104 obtains the longitude and latitude of each close address information in sample again, and correction value acquiring unit 105 is averaged Value is used as revised initial longitude and latitude, and revised initial longitude and latitude is exported as final longitude and latitude, by longitude and latitude Error minimizes, and is conducive to be accurately positioned.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into all change and modification of the scope of the invention.

Claims (12)

  1. A kind of 1. positive geocoding service method for obtaining longitude and latitude, it is characterised in that including:
    The initial longitude and latitude that the source address information included with described address file matches is obtained according to the address file of reception;
    Anti- address information is looked into according to what the initial longitude and latitude Query obtained corresponding thereto;
    The corresponding source administrative area of the source address information is extracted respectively and described counter looks into that address information is corresponding counter to look into administrative area;
    Judge the source administrative area and described whether counter to look into administrative area identical;
    When the source administrative area with it is described it is counter look into administrative area it is identical when, the initial longitude and latitude is exported as final longitude and latitude.
  2. 2. the positive geocoding service method according to claim 1 for obtaining longitude and latitude, it is characterised in that further include:
    When the source administrative area with it is described it is counter look into administrative area difference when, expand the scope of the source address information;
    The longitude and latitude of the source address information after expanding is obtained, as the initial longitude and latitude, and is back to described according to institute State initial longitude and latitude Query and obtain anti-the step of looking into address information corresponding thereto.
  3. 3. the positive geocoding service method according to claim 1 for obtaining longitude and latitude, it is characterised in that according to institute State that initial longitude and latitude Query obtains corresponding thereto it is counter look into before address information, further include:
    Initialization tag value.
  4. 4. the positive geocoding service method according to claim 3 for obtaining longitude and latitude, it is characterised in that further include:
    When the source administrative area with it is described it is counter look into administrative area difference when, expand the scope of the source address information;
    The longitude and latitude of the source address information after expanding is obtained, and as the initial longitude and latitude;
    The mark value is added 1 and updates the mark value;
    Judge renewal after mark value whether exceed predetermined threshold value, when beyond when, judge verification failure, when without departing from when, return To described anti-the step of looking into address information according to the initial longitude and latitude Query acquisition corresponding thereto.
  5. 5. the positive geocoding service method according to claim 4 for obtaining longitude and latitude, it is characterised in that further include:
    When verifying failure, then the initial longitude and latitude is modified, and using revised initial longitude and latitude as final warp Latitude exports.
  6. 6. the positive geocoding service method according to claim 5 for obtaining longitude and latitude, it is characterised in that described to institute State initial longitude and latitude be modified including:
    Set sample number;
    The close address information of acquisition source address information is calculated by similarity alignment algorithm;
    According to the order of similarity from high to low, multiple phases that quantity meets sample number are selected from the close address information Nearly address information is as sample;
    Obtain the longitude and latitude of each close address information in sample;
    Using the average value of the longitude and latitude of each close address information as revised initial longitude and latitude.
  7. A kind of 7. geographical coding service system of forward direction for obtaining longitude and latitude, it is characterised in that including:
    Longitude and latitude acquisition module (1), believes for obtaining the source address included with described address file according to the address file of reception The matched initial longitude and latitude of manner of breathing;
    Query module (2), the anti-address of looking into for being obtained corresponding thereto according to the initial longitude and latitude Query are believed Breath;
    Extraction module (3), for extracting the corresponding source administrative area of the source address information respectively and described counter looking into address information pair That answers counter looks into administrative area;
    Administrative area judgment module (4), for judging the source administrative area and described whether counter to look into administrative area identical;
    Output module (5), for when the source administrative area with it is described it is counter look into administrative area it is identical when, using the initial longitude and latitude as Final longitude and latitude output.
  8. 8. the forward direction geographical coding service system according to claim 7 for obtaining longitude and latitude, it is characterised in that further include:
    Scope extension module (6), for when the source administrative area with it is described it is counter look into administrative area difference when, expand source address letter The scope of breath;
    Longitude and latitude update module (7), for obtaining the longitude and latitude of the source address information after expanding, as the initial longitude and latitude Degree, and restart the Query module (2).
  9. 9. the forward direction geographical coding service system according to claim 7 for obtaining longitude and latitude, it is characterised in that further include:
    Initialization module (2a), for initialization tag value.
  10. 10. the forward direction geographical coding service system according to claim 9 for obtaining longitude and latitude, it is characterised in that further include:
    Scope extension module (6), for when the source administrative area with it is described it is counter look into administrative area difference when, expand source address letter The scope of breath;
    Longitude and latitude update module (7), for obtaining the longitude and latitude of the source address information after expanding, and as the initial warp Latitude;
    Accumulator module (8a), for the mark value to be added 1 and updates the mark value;
    Verify judgment module (9), for judge update after mark value whether exceed predetermined threshold value, when beyond when, judge to verify Failure, when without departing from when, restart the Query module (2).
  11. 11. the forward direction geographical coding service system according to claim 10 for obtaining longitude and latitude, it is characterised in that also wrap Include:
    Correcting module (10), for when verifying failure, being then modified to the initial longitude and latitude, and will be revised initial Longitude and latitude is exported as final longitude and latitude.
  12. 12. the forward direction geographical coding service system according to claim 11 for obtaining longitude and latitude, it is characterised in that described to repair Positive module (10) includes:
    Setup unit (101), for setting sample number;
    Close address acquisition unit (102), for obtaining source address information proximally by similarity alignment algorithm to calculate Location information;
    Sample extraction unit (103), for the order according to similarity from high to low, selects from the close address information Quantity meets multiple close address informations of sample number as sample;
    Sample longitude and latitude acquiring unit (104), for obtaining the longitude and latitude of each close address information in sample;
    Correction value acquiring unit (105), after using the average value of the longitude and latitude of each close address information as correcting 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 CN104537102A (en) 2015-04-22
CN104537102B true 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)

Families Citing this family (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
CN110795512B (en) * 2018-07-17 2023-08-01 中国移动通信集团重庆有限公司 Address matching method, device, equipment and storage medium
CN109635067B (en) * 2018-12-17 2023-03-28 深圳市丰巢科技有限公司 Method, device, equipment and storage medium for correcting longitude and latitude information
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

Citations (3)

* 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
US8538679B1 (en) * 2011-04-08 2013-09-17 Oberweis Dairy, Inc. Enhanced geocoding

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8612147B2 (en) * 2011-07-07 2013-12-17 Anup Som System and method for simplified representation of geographic addresses
US8965693B2 (en) * 2012-06-05 2015-02-24 Apple Inc. Geocoded data detection and user interfaces for same

Patent Citations (3)

* 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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"From Text to Geographic Coordinates:The Current State of Geocoding";Daniel W. Goldberg etc.;《URISA Journal》;20071231;第19卷(第1期);第33-46页 *
"基于无规则地址点的地理编码模型设计及实现";薛梅等;《城市勘测》;20110831(第4期);第5-8页 *

Also Published As

Publication number Publication date
CN104537102A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN104537102B (en) A kind of positive geocoding service method and system for obtaining longitude and latitude
US9709408B2 (en) Segment validation
US10861590B2 (en) Generating spatial visualizations of a patient medical state
CN104135395B (en) IDC data transmission in network quality control method and system
CN108011987A (en) IP address localization method and device, electronic equipment and storage medium
CN106874356B (en) Geographical location information management method and device
CN103914546A (en) Data updating method and device thereof
CN103888975B (en) A kind of latitude and longitude of base station data verification method and system
CN106919567A (en) A kind of processing method and processing device of point of interest POI addresses
WO2022100154A1 (en) Artificial intelligence-based address standardization method and apparatus, device and storage medium
CN106021556A (en) Address information processing method and device
CN105657677A (en) Short message sending method, short message gateway and service platform
CN106844233A (en) A kind of router service data caching method and system based on Hash table
CN110532437B (en) Electronic certificate prompting method, electronic certificate prompting device, computer equipment and storage medium
CN105992239A (en) Method, apparatus and equipment of real-time location of pseudo base station
CN108572948B (en) Doorplate information processing method and device
CN114463499A (en) Building three-dimensional modeling method and device
CN111737374B (en) Position coordinate determination method, device, electronic equipment and storage medium
CN105976091A (en) Individual activity steady state training method under large data environment
CN111737237A (en) Missing milepost data generation method, device, equipment and storage medium
CN106028445A (en) Method and apparatus for determining positioning accuracy
CN111209509B (en) Information display method and device based on big data platform and big data platform
CN105786922B (en) Method and device for determining missing electronic map data
CN107038007B (en) Information display method and device
CN107612732A (en) A kind of maintaining method and device for intelligent ODN Optical Distribution Networks

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

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

TR01 Transfer of patent right