CN114238239A - Survey delimitation report generation method, system and device based on python and storage medium - Google Patents

Survey delimitation report generation method, system and device based on python and storage medium Download PDF

Info

Publication number
CN114238239A
CN114238239A CN202111575197.8A CN202111575197A CN114238239A CN 114238239 A CN114238239 A CN 114238239A CN 202111575197 A CN202111575197 A CN 202111575197A CN 114238239 A CN114238239 A CN 114238239A
Authority
CN
China
Prior art keywords
data
file
sub
range line
files
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
CN202111575197.8A
Other languages
Chinese (zh)
Other versions
CN114238239B (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.)
Henan Xinyuan Land Technology Co ltd
Original Assignee
Henan Xinyuan Land 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 Henan Xinyuan Land Technology Co ltd filed Critical Henan Xinyuan Land Technology Co ltd
Priority to CN202111575197.8A priority Critical patent/CN114238239B/en
Publication of CN114238239A publication Critical patent/CN114238239A/en
Application granted granted Critical
Publication of CN114238239B publication Critical patent/CN114238239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/173Customisation support for file systems, e.g. localisation, multi-language support, personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the field of land surveying, in particular to a survey delimitation report generation method, a survey delimitation report generation system, a survey delimitation report generation device and a storage medium based on python, wherein the survey delimitation report generation method comprises the steps of obtaining a range line file and a land type pattern spot file, and conducting superposition processing on the range line file and the land type pattern spot file to obtain a plurality of sub-land block files with data; respectively performing cyclic data processing on the obtained plurality of data-containing sub-parcel files based on the parcel attribute information to obtain a plurality of range line files of the data-containing sub-parcel, and storing the obtained plurality of range line files of the data-containing sub-parcel in a database; inputting basic information of a document; calling the range line files of the plurality of data-containing sub-plots in the database, extracting data in the range line files of the plurality of data-containing sub-plots, and generating a plurality of data tables based on the extracted data; and saving various data tables into the template to generate a survey delimitation report. The method and the device have the effect of improving the efficiency of generating the survey delimiting report.

Description

Survey delimitation report generation method, system and device based on python and storage medium
Technical Field
The application relates to the field of land surveying, in particular to a survey delimitation report generation method, a survey delimitation report generation system, a survey delimitation report generation device and a storage medium based on python.
Background
The survey delimitation is a technical service work which is carried out according to the work requirements of land collection, expropriation, allocation, giving way, agricultural land transfer, land utilization planning, land development, arrangement, reclamation and the like, defines the land use range, determines the boundary position, traces the current land utilization situation and calculates the land area on site, and provides scientific and accurate basic data for land approval, cadastral management and the like of the national and soil resource administration department.
The characters and data tables in the documents in the survey delimiting report of the related art have certain repeatability and computability, so that the survey delimiting report is time-consuming and inefficient to generate.
Disclosure of Invention
In order to improve the generation efficiency of the survey delimiting report, the application provides a survey delimiting report generation method, a survey delimiting report generation system, a survey delimiting report generation device and a storage medium based on python.
In a first aspect, the survey delimitation report generation method based on python provided by the application adopts the following technical scheme:
a python-based survey bounding report generation method, comprising:
acquiring a range line file and a land type pattern file, and performing superposition processing on the range line file and the land type pattern file to obtain a plurality of data sub-land block files;
respectively performing cyclic data processing on the obtained plurality of data sub-parcel files based on parcel attribute information to obtain a plurality of range line files of the data sub-parcel, and storing the obtained plurality of range line files of the data sub-parcel in a database;
inputting basic information of a document;
calling the range line files of the plurality of data sub-plots in the database, extracting data in the range line files of the plurality of data sub-plots, and generating a plurality of data tables based on the extracted data;
and saving the various data tables into the template to generate a survey delimitation report.
By adopting the technical scheme, a plurality of sub-block files with data can be obtained by overlapping the range line files and the land type spot files, cyclic data processing is carried out on the plurality of sub-block files with data according to the land block attribute information to obtain the range line files of the plurality of sub-blocks with data, then the range line files of the plurality of sub-blocks with data are called, data in the range line files of the plurality of sub-blocks with data are extracted, a plurality of data tables are generated according to the extracted data, and the plurality of data tables are stored in the template to generate the survey delimitation report.
Optionally, the performing cyclic data processing on the obtained plurality of data-containing sub-tile files respectively based on the tile attribute information to obtain a plurality of range line files of data-containing sub-tiles specifically includes:
performing fusion processing on the obtained plurality of sub-parcel files with data to obtain a total parcel file without data;
performing range line segmentation processing on the obtained total land block file without data to obtain range line files of a plurality of sub-land blocks without data;
coding each project area to obtain a plurality of coded project areas, and enabling each coded project area to respectively correspond to a data-contained sub-block file and a range line file of a data-free sub-block;
and respectively intersecting the range line file of the non-data sub-block of each coding project area with the corresponding sub-block file with data to obtain a plurality of range line files of the data sub-blocks.
By adopting the technical scheme, the plurality of data-containing sub-block files are processed in a fusion mode to obtain a data-free total block file, the range line of the data-free total block file is divided into a plurality of data-free sub-block range line files, each item area is subjected to label numbering processing to obtain a plurality of coding item areas, each coding item area corresponds to one data-containing sub-block file and one data-free sub-block range line file respectively, the data-free sub-block range line file of each item area is intersected with the corresponding data-containing sub-block file to obtain a plurality of data-containing sub-block range line files, and therefore the obtained plurality of data-containing sub-block range line files can be stored in a database and are convenient to use in subsequent calling.
Optionally, the parcel attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
By adopting the technical scheme, the land parcel attribute information is set into the land parcel ownership unit information, the land parcel ownership property information and the land parcel type information, so that cyclic data processing can be directionally carried out on a plurality of sub-land parcel files with data according to the land parcel attribute information.
Optionally, the plurality of tables include a survey delimiting table, a survey area table, a land classification area table, an address point achievement table, and a block area and address point coordinate achievement table.
By adopting the technical scheme, the information integrity of the survey delimitation report can be improved by generating various data tables.
In a second aspect, the survey delimitation report generation system based on python provided by the application adopts the following technical scheme:
a python-based survey delimitation report generation system, comprising:
the file acquisition module is used for acquiring a range line file and a land type image spot file;
the file overlapping module is used for overlapping the acquired range line file and the acquired land type map spot file to obtain a plurality of data sub-land block files;
the file processing module is used for respectively carrying out cyclic data processing on the obtained plurality of data-containing sub-block files according to the attribute information to obtain a plurality of range line files of the data-containing sub-block;
the database module is used for storing a plurality of range line files of the sub-plot blocks with data;
the information input module is used for inputting basic information of a document;
the file calling module is used for calling the range line files of the plurality of data-contained sub-plots stored in the database;
the data extraction module is used for extracting data in the range line files of the plurality of sub-plots with data and generating a plurality of data tables according to the extracted data;
and the report generation module is used for storing the generated various data tables in the template and generating the survey delimitation report.
By adopting the technical scheme, the survey delimitation report is finally generated according to the acquired range line file and the acquired ground type pattern spot file through the cooperative processing of the modules, and compared with a repeated calculation character and data table in the related art, the generation efficiency of the survey delimitation report is improved.
Optionally, the file processing module includes:
the file fusion unit is used for carrying out fusion processing on the obtained plurality of data-contained sub-parcel files to obtain a data-free total parcel file;
the range line segmentation unit is used for performing range line segmentation processing on the obtained non-data total block file to obtain a plurality of range line files of non-data sub-blocks;
the coding processing unit is used for coding each item area to obtain a plurality of coding item areas, and each coding item area corresponds to a data-contained sub-block file and a range line file of a data-free sub-block respectively;
and the file intersecting unit is used for intersecting the range line file of the non-data sub-block in each coding project area with the corresponding sub-block file with data to obtain a plurality of range line files of the sub-blocks with data.
By adopting the technical scheme, the range line files of the plurality of data sub-plots are finally obtained through the cooperative processing of the plurality of units, so that the obtained range line files of the plurality of data sub-plots can be stored in the database, and the subsequent calling and using are facilitated.
Optionally, the attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
By adopting the technical scheme, the land parcel attribute information is set into the land parcel ownership unit information, the land parcel ownership property information and the land parcel type information, so that cyclic data processing can be directionally carried out on a plurality of sub-land parcel files with data according to the land parcel attribute information.
Optionally, the plurality of tables include a survey delimiting table, a survey area table, a land classification area table, an address point achievement table, and a block area and address point coordinate achievement table.
By adopting the technical scheme, the information integrity of the survey delimitation report can be improved by generating various data tables.
In a third aspect, the present application provides a computer apparatus, which adopts the following technical solution:
a computer apparatus comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, when loaded with the computer program, performing the method of the first aspect.
By adopting the technical scheme, the computer program is generated based on the method of the first aspect and is stored in the memory so as to be loaded and executed by the processor, and therefore, the computer device is manufactured according to the memory and the processor and is convenient for a user to use.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium having stored thereon a computer program which, when loaded by a processor, performs the method of the first aspect.
By adopting the technical scheme, the computer program is generated based on the method of the first aspect and is stored in the computer readable storage medium so as to be loaded and executed by the processor, and the computer program can be conveniently read and stored through the computer readable storage medium.
Drawings
FIG. 1 is an overall method flow diagram of a survey delimitation report generation method of the present application.
FIG. 2 is a flowchart illustrating a method for performing circular data processing on a plurality of data-containing sub-block files according to the present application.
FIG. 3 is an overall module framework schematic diagram of the survey bounding report generation system of the present application.
FIG. 4 is a schematic diagram of a unit framework of a document processing module of the present application.
FIG. 5 is a schematic view of a user interface of the survey definition report generation system of the present application.
Description of reference numerals: 1. a file acquisition module; 2. a file superposition module; 3. a file processing module; 31. a file fusion unit; 32. a range line dividing unit; 33. an encoding processing unit; 34. a file intersection unit; 4, a database module; 5. an information input module; 6. a file calling module; 7. a data extraction module; 8. and a report generation module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1-5 and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
According to the research on the survey delimitation report document in the related art, certain repeatability and computability exist in characters and tables in the document, and the python language has good effect on processing document support, so that the shp format file range line can be directly read to generate the document.
The system is developed by adopting python language, the user interface of the system is also built by adopting python development kit wxpython, the system calls the api interface method in arcpy of ArcGIS, and the interface kit of the ArcGIS is also developed by python language, can be in seamless butt joint, and is convenient and efficient to call.
Technical term interpretation: the range line file is a flexible map information file in the ArcGIS system, and comprises point coordinate information, coordinate system information, graphic information, table information and the like; the land type map spot file refers to a current map information database file of a certain land block, the land type map spot file comprises land type application information and the like of each land block, the land type map spot file is stored in a natural resource system, and the land type map spot file is updated in the natural resource system in real time.
The embodiment of the application discloses a survey delimitation report generation method based on python, and with reference to fig. 1, the method specifically comprises the following steps:
s1: and acquiring a range line file and a land type pattern file, and overlapping the range line file and the land type pattern file to obtain a plurality of data sub-parcel files.
Specifically, in step S1, the obtained range line file is a range line file in shp format, and the range line file in shp format can be obtained by surveying and mapping personnel through on-site GPS measurement, or can be directly derived from the national land system; in addition, the place type spot file is obtained from the database of the natural resource system, and in this embodiment, the place type spot file may be obtained from the database in a downloading or exporting manner.
Specifically, in step S1, a range line file and a map spot file in the shp format are superimposed by calling a superimposition interface of the ArcGIS system, so as to obtain a plurality of data sub-tile files, where the data sub-tile files are files with complete fields in the files, such as a tile name file and/or a administrative area code file, and the data sub-tile files include point coordinate information and data table field information.
S2: and respectively carrying out cyclic data processing on the obtained plurality of data sub-block files based on the block attribute information to obtain a plurality of range line files of the data sub-blocks, and storing the obtained plurality of range line files of the data sub-blocks in a database.
Specifically, in step S2, the parcel attribute information may include parcel ownership information, parcel category information, and the like.
Specifically, referring to fig. 2, in step S2, the performing loop processing on the plurality of data tile files specifically includes:
s21: and performing fusion processing on the obtained plurality of sub-block files with data to obtain a total block file without data.
Specifically, in step S21, a plurality of data sub-block files are fused by calling a fusion interface of the ArcGIS system, and a new file is generated after the fusion, where the generated new file has no digital table field information and only block coordinate information, and the generated new file is a data-free total block file, and the fusion interface in this embodiment is a well-defined fusion interface in the ArcGIS system.
S22: and performing range line segmentation processing on the obtained total block file without data to obtain range line files of a plurality of sub-blocks without data.
Specifically, in step S22, a partition interface of the ArcGIS system is called to add a partition field to the non-data total block file to perform range line partition on the non-data total block file, so as to obtain a plurality of range line files of non-data sub-blocks.
S23: and coding each item area to obtain a plurality of coded item areas, wherein each coded item area corresponds to a data-contained sub-block file and a range line file of a data-free sub-block respectively.
Specifically, in step S23, the encoding program is called to encode each item area to tag-number each item area, so as to form a plurality of encoded item areas, and each encoded item area corresponds to a sub-block file with data and a range line file without data according to the block characteristics of each encoded item area, that is, the block characteristics of the encoded item area and the block characteristics of the sub-block are consistent when corresponding to each other.
S24: and respectively intersecting the range line file of the non-data sub-block of each coding project area with the corresponding sub-block file with data to obtain a plurality of range line files of the data sub-blocks.
Specifically, in step S24, according to the block characteristics of the sub-blocks, the intersection interface of the ArcGIS system is called to perform intersection processing on the range line file of the non-data sub-block and the corresponding data sub-block file of each encoded item region, so as to obtain a plurality of range line files of data sub-blocks.
The obtained range line files of the plurality of data sub-plots are stored in the database, so that the data table can be conveniently and directly called for use when being subsequently generated.
S3: basic information of a document is input.
Specifically, referring to fig. 3, in step S3, the specifically input basic information includes land unit information, project land name information, survey delimitation unit information, measuring instrument information, coordinate system information, several degree band information, central meridian degree information, control net information, top level control information, encryption control information, area calculation method information, basic farmland area information, work base map information, unit supervisor information, project principal information, reviewer information, calculator information, reviewer information, date information, second-third-key screening information, land occupation mode screening information, achievement list screening information, whether to generate intermediate data information, and the like.
S4: and calling the range line files of the plurality of data-containing sub-plots in the database, extracting the data in the range line files of the plurality of data-containing sub-plots, and generating various data tables based on the extracted data.
Specifically, a file calling program calls a plurality of range line files of data-contained sub-plots stored in a database, a data extraction program extracts data in the range line files of the data-contained sub-plots, the data in the range line files of the data-contained sub-plots comprises survey delimitation data, survey area data, land classification area data, boundary point achievement data, plot area and boundary point coordinate data and the like, a table making tool makes a data table, and the extracted data is given to the data table; the various data tables in the embodiment include a survey delimiting table, a survey area table, a land classification area table, an interface point achievement table and a block area and interface point coordinate achievement table, wherein the land classification area table includes a nationally owned land classification area table and a collective land classification area table.
S5: and saving various data tables into the template to generate a survey delimitation report.
Specifically, in step S5, the generated multiple data tables are stored in the word document by the table storage tool, and then the survey delimiting report can be generated by clicking the report generating button; of course, various data tables may be stored in the pdf document according to actual use requirements, and the template setting is not limited in this application.
The implementation principle of the survey delimitation report generation method based on python in the embodiment of the application is as follows: obtaining a plurality of data sub-block files by acquiring a range line file and a land type map spot file in an shp format and calling a superposition interface of an ArcGIS system to superpose the range line file and the land type map spot file in the shp format, respectively carrying out circulating processing on the obtained plurality of data sub-block files according to attribute information of the blocks to obtain a plurality of data sub-block range line files, storing the obtained plurality of data sub-block range line files in a database, inputting basic information of the document, calling the plurality of data sub-block range line files stored in the database through a file calling program, extracting data in the plurality of data sub-block range line files through a data extraction program, then making a data table through a table making tool, endowing the extracted data to the data table, and then making a plurality of data tables in a word document, thereby generating a survey bound report.
The embodiment of the application discloses a survey delimitation report generation system based on python, wherein the system applies the method of the embodiment, and with reference to fig. 4, the method specifically includes:
the file acquisition module 1 is used for acquiring a range line file and a land type image spot file;
the file overlapping module 2 is used for overlapping the acquired range line file in the shp format and the acquired ground type map spot file to obtain a plurality of data sub-block files;
the file processing module 3 is used for respectively carrying out cyclic data processing on the obtained plurality of data sub-block files according to the block attribute information to obtain a plurality of range line files of the data sub-blocks;
the database module 4 is used for storing a plurality of range line files of the sub-plot blocks with data;
an information input module 5 for inputting basic information of a document;
the file calling module 6 is used for calling the range line files of a plurality of data-contained sub-plots stored in the database;
the data extraction module 7 is used for extracting data in the range line files of the plurality of data-contained sub-plots and generating a plurality of data tables according to the extracted data;
and the report generation module 8 is used for saving the generated various data tables in the template to generate the survey delimitation report.
Referring to fig. 5, in this embodiment, the file processing module 3 specifically includes:
a file fusion unit 31, configured to perform fusion processing on the obtained multiple data-containing sub-tile files to obtain a data-free total tile file;
a range line dividing unit 32, configured to perform range line dividing processing on the obtained non-data total tile file to obtain a plurality of range line files of non-data sub-tiles;
the encoding processing unit 33 is configured to perform encoding processing on each item area to obtain a plurality of encoded item areas, and enable each encoded item area to correspond to one data-containing sub-tile file and one range line file of a data-free sub-tile respectively;
the file intersecting unit 34 is configured to intersect the range line file of the non-data sub-block in each encoded entry region with the corresponding data sub-block file to obtain a plurality of range line files of data sub-blocks.
The system is developed by calling Arcpy of an ArcGIS system interface and assisted in development by using python language, so that the system interface is simple and easy to operate, and is stable and safe, and the system can be applied to windows systems, such as windows7 or windows 10.
The embodiment of the application discloses a computer device, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein when the processor loads the computer program, the survey delimitation report document generation method of the embodiment is executed.
The computer device may be a desktop computer, a notebook computer, or a cloud server, and the computer device includes but is not limited to a processor and a memory, for example, the computer device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the present application does not limit the present invention.
The memory may be an internal storage unit of the computer apparatus, for example, a hard disk or a memory of the computer apparatus, or an external storage device of the computer apparatus, for example, a plug-in hard disk, a smart card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the computer apparatus, and the memory may also be a combination of the internal storage unit of the computer apparatus and the external storage device, and the memory is used for storing a computer program and other programs and data required by the computer apparatus, and the memory may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
The method for generating the survey delimitation report document according to the embodiment is stored in a memory of the computer device through the computer device, and is loaded and executed on a processor of the computer device, so that the method is convenient for a user to use.
The embodiment of the application discloses a computer readable storage medium, and a computer program is stored in the computer readable storage medium, wherein when the computer program is loaded by a processor, the method for generating the survey delimiting report document of the embodiment is executed.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The method for generating the survey delimiting report document of the embodiment is stored in the computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on the processor, so as to facilitate the storage and application of the method for generating the survey delimiting report document.
The foregoing is a preferred embodiment of the present application and is not intended to limit the scope of the application in any way, and any features disclosed in this specification (including the abstract and drawings) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Claims (10)

1. A python-based survey delimitation report generation method, comprising:
acquiring a range line file and a land type pattern file, and performing superposition processing on the range line file and the land type pattern file to obtain a plurality of data sub-land block files;
respectively performing cyclic data processing on the obtained plurality of data sub-parcel files based on parcel attribute information to obtain a plurality of range line files of the data sub-parcel, and storing the obtained plurality of range line files of the data sub-parcel in a database;
inputting basic information of a document;
calling the range line files of the plurality of data sub-plots in the database, extracting data in the range line files of the plurality of data sub-plots, and generating a plurality of data tables based on the extracted data;
and saving the various data tables into the template to generate a survey delimitation report.
2. The python-based survey delimitation report generation method according to claim 1, wherein the cycle data processing is performed on the obtained plurality of data sub-block files respectively based on the block attribute information to obtain the range line files of the plurality of data sub-blocks, and specifically comprises:
performing fusion processing on the obtained plurality of sub-parcel files with data to obtain a total parcel file without data;
performing range line segmentation processing on the obtained total land block file without data to obtain range line files of a plurality of sub-land blocks without data;
coding each project area to obtain a plurality of coded project areas, and enabling each coded project area to respectively correspond to a data-contained sub-block file and a range line file of a data-free sub-block;
and respectively intersecting the range line file of the non-data sub-block of each coding project area with the corresponding sub-block file with data to obtain a plurality of range line files of the data sub-blocks.
3. The python-based survey delimitation report generation method of claim 1, wherein the attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
4. The python-based survey delimitation report generation method of claim 1, wherein the plurality of tables include a survey delimitation table, a survey area table, a parcel classification area table, a land classification area table, an endpoint achievement table, and a parcel area and endpoint coordinate achievement table.
5. A python-based survey delimitation report generation system, comprising:
the file acquisition module (1) is used for acquiring a range line file and a ground type map spot file;
the file overlapping module (2) is used for overlapping the acquired range line file and the acquired land type image spot file to obtain a plurality of data sub-block files;
the file processing module (3) is used for respectively carrying out cyclic data processing on the obtained plurality of data-containing sub-block files according to the attribute information to obtain a plurality of range line files of the data-containing sub-block;
the database module (4) is used for storing a plurality of range line files of the sub-plot blocks with data;
an information input module (5) for inputting basic information of a document;
the file calling module (6) is used for calling a plurality of range line files of the sub-plot blocks with data stored in the database;
the data extraction module (7) is used for extracting data in the range line files of the plurality of data-contained sub-plots and generating a plurality of data tables according to the extracted data;
and the report generation module (8) is used for saving the generated various data tables in the template to generate the survey delimitation report.
6. The python-based survey delimiting report generating system according to claim 5, characterized in that the file handling module (3) comprises:
the file fusion unit (31) is used for carrying out fusion processing on the obtained plurality of data-contained sub-block files to obtain a data-free total block file;
a range line segmentation unit (32) for performing range line segmentation processing on the obtained non-data total block file to obtain a plurality of range line files of non-data sub-blocks;
the coding processing unit (33) is used for coding each item area to obtain a plurality of coding item areas, and each coding item area corresponds to a data-contained sub-block file and a range line file of a data-free sub-block respectively;
and the file intersection unit (34) is used for performing intersection processing on the range line file of the non-data sub-block of each coding item area and the corresponding sub-block file with data to obtain a plurality of range line files of the data sub-blocks.
7. The python-based survey delimitation report generation system of claim 5, wherein the attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
8. The python-based survey delimitation report generation system of claim 5, wherein the plurality of tables includes a survey delimitation table, a survey area table, a parcel classification area table, a land classification area table, an endpoint achievement table, and a parcel area and endpoint coordinate achievement table.
9. A computer arrangement comprising a memory, a processor and a computer program stored in the memory and being executable on the processor, wherein the processor, when loaded with the computer program, performs the method of any of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being loaded by a processor, is adapted to carry out the method of any one of claims 1-4.
CN202111575197.8A 2021-12-21 2021-12-21 Survey delimitation report generation method and system based on python Active CN114238239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111575197.8A CN114238239B (en) 2021-12-21 2021-12-21 Survey delimitation report generation method and system based on python

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111575197.8A CN114238239B (en) 2021-12-21 2021-12-21 Survey delimitation report generation method and system based on python

Publications (2)

Publication Number Publication Date
CN114238239A true CN114238239A (en) 2022-03-25
CN114238239B CN114238239B (en) 2022-10-28

Family

ID=80760780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111575197.8A Active CN114238239B (en) 2021-12-21 2021-12-21 Survey delimitation report generation method and system based on python

Country Status (1)

Country Link
CN (1) CN114238239B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118610A (en) * 2009-12-02 2011-06-16 Canon It Solutions Inc Portable terminal, control method thereof, program, and storage medium
CN107357767A (en) * 2017-07-26 2017-11-17 湖南省地质矿产勘查开发局四七队 A kind of engineering investigation data processing method and device
CN108388620A (en) * 2018-02-11 2018-08-10 珠海市测绘院 A kind of approval for land use Survey data processing information system
CN110083875A (en) * 2019-04-01 2019-08-02 浙江省水利水电勘测设计院 A kind of survey design integration figure automatic map framing method based on AutoCAD layout

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118610A (en) * 2009-12-02 2011-06-16 Canon It Solutions Inc Portable terminal, control method thereof, program, and storage medium
CN107357767A (en) * 2017-07-26 2017-11-17 湖南省地质矿产勘查开发局四七队 A kind of engineering investigation data processing method and device
CN108388620A (en) * 2018-02-11 2018-08-10 珠海市测绘院 A kind of approval for land use Survey data processing information system
CN110083875A (en) * 2019-04-01 2019-08-02 浙江省水利水电勘测设计院 A kind of survey design integration figure automatic map framing method based on AutoCAD layout

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟凡军: "New Map成图系统在土地勘测定界的应用", 《 国土资源信息化》 *
杨同岭: "土地勘测定界内业数据处理技术研究", 《科技资讯》 *

Also Published As

Publication number Publication date
CN114238239B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
Di Battista et al. Algorithms for drawing graphs: an annotated bibliography
CN105976313A (en) Method and system for transforming CAD plane coordinate system to Baidu map coordinate system
CN110765750B (en) Report data input method and terminal equipment
US20170186225A1 (en) Method and apparatus for generating a composite indexable linear data structure to permit selection of map elements based on linear elements
CN109635260A (en) For generating the method, apparatus, equipment and storage medium of article template
Smith et al. ArchField in Jordan: Real-time GIS data recording for archaeological excavations
CN112487212A (en) Method and device for constructing domain knowledge graph
CN106844642B (en) Method for calculating population density in road network grid based on GIS
CN103065009B (en) Intelligent design system and method of traffic sign lines
Abdelmoty et al. Towards maintaining consistency of spatial databases
KR20210116371A (en) Image processing method, device, electronic equipment, computer readable storage medium and computer program
CN114238239B (en) Survey delimitation report generation method and system based on python
CN112287005B (en) Data processing method, device, server and medium
CN113610512A (en) Electronic signature generation method, device, equipment and storage medium
CN115827803A (en) Data display method and device, terminal equipment and storage medium
CN102708109B (en) Raster data reading method and device and raster data writing method and device
CN114385172A (en) cas data processing method, cas data processing device, electronic device and storage medium
CN106502978A (en) A kind of Chinese address segmenting method and device
Chen et al. Application of data fusion in the production and updating of spatial data
CN113448979B (en) Power distribution network equipment account matching method and computer readable storage medium
CN113487698B (en) Form generation method and device based on two-channel neural network model
Uktamovich MODERN TECHNOLOGIES FOR THE CREATION OF INFORMATION SYSTEMS (GAT TECHNOLOGIES, WEB TECHNOLOGIES)
CN116992851A (en) Water body change investigation document batch generation method based on remote sensing data
CN113723681A (en) Path selection method and device, electronic equipment and readable storage medium
US20220282992A1 (en) Method and apparatus for generating electronic map, electronic device and storage medium

Legal Events

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