CN109753548A - Address information acquisition methods, device, server and the storage medium of map - Google Patents

Address information acquisition methods, device, server and the storage medium of map Download PDF

Info

Publication number
CN109753548A
CN109753548A CN201811427149.2A CN201811427149A CN109753548A CN 109753548 A CN109753548 A CN 109753548A CN 201811427149 A CN201811427149 A CN 201811427149A CN 109753548 A CN109753548 A CN 109753548A
Authority
CN
China
Prior art keywords
map
rectangle
cutting
address information
target map
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.)
Pending
Application number
CN201811427149.2A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811427149.2A priority Critical patent/CN109753548A/en
Publication of CN109753548A publication Critical patent/CN109753548A/en
Pending legal-status Critical Current

Links

Abstract

The present invention relates to big data processing technology field more particularly to address information acquisition methods, device, server and the storage mediums of a kind of map.Wherein, the address information acquisition methods of the map include: acquisition target map;Target map is subjected to rectangle cutting using cutting tool, obtains multiple rectangle maps that address date amount is less than or equal to the data-quantity threshold of setting;Address information is obtained from each rectangle map respectively, obtains the address information of the target map.The present invention is realized without setting coordinate information, target map is directly carried out rectangle cutting by cutting tool, easy to operate, cutting efficiency is high.

Description

Address information acquisition methods, device, server and the storage medium of map
Technical field
The present invention relates to technical field of data processing more particularly to address information acquisition methods, device, the clothes of a kind of map Business device and storage medium.
Background technique
Address information can be widely used in navigation, the exploration of resource, planning and construction, when needing to obtain the institute in map When having address information, since the address date amount in map is excessively huge, generally requires to map and carry out cutting, to refine address Data volume.
The method that tradition obtains some region of all address dates, is obtained according to matrix information, divides ground each When area obtains address date, requiring specified coordinate information just can be carried out cutting, to obtain the address date after cutting, operate numerous Trivial, address information obtains low efficiency.
Summary of the invention
Address information acquisition methods, device, server and the storage medium of a kind of map provided by the invention, it is intended to solve Currently from map obtain address information when, it is cumbersome, obtain low efficiency the problem of.
To solve the above problems, the present invention adopts the following technical scheme:
The present invention provides a kind of address information acquisition methods of map, includes the following steps:
Obtain target map;
Target map is subjected to rectangle cutting using cutting tool, obtains the data that address date amount is less than or equal to setting Measure multiple rectangle maps of threshold value;
Address information is obtained from each rectangle map respectively, obtains the address information of the target map.
Optionally, described that target map is subjected to rectangle cutting using cutting tool, it obtains address date amount and is less than or waits In multiple rectangle maps of the data-quantity threshold of setting the step of, comprising:
Target map progress rectangle is cut into multiple rectangle maps using cutting tool;
Judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting respectively, if it is not, Continue to carry out cutting to the rectangle map, until the corresponding address date amount of rectangle map after cutting is less than or equal to described Data-quantity threshold.
Optionally, described that target map is subjected to rectangle cutting using cutting tool, it obtains address date amount and is less than or waits In multiple rectangle maps of the data-quantity threshold of setting the step of, comprising:
A rectangle map is syncopated as from target map using cutting tool;
Judge whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, in the square Cutting is carried out on shape map again, until the corresponding address date amount of rectangle map after cutting is less than or equal to the data volume Threshold value;
Cutting is carried out to the target map, until entire target map stops when being split.
Optionally, described the step of target map is subjected to rectangle cutting using cutting tool, comprising:
Determine the starting point coordinate and terminal point coordinate of target map;
Using cutting tool since starting point coordinate, cutting is carried out to target map according to a certain size rectangle, until Cutting coordinate to terminal, obtains rectangle map.
Optionally, described the step of target map is subjected to rectangle cutting using cutting tool, comprising:
When the borderline region to target map carries out cutting, cutting is carried out to the borderline region using small rectangle, with Rectangle map after making cutting belongs in the range of target map.
Optionally, before described the step of target map is carried out rectangle cutting using cutting tool, further includes:
According to address date amount distribution density in the target map, to distribution density be less than the region of setting density value into Row is deleted;
Rectangle cutting is carried out to the target map after deleting using cutting tool.
Optionally, the cutting tool is storing process version or Python version.
A kind of address information acquisition device of map provided by the invention, comprising:
First obtains module, for obtaining target map;
Cutting module, for using cutting tool by target map carry out rectangle cutting, acquisition address date amount be less than or Equal to multiple rectangle maps of the data-quantity threshold of setting;
Second acquisition module obtains the target map for obtaining address information from each rectangle map respectively Address information.
A kind of server provided by the invention, including memory and processor, being stored with computer in the memory can Reading instruction, when the computer-readable instruction is executed by the processor, so that the processor executes described in any one as above Map address information acquisition methods the step of.
The present invention provides a kind of storage medium, is stored thereon with computer program, and the computer program is held by processor When row, the address information acquisition methods of as above described in any item maps are realized.
Compared with the existing technology, technical solution of the present invention at least has following advantage:
The address information acquisition methods of map provided by the invention, after obtaining target map, without setting coordinate information, Target map is directly subjected to rectangle cutting by cutting tool, and judges whether address date amount is less than or equal to the number of setting According to amount threshold value, to obtain multiple rectangle maps that address date amount is less than or equal to the data-quantity threshold of setting;Again respectively from each Address information is obtained in a rectangle map, obtains all address informations of the target map, easy to operate, cutting efficiency is high.
Target map is also carried out rectangle using cutting tool by the address information acquisition methods of map provided by the invention Cutting is disposably divided into multiple rectangle maps;Judge whether the address date amount of each rectangle map is less than or equal to respectively again The data-quantity threshold of setting, if it is not, continuing to carry out cutting to the rectangle map, until the rectangle map after cutting is correspondingly Location data volume is less than or equal to the data-quantity threshold, carries out whole cutting to target map to realize, then judgement is each respectively Whether the address date amount of a rectangle map is less than or equal to the data-quantity threshold of setting, avoids judging to lead to cutting in cutting It stagnates, influences cutting process.
The address information acquisition methods of map provided by the invention, can also be according to address date amount in the target map point Cloth density, the region for being less than setting density value to distribution density are deleted;Then using cutting tool to the target after deleting Map carries out rectangle cutting, to reject unwanted address information, improves cutting efficiency.
Detailed description of the invention
Fig. 1 is a kind of embodiment flow diagram of address information acquisition methods of map of the present invention;
Fig. 2 is a kind of embodiment module frame chart of address information acquisition device of map of the present invention;
Fig. 3 is the internal structure block diagram of server in one embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and the serial number of operation such as S11, S12 etc. be only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
It will appreciated by the skilled person that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
It will appreciated by the skilled person that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description in which the same or similar labels are throughly indicated same or similar element or has same or like function Element.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, a kind of address information acquisition methods of map provided by the present invention, one of embodiment In, include the following steps:
S11, target map is obtained;
In the present embodiment, target map can be obtained from database, the target map can be world map, continent Figure, ocean figure, country (area) figure, provinces and regions figure, cities and counties' figure etc..The address information of magnanimity, such as city are contained in target map In the coordinate information of some building, the title of building and its information such as construction-time.
S12, target map is subjected to rectangle cutting using cutting tool, obtains address date amount and is less than or equal to setting Multiple rectangle maps of data-quantity threshold;
In the present embodiment, the address information for including due to target map is often excessively huge, is unfavorable for storing and call, Therefore, it is necessary to which target map is cut into several rectangle maps by cutting tool, and judge the number of addresses of each rectangle map Whether it is less than or equal to the data-quantity threshold of setting, according to amount to obtain address date amount less than or equal to the data-quantity threshold Rectangle map.Wherein, the data-quantity threshold can be set according to the memory space of the memory of storage address data.
S13, address information is obtained from each rectangle map respectively, obtains the address information of the target map.
In the present embodiment, when getting rectangle map of the address date amount less than or equal to data-quantity threshold, respectively The address information in each rectangle map is extracted, is stored or is called, and data-quantity threshold is greater than to address data volume Rectangle map continues cutting, until obtaining all address dates of target map.
The address information acquisition methods of map provided by the invention, after obtaining target map, without setting coordinate information, Target map is directly subjected to rectangle cutting by cutting tool, and judges whether address date amount is less than or equal to the number of setting According to amount threshold value, to obtain multiple rectangle maps that address date amount is less than or equal to the data-quantity threshold of setting;Again respectively from each Address information is obtained in a rectangle map, obtains all address informations of the target map, easy to operate, cutting efficiency is high.
Further, it is described using cutting tool by target map carry out rectangle cutting, obtain address date amount be less than or Equal to the data-quantity threshold of setting multiple rectangle maps the step of, comprising:
Target map progress rectangle is cut into multiple rectangle maps using cutting tool;
Judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting respectively, if it is not, Continue to carry out cutting to the rectangle map, until the corresponding address date amount of rectangle map after cutting is less than or equal to described Data-quantity threshold.
In the present embodiment, target map is subjected to rectangle cutting using cutting tool, is disposably divided into multiple rectangles Map, then judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting one by one, if it is not, then The rectangle map for being greater than data-quantity threshold to address data volume is further cut into multiple rectangle maps, then judgement is further respectively Whether the address date amount of each rectangle map after cutting is less than or equal to the data-quantity threshold of setting, to determine whether also to need Deeper cutting is wanted, until the corresponding address date amount of each rectangle map after cutting is smaller than or equal to the data volume Threshold value.To realize the whole cutting to target map, then judge whether the address date amount of each rectangle map is less than respectively Or the data-quantity threshold equal to setting, it avoids judging that cutting is caused to be stagnated in cutting, influences cutting process.
In one embodiment, described that target map is subjected to rectangle cutting using cutting tool, it is small to obtain address date amount In or equal to the data-quantity threshold of setting multiple rectangle maps the step of, comprising:
A rectangle map is syncopated as from target map using cutting tool;
Judge whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, in the square Cutting is carried out on shape map again, until the corresponding address date amount of rectangle map after cutting is less than or equal to the data volume Threshold value;
Cutting is carried out to the target map, until entire target map stops when being split.
In the present embodiment, it is syncopated as a rectangle map at random from target map using cutting tool, and judges Whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, then in the base of the rectangle map It is further syncopated as a rectangle map on plinth, and carries out the judgement of address date amount to the rectangle map of the further cutting, Until being syncopated as the rectangle map that an address date amount is less than or equal to the data-quantity threshold of setting, then it is reversed other areas The cutting in domain judges address date amount in cutting until entire target map stops when being split to realize, with quick obtaining Location data volume is less than or equal to a rectangle map of data-quantity threshold.Specifically, first level first can be carried out to target map Cutting, be syncopated as a rectangle map and judge whether the address date amount in the rectangle map is greater than data-quantity threshold, If so, to the rectangle map carry out second level to N level cutting, until be syncopated as an address date amount be less than or Cutting is carried out to other regions equal to the rectangle map of data-quantity threshold, then on the rectangle map of this cutting rank, until returning It is back to first level, to carry out cutting to the region of non-cutting.Wherein, when cutting, the size of each first order rectangle map can be with Unanimously, it can also be different, can be 0.1cm with abscissa to target map in one embodiment, ordinate is the square of 0.4cm Shape carries out first level cutting.
In one embodiment, described the step of target map is subjected to rectangle cutting using cutting tool, comprising:
Determine the starting point coordinate and terminal point coordinate of target map;
Using cutting tool since starting point coordinate, cutting is carried out to target map according to a certain size rectangle, until Cutting coordinate to terminal, obtains rectangle map.
After getting target map, the beginning and end of cutting can be determined according to the shape of target map, it can be with longitude and latitude The form of degree obtains the starting point coordinate of starting point and the terminal point coordinate of terminal, and the starting point coordinate such as got is 39 ° of north latitude, east longitude 73 °, terminal point coordinate is 48 ° of north latitude, 135 ° of east longitude.When cutting, after the starting point coordinate and terminal point coordinate that determine target map, from Point coordinate starts to carry out rectangle cutting to target map with a certain size rectangular shape, until cutting coordinate to terminal, thus Obtain several rectangle maps.
In one embodiment, target map can be first syncopated as to a first level rectangle map, and to the first level Rectangle map carries out the rectangle cutting of second level to N level, until the address date amount of the rectangle map of each rank is all Less than or equal to data-quantity threshold, then carry out the cutting of next first level rectangle map.It specifically, can be with target map The lower left corner is starting point coordinate, and the upper right corner is terminal point coordinate, and rectangle cutting is carried out since the lower left corner of target map, obtains first Grade rectangle map, if the corresponding address date amount of first order rectangle map is less than or equal to data-quantity threshold, along the lower left corner The cutting of next first level rectangle map is carried out to the cutting direction in the upper right corner, and judges the ground of the rectangle map after cutting Whether location data volume is greater than data-quantity threshold, and so on, until entire target map cutting is completed.First order after cutting When the corresponding address date amount of other rectangle map is greater than data-quantity threshold, then the second level is carried out to the first level rectangle map Not to the cutting of N level, until the address date of each rectangle map after cutting is smaller than data-quantity threshold, then it represents that The first order rectangle map cutting is completed, and carries out next same rank square along the cutting direction in the lower left corner to the upper right corner The cutting of shape map.Wherein, not having identical address date in rectangle map is the rectangle map of same rank.
In one embodiment, described the step of target map is subjected to rectangle cutting using cutting tool, comprising:
When the borderline region to target map carries out cutting, cutting is carried out to the borderline region using small rectangle, with Rectangle map after making cutting belongs in the range of target map.
When in the present embodiment, due to carrying out rectangle cutting to target map, positioned at the rectangle of target map borderline region Map often includes the address information for being not belonging to target map, therefore, when cutting, when the rectangle map being syncopated as includes not belong to When the address information of target map, rectangle size is adjusted in real time, cutting is carried out to the borderline region using small rectangle, to get rid of Abandon the address information outside target map.
In one embodiment, before described the step of target map is carried out rectangle cutting using cutting tool, further includes:
According to address date amount distribution density in the target map, to distribution density be less than the region of setting density value into Row is deleted;
Rectangle cutting is carried out to the target map after deleting using cutting tool.
In the present embodiment, when not needing to obtain all address dates of entire target map, or when target map Address date in bulk zone is less in use, in order to improve cutting efficiency, can carry out to the partial region in target map After deletion, then cutting is carried out, to obtain the address information of target map.In addition, also needs can be arranged by customized mode It improves address information to reduce the workload of cutting and obtains efficiency in the region of deletion.
Optionally, the cutting tool is storing process version or Python version.
When the cutting tool is storing process version, cutting speed is fast, and the address date after cutting can be deposited automatically Storage is in the database, easy to operate.When the cutting tool is Python version, the progress of cutting can be stored, i.e., So that server or database is malfunctioned, continuation cutting can also be carried out on the basis of former cutting.
Referring to FIG. 2, the embodiment of the present invention also provides a kind of address information acquisition device of map, a kind of the present embodiment In, including first obtains module 21, cutting module 22 and second obtains module 23.Wherein,
First obtains module 21, for obtaining target map;
In the present embodiment, target map can be obtained from database, the target map can be world map, continent Figure, ocean figure, country (area) figure, provinces and regions figure, cities and counties' figure etc..The address information of magnanimity, such as city are contained in target map In the coordinate information of some building, the title of building and its information such as construction-time.
Cutting module 22 obtains address date amount and is less than for target map to be carried out rectangle cutting using cutting tool Or multiple rectangle maps equal to the data-quantity threshold of setting;
In the present embodiment, the address information for including due to target map is often excessively huge, is unfavorable for storing and call, Therefore, it is necessary to which target map is cut into several rectangle maps by cutting tool, and judge the number of addresses of each rectangle map Whether it is less than or equal to the data-quantity threshold of setting, according to amount to obtain address date amount less than or equal to the data-quantity threshold Rectangle map.Wherein, the data-quantity threshold can be set according to the memory space of the memory of storage address data.
Second acquisition module 23 obtains the target map for obtaining address information from each rectangle map respectively Address information.
In the present embodiment, when getting rectangle map of the address date amount less than or equal to data-quantity threshold, respectively The address information in each rectangle map is extracted, is stored or is called, and data-quantity threshold is greater than to address data volume Rectangle map continues cutting, until obtaining all address dates of target map.
The address information acquisition device of map provided by the invention, after obtaining target map, without setting coordinate information, Target map is directly subjected to rectangle cutting by cutting tool, and judges whether address date amount is less than or equal to the number of setting According to amount threshold value, to obtain multiple rectangle maps that address date amount is less than or equal to the data-quantity threshold of setting;Again respectively from each Address information is obtained in a rectangle map, obtains all address informations of the target map, easy to operate, cutting efficiency is high.
Further, the cutting module 22 is also configured to
Target map progress rectangle is cut into multiple rectangle maps using cutting tool;
Judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting respectively, if it is not, Continue to carry out cutting to the rectangle map, until the corresponding address date amount of rectangle map after cutting is less than or equal to described Data-quantity threshold.
In the present embodiment, target map is subjected to rectangle cutting using cutting tool, is disposably divided into multiple rectangles Map, then judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting one by one, if it is not, then The rectangle map for being greater than data-quantity threshold to address data volume is further cut into multiple rectangle maps, then judgement is further respectively Whether the address date amount of each rectangle map after cutting is less than or equal to the data-quantity threshold of setting, to determine whether also to need Deeper cutting is wanted, until the corresponding address date amount of each rectangle map after cutting is smaller than or equal to the data volume Threshold value.To realize the whole cutting to target map, then judge whether the address date amount of each rectangle map is less than respectively Or the data-quantity threshold equal to setting, it avoids judging that cutting is caused to be stagnated in cutting, influences cutting process.
In one embodiment, further, the cutting module 22 is also configured to
A rectangle map is syncopated as from target map using cutting tool;
Judge whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, in the square Cutting is carried out on shape map again, until the corresponding address date amount of rectangle map after cutting is less than or equal to the data volume Threshold value;
Cutting is carried out to the target map, until entire target map stops when being split.
In the present embodiment, it is syncopated as a rectangle map at random from target map using cutting tool, and judges Whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, then in the base of the rectangle map It is further syncopated as a rectangle map on plinth, and carries out the judgement of address date amount to the rectangle map of the further cutting, Until being syncopated as the rectangle map that an address date amount is less than or equal to the data-quantity threshold of setting, then it is reversed other areas The cutting in domain judges address date amount in cutting until entire target map stops when being split to realize, with quick obtaining Location data volume is less than or equal to a rectangle map of data-quantity threshold.Specifically, first level first can be carried out to target map Cutting, be syncopated as a rectangle map and judge whether the address date amount in the rectangle map is greater than data-quantity threshold, If so, to the rectangle map carry out second level to N level cutting, until be syncopated as an address date amount be less than or Cutting is carried out to other regions equal to the rectangle map of data-quantity threshold, then on the rectangle map of this cutting rank, until returning It is back to first level, with to not cutting subregional cutting.Wherein, when cutting, the size of each first level rectangle map can be with one It causes, can also be different, can be 0.1cm with abscissa to target map in one embodiment, ordinate is the rectangle of 0.4cm Carry out first level cutting.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
A kind of storage medium provided by the invention is stored thereon with computer program, and the computer program is by processor The address information acquisition methods of map described in above-mentioned any one technical solution are realized when execution.
Wherein, the storage medium include but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM, And magneto-optic disk), ROM (Read-Only Memory, read-only memory), (Random AcceSS Memory, stores RAM immediately Device), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), (Electrically EraSable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROM Reservoir), flash memory, magnetic card or light card.It is, storage medium includes by equipment (for example, computer) can read Form storage or transmission information any medium.It can be read-only memory, disk or CD etc..
A kind of server provided by the invention, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of places Reason device realizes the address information acquisition methods of map described in above-mentioned any one technical solution.
Fig. 3 be server of the present invention structural schematic diagram, including processor 320, memory 330, input unit 340 and The devices such as display unit 350.It will be understood by those skilled in the art that the structure devices shown in Fig. 3 are not constituted to all services The restriction of device may include than illustrating more or fewer components, or the certain components of combination.Memory 330 can be used for storing Application program 310 and each functional module, processor 320 run the application program 310 for being stored in memory 330, thereby executing The various function application and data processing of equipment.Memory 330 can be built-in storage or external memory, or including memory Both reservoir and external memory.Built-in storage may include read-only memory, programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random access memory.External memory may include Hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Memory disclosed in this invention includes but is not limited to the memory of these types. Memory 330 disclosed in this invention is only used as example rather than as restriction.
Input unit 340 is used to receive the access request of input and the user's input of signal.Input unit 340 can wrap Include touch panel and other input equipments.Touch panel collects touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel or near touch panel), and according to The preset corresponding attachment device of driven by program;Other input equipments can include but is not limited to physical keyboard, function key One of (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display unit 350 It can be used for showing the information of user's input or be supplied to the information of user and the various menus of computer equipment.Display unit 350 can be used the forms such as liquid crystal display, Organic Light Emitting Diode.Processor 320 is the control centre of computer equipment, is utilized The various pieces of various interfaces and the entire computer of connection, by running or executing the software journey being stored in memory 330 Sequence and/or module, and the data being stored in memory are called, perform various functions and handle data.
In one embodiment, server includes one or more processors 320, and one or more memories 330, One or more application program 310, wherein one or more of application programs 310 are stored in memory 330 and are matched It is set to and is executed by one or more of processors 320, one or more of application programs 310 are configured to carry out the above reality Apply the address information acquisition methods of map described in example.
Based on the above embodiments it is found that the maximum beneficial effect of the present invention is:
Address information acquisition methods, device, server and the storage medium of map provided by the invention, with obtaining target After figure, without setting coordinate information, target map is directly carried out by rectangle cutting by cutting tool, and judge address date amount Whether it is less than or equal to the data-quantity threshold of setting, is less than or equal to the more of the data-quantity threshold set to obtain address date amount A rectangle map;Address information is obtained from each rectangle map respectively again, obtains all address informations of the target map, Easy to operate, cutting efficiency is high.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of address information acquisition methods of map, which comprises the steps of:
Obtain target map;
Target map is subjected to rectangle cutting using cutting tool, obtains the data volume threshold that address date amount is less than or equal to setting Multiple rectangle maps of value;
Address information is obtained from each rectangle map respectively, obtains the address information of the target map.
2. address information acquisition methods according to claim 1, which is characterized in that using cutting tool by target map into Row rectangle cutting obtains the step of address date amount is less than or equal to multiple rectangle maps of the data-quantity threshold set, comprising:
Target map progress rectangle is cut into multiple rectangle maps using cutting tool;
Judge whether the address date amount of each rectangle map is less than or equal to the data-quantity threshold of setting respectively, if it is not, continuing Cutting is carried out to the rectangle map, until the corresponding address date amount of rectangle map after cutting is less than or equal to the data Measure threshold value.
3. address information acquisition methods according to claim 1, which is characterized in that using cutting tool by target map into Row rectangle cutting obtains the step of address date amount is less than or equal to multiple rectangle maps of the data-quantity threshold set, comprising:
A rectangle map is syncopated as from target map using cutting tool;
Judge whether the address date amount of the rectangle map is less than or equal to the data-quantity threshold of setting, if it is not, in the rectangle Cutting is carried out on figure again, until the corresponding address date amount of rectangle map after cutting is less than or equal to the data volume threshold Value;
Cutting is carried out to the target map, until entire target map stops when being split.
4. address information acquisition methods according to claim 1, which is characterized in that described to utilize cutting tool by target Figure carries out the step of rectangle cutting, comprising:
Determine the starting point coordinate and terminal point coordinate of target map;
Using cutting tool since starting point coordinate, cutting is carried out to target map according to a certain size rectangle, until cutting Coordinate to terminal obtains rectangle map.
5. address information acquisition methods according to claim 1, which is characterized in that described to utilize cutting tool by target Figure carries out the step of rectangle cutting, comprising:
When the borderline region to target map carries out cutting, cutting is carried out to the borderline region using small rectangle, so as to cut Rectangle map after point belongs in the range of target map.
6. address information acquisition methods according to claim 1, which is characterized in that described to utilize cutting tool by target Before figure carries out the step of rectangle cutting, further includes:
According to address date amount distribution density in the target map, the region for being less than setting density value to distribution density is deleted It removes;
Rectangle cutting is carried out to the target map after deleting using cutting tool.
7. address information acquisition methods according to claim 1, which is characterized in that the cutting tool is storing process version Sheet or Python version.
8. a kind of address information acquisition device of map characterized by comprising
First obtains module, for obtaining target map;
Cutting module obtains address date amount and is less than or equal to for target map to be carried out rectangle cutting using cutting tool Multiple rectangle maps of the data-quantity threshold of setting;
Second acquisition module obtains the address of the target map for obtaining address information from each rectangle map respectively Information.
9. a kind of server, which is characterized in that including memory and processor, computer-readable finger is stored in the memory It enables, when the computer-readable instruction is executed by the processor, so that the processor is executed as appointed in claim 1 to 7 The step of address information acquisition methods of map described in one.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is held by processor When row, the address information acquisition methods of the map as described in any one of claims 1 to 7 are realized.
CN201811427149.2A 2018-11-27 2018-11-27 Address information acquisition methods, device, server and the storage medium of map Pending CN109753548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811427149.2A CN109753548A (en) 2018-11-27 2018-11-27 Address information acquisition methods, device, server and the storage medium of map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811427149.2A CN109753548A (en) 2018-11-27 2018-11-27 Address information acquisition methods, device, server and the storage medium of map

Publications (1)

Publication Number Publication Date
CN109753548A true CN109753548A (en) 2019-05-14

Family

ID=66402540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811427149.2A Pending CN109753548A (en) 2018-11-27 2018-11-27 Address information acquisition methods, device, server and the storage medium of map

Country Status (1)

Country Link
CN (1) CN109753548A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102597700A (en) * 2009-10-21 2012-07-18 三菱电机株式会社 Map information processor
CN103970835A (en) * 2014-04-09 2014-08-06 方正国际软件有限公司 Vector map data storage method and system
CN104636482A (en) * 2015-02-16 2015-05-20 百度在线网络技术(北京)有限公司 Target address determining method and device
CN106897432A (en) * 2017-02-27 2017-06-27 广州视源电子科技股份有限公司 A kind of system and method that landmark information is crawled in electronic map

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102597700A (en) * 2009-10-21 2012-07-18 三菱电机株式会社 Map information processor
CN103970835A (en) * 2014-04-09 2014-08-06 方正国际软件有限公司 Vector map data storage method and system
CN104636482A (en) * 2015-02-16 2015-05-20 百度在线网络技术(北京)有限公司 Target address determining method and device
CN106897432A (en) * 2017-02-27 2017-06-27 广州视源电子科技股份有限公司 A kind of system and method that landmark information is crawled in electronic map

Similar Documents

Publication Publication Date Title
CN109213408B (en) Books display methods, electronic equipment and computer storage medium
CN103268730B (en) Electronic map interface shows the method and apparatus of association mark point
CN103309559B (en) A kind of control inerface application drawing calibration method and terminal
CN103258057B (en) The method and apparatus for showing point of interest POI in electronic map interface
CN107451150B (en) Geographic data presentation method and device
CN103995817A (en) Information processing device and storage medium
CN105045610A (en) Method and apparatus for starting application of intelligent device
CN109126133A (en) game unit formation control method, device, storage medium and mobile terminal
CN110704756A (en) Method and device for determining delivery position
CN105677148A (en) Terminal application searching method and device
CN112740179A (en) Application program starting method and device
CN105069063A (en) Picture searching method and apparatus
CN103778128A (en) List information drawing method and device
CN112416205A (en) Method and device for determining login account
CN104182266B (en) A kind of application installation method and device
CN107943912B (en) A kind of response type Resource TOC data visualization management method, terminal and device
CN110674026A (en) Navigation track simulation method and device, storage medium and terminal equipment
CN109753548A (en) Address information acquisition methods, device, server and the storage medium of map
CN101726314B (en) Method for loading, locating and navigating special point data and equipment thereof
CN111046062A (en) Applet data acquisition method, intelligent terminal and storage medium
CN102789480A (en) Method for displaying historical query results of electronic map and client side
CN115827803A (en) Data display method and device, terminal equipment and storage medium
CN112084432A (en) Information display method and device and electronic equipment
CN110188292B (en) Destination information display method and device
CN113593065A (en) Intelligent attendance processing method and device, computer equipment and storage medium

Legal Events

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