CN105512262A - Electronic map presenting method and system - Google Patents

Electronic map presenting method and system Download PDF

Info

Publication number
CN105512262A
CN105512262A CN201510880458.5A CN201510880458A CN105512262A CN 105512262 A CN105512262 A CN 105512262A CN 201510880458 A CN201510880458 A CN 201510880458A CN 105512262 A CN105512262 A CN 105512262A
Authority
CN
China
Prior art keywords
information point
sub
electronic chart
information
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510880458.5A
Other languages
Chinese (zh)
Other versions
CN105512262B (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.)
FUJIAN STAR-NET SECURITY TECHNOLOGY Co Ltd
Original Assignee
FUJIAN STAR-NET SECURITY 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 FUJIAN STAR-NET SECURITY TECHNOLOGY Co Ltd filed Critical FUJIAN STAR-NET SECURITY TECHNOLOGY Co Ltd
Priority to CN201510880458.5A priority Critical patent/CN105512262B/en
Publication of CN105512262A publication Critical patent/CN105512262A/en
Application granted granted Critical
Publication of CN105512262B publication Critical patent/CN105512262B/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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an electronic map presenting method and system. The method includes the steps that information point groups are acquired from a database of an electronic map and at least comprise the number of sub-information points and coordinate string attributes; the sub-information points in the information point groups are sequentially displayed on the electronic map at intervals; the sub-information points are pulled to actual positions, and updated coordinates of the pulled sub-information points are acquired; the updated coordinates of the sub-information points are spliced into a coordinate string to be saved. The electronic map presenting method and system have the following advantages that binding relationship of each information point and the corresponding group category does not need to be established, a user can operate and control one information point group with the same attribute and different positions at the same time, and great convenience is brought to actual service processing and operation and display of the information points in the same group.

Description

A kind of electronic chart rendering method and system
Technical field
The present invention relates to electronic chart display field, particularly a kind of electronic chart rendering method and system.
Background technology
Nowadays, based in the application of electronic chart, except the information point (POI carried in electronic chart, the abbreviation of PointofInterest) outward, user often needs to add self-defining information point in the application, wherein, each information point comprises the information such as title, classification, latitude, longitude, neighbouring retail shop of restaurant of hotel usually.When specifically using, only need by latitude, longitude and name information, just can present a certain information point intuitively on electronic chart, and interactive operation (as display, deletion, location revision, icon style, title etc.) can be carried out according to the attribute of this information point to this information point.Due to information point for be the positional information of a point of fixity, when user need to show or operation one group there is same alike result and the different information point in position time, at present mainly by setting up multiple information point in information point database, and (in information point attribute list, such as add group ID or group title for each information point gives group attribute, the object of group belonging to identifying information point is reached with this, thus realize the operation with group information point), reach the object of group belonging to identifying information point with this, thus realize the operation with group information point; But, this mode needs for each information point all sets up binding relationship with group, and be that the equal designated groups another name of each appointed information point claims and group ID, when needs operation one group of information point, as display, deletion, change pattern etc., need to search out all information points of this group, and operate one by one, cannot manipulate the multiple information points belonging to same group, this all brings great inconvenience to the business processing of reality and with the operation and display of organizing information point simultaneously.
Summary of the invention
One of the technical problem to be solved in the present invention, is to provide a kind of electronic chart rendering method, realizes having same alike result to one group and the different information point group in position manipulates simultaneously by the method.
The present invention is one of such actualizing technology problem: a kind of electronic chart rendering method, described method comprises the steps:
Obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string attribute;
Each sub-information point in described information point group successively interval is presented on electronic chart;
Each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging;
The renewal coordinate of each sub-information point is spliced into coordinate string and preserves.
Further, described " each sub-information point in described information point group being presented on electronic chart at interval successively " is specially: first judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively;
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
Further, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1, wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted;
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
Further, described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position; If so, the invariant position of corresponding sub-information point is then kept.
Further, before described " from the database of electronic chart obtaining information point group; described information point group at least comprises sub-information point number and coordinate string attribute " step, also comprise: set up information point group, and the information point group of foundation is loaded in the database of electronic chart.
Further, described each sub-information point is all presented on electronic chart with the form of icon.
Further, the coordinate of described each sub-information point is spliced into coordinate string by separator, and described separator is comma or branch, wherein, by CSV between the longitude of the coordinate of single sub-information point and latitude, between the coordinate of adjacent two sub-information points, pass through semicolon separated.
The technical problem to be solved in the present invention two, is to provide a kind of electronic chart to present system, realizes having same alike result to one group and the different information point group in position manipulates simultaneously by this system.
The present invention is such actualizing technology problem two: a kind of electronic chart presents system, and this system comprises:
Information point acquisition module, for obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string attribute;
Information point display module, for being presented at electronic chart in interval successively by each sub-information point in described information point group;
Information point is modules dragged, for each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging;
Coordinate string concatenation module, for being spliced into coordinate string by the renewal coordinate of each sub-information point and preserving.
Further, described information point display module is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively;
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
Further, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1, wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted;
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
Further, described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position; If so, the invariant position of corresponding sub-information point is then kept.
Tool of the present invention has the following advantages: 1, without the need to all setting up binding relationship with group for each information point, and user can manipulate one group has same alike result and the different information point group in position simultaneously, namely only an interface need be called, drag with regard to can realize deleting all sub-information point of an information point group simultaneously, simultaneously, change the operations such as icon simultaneously, this can reduce miscellaneous group binding work, and all brings great convenience for actual business processing and with the operation and display of organizing information point; 2, the present invention is applied in electronic chart, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flowchart of the preferred embodiment one of electronic chart rendering method of the present invention.
Fig. 2 is the flowchart of the preferred embodiment two of electronic chart rendering method of the present invention.
Fig. 3 is the structured flowchart that electronic chart of the present invention presents system.
Embodiment
A kind of preferred embodiment one of electronic chart rendering method:
Please refer to shown in Fig. 1, described method comprises the steps:
Step S1, setting up information point group, and the information point group of foundation is loaded in the database of electronic chart, when setting up information point group, needing the name attribute of configuration information point group, to facilitate the identification between different information point group.This step S1 only just performs when information point group set up by needs.
Step S2, from the database of electronic chart obtaining information point group, described information point group at least comprises sub-information point number and coordinate string 2 attributes; Wherein, sub-information point number attribute is arranged when setting up information point group; Coordinate string attribute is arranged when first time obtains this information point group, in the specific implementation, if this information point group obtained has had coordinate string attribute, then without the need to arranging again.
Step S3, each sub-information point in described information point group successively interval is presented on electronic chart; This step S3 is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively; Here with mutually not gland each sub-information point of distance display object be: avoid each sub-information point to overlap, cause sub-information point to omit, affect the operation of follow-up antithetical phrase information point.
Wherein, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1(i.e. the actual distance of a pixel representative), wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted; Such as, the horizontal actual distance of electronic chart is 1000km, and it is 256 that the pixels across of electronic map pictures is counted, then the first order resolution of this electronic chart
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point, with guarantee next sub-information point can not gland to preceding sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
Judge operation by above-mentioned initialization, the information point of the no initializtion that can not show on map drags on map manually, makes it obtain coordinate string attribute, reaches initialized object, so that next time directly uses.
Step S4, each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging; Due to the fast development along with city, the information updating of electronic chart is also very fast, by by each sub-information point real-time update to actual position, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position (this actual position and the physical location of atural object on map representated by information point); If so, the invariant position of corresponding sub-information point is then kept.Such as, the coordinate of a certain current position of sub-information point is (25.2145,85.5485), but the coordinate of this atural object physical location on map representated by sub-information point is (25.3254,85.1547), so in the specific implementation, just this sub-information point being dragged to coordinate is (25.3254,85.1547) position, and be (25.3254,85.1547) by the coordinate renew of this sub-information point.
Step S5, the renewal coordinate of each sub-information point is spliced into coordinate string and preserves.
In the specific implementation, the coordinate of described each sub-information point is all spliced into coordinate string by specific separator, and like this in electronic chart, each information point group only needs preservation record, the information of each sub-information point can be recorded, can conveniently manage each sub-information point and information point group.This specific separator is comma or branch, wherein, CSV is passed through between the longitude of the coordinate of single sub-information point and latitude, semicolon separated is passed through between the coordinate of adjacent two sub-information points, like this, in the specific implementation, just according to actual needs coordinate string can be divided into the coordinate of each sub-information point.Such as, a certain information point group comprises 5 sub-information points, the coordinate of 5 sub-information points is respectively: (119.3010,26.0501), (119.3011,26.0501), (119.3012,26.0501), (119.3010,26.0502), (119.3010,26.0502), then the coordinate of these 5 sub-information points is spliced into coordinate string to be: 119.3010,26.0501; 119.3011,26.0501; 119.3012,26.0501; 119.3010,26.0502; 119.3010,26.0502.
A kind of preferred embodiment two of electronic chart rendering method:
Please refer to shown in Fig. 2, described method comprises the steps:
Step P1, setting up information point group, and the information point group of foundation is loaded in the database of electronic chart, when setting up information point group, needing the name attribute of configuration information point group, to facilitate the identification between different information point group.In the specific implementation, a light can be adopted to represent a sub-information point, like this, a light group is exactly an information point group.This step P1 only just performs when information point group set up by needs.
Step P2, from the database of electronic chart obtaining information point group, described information point group at least comprises sub-information point number and coordinate string 2 attributes; Wherein, sub-information point number attribute is arranged when setting up information point group; Coordinate string attribute is arranged when first time obtains this information point group, in the specific implementation, if this information point group obtained has had coordinate string attribute, then without the need to arranging again.
Step P3, each sub-information point in described information point group successively interval is presented on electronic chart; In this specific embodiment, described each sub-information point is all presented on electronic chart with the form of icon,: icon can demonstrate the information of sub-information point intuitively to facilitate user to check the position, distribution situation, state etc. of each sub-information point with the advantage that form of icons carries out showing; Such as, each sub-information point all can be presented on electronic chart with the form of light icon.This step P3 is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point icon of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point icon as initial point position, by other sub-information point icon towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively; Here with mutually not gland each sub-information point of distance display object be: avoid each sub-information point to overlap, cause sub-information point to omit, affect the operation of follow-up antithetical phrase information point.
Wherein, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point icon any one direction towards this initial point position ", between two sub-information point icons, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1(i.e. the actual distance of a pixel representative), wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted; Such as, the horizontal actual distance of electronic chart is 2000km, and it is 256 that the pixels across of electronic map pictures is counted, then the first order resolution of this electronic chart
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, to obtain the pixel distance S of the not gland mutually of this sub-information point icon according to sub-information point icon sizes, with guarantee next sub-information point icon can not gland to preceding sub-information point icon;
D, calculate the distance L=R of the mutually not gland of this sub-information point icon k* S.
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point icon according to the coordinate string of information point group, and according to the coordinate of each sub-information point icon, each sub-information point is presented on electronic chart with the form of icon.
Judge operation by above-mentioned initialization, the information point of the no initializtion that can not show on map drags on map manually, makes it obtain coordinate string attribute, reaches initialized object, so that next time directly uses.
Step P4, each sub-information point icon is dragged to actual position, and obtains the renewal coordinate of each sub-information point icon after dragging; Due to the fast development along with city, the information updating of electronic chart is also very fast, by by each sub-information point real-time update to actual position, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Described " each sub-information point icon is dragged to actual position " is specially: the drag events of first binding each sub-information point icon, again according to the display position of each sub-information point icon on electronic chart, judge whether each sub-information point icon is positioned at the actual position on electronic chart, if not, then the sub-information point icon of correspondence is dragged to actual position (this actual position and the physical location of atural object on map representated by information point icon); If so, the invariant position of corresponding sub-information point icon is then kept.Such as, the coordinate of a certain sub-current position of information point icon is (43.2145,67.5485), but the coordinate of this atural object physical location on map representated by sub-information point icon is (43.3254,67.1547), so in the specific implementation, just this sub-information point icon being dragged to coordinate is (43.3254,67.1547) position, and be (43.3254,67.1547) by the coordinate renew of this sub-information point icon.
Step S5, the renewal coordinate of each sub-information point icon is spliced into coordinate string and preserves.
In the specific implementation, the coordinate of described each sub-information point icon is all spliced into coordinate string by specific separator, and like this in electronic chart, each information point group only needs preservation record, the information of each sub-information point can be recorded, can conveniently manage each sub-information point and information point group.This specific separator is comma or branch, wherein, CSV is passed through between the longitude of the coordinate of single sub-information point icon and latitude, semicolon separated is passed through between the coordinate of adjacent two sub-information point icons, like this, in the specific implementation, just according to actual needs coordinate string can be divided into the coordinate of each sub-information point icon.Such as, a certain information point group comprises 5 sub-information point icons, the coordinate of 5 sub-information point icons is respectively: (56.3010,112.0501), (56.3011,112.0501), (56.3012,112.0501), (56.3010,112.0502), (56.3010,112.0502), then the coordinate of these 5 sub-information points is spliced into coordinate string to be: 56.3010,112.0501; 56.3011,112.0501; 56.3012,112.0501; 56.3010,112.0502; 56.3010,112.0502.
A kind of electronic chart presents the preferred embodiment three of system:
Please refer to shown in Fig. 3, described system comprises: information point sets up the modules dragged and coordinate string concatenation module of module, information point acquisition module, information point display module, information point;
Described information point sets up module, for setting up information point group, and is loaded in the database of electronic chart by the information point group of foundation, when setting up information point group, needs the name attribute of configuration information point group, to facilitate the identification between different information point group.This information point is set up module and is only just performed when information point group set up by needs.
Described information point acquisition module, for obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string 2 attributes; Wherein, sub-information point number attribute is arranged when setting up information point group; Coordinate string attribute is arranged when first time obtains this information point group, in the specific implementation, if this information point group obtained has had coordinate string attribute, then without the need to arranging again.
Described information point display module, for being presented at electronic chart in interval successively by each sub-information point in described information point group; This information point display module is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively; Here with mutually not gland each sub-information point of distance display object be: avoid each sub-information point to overlap, cause sub-information point to omit, affect the operation of follow-up antithetical phrase information point.
Wherein, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1(i.e. the actual distance of a pixel representative), wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted; Such as, the horizontal actual distance of electronic chart is 1000km, and it is 256 that the pixels across of electronic map pictures is counted, then the first order resolution of this electronic chart
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point, with guarantee next sub-information point can not gland to preceding sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
Judge operation by above-mentioned initialization, the information point of the no initializtion that can not show on map drags on map manually, makes it obtain coordinate string attribute, reaches initialized object, so that next time directly uses.
Described information point is modules dragged, for each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging; Due to the fast development along with city, the information updating of electronic chart is also very fast, by by each sub-information point real-time update to actual position, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position (this actual position and the physical location of atural object on map representated by information point); If so, the invariant position of corresponding sub-information point is then kept.Such as, the coordinate of a certain current position of sub-information point is (25.2145,85.5485), but the coordinate of this atural object physical location on map representated by sub-information point is (25.3254,85.1547), so in the specific implementation, just this sub-information point being dragged to coordinate is (25.3254,85.1547) position, and be (25.3254,85.1547) by the coordinate renew of this sub-information point.
Described coordinate string concatenation module, for being spliced into coordinate string by the renewal coordinate of each sub-information point and preserving.
In the specific implementation, the coordinate of described each sub-information point is all spliced into coordinate string by specific separator, and like this in electronic chart, each information point group only needs preservation record, the information of each sub-information point can be recorded, can conveniently manage each sub-information point and information point group.This specific separator is comma or branch, wherein, CSV is passed through between the longitude of the coordinate of single sub-information point and latitude, semicolon separated is passed through between the coordinate of adjacent two sub-information points, like this, in the specific implementation, just according to actual needs coordinate string can be divided into the coordinate of each sub-information point.Such as, a certain information point group comprises 5 sub-information points, the coordinate of 5 sub-information points is respectively: (119.3010,26.0501), (119.3011,26.0501), (119.3012,26.0501), (119.3010,26.0502), (119.3010,26.0502), then the coordinate of these 5 sub-information points is spliced into coordinate string to be: 119.3010,26.0501; 119.3011,26.0501; 119.3012,26.0501; 119.3010,26.0502; 119.3010,26.0502.
A kind of electronic chart presents the preferred embodiment four of system:
Please refer to shown in Fig. 3, described system comprises: information point sets up the modules dragged and coordinate string concatenation module of module, information point acquisition module, information point display module, information point;
Described information point sets up module, for setting up information point group, and is loaded in the database of electronic chart by the information point group of foundation, when setting up information point group, needs the name attribute of configuration information point group, to facilitate the identification between different information point group.In the specific implementation, a light can be adopted to represent a sub-information point, like this, a light group is exactly an information point group.This information point is set up module and is only just performed when information point group set up by needs.
Described information point acquisition module, for obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string 2 attributes; Wherein, sub-information point number attribute is arranged when setting up information point group; Coordinate string attribute is arranged when first time obtains this information point group, in the specific implementation, if this information point group obtained has had coordinate string attribute, then without the need to arranging again.
Described information point display module, for being presented at electronic chart in interval successively by each sub-information point in described information point group; In this specific embodiment, described each sub-information point is all presented on electronic chart with the form of icon,: icon can demonstrate the information of sub-information point intuitively to facilitate user to check the position, distribution situation, state etc. of each sub-information point with the advantage that form of icons carries out showing; Such as, each sub-information point all can be presented on electronic chart with the form of light icon.This information point display module is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point icon of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point icon as initial point position, by other sub-information point icon towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively; Here with mutually not gland each sub-information point of distance display object be: avoid each sub-information point to overlap, cause sub-information point to omit, affect the operation of follow-up antithetical phrase information point.
Wherein, in described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point icon any one direction towards this initial point position ", between two sub-information point icons, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1(i.e. the actual distance of a pixel representative), wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted; Such as, the horizontal actual distance of electronic chart is 2000km, and it is 256 that the pixels across of electronic map pictures is counted, then the first order resolution of this electronic chart
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, to obtain the pixel distance S of the not gland mutually of this sub-information point icon according to sub-information point icon sizes, with guarantee next sub-information point icon can not gland to preceding sub-information point icon;
D, calculate the distance L=R of the mutually not gland of this sub-information point icon k* S.
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point icon according to the coordinate string of information point group, and according to the coordinate of each sub-information point icon, each sub-information point is presented on electronic chart with the form of icon.
Judge operation by above-mentioned initialization, the information point of the no initializtion that can not show on map drags on map manually, makes it obtain coordinate string attribute, reaches initialized object, so that next time directly uses.
Described information point is modules dragged, for each sub-information point icon is dragged to actual position, and obtains the renewal coordinate of each sub-information point icon after dragging; Due to the fast development along with city, the information updating of electronic chart is also very fast, by by each sub-information point real-time update to actual position, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Described " each sub-information point icon is dragged to actual position " is specially: the drag events of first binding each sub-information point icon, again according to the display position of each sub-information point icon on electronic chart, judge whether each sub-information point icon is positioned at the actual position on electronic chart, if not, then the sub-information point icon of correspondence is dragged to actual position (this actual position and the physical location of atural object on map representated by information point icon); If so, the invariant position of corresponding sub-information point icon is then kept.Such as, the coordinate of a certain sub-current position of information point icon is (43.2145,67.5485), but the coordinate of this atural object physical location on map representated by sub-information point icon is (43.3254,67.1547), so in the specific implementation, just this sub-information point icon being dragged to coordinate is (43.3254,67.1547) position, and be (43.3254,67.1547) by the coordinate renew of this sub-information point icon.
Described coordinate string concatenation module, for being spliced into coordinate string by the renewal coordinate of each sub-information point icon and preserving.
In the specific implementation, the coordinate of described each sub-information point icon is all spliced into coordinate string by specific separator, and like this in electronic chart, each information point group only needs preservation record, the information of each sub-information point can be recorded, can conveniently manage each sub-information point and information point group.This specific separator is comma or branch, wherein, CSV is passed through between the longitude of the coordinate of single sub-information point icon and latitude, semicolon separated is passed through between the coordinate of adjacent two sub-information point icons, like this, in the specific implementation, just according to actual needs coordinate string can be divided into the coordinate of each sub-information point icon.Such as, a certain information point group comprises 5 sub-information point icons, the coordinate of 5 sub-information point icons is respectively: (56.3010,112.0501), (56.3011,112.0501), (56.3012,112.0501), (56.3010,112.0502), (56.3010,112.0502), then the coordinate of these 5 sub-information points is spliced into coordinate string to be: 56.3010,112.0501; 56.3011,112.0501; 56.3012,112.0501; 56.3010,112.0502; 56.3010,112.0502.
In sum, the present invention has following beneficial effect: 1, without the need to all setting up binding relationship with group for each information point, and user can manipulate one group has same alike result and the different information point group in position simultaneously, namely only an interface need be called, drag with regard to can realize deleting all sub-information point of an information point group simultaneously, simultaneously, change the operations such as icon simultaneously, this can reduce miscellaneous group binding work, and all brings great convenience for actual business processing and with the operation and display of organizing information point; 2, the present invention is applied in electronic chart, the real-time update of electronic map information can be realized, to guarantee that the information updating of electronic chart changes synchronous with urban development.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (11)

1. an electronic chart rendering method, is characterized in that: comprise the steps:
Obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string attribute;
Each sub-information point in described information point group successively interval is presented on electronic chart;
Each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging;
The renewal coordinate of each sub-information point is spliced into coordinate string and preserves.
2. a kind of electronic chart rendering method according to claim 1, is characterized in that: described " each sub-information point in described information point group being presented on electronic chart at interval successively " is specially: first judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively;
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
3. a kind of electronic chart rendering method according to claim 2, is characterized in that:
In described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1, wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted;
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
4. a kind of electronic chart rendering method according to claim 1, it is characterized in that: described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position; If so, the invariant position of corresponding sub-information point is then kept.
5. a kind of electronic chart rendering method according to claim 1, it is characterized in that: before described " from the database of electronic chart obtaining information point group; described information point group at least comprises sub-information point number and coordinate string attribute " step, also comprise: set up information point group, and the information point group of foundation is loaded in the database of electronic chart.
6. according to a kind of electronic chart rendering method one of claim 1-5 Suo Shu, it is characterized in that: described each sub-information point is all presented on electronic chart with the form of icon.
7. according to a kind of electronic chart rendering method one of claim 1-5 Suo Shu, it is characterized in that: the coordinate of described each sub-information point is spliced into coordinate string by separator, described separator is comma or branch, wherein, by CSV between the longitude of the coordinate of single sub-information point and latitude, between the coordinate of adjacent two sub-information points, pass through semicolon separated.
8. electronic chart presents a system, it is characterized in that: comprising:
Information point acquisition module, for obtaining information point group from the database of electronic chart, described information point group at least comprises sub-information point number and coordinate string attribute;
Information point display module, for being presented at electronic chart in interval successively by each sub-information point in described information point group;
Information point is modules dragged, for each sub-information point is dragged to actual position, and obtains the renewal coordinate of each sub-information point after dragging;
Coordinate string concatenation module, for being spliced into coordinate string by the renewal coordinate of each sub-information point and preserving.
9. a kind of electronic chart according to claim 8 presents system, it is characterized in that: described information point display module is specially:
First judge that whether the coordinate string of this information point group is empty,
If, then judge that this information point group is as no initializtion, the each sub-information point of this information point group is dragged to electronic chart, and be dragged to electronic chart first sub-information point as initial point position, by other sub-information point towards this initial point position any one direction with mutually not the distance of gland be presented on electronic chart in interval successively;
If not, then judge that this information point group is as initialization, obtain the coordinate of each sub-information point according to the coordinate string of information point group, and according to the coordinate of each sub-information point, each sub-information point is presented on electronic chart.
10. a kind of electronic chart according to claim 9 presents system, it is characterized in that:
In described " being presented on electronic chart at interval successively with the distance of mutual not gland in other sub-information point any one direction towards this initial point position ", between two sub-information points, the computing method of the distance of gland are not mutually:
The first order resolution R of a, calculating electronic chart 1, wherein, S represents the horizontal actual distance of electronic chart, and N represents that the pixels across of electronic map pictures is counted;
The current engineer's scale rank K of b, acquisition electronic chart, as resolution levels, calculates the kth class resolution ratio R of current electronic map k, k is positive integer, and k>=2;
C, pixel distance P according to the not gland mutually of this sub-information point of acquiring size of sub-information point;
D, calculate the distance L=R of the mutual not gland of this sub-information point k* P.
11. a kind of electronic charts according to claim 8 present system, it is characterized in that: described " each sub-information point is dragged to actual position " is specially: the drag events of first binding each sub-information point, again according to the display position of each sub-information point on electronic chart, judge whether each sub-information point is positioned at the actual position on electronic chart, if not, then the sub-information point of correspondence is dragged to actual position; If so, the invariant position of corresponding sub-information point is then kept.
CN201510880458.5A 2015-12-03 2015-12-03 A kind of electronic map rendering method and system Active CN105512262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510880458.5A CN105512262B (en) 2015-12-03 2015-12-03 A kind of electronic map rendering method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510880458.5A CN105512262B (en) 2015-12-03 2015-12-03 A kind of electronic map rendering method and system

Publications (2)

Publication Number Publication Date
CN105512262A true CN105512262A (en) 2016-04-20
CN105512262B CN105512262B (en) 2019-09-06

Family

ID=55720244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510880458.5A Active CN105512262B (en) 2015-12-03 2015-12-03 A kind of electronic map rendering method and system

Country Status (1)

Country Link
CN (1) CN105512262B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436878A (en) * 2016-05-25 2017-12-05 滴滴(中国)科技有限公司 The decision method and device of identical information point, the De-weight method and equipment of information point
CN109215486A (en) * 2018-07-18 2019-01-15 平安科技(深圳)有限公司 Electronic map mark and display methods, device, terminal device and storage medium
US10970344B2 (en) 2016-05-10 2021-04-06 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for recommending personalized content

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969451A (en) * 2010-05-04 2011-02-09 福州开睿动力通信科技有限公司 POI data acquisition system and method based on smart phone
CN102506878A (en) * 2011-10-17 2012-06-20 深圳市路畅科技有限公司 Method for establishing point of interest (POI) in application of location based service (LBS)
US8219318B2 (en) * 2004-04-20 2012-07-10 Never-Search, Inc. Information mapping approaches
CN103902661A (en) * 2014-03-06 2014-07-02 东莞市南星电子有限公司 Information display method for correcting search result object selected by user on electronic map interface
CN104252529A (en) * 2014-09-04 2014-12-31 百度在线网络技术(北京)有限公司 Method and device for loading map annotations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8219318B2 (en) * 2004-04-20 2012-07-10 Never-Search, Inc. Information mapping approaches
CN101969451A (en) * 2010-05-04 2011-02-09 福州开睿动力通信科技有限公司 POI data acquisition system and method based on smart phone
CN102506878A (en) * 2011-10-17 2012-06-20 深圳市路畅科技有限公司 Method for establishing point of interest (POI) in application of location based service (LBS)
CN103902661A (en) * 2014-03-06 2014-07-02 东莞市南星电子有限公司 Information display method for correcting search result object selected by user on electronic map interface
CN104252529A (en) * 2014-09-04 2014-12-31 百度在线网络技术(北京)有限公司 Method and device for loading map annotations

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10970344B2 (en) 2016-05-10 2021-04-06 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for recommending personalized content
CN107436878A (en) * 2016-05-25 2017-12-05 滴滴(中国)科技有限公司 The decision method and device of identical information point, the De-weight method and equipment of information point
CN109215486A (en) * 2018-07-18 2019-01-15 平安科技(深圳)有限公司 Electronic map mark and display methods, device, terminal device and storage medium
CN109215486B (en) * 2018-07-18 2021-11-26 平安科技(深圳)有限公司 Electronic map marking and displaying method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN105512262B (en) 2019-09-06

Similar Documents

Publication Publication Date Title
US11748372B2 (en) Server implemented geographic information system with graphical interface
US10416866B2 (en) Representation of digital map styling properties across zoom levels
US8108789B2 (en) Information processing device, user interface method, and information storage medium
US20200327710A1 (en) Interface to index and display geospatial data
CN101303775A (en) Method and system for presenting network topological structure based on GIS
CN108604256B (en) Component information search device, component information search method, and program
JP7264989B2 (en) Visualization method, device and recording medium for multi-source earth observation image processing
CN105138355A (en) Method and device for inserting elements in interface of application program and electronic equipment
CN105512262A (en) Electronic map presenting method and system
CN108089858B (en) Method and device for creating visual interface
CN108846893A (en) Trivector ground drawing generating method and device
CN108255964B (en) Method for displaying process flow route
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
US20170357678A1 (en) Internet Map Macro Marker Management Theory and Control System
JP5214933B2 (en) Map display system
US8250480B2 (en) Interactive navigation of a dataflow process image
US10565278B2 (en) Packaged searching system and method
CN105512263A (en) Multi-mode electronic map display method and system
CN105512172A (en) GIS intelligent display system and method of street lamp resource equipment on mobile terminal
EP4002187A1 (en) Progress tracking with automatic symbol detection
US8510150B2 (en) Fiber to the premises network modeling systems and methods
CN114116686A (en) Data visualization method for realizing data large screen
CN106777280B (en) Data processing method and device based on super large data set
KR20080080008A (en) A database for link of serch data in gis system, a serch method
CN104834670A (en) Enterprise informatization exhibition system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 350108, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China

Applicant after: Fujian star net joint information system Co., Ltd.

Address before: 350000, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China

Applicant before: Fujian Star-Net Security Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant