CN112347219B - Vector map material library generation method, vector map generation system and electronic equipment - Google Patents

Vector map material library generation method, vector map generation system and electronic equipment Download PDF

Info

Publication number
CN112347219B
CN112347219B CN202011270387.4A CN202011270387A CN112347219B CN 112347219 B CN112347219 B CN 112347219B CN 202011270387 A CN202011270387 A CN 202011270387A CN 112347219 B CN112347219 B CN 112347219B
Authority
CN
China
Prior art keywords
custom
icon
vector map
file
fonts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011270387.4A
Other languages
Chinese (zh)
Other versions
CN112347219A (en
Inventor
杨志鹏
金丽君
施维
李鑫
沈伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever 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 Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN202011270387.4A priority Critical patent/CN112347219B/en
Publication of CN112347219A publication Critical patent/CN112347219A/en
Application granted granted Critical
Publication of CN112347219B publication Critical patent/CN112347219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/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)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a method for generating a vector map material library, a vector map generating system and electronic equipment.

Description

Vector map material library generation method, vector map generation system and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for generating a vector map material library, a system for generating a vector map, and an electronic device.
Background
The vector map is drawn according to geometric characteristics, the occupied space of the file is small, and the vector map is particularly applied to a map, has the advantages of compact data structure, low redundancy, clear space topological relation, good graphic display quality and high precision, and becomes a main stream gradually and is increasingly widely applied.
In the prior art, the generated vector map is single, and a user cannot add elements required by the user on the vector map according to the self requirements.
Disclosure of Invention
In view of this, the embodiment of the application provides a method and a system for generating a vector map material library, so as to realize that required materials can be added into a vector map according to user requirements.
In order to achieve the above object, the embodiment of the present application provides the following technical solutions:
a method for generating a vector map material library is applied to a vector map generation system and comprises the following steps:
acquiring an icon and file pixel information corresponding to the icon, wherein the file pixel information comprises but is not limited to width information and height information of the icon;
sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue;
calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value;
drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file, wherein the coordinate positions of each icon on the preset Bitmap canvas are recorded in the configuration file, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icons are obtained;
when the fact that the vector map building module generates an icon calling instruction is detected, an icon matched with the icon calling instruction is called by the preset Bitmap canvas.
Optionally, the method for generating a vector map material library further includes:
obtaining a custom font file;
converting the custom fonts in the custom font file into an image format;
when the fact that the vector map building module generates a text calling instruction is detected, the text in an image format, which is matched with the text calling instruction, is called and fed back to the vector map building module.
Optionally, in the method for generating a vector map material library, acquiring a custom font file, and converting a custom font in the custom font file into an image format, including:
acquiring a custom font in a custom font file;
judging whether the field length of the obtained custom fonts reaches a preset value, and if so, converting the obtained custom fonts into an image format;
judging whether other unoccupied custom fonts exist in the custom font file, if so, acquiring the other custom fonts, judging whether the field length of the acquired custom fonts reaches a preset value, and if so, converting the acquired custom fonts into an image format until the custom fonts in the acquired custom font file are acquired and converted into the image format.
Optionally, in the method for generating a vector map material library, the converting the acquired custom font into an image format specifically includes:
and converting the acquired custom fonts into PDF format.
A vector map generation system, applied in a vector map generation system, comprising:
the vector map construction module is used for generating a vector map based on user operation;
the smart map service module is used for acquiring icons and file pixel information corresponding to the icons, wherein the file pixel information comprises but is not limited to width information and height information of the icons; sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue; calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value; drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file matched with the icon, wherein the configuration file records the coordinate position of the icon on the preset Bitmap canvas, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icon; when the fact that the vector map building module generates an icon calling instruction is detected, an icon matched with the icon calling instruction is called by the preset Bitmap canvas.
Optionally, the vector map material library generating device further includes:
the map text service module is used for acquiring the custom font file; converting the custom fonts in the custom font file into an image format; when the fact that the vector map building module generates a text calling instruction is detected, the text in an image format, which is matched with the text calling instruction, is called and fed back to the vector map building module.
Optionally, in the vector map material library generating device, when the map text service module obtains a custom font file, the custom font in the custom font file is converted into an image format, the map text service module is specifically configured to:
acquiring a custom font in a custom font file;
judging whether the field length of the obtained custom fonts reaches a preset value, and if so, converting the obtained custom fonts into an image format;
judging whether other unoccupied custom fonts exist in the custom font file, if so, acquiring the other custom fonts, judging whether the field length of the acquired custom fonts reaches a preset value, and if so, converting the acquired custom fonts into an image format until the custom fonts in the acquired custom font file are acquired and converted into the image format.
Optionally, in the vector map material library generating device, when the map text service module converts the obtained custom font into an image format, the map text service module is specifically configured to:
and converting the acquired custom fonts into PDF format.
An electronic device comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement each step of the method for generating a vector map material library according to any one of the above.
Based on the above technical solution, in the above solution provided by the embodiment of the present application, after obtaining an icon and file pixel information corresponding to the icon, sort the icon in a descending order based on the height information, import the sorted icon into a processing queue, calculate a required height of a preset Bitmap canvas based on a preset distance between each icon and width information of each icon, where the width of the preset Bitmap canvas is a preset value, draw each obtained icon onto the preset Bitmap canvas, and generate a configuration file, where coordinate positions of each icon on the preset Bitmap canvas are recorded, and when a vector map building module generates an icon retrieval instruction, the icon matching the icon retrieval instruction is retrieved on the preset Bitmap canvas. And when an icon calling instruction generated by the vector map construction module is acquired, calling an icon matched with the calling instruction from the Bitmap canvas to load the icon into a vector map so as to add required elements on the vector map according to self requirements.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for generating a vector map material library according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for generating a vector map material library according to another embodiment of the present application;
FIG. 3 is a schematic flow chart of a method for generating a vector map material library according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a vector map generating system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The application provides a method for generating a vector map material library, which is applied to a vector map generating system, and is shown in fig. 1, wherein the scheme comprises the following steps:
step S101: acquiring an icon and file pixel information corresponding to the icon, wherein the file pixel information comprises but is not limited to width information and height information of the icon;
in this step, the icons of the lake areas are icons input by a user, in this scheme, the user can create a plurality of icons in advance, and determine pixel information of the icons based on the created icon attributes, wherein the pixel information at least comprises height information for representing the heights of the icons and width information for representing the widths of the icons. Of course, in this step, the icon and the corresponding file pixel information thereof may be directly acquired, or only the icon may be acquired, and after the icon is acquired, all the acquired file pixel information of the icon may be sequentially read through image processing.
Step S102: sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue;
in the step, after all icons are acquired, sequencing all icons according to the sequence of the height information from high to low, and placing the sequenced icons into a processing queue;
step S103: calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value;
in the processing process, a Bitmap canvas with a default width is first created, for example, the default width is 512px, and then the height of the whole Bitmap canvas is calculated according to the width of each icon in the queue and the preset interval between the icons.
The calculating height process mainly includes that a first icon in a processing queue is added to a first row of the Bitmap canvas, then a second icon in the processing queue is added at preset intervals, and the like, when the next icon is difficult to place in the remaining space of the row, the next icon is placed in the next row of the Bitmap canvas, and finally the height of the Bitmap canvas is calculated based on the total number of rows of the icons and the height information of the highest icon in each row, or the height of each row of the Bitmap canvas is fixed, at the moment, the total height of the Bitmap canvas can be calculated only through the total number of rows of the icons, and the height and the width of the preset Bitmap canvas are corrected based on the total height of the Bitmap canvas and the width of the Bitmap canvas.
Step S104: drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file, wherein the coordinate positions of each icon on the preset Bitmap canvas are recorded in the configuration file, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icons are obtained;
the method comprises the steps of drawing icons on a created canvas by cycling small icons, drawing all icons on the corrected preset Bitmap canvas at the time of drawing the small icons on the created canvas, and recording the position information of all icons in a configuration file. In the scheme, the configuration file mainly records the coordinate position of the upper left corner of each icon drawn on the Bitmap canvas in the Bitmap canvas, and the width information, the height information, the pixel unit and the file name corresponding to the icon.
Step S105: when the fact that the vector map building module generates an icon calling instruction is detected, calling an icon matched with the icon calling instruction on the preset Bitmap canvas;
in this step, when the icon retrieving instruction generated by the vector map building module is obtained, the component instruction is parsed, the file name or the coordinate position of the icon to be retrieved is determined, the icon is retrieved from the Bitmap canvas based on the icon and the coordinate position, and the retrieved icon is added to the calibration position of the vector map.
In the technical scheme disclosed by the embodiment of the application, a preset icon file can be created in the vector map material library by pre-constructing the vector map material library, and when an icon calling instruction generated by the vector map construction module is acquired, an icon matched with the icon calling instruction is called from the Bitmap canvas to load the icon into a vector map so as to realize adding required elements on the vector map according to self requirements.
In the above scheme, a large map (corrected Bitmap canvas) can be synthesized from a stack of custom icons according to the placement rule, and the position information of each icon in each canvas is recorded, so that the user can read conveniently.
In addition to adding icon elements to the vector map, in the scheme disclosed in another embodiment of the present application, custom text may also be added to the vector map, specifically, referring to fig. 2, the above scheme may further include:
step S201: obtaining a custom font file;
in the scheme, the obtained self-defined font file is provided with N self-defined fonts, and the self-defined fonts are called as self-defined fonts;
step S202: converting the custom fonts in the custom font file into an image format;
in this step, in order to facilitate the presentation of the custom text on the vector map, the custom text may be converted into an image format, where, in use, the custom text is presented in the image format in the vector map.
Step S203: when a character calling instruction generated by the vector map building module is detected, calling and feeding back characters in an image format, which are matched with the character calling instruction, to the vector map building module;
in this step, when the vector map construction module needs to use the custom text, a text calling instruction is generated, and text in a corresponding image format is called based on the text calling instruction, so that the text in the image format is added to the designated position of the vector map.
Since the total size of the Chinese fonts is more than 10M, the problem of overlong loading time can occur if all the custom text is loaded at one time, so that the user experience is reduced, and the whole loading mode of the custom text file is not preferable. Therefore, in the technical solution disclosed in another embodiment of the present application, the custom font file may be loaded in a segmented manner, that is, in the above solution, the obtaining the custom font file, and converting the custom font in the custom font file into an image format specifically includes:
step S301: acquiring a custom font in a custom font file;
step S302: judging whether the field length of the obtained custom fonts reaches a preset value, and if so, executing step S303;
in this step, the custom font file is loaded in a segmented manner instead of being loaded in whole, the segmentation is performed according to the character encoding range, and since Unicode characters are encoded in 2 bytes, the encoding range of the characters is [0,65535], the custom font file can be divided into a plurality of segments in an average manner according to 256 bytes of length of each segment, when the field length of the acquired custom font reaches a preset value (for example, 256 bytes), it is indicated that the acquisition of the custom font of the segment is completed, and step S304 is executed;
step S304: converting the acquired custom fonts into an image format;
converting a section of custom fonts with a length value being a preset value into an image format when the section of custom fonts is obtained, and then executing step S305 to judge whether other unobtained custom characters exist in the custom font file;
step S305: and judging whether other unobtained custom fonts exist in the custom font file, if so, executing step S301 to acquire the other custom fonts until the custom fonts in the acquired custom font file are acquired and converted into an image format.
In the technical scheme disclosed by the embodiment of the application, the image format can be a PDF format with the characteristics of high speed, small volume and the like.
In the technical scheme disclosed by the embodiment, any customized font file in the ttf format can be converted into a file in the pbf format, so that personalized font service can be flexibly provided for the vector map. The pbf format is mainly used for replacing an XML format, has the characteristic that the writing speed is 5 times faster than that of the gzip compression format, and the reading speed of the pbf format is 6 times faster than that of the gzip compression format. The file in the pbf format has the characteristics of simple structure and high speed, and the request pressure of the client is greatly reduced.
In this embodiment, corresponding to the above method, the present application discloses a vector map generating system, and specific working contents of each module in the system are referred to in the foregoing method embodiment, and the vector map generating system provided in the embodiment of the present application is described below, where the vector map generating system described below and the vector map material library generating method described above may be referred to correspondingly.
The vector map generating system is applied to a vector map generating system, and referring to fig. 4, the system may include:
the vector map construction module 100 generates a vector map based on user operations;
the eidolon service module 200, which corresponds to the above method, is configured to obtain an icon and file pixel information corresponding to the icon, where the file pixel information includes, but is not limited to, width information and height information of the icon; sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue; calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value; drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file matched with the icon, wherein the configuration file records the coordinate position of the icon on the preset Bitmap canvas, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icon; when the fact that the vector map building module generates an icon calling instruction is detected, an icon matched with the icon calling instruction is called by the preset Bitmap canvas.
Corresponding to the method, the vector map generating system further comprises:
the map text service module 300 is used for obtaining a custom font file; converting the custom fonts in the custom font file into an image format; when the fact that the vector map building module generates a text calling instruction is detected, the text in an image format, which is matched with the text calling instruction, is called and fed back to the vector map building module.
Corresponding to the method, the map text service module is specifically used for converting the custom fonts in the custom font file into the image format when acquiring the custom font file:
acquiring a custom font in a custom font file;
judging whether the field length of the obtained custom fonts reaches a preset value, and if so, converting the obtained custom fonts into an image format;
judging whether other unoccupied custom fonts exist in the custom font file, if so, acquiring the other custom fonts, judging whether the field length of the acquired custom fonts reaches a preset value, and if so, converting the acquired custom fonts into an image format until the custom fonts in the acquired custom font file are acquired and converted into the image format.
Corresponding to the method, the map text service module is specifically used for converting the acquired custom fonts into image formats when:
and converting the acquired custom fonts into PDF format.
The data evaluation device provided by the embodiment of the application can be applied to data evaluation equipment, such as a PC terminal,
Cloud platform, server cluster, etc. Alternatively, FIG. 5 shows the hardware of the data evaluation device
Referring to fig. 5, the hardware structure of the data evaluation device may include: at least one of the processors 1 is configured to,
at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processors 1, the communication interfaces 2, the memories 3 and the communication buses 4
At least one processor 1, a communication interface 2 and a memory 3 are communicated with each other through a communication bus 4;
the processor 1 may be a central processing unit CPU or an ASIC
(Application Specific Integrated Circuit), or is configured to implement an embodiment of the present application
Integrated circuit, etc.;
the memory 3 may comprise a high-speed RAM memory or may also comprise a nonvolatile memory
(non-volatile memory) and the like, such as at least one disk memory;
wherein the memory stores a program, the processor can call the program stored in the memory, the program
For the purpose of:
acquiring an icon and file pixel information corresponding to the icon, wherein the file pixel information comprises but is not limited to width information and height information of the icon;
sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue;
calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value;
drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file, wherein the coordinate positions of each icon on the preset Bitmap canvas are recorded in the configuration file, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icons are obtained;
when the fact that the vector map building module generates an icon calling instruction is detected, an icon matched with the icon calling instruction is called by the preset Bitmap canvas.
Alternatively, the refinement function and the extension function of the program may be described with reference to the above.
For convenience of description, the above system is described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (5)

1. The method for generating the vector map material library is characterized by being applied to a vector map generation system and comprising the following steps of:
acquiring an icon and file pixel information corresponding to the icon, wherein the file pixel information comprises: width information and height information of the icon;
sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue;
calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value;
drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file, wherein the coordinate positions of each icon on the preset Bitmap canvas are recorded in the configuration file, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icons are obtained;
when the fact that the vector map building module generates an icon calling instruction is detected, calling an icon matched with the icon calling instruction on the preset Bitmap canvas;
obtaining a custom font file; converting the custom fonts in the custom font file into an image format;
when a character calling instruction generated by the vector map building module is detected, calling and feeding back characters in an image format, which are matched with the character calling instruction, to the vector map building module;
acquiring a custom font file, and converting the custom font in the custom font file into an image format, wherein the method comprises the following steps: acquiring a custom font in a custom font file; judging whether the field length of the obtained custom fonts reaches a preset value, and if so, converting the obtained custom fonts into an image format; judging whether other unoccupied custom fonts exist in the custom font file, if so, acquiring the other custom fonts, judging whether the field length of the acquired custom fonts reaches a preset value, and if so, converting the acquired custom fonts into an image format until the custom fonts in the custom font file are acquired and converted into the image format.
2. The method for generating a vector map material library according to claim 1, wherein the converting the custom fonts in the custom font file into an image format is specifically as follows:
and converting the custom fonts in the custom font file into PDF format.
3. A system for generating a library of vector map materials, which is applied to a system for generating a vector map, comprising:
the vector map construction module is used for generating a vector map based on user operation;
the eidolon service module is used for acquiring the icon and file pixel information corresponding to the icon, wherein the file pixel information comprises: width information and height information of the icon; sorting the icons in a descending order based on the height information, and importing the sorted icons into a processing queue; calculating the required height of a preset Bitmap canvas based on the preset distance between each icon and the width information of each icon, wherein the width of the preset Bitmap canvas is a preset value; drawing each obtained icon onto the preset Bitmap canvas, and generating a configuration file matched with the icon, wherein the configuration file records the coordinate position of the icon on the preset Bitmap canvas, and the width information, the height information, the pixel units and the file names corresponding to the icons of the icon; when the fact that the vector map building module generates an icon calling instruction is detected, calling an icon matched with the icon calling instruction on the preset Bitmap canvas;
the map text service module is used for acquiring the custom font file; converting the custom fonts in the custom font file into an image format; when a character calling instruction generated by the vector map building module is detected, calling and feeding back characters in an image format, which are matched with the character calling instruction, to the vector map building module;
the map text service module, when acquiring a custom font file and converting the custom font in the custom font file into an image format, comprises: acquiring a custom font in a custom font file; judging whether the field length of the obtained custom fonts reaches a preset value, and if so, converting the obtained custom fonts into an image format; judging whether other unoccupied custom fonts exist in the custom font file, if so, acquiring the other custom fonts, judging whether the field length of the acquired custom fonts reaches a preset value, and if so, converting the acquired custom fonts into an image format until the custom fonts in the acquired custom font file are acquired and converted into the image format.
4. The system for generating a vector map material library according to claim 3, wherein when the map text service module converts the acquired custom fonts into an image format, the system is specifically configured to:
and converting the acquired custom fonts into PDF format.
5. An electronic device comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the vector map material library generation method according to any one of claims 1 to 2.
CN202011270387.4A 2020-11-13 2020-11-13 Vector map material library generation method, vector map generation system and electronic equipment Active CN112347219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011270387.4A CN112347219B (en) 2020-11-13 2020-11-13 Vector map material library generation method, vector map generation system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011270387.4A CN112347219B (en) 2020-11-13 2020-11-13 Vector map material library generation method, vector map generation system and electronic equipment

Publications (2)

Publication Number Publication Date
CN112347219A CN112347219A (en) 2021-02-09
CN112347219B true CN112347219B (en) 2023-10-17

Family

ID=74363705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011270387.4A Active CN112347219B (en) 2020-11-13 2020-11-13 Vector map material library generation method, vector map generation system and electronic equipment

Country Status (1)

Country Link
CN (1) CN112347219B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139439A (en) * 2013-01-24 2013-06-05 厦门美图网科技有限公司 Image synthesis method based on image block template and capable of adding modification materials
CN107943363A (en) * 2017-11-21 2018-04-20 广州视睿电子科技有限公司 Background image configuration method and device, interactive intelligent panel and storage medium
CN108989704A (en) * 2018-07-27 2018-12-11 阿里巴巴集团控股有限公司 Image generating method and device, terminal device
CN109272448A (en) * 2018-08-21 2019-01-25 共享智能铸造产业创新中心有限公司 Draw the processing method of big pixel picture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139439A (en) * 2013-01-24 2013-06-05 厦门美图网科技有限公司 Image synthesis method based on image block template and capable of adding modification materials
CN107943363A (en) * 2017-11-21 2018-04-20 广州视睿电子科技有限公司 Background image configuration method and device, interactive intelligent panel and storage medium
CN108989704A (en) * 2018-07-27 2018-12-11 阿里巴巴集团控股有限公司 Image generating method and device, terminal device
CN109272448A (en) * 2018-08-21 2019-01-25 共享智能铸造产业创新中心有限公司 Draw the processing method of big pixel picture

Also Published As

Publication number Publication date
CN112347219A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN112507806B (en) Intelligent classroom information interaction method and device and electronic equipment
CN108319578B (en) Method for generating medium for data recording
CN106844526B (en) document processing method and device
CN109783782B (en) Method, equipment, storage medium and device for generating electronic contract template
CN113127125A (en) Page automatic adaptation method, device, equipment and storage medium
CN113094038A (en) Processing method, device, terminal and storage medium of function programming building block
CN111899311B (en) Element rendering method, device, storage medium and computer equipment
CN111897778A (en) Computer file merging method, device and system
CN112347219B (en) Vector map material library generation method, vector map generation system and electronic equipment
CN102467490B (en) Font data processing method and device
CN111079399B (en) Image-text data processing method, image-text data processing device, computer equipment and storage medium
CN111352917B (en) Information input method and device, electronic equipment and storage medium
CN114548040A (en) Note processing method, electronic device and storage medium
CN113988007A (en) Text display method and device, electronic equipment and storage medium
CN112487875A (en) Handwriting graphical method and device and electronic equipment
CN114692581A (en) Electronic form sub-table display method, device, equipment and storage medium
CN113741953A (en) Form processing method and device, electronic equipment and computer storage medium
CN112487774A (en) Writing form electronization method and device and electronic equipment
CN111078337A (en) Pattern adjusting method, system and computer readable storage medium
CN106933852B (en) Webpage updating request generation method and device and response method and device thereof
CN113961558B (en) Front-end data storage method, device and storage medium
CN112379851B (en) Method for printing electrocardio detection report
CN112068910B (en) Method, device and system for generating accessory control with downloading function
CN111259621B (en) Cloud font display method and device
CN115167790A (en) Printing method and system

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
GR01 Patent grant
GR01 Patent grant