Summary of the invention
In view of the deficienciess of the prior art, the first object of the present invention is to provide a kind of graph annotation batch processing sideMethod has the advantages of batch processing annotation, reduction marking error, omission, format are not inconsistent.
To achieve the above object, the present invention provides the following technical scheme that
A kind of graph annotation batch processing method is based on ArcGIS, including
Determine graph to be processed;
Note elements class is selected, and obtains the attribute of annotation, steric requirements;
Annotation to be processed is determined according to attribute, steric requirements;
Select the fixed process object processing operation to be carried out;
According to the selection result of processing operation, calling carries out the corresponding processing module of the processing operation to fixed process objectCarry out batch processing.
By adopting the above technical scheme, for graph to be processed, first selection note elements class, the category of annotation is obtained laterProperty, steric requirements, annotation is screened according to attribute, steric requirements, determines annotation to be processed, it is unified to be sieved according to conditionChoosing, avoids omitting.Select the processing operation to be carried out later, call corresponding processing module, it is unified to deal with objects intoRow batch processing, treatment effeciency is high, and is automatically performed, and mark is not easy to make mistakes, and format issues are few.
Further, determine that annotation to be processed includes: that the word content of foundation annotation carries out really according to attribute, steric requirementsIt is fixed.
By adopting the above technical scheme, annotation is sieved one by one by the attribute and steric requirements of the word content of annotationChoosing obtains annotation to be dealt with, and automatic screening is not necessarily to artificial screening, reduces error.
Further, the processing operation for selecting fixed process object to be carried out includes: first in determining annotation progressHold modification, pattern modification is carried out to the annotation of content modification later.
By adopting the above technical scheme, it first modifies to determining annotation content, then in the pattern of modification annotation, avoidsPattern caused by content is modified after modification pattern again to repeat to modify, promotes the efficiency of modification.
Further, the processing module includes XML customized file and script file.
By adopting the above technical scheme, above scheme is carried out using the computer of operation XML customized file and script fileIt is automatic to execute, it is simple and easy.
In view of the deficienciess of the prior art, the second object of the present invention is to provide a kind of storage medium, there is batchThe advantages of processing annotation, reduction marking error, omission, format are not inconsistent.
To achieve the above object, the present invention provides the following technical scheme that
A kind of storage medium is stored with to realize graph annotation batch processing method described in as above any one technical solutionComputer program.
By adopting the above technical scheme, for graph to be processed, first selection note elements class, the category of annotation is obtained laterProperty, steric requirements, annotation is screened according to attribute, steric requirements, determines annotation to be processed, it is unified to be sieved according to conditionChoosing, avoids omitting.Select the processing operation to be carried out later, call corresponding processing module, it is unified to deal with objects intoRow batch processing, treatment effeciency is high, and is automatically performed, and mark is not easy to make mistakes, and format issues are few.
In view of the deficienciess of the prior art, the third object of the present invention is to provide a kind of graph annotation batch processing systemSystem, there is the advantages of batch processing annotation, reduction marking error, omission, format are not inconsistent.
To achieve the above object, the present invention provides the following technical scheme that
A kind of graph annotation batch processing system, including processor and memory, the memory are stored with described in instruction set confessionProcessor is called to implement function such as:
Determine graph to be processed;
Note elements class is selected, and obtains the attribute of annotation, steric requirements;
Annotation to be processed is determined according to attribute, steric requirements;
Select the fixed process object processing operation to be carried out;
According to the selection result of processing operation, calling carries out the corresponding processing module of the processing operation to fixed process objectCarry out batch processing.
By adopting the above technical scheme, for graph to be processed, first selection note elements class, the category of annotation is obtained laterProperty, steric requirements, annotation is screened according to attribute, steric requirements, determines annotation to be processed, it is unified to be sieved according to conditionChoosing, avoids omitting.Select the processing operation to be carried out later, call corresponding processing module, it is unified to deal with objects intoRow batch processing, treatment effeciency is high, and is automatically performed, and mark is not easy to make mistakes, and format issues are few.
Further, described instruction collection is also called for the processor to realize:
Determine that annotation to be processed includes: that the word content of foundation annotation is determined according to attribute, steric requirements.
By adopting the above technical scheme, annotation is sieved one by one by the attribute and steric requirements of the word content of annotationChoosing obtains annotation to be dealt with, and automatic screening is not necessarily to artificial screening, reduces error.
Further, described instruction collection is also called for the processor to realize:
Selecting the fixed process object processing operation to be carried out includes: first to carry out content modification to determining annotation, laterPattern modification is carried out to the annotation of content modification.
By adopting the above technical scheme, it first modifies to determining annotation content, then in the pattern of modification annotation, avoidsPattern caused by content is modified after modification pattern again to repeat to modify, promotes the efficiency of modification.
Further, the processing module includes XML customized file and script file.
In view of the deficienciess of the prior art, the second object of the present invention is to provide a kind of storage medium, there is batchThe advantages of processing annotation, reduction marking error, omission, format are not inconsistent.
In conclusion the invention has the following advantages:
1. choosing note elements class, attribute, the steric requirements of annotation are obtained later, and annotation is carried out according to attribute, steric requirementsScreening determines annotation to be processed, unified according to conditional filtering, avoids omitting;
2. selecting the processing operation to be carried out, corresponding processing module is called, it is unified that batch processing, processing are carried out to process objectIt is high-efficient, and be automatically performed, mark is not easy to make mistakes, and format issues are few;
3. the attribute and steric requirements by the word content of annotation one by one screen annotation, note to be dealt with is obtainedNote, automatic screening are not necessarily to artificial screening, reduce error.