CN111694910A - Electronic map display method, related device and storage medium - Google Patents

Electronic map display method, related device and storage medium Download PDF

Info

Publication number
CN111694910A
CN111694910A CN202010454040.9A CN202010454040A CN111694910A CN 111694910 A CN111694910 A CN 111694910A CN 202010454040 A CN202010454040 A CN 202010454040A CN 111694910 A CN111694910 A CN 111694910A
Authority
CN
China
Prior art keywords
map
information
display
service
division
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
CN202010454040.9A
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.)
Beijing Shunda Technology Co ltd
Original Assignee
Beijing Shunda Technology 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 Beijing Shunda Technology Co ltd filed Critical Beijing Shunda Technology Co ltd
Priority to CN202010454040.9A priority Critical patent/CN111694910A/en
Publication of CN111694910A publication Critical patent/CN111694910A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Instructional Devices (AREA)

Abstract

The application discloses an electronic map display method, a related device and a storage medium. The method comprises the steps that a map service display instruction sent by a terminal is obtained; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display the target region service data on the display terminal. The user-defined area division of the electronic map is realized, and the display of the service data of the target area is realized.

Description

Electronic map display method, related device and storage medium
Technical Field
The present application relates to the field of electronic map technologies, and in particular, to an electronic map display method, a related apparatus, and a storage medium.
Background
With the progress of the times and the rapid development of the society, the application of Electronic maps (Electronic maps) is more and more popular at present, and Electronic maps (digital maps) are maps stored and referred in a digital manner by using computer technology. The method for storing information in electronic map generally uses vector image storage, the map scale can be enlarged, reduced or rotated without affecting the display effect, the map scale can not be enlarged or reduced by using bitmap storage in early stage, modern electronic map software generally uses map information system to store and transmit map data, and other information systems are also provided.
On the other hand, with the expansion of the application of the electronic map, the electronic map can also realize functions such as route planning and service display, for example, in terms of service display, the service scope of a certain company relates to the whole country, and it is desirable to view service data of corresponding province, city and district by clicking on blocks of different provinces, cities and districts in the map. This is a very common business demand scenario. However, in the conventional scheme, a set of default map display scheme is used, the component maintains a set of standard national administrative region division, and data can be generally checked only according to the fixedly divided administrative region, so that the map display is limited.
Disclosure of Invention
The application provides an electronic map display method, a related device and a storage medium, which are used for realizing user-defined area division of an electronic map and display of service data of a target area.
In one aspect, the present application provides an electronic map display method, including:
acquiring a map service display instruction sent by a terminal;
determining service display information and service characteristic information to be displayed according to the map service display instruction;
acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity;
determining map area division information corresponding to the current service according to the service characteristic information;
determining regional division display graphic information according to the map regional division information and the electronic map information;
determining regional division service display information according to the regional division display graphic information and the service display information;
and sending the region division service display information to a display terminal so as to display target region service data on the display terminal.
In a possible implementation manner of the present application, the obtaining of the electronic map information with the preset fine granularity includes:
obtaining map metadata with preset fine granularity;
and generating preset fine-grained electronic map information according to the map metadata.
In a possible implementation manner of the present application, the determining, by the electronic map information, the area division display graphic information corresponding to the current service according to the map area division information and the electronic map information includes:
acquiring administrative region level identification corresponding to the map metadata;
generating map mapping data according to the map metadata and the administrative region level identification;
and determining the area division display graphic information corresponding to the current service according to the map mapping data and the map area division information.
In a possible implementation manner of the present application, the determining, according to the map mapping data and the map area division information, area division display graphic information corresponding to a current service includes:
extracting the map area division information to obtain map level data;
combining the map metadata according to the map hierarchy data and the map relation mapping data to obtain initial map shape data;
and performing filling pretreatment on the initial map shape data to generate region division display graphic information corresponding to the current service.
In a possible implementation manner of the present application, the determining, according to the area division display graphic information and the service display information, area division service display information includes:
extracting the service display information to obtain service display data;
and combining the service display data and the region division display graphic information to generate region division service display information.
In one possible implementation manner of the present application, the service feature information includes preset multi-level administrative region relationship data,
the determining map area division information corresponding to the current service according to the service characteristic information includes:
generating preset multi-level administrative regional relation data according to the service characteristic information, wherein the multi-level administrative relations comprise administrative regional relations among country levels, large district levels, local levels and county levels;
and determining map area division information corresponding to the current service according to the multi-level administrative area relation data.
In a possible implementation manner of the present application, the obtaining of the map metadata with the preset fine granularity includes:
acquiring an initial electronic map;
identifying map metadata in the initial electronic map to obtain initial map metadata;
and determining the map metadata with preset fine granularity according to the initial map metadata.
In another aspect, the present application provides an electronic map display device, including:
the first acquisition unit is used for acquiring a map service display instruction sent by a terminal;
the first determining unit is used for determining the service display information and the service characteristic information to be displayed according to the map service display instruction;
the second obtaining unit is used for obtaining electronic map information with a preset fine granularity, and the preset fine granularity is smaller than or equal to a county-level fine granularity;
the second determining unit is used for determining map area division information corresponding to the current service according to the service characteristic information;
the third determining unit is used for determining the region division display graphic information according to the map region division information and the electronic map information;
the fourth determining unit is used for determining the regional division service display information according to the regional division display graphic information and the service display information;
and the sending unit is used for sending the region division service display information to a display terminal so as to display the target region service data on the display terminal.
In a possible implementation manner of the present application, the second obtaining unit includes:
the third acquisition unit is used for acquiring map metadata with preset fine granularity;
and the generating unit is used for generating electronic map information with preset fine granularity according to the map metadata.
In a possible implementation manner of the present application, the electronic map information includes map mapping data, and the third determining unit is specifically configured to:
acquiring administrative region level identification corresponding to the map metadata;
generating map mapping data according to the map metadata and the administrative region level identification;
and determining the area division display graphic information corresponding to the current service according to the map mapping data and the map area division information.
In a possible implementation manner of the present application, the second determining unit is specifically configured to:
extracting the map area division information to obtain map level data;
combining the map metadata according to the map hierarchy data and the map relation mapping data to obtain initial map shape data;
and performing filling pretreatment on the initial map shape data to generate region division display graphic information corresponding to the current service.
In a possible implementation manner of the present application, the fourth determining unit is specifically configured to:
extracting the service display information to obtain service display data;
and combining the service display data and the region division display graphic information to generate region division service display information.
In one possible implementation manner of the present application, the service feature information includes preset multi-level administrative region relationship data,
the second determination unit includes:
generating preset multi-level administrative regional relation data according to the service characteristic information, wherein the multi-level administrative relations comprise administrative regional relations among country levels, large district levels, local levels and county levels;
and determining map area division information corresponding to the current service according to the multi-level administrative area relation data.
In a possible implementation manner of the present application, the third obtaining unit is specifically configured to:
acquiring an initial electronic map;
identifying map metadata in the initial electronic map to obtain initial map metadata;
and determining the map metadata with preset fine granularity according to the initial map metadata.
In another aspect, the present application provides a computer device comprising:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the electronic map presentation method.
In another aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, where the computer program is suitable for being loaded by a processor to execute the electronic map displaying method.
According to the electronic map display method, a map service display instruction sent by a terminal is obtained; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display the target region service data on the display terminal. According to the method and the device, under the condition that the electronic map cannot be subjected to custom configuration and target regional business data can not be displayed in the prior art, the electronic map information with the fine granularity smaller than or equal to county-level fine granularity is obtained creatively, regional division display graphic information is determined according to the electronic map information and the map regional division information, custom regional division of the electronic map is achieved, the business display information to be displayed is combined with the regional division display information, regional division business display information is obtained, the regional division business display information is sent to the display terminal, and therefore the target regional business data can be further displayed.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scene of an electronic map display system according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating an embodiment of an electronic map displaying method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating an embodiment of step 205 provided in an embodiment of the present application;
FIG. 4 is a flowchart illustrating an embodiment of step 204 provided in embodiments of the present application;
fig. 5 is a schematic structural diagram of an electronic map display apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
The embodiment of the application provides an electronic map display method, a related device and a storage medium. The following are detailed below.
As shown in fig. 1, a scene schematic diagram of an electronic map display system provided in an embodiment of the present application is provided, where the electronic map display system may include a plurality of terminals 100 and a server 200, the terminals 100 and the server 200 are connected through a network, and an electronic map display apparatus, such as the server in fig. 1, is integrated in the server 200, and the terminals 100 may access the server 200.
In the embodiment of the invention, the server 200 is mainly used for acquiring a map service display instruction sent by a terminal; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display target region service data on the display terminal.
In this embodiment of the present invention, the server 200 may be an independent server, or may be a server network or a server cluster composed of servers, for example, the server 200 described in this embodiment of the present invention includes, but is not limited to, a computer, a network terminal, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing). In the embodiment of the present invention, the server and the terminal may implement communication through any communication manner, including but not limited to mobile communication based on the third Generation Partnership Project (3 GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP), and the like.
It is to be understood that the terminal 100 used in the embodiments of the present invention may be a device that includes both receiving and transmitting hardware, i.e., a device having receiving and transmitting hardware capable of performing two-way communication over a two-way communication link. Such a terminal may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display. The terminal 100 may specifically be a desktop terminal or a mobile terminal, and the terminal 100 may also specifically be one of a mobile phone, a tablet computer, a notebook computer, and the like.
It will be understood by those skilled in the art that the application environment shown in fig. 1 is only one application scenario related to the present invention, and does not constitute a limitation on the application scenario of the present invention, and that other application environments may further include more or less terminals than those shown in fig. 1, or a server network connection relationship, for example, only 1 server and 2 terminals are shown in fig. 1, and it will be understood that the electronic map display system may further include one or more other servers, or/and one or more terminals connected to a server network, and is not limited herein.
In addition, as shown in fig. 1, the electronic map display system may further include a memory 300 for storing data, such as order data or waybill data, for example, aging upgrade data during operation of the electronic map display system.
It should be noted that the scene schematic diagram of the electronic map display system shown in fig. 1 is only an example, and the electronic map display system and the scene described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The embodiment of the application provides an electronic map display method, which comprises the following steps: acquiring a map service display instruction sent by a terminal; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display target region service data on the display terminal. The following are detailed below.
Referring to fig. 2 to 6, fig. 2 is a schematic flowchart illustrating an embodiment of an electronic map displaying method according to an embodiment of the present application, where the electronic map displaying method includes:
201. and acquiring a map service display instruction sent by the terminal.
In this embodiment, the terminal user sends a map service display instruction to the server, and after the server receives the map service display instruction, the map service display instruction triggers a map service display operation, so that the map service operation step can be accessed.
202. And determining the service display information and the service characteristic information to be displayed according to the map service display instruction.
After a map service display instruction sent by a terminal is obtained, service display information and service characteristic information to be displayed are determined, wherein the service display information comprises service display data, and the service display data can be set in a user-defined manner, for example, the service display data comprises an order quantity corresponding to the current service, income, KPI (Key Performance indicators) achievement percentage, KPI completion progress, merchant information corresponding to each region, and the like.
The service characteristic information comprises preset multi-level administrative region relation data, wherein the preset multi-level administrative region relation data are set according to actual service development conditions.
203. And obtaining the electronic map information with the preset fine granularity, wherein the preset fine granularity is less than or equal to the county-level fine granularity.
The electronic map information includes an electronic map, which may be a complete world map, a chinese map, or a map of other countries or regions, and the electronic map may include all coordinate points or regions selected manually. And reducing or enlarging the electronic map to a scale suitable for manually selecting the coordinate point or the region. The electronic map information also comprises other auxiliary information arranged on the electronic map, and the other auxiliary information can be specifically national boundaries, national boundaries and provincial boundaries, capital and provincial administrative centers, regional administrative boundaries, codes, county administrative boundaries, residential areas above the regional and city level and county-level residential areas.
The electronic map information is a basis for realizing business display, and in order to comprehensively and specifically perform business display, the electronic map information with a preset fine granularity needs to be acquired, where the preset fine granularity is smaller than or equal to a county-level fine granularity, for example, the preset fine granularity may be county-level, township-level or community-level, and is specifically determined according to actual conditions, and is not limited herein.
Acquiring preset fine-grained electronic map information, and specifically comprising the following steps (a1) to (a 3):
(a1) and obtaining map metadata with preset fine granularity.
The map metadata is map data in a preset format, the preset format can be GeoJSON, the GeoJSON is a format for coding various geographic data structures, and the geographic space information data exchange format is based on a Javascript object representation method. The GeoJSON object may represent a geometry, a feature, or a set of features. GeoJSON supports the following geometry types: point, line, face, multipoint, multiline, multifaceted and geometric collections. The features in GeoJSON contain a geometric object and other attributes, and the feature set represents a series of features. Specifically, the GeoJSON data may include categories, attributes, matching codes, number of sub-fields, geometric structures, coordinates, and the like of the administrative district level.
The GeoJSON data can be directly opened, and map data in a preset format can be compressed and converted into coordinate attribute character strings, so that the map data are compressed and are convenient to store. The preset fine-grained map metadata is map metadata of which the regional fine-grained is smaller than or equal to county-level fine-grained, for example, map metadata corresponding to a flood mountain area in Wuhan city or a treasure mountain area in Shanghai city is obtained.
The obtaining of the map metadata with the preset fine granularity may include the following three ways:
firstly, map metadata with preset fine granularity is obtained through a GeoJSON data interface opened on the Internet.
Secondly, acquiring an initial electronic map containing map metadata with preset fine granularity, and processing the initial electronic map, wherein the specific steps are as follows (b1) to (b 3):
(b1) acquiring an initial electronic map;
in other map items, there are some new GeoJSON data of the national administrative region partition, and the initial electronic map includes the new GeoJSON data of the national administrative region partition.
(b2) Identifying map metadata in the initial electronic map to obtain initial map metadata;
the initial primitive data is metadata obtained by compressing GeoJSON data, and specifically, the map metadata in the initial electronic map can be automatically identified through a preset program.
(b3) And determining the map metadata with preset fine granularity according to the initial map metadata.
Specifically, according to the initial map metadata, determining that the map metadata with the preset fine granularity may be: and performing inverse analysis processing on the initial primitive data to obtain map metadata with preset fine granularity, such as GeoJSON data with preset fine granularity.
(a2) And generating preset fine-grained electronic map information according to the map metadata.
After obtaining the map metadata with the preset fine granularity, according to the map metadata, generating the electronic map information with the preset fine granularity may be: and combining the map metadata to obtain preset fine-grained electronic map information, and specifically splicing the map metadata according to actual administrative area planning.
And thirdly, obtaining the preset fine-grained map metadata through hand drawing and cutting.
204. And determining map area division information corresponding to the current service according to the service characteristic information.
Specifically, according to the service feature information, the map area division information corresponding to the current service may be determined as follows: the method comprises the steps of determining an area which is actually required to be displayed and corresponds to a current business through preset multi-level administrative regional relation data, further determining map regional division information of the area which is actually required to be displayed as the map regional division information corresponding to the current business, and redefining and recombining the administrative regional relation according to the development condition corresponding to the current business so as to achieve custom configuration of a map.
205. And determining the region division display graphic information according to the map region division information and the electronic map information.
After the map area division information is determined, according to the map area division information and the electronic map information, determining the area division display graphic information may be: and combining the electronic map information according to the map area division information to obtain area division display graphic information, wherein the area division display graphic information is self-defined and configured according to the map area division information and the electronic map information, and the area division display graphic information can be configured and mobilized.
206. And determining the regional division service display information according to the regional division display graphic information and the service display information.
The specific step 206 specifically includes steps (c1) to (c 2):
(c1) and extracting the service display information to obtain service display data.
The service display information includes service display data, and the service display data may be set in a user-defined manner, for example, the service display data includes an order amount, income, kpi achievement percentage, kpi completion progress, and merchant information corresponding to each region, and the service display data may be dynamic data updated in real time, so that the service display information needs to be extracted to obtain the service display data corresponding to the current service.
(c2) And combining the service display data and the region division display graphic information to generate region division service display information.
The method comprises the steps that GeoJSON data with fine granularity are preset in region division display graph information, each GeoJSON data corresponds to a data connection interface of each service display data one by one, the service display data and the region division display graph information are combined through the data connection interfaces, when the service display data and the region division display graph information are loaded, the service display data and the corresponding region division display graph information are matched, and therefore the region division service display information is obtained.
207. And sending the region division service display information to a display terminal so as to display the target region service data on the display terminal.
According to the method and the device, under the condition that the electronic map cannot be subjected to custom configuration and target regional business data can not be displayed in the prior art, the electronic map information with the fine granularity smaller than or equal to county-level fine granularity is obtained creatively, regional division display graphic information is determined according to the electronic map information and the map regional division information, custom regional division of the electronic map is achieved, the business display information to be displayed is combined with the regional division display information, regional division business display information is obtained, the regional division business display information is sent to the display terminal, and therefore the target regional business data can be further displayed.
In some embodiments of the present application, the electronic map information includes map mapping data, and as shown in fig. 3, in step 205, the determining, according to the map area division information and the electronic map information, area division display graphic information corresponding to a current service includes:
301. and acquiring administrative region level identification corresponding to the map metadata.
The administrative district level identifier is an identifier corresponding to the administrative district level, and the identifier comprises an identification code and map metadata used for distinguishing and marking corresponding maps, such as a flood mountain area (100001) and a Jianghhan area (100002).
302. And generating map mapping data according to the ground primitive data and the administrative district level identification.
Specifically, map mapping data is generated by mapping all the map metadata and the administrative district level identification corresponding to the map metadata, and the map mapping data can set the map metadata corresponding to the administrative district level identification through the administrative district level identification, so that the complexity of setting a map is reduced.
303. And determining the area division display graphic information corresponding to the current service according to the map mapping data and the map area division information.
In this embodiment, step 303 specifically includes:
(d1) extracting the map area division information to obtain map level data;
(d2) combining the map metadata according to the map hierarchy data and the map relation mapping data to obtain initial map shape data;
specifically, GeoJSON data with a preset fine granularity is obtained and stored in corresponding json files, and then all the json files are pieced together to obtain initial map shape data;
for example, when the preset fine granularity is at a county level, there are about more than 400 county levels in the country, so that GeoJSON data corresponding to each county level can be stored in corresponding json files, so as to obtain corresponding 400 json files, and thus the country can be generated by piecing together the 400 json file data. Meanwhile, if only maps of a certain province and a certain region need to be displayed, only the numerical numbers of the counties and the cities contained in the province and the region need to be obtained for data combination and spelling. For example, to create the east China area, it contains: nanjing, Shanghai …; then the corresponding map data combination is obtained by the map relationship mapping data [320100000,311000000 … ].
(d3) And performing filling pretreatment on the initial map shape data to generate region division display graphic information corresponding to the current service.
Because the electronic map has a large amount of information, each region is closely connected, and in order to be easily distinguished, initial map shape data can be subjected to filling preprocessing.
In some embodiments of the present application, the service characteristic information includes preset multi-level administrative region relationship data, as shown in fig. 4, in step 204, the determining, according to the service characteristic information, map region division information corresponding to a current service includes:
401. and generating preset multi-level administrative region relation data according to the service characteristic information, wherein the multi-level administrative relationship comprises administrative region relations among country levels, large district levels, local levels and county levels.
The relation between the multi-level administrative areas can be set in a user-defined mode according to the current business for business needs, and therefore the electronic map can be used for displaying the multi-level business.
Specifically, the multi-level administrative relationship may be divided into at least four levels, where the first level is a country level, the second level is a large district level, the third level is a local level, and the fourth level is a county level, where the first level includes the second level and the second level includes the third level, and the third level includes the fourth level, that is, the country level includes the large district level, the large district level includes the local level, and the local level includes the county level.
402. And determining map area division information corresponding to the current service according to the multi-level administrative area relation data.
All services are displayed in a layered mode, the services at the same level are displayed at the same layer, and therefore map area division information corresponding to the current service is determined, and relevant information of each level and each area is clear at a glance.
In order to better implement the electronic map display method in the embodiment of the invention, on the basis of the electronic map display method, the embodiment of the invention also provides an electronic map display device, and the electronic map display device can be integrated in a server. As shown in fig. 5, the electronic map display apparatus 500 includes a first obtaining unit 501, a first determining unit 502, a second obtaining unit 503, a second determining unit 504, a third determining unit 505, a fourth determining unit 506, and a sending unit 507, specifically:
a first obtaining unit 501, configured to obtain a map service display instruction sent by a terminal;
a first determining unit 502, configured to determine, according to the map service display instruction, service display information and service feature information to be displayed;
a second obtaining unit 503, configured to obtain electronic map information of a preset fine granularity, where the preset fine granularity is smaller than or equal to a county-level fine granularity;
a second determining unit 504, configured to determine, according to the service feature information, map area division information corresponding to a current service;
a third determining unit 505, configured to determine, according to the map region division information and the electronic map information, region division display graphic information;
a fourth determining unit 506, configured to determine area division service display information according to the area division display graphics information and the service display information;
a sending unit 507, configured to send the region division service display information to a display terminal, so as to display target region service data on the display terminal.
In some embodiments of the present application, the second obtaining unit includes:
the third acquisition unit is used for acquiring map metadata with preset fine granularity;
and the generating unit is used for generating electronic map information with preset fine granularity according to the map metadata.
In some embodiments of the present application, the electronic map information includes map mapping data, and the third determining unit is specifically configured to:
acquiring administrative region level identification corresponding to the map metadata;
generating map mapping data according to the map metadata and the administrative region level identification;
and determining the area division display graphic information corresponding to the current service according to the map mapping data and the map area division information.
In some embodiments of the present application, the second determining unit is specifically configured to:
extracting the map area division information to obtain map level data;
combining the map metadata according to the map hierarchy data and the map relation mapping data to obtain initial map shape data;
and performing filling pretreatment on the initial map shape data to generate region division display graphic information corresponding to the current service.
In some embodiments of the present application, the fourth determining unit is specifically configured to:
extracting the service display information to obtain service display data;
and combining the service display data and the region division display graphic information to generate region division service display information.
In some embodiments of the present application, the service characteristic information includes preset multi-level administrative region relation data,
the second determination unit includes:
generating preset multi-level administrative regional relation data according to the service characteristic information, wherein the multi-level administrative relations comprise administrative regional relations among country levels, large district levels, local levels and county levels;
and determining map area division information corresponding to the current service according to the multi-level administrative area relation data.
In some embodiments of the present application, the third obtaining unit is specifically configured to:
acquiring an initial electronic map;
identifying map metadata in the initial electronic map to obtain initial map metadata;
and determining the map metadata with preset fine granularity according to the initial map metadata.
The electronic map display device provided by the application is used for displaying the map service by acquiring the map service display instruction sent by the terminal; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display target region service data on the display terminal. According to the method and the device, under the condition that the electronic map cannot be subjected to custom configuration and target regional business data can not be displayed in the prior art, the electronic map information with the fine granularity smaller than or equal to county-level fine granularity is obtained creatively, regional division display graphic information is determined according to the electronic map information and the map regional division information, custom regional division of the electronic map is achieved, the business display information to be displayed is combined with the regional division display information, regional division business display information is obtained, the regional division business display information is sent to the display terminal, and therefore the target regional business data can be further displayed.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present application.
As shown in fig. 6, it shows a schematic structural diagram of a computer device according to an embodiment of the present application, specifically:
the computer device may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 601 is a control center of the computer device, connects various parts of the whole computer device by using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby monitoring the computer device as a whole. Optionally, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
The computer device further comprises a power supply 603 for supplying power to the various components, and preferably, the power supply 603 is logically connected to the processor 601 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 603 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 604, the input unit 604 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment of the present application, the processor 601 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions as follows:
acquiring a map service display instruction sent by a terminal; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display target region service data on the display terminal.
According to the method and the device, under the condition that the electronic map cannot be subjected to custom configuration and target regional business data can not be displayed in the prior art, the electronic map information with the fine granularity smaller than or equal to county-level fine granularity is obtained creatively, regional division display graphic information is determined according to the electronic map information and the map regional division information, custom regional division of the electronic map is achieved, the business display information to be displayed is combined with the regional division display information, regional division business display information is obtained, the regional division business display information is sent to the display terminal, and therefore the target regional business data can be further displayed.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. The computer readable storage medium has stored therein a plurality of instructions, which can be loaded by a processor to perform the steps of any of the logistics network planning methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring a map service display instruction sent by a terminal; determining service display information and service characteristic information to be displayed according to the map service display instruction; acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity; determining map area division information corresponding to the current service according to the service characteristic information; determining regional division display graphic information according to the map regional division information and the electronic map information; determining regional division service display information according to the regional division display graphic information and the service display information; and sending the region division service display information to a display terminal so as to display target region service data on the display terminal.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The electronic map display method, the related device and the storage medium provided by the embodiment of the present application are introduced in detail, a specific example is applied in the present application to explain the principle and the implementation manner of the present application, and the description of the above embodiment is only used to help understanding the technical scheme and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. An electronic map display method, characterized in that the method comprises:
acquiring a map service display instruction sent by a terminal;
determining service display information and service characteristic information to be displayed according to the map service display instruction;
acquiring electronic map information with a preset fine granularity, wherein the preset fine granularity is less than or equal to a county-level fine granularity;
determining map area division information corresponding to the current service according to the service characteristic information;
determining regional division display graphic information according to the map regional division information and the electronic map information;
determining regional division service display information according to the regional division display graphic information and the service display information;
and sending the region division service display information to a display terminal so as to display target region service data on the display terminal.
2. The method for displaying the electronic map according to claim 1, wherein the obtaining of the electronic map information with the preset fine granularity comprises:
obtaining map metadata with preset fine granularity;
and generating preset fine-grained electronic map information according to the map metadata.
3. The electronic map display method of claim 2, wherein the electronic map information includes map mapping data, and the determining of the region division display graphic information corresponding to the current service according to the map region division information and the electronic map information includes:
acquiring administrative region level identification corresponding to the map metadata;
generating map mapping data according to the map metadata and the administrative region level identification;
and determining the area division display graphic information corresponding to the current service according to the map mapping data and the map area division information.
4. The electronic map display method of claim 3, wherein the determining of the region division display graphic information corresponding to the current service according to the map mapping data and the map region division information comprises:
extracting the map area division information to obtain map level data;
combining the map metadata according to the map hierarchy data and the map relation mapping data to obtain initial map shape data;
and performing filling pretreatment on the initial map shape data to generate region division display graphic information corresponding to the current service.
5. The electronic map display method of claim 1, wherein the determining the area division service display information according to the area division display graphic information and the service display information comprises:
extracting the service display information to obtain service display data;
and combining the service display data and the region division display graphic information to generate region division service display information.
6. The electronic map display method of claim 1, wherein the business feature information includes preset multi-level administrative region relationship data;
the determining map area division information corresponding to the current service according to the service characteristic information includes:
generating preset multi-level administrative regional relation data according to the service characteristic information, wherein the multi-level administrative relations comprise administrative regional relations among country levels, large district levels, local levels and county levels;
and determining map area division information corresponding to the current service according to the multi-level administrative area relation data.
7. The electronic map displaying method according to claim 2, wherein the obtaining of the map metadata with the preset fine granularity comprises:
acquiring an initial electronic map;
identifying map metadata in the initial electronic map to obtain initial map metadata;
and determining the map metadata with preset fine granularity according to the initial map metadata.
8. An electronic map display device, the device comprising:
the first acquisition unit is used for acquiring a map service display instruction sent by a terminal;
the first determining unit is used for determining the service display information and the service characteristic information to be displayed according to the map service display instruction;
the second obtaining unit is used for obtaining electronic map information with a preset fine granularity, and the preset fine granularity is smaller than or equal to a county-level fine granularity;
the second determining unit is used for determining map area division information corresponding to the current service according to the service characteristic information;
the third determining unit is used for determining the region division display graphic information according to the map region division information and the electronic map information;
the fourth determining unit is used for determining the regional division service display information according to the regional division display graphic information and the service display information;
and the sending unit is used for sending the region division service display information to a display terminal so as to display the target region service data on the display terminal.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the electronic map presentation method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, the computer program being adapted to be loaded by a processor to perform the electronic map presentation method of any one of claims 1 to 7.
CN202010454040.9A 2020-05-26 2020-05-26 Electronic map display method, related device and storage medium Pending CN111694910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010454040.9A CN111694910A (en) 2020-05-26 2020-05-26 Electronic map display method, related device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010454040.9A CN111694910A (en) 2020-05-26 2020-05-26 Electronic map display method, related device and storage medium

Publications (1)

Publication Number Publication Date
CN111694910A true CN111694910A (en) 2020-09-22

Family

ID=72478332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010454040.9A Pending CN111694910A (en) 2020-05-26 2020-05-26 Electronic map display method, related device and storage medium

Country Status (1)

Country Link
CN (1) CN111694910A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328725A (en) * 2020-11-26 2021-02-05 杭州安恒信息安全技术有限公司 Dividing device and method for enterprise geographic position attribution area based on map data
CN114936966A (en) * 2022-07-25 2022-08-23 嘉兴霏云信息科技有限公司 Method for automatically generating 2.5D map by using 2D map of electronic display screen
CN115357166A (en) * 2022-08-26 2022-11-18 重庆尚优科技有限公司 Intelligent management system for smart city map color matching

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319607A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 The display of business object, the processing method of map datum, client and server
CN108961266A (en) * 2018-05-25 2018-12-07 深圳市中电数通智慧安全科技股份有限公司 A kind of region partitioning method and device
CN109214555A (en) * 2018-08-13 2019-01-15 中国平安人寿保险股份有限公司 Generation method, terminal device and the medium of working region
CN109345947A (en) * 2018-08-13 2019-02-15 中国平安人寿保险股份有限公司 Working region division methods and terminal device based on data correlation analysis
CN110232104A (en) * 2019-06-13 2019-09-13 腾讯科技(深圳)有限公司 A kind of data display method, device, storage medium and computer equipment
CN110516002A (en) * 2019-07-15 2019-11-29 顺丰科技有限公司 Task display method, device, equipment and storage medium based on map
CN110688437A (en) * 2019-09-09 2020-01-14 中国平安财产保险股份有限公司 Method, device and equipment for dividing geographical area and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319607A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 The display of business object, the processing method of map datum, client and server
CN108961266A (en) * 2018-05-25 2018-12-07 深圳市中电数通智慧安全科技股份有限公司 A kind of region partitioning method and device
CN109214555A (en) * 2018-08-13 2019-01-15 中国平安人寿保险股份有限公司 Generation method, terminal device and the medium of working region
CN109345947A (en) * 2018-08-13 2019-02-15 中国平安人寿保险股份有限公司 Working region division methods and terminal device based on data correlation analysis
CN110232104A (en) * 2019-06-13 2019-09-13 腾讯科技(深圳)有限公司 A kind of data display method, device, storage medium and computer equipment
CN110516002A (en) * 2019-07-15 2019-11-29 顺丰科技有限公司 Task display method, device, equipment and storage medium based on map
CN110688437A (en) * 2019-09-09 2020-01-14 中国平安财产保险股份有限公司 Method, device and equipment for dividing geographical area and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328725A (en) * 2020-11-26 2021-02-05 杭州安恒信息安全技术有限公司 Dividing device and method for enterprise geographic position attribution area based on map data
CN114936966A (en) * 2022-07-25 2022-08-23 嘉兴霏云信息科技有限公司 Method for automatically generating 2.5D map by using 2D map of electronic display screen
CN115357166A (en) * 2022-08-26 2022-11-18 重庆尚优科技有限公司 Intelligent management system for smart city map color matching

Similar Documents

Publication Publication Date Title
CN111694910A (en) Electronic map display method, related device and storage medium
CN108363604A (en) A kind of resolution adaptation method, apparatus and operation system
WO2021169274A1 (en) Historical map data processing method, apparatus and system
CN111914047B (en) Geographic entity grid generation method, device and medium based on two-dimension code doorplate
CN110297924A (en) The processing of point cloud data and rendering method, device, equipment and storage medium
CN112162668B (en) Interface updating method and monitoring terminal
CN113344074A (en) Model training method, device, equipment and storage medium
CN117331772A (en) Device testing method, device, computer device and storage medium
CN108958571B (en) Three-dimensional session data display method and device, storage medium and computer equipment
CN114443787B (en) Atmospheric pollution characteristic identification method and device
CN113332722B (en) Map generation method, device, terminal and storage medium
CN114745280A (en) Asset information management method, device, equipment and readable storage medium
CN116737852A (en) Vector tile data-based vector drawing method and device and electronic equipment
CN110457705B (en) Method, device, equipment and storage medium for processing point of interest data
CN114816408A (en) Information processing method and device
CN111581758B (en) Power grid graph topology modeling method and computer readable storage medium
CN110827400B (en) Method and device for generating model of object in three-dimensional scene and terminal
CN114492349A (en) Table splitting method and device, electronic equipment and storage medium
CN118069251B (en) Method and device for displaying data of energy storage station, computer equipment and storage medium
CN114429510B (en) Funnel diagram generation method, device, electronic equipment and computer readable storage medium
CN116634102B (en) Front-end command equipment and data processing method based on same
CN115146604B (en) Method, device, equipment and storage medium for generating interface technical document
CN108665526A (en) A kind of image processing method and system
CN117097599A (en) Network service detection method, device, computer equipment and storage medium
CN116150840A (en) Model generation method, device, apparatus, storage medium, and program product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922