CN114238239B - Survey delimitation report generation method and system based on python - Google Patents

Survey delimitation report generation method and system based on python Download PDF

Info

Publication number
CN114238239B
CN114238239B CN202111575197.8A CN202111575197A CN114238239B CN 114238239 B CN114238239 B CN 114238239B CN 202111575197 A CN202111575197 A CN 202111575197A CN 114238239 B CN114238239 B CN 114238239B
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.)
Active
Application number
CN202111575197.8A
Other languages
Chinese (zh)
Other versions
CN114238239A (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 and system based on python
Technical Field
The application relates to the field of land surveying, in particular to a survey delimitation report generation method and system based on python.
Background
The survey delimitation is technical service work which is carried out according to the work requirements of land collection, expropriation, allocation, giving-out, agricultural land transfer, land utilization planning, land development, arrangement, reclamation and the like, defines the land use range, determines the position of a boundary, traces the current land utilization situation and calculates the land area on the spot and provides scientific and accurate basic data for land examination and approval, cadastral management and the like of a 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 generating efficiency of the survey delimiting report, the application provides a survey delimiting report generating method and system 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 sub-parcel file and a range line file of a non-data sub-parcel;
and respectively intersecting the range line file of the non-data sub-plot of each coding project area with the corresponding sub-plot file with data to obtain a plurality of range line files of the sub-plots with data.
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 performed on a plurality of sub-land parcel files with data directionally according to the land parcel attribute information.
Optionally, the plurality of tables include survey delimitation tables, survey area tables, land classification area tables, boundary point achievement tables, and block area and boundary point coordinate achievement tables.
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 may be obtained by surveying and mapping personnel through an on-site GPS measurement, or may be directly derived from a 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 geographic map spot file in an shp format are superimposed by calling a superimposition interface of the ArcGIS system, so as to obtain a plurality of sub-geographic block files with data, where the sub-geographic block files with data are files with complete fields in the files, such as a geographic block name file and/or a administrative area code file, and the sub-geographic block files with data 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-containing sub-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 sub-block files with data 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 total block file without data, and the fusion interface in this embodiment is a fusion interface determined in the ArcGIS system.
S22: and carrying out range line segmentation processing on the obtained non-data total land parcel file to obtain a plurality of range line files of non-data sub-land parcels.
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 range line file of a plurality of non-data sub-blocks, and in the specific implementation, for example, the character string partition fields such as 01, 02, and 03 are used for partitioning, the character string partition field is input, and the partition interface of the ArcGIS system is used to perform range line partition on the non-data total block file, and the partition interface in this embodiment is an interface defined in the ArcGIS system.
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, an 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 according to the land characteristics of each encoded item area, each encoded item area corresponds to one sub-land file with data and one range line file without data, that is, when corresponding, the land characteristics of the encoded item area are consistent with the land characteristics of the sub-land.
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 the data sub-blocks, where the intersection interface in this embodiment is an interface defined in the ArcGIS system.
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 network 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, filtering information for second and third tones, filtering information for land occupation manner, filtering information for result table, and information on whether to generate intermediate data or not.
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: the method comprises the steps of obtaining a range line file and a land type spot file in an shp format, calling a superposition interface of an ArcGIS system to superpose the range line file and the land type spot file in the shp format to obtain a plurality of sub-land block files with data, respectively carrying out cyclic processing on the obtained plurality of sub-land block files with data according to attribute information of land blocks to obtain the range line files of the plurality of sub-land blocks with data, storing the obtained range line files of the plurality of sub-land blocks with data in a database, inputting basic information of the document, calling the range line files of the plurality of sub-land blocks with data stored in the database through a file calling program, extracting data in the range line files of the plurality of sub-land blocks with data 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 various data tables into a word document to generate a delimited 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 sub-plots 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-plots 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.
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 (8)

1. A python-based survey delimitation report generation method, comprising:
acquiring a range line file and a land type pattern file, wherein the range line file comprises a plurality of range lines, and overlapping the range line file and the land type pattern file to obtain a plurality of data sub-land block files, and the data sub-land block files comprise point coordinate information and data table field information;
respectively carrying out cyclic data processing on the obtained plurality of sub-block files with data based on block attribute information to obtain a plurality of range line files of the sub-blocks with data, and storing the obtained range line files of the plurality of sub-blocks with data in a database, wherein the data in the range line files of the sub-blocks with data comprises survey delimiting data, survey area data, land classification area data, boundary point result data, block area data and boundary point coordinate data, the obtained plurality of sub-block files with data are subjected to fusion processing to obtain a total block file without data, and the total block file without data only has point coordinate information and does not have data table field information; performing range line segmentation processing on the obtained non-data total land parcel file to obtain a plurality of range line files of non-data sub-land parcels; 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; the range line file of the non-data sub-plot of each coding project area is intersected with the corresponding sub-plot file with data respectively to obtain a plurality of range line files of the data sub-plots;
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 of claim 1, wherein the attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
3. 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.
4. A python-based survey delimitation report generation system, comprising:
the system comprises a file acquisition module (1) for acquiring a range line file and a ground type image spot file, wherein the range line file comprises a plurality of range lines;
the file superposition module (2) is used for carrying out superposition processing on the acquired range line file and the acquired ground type map spot file to obtain a plurality of data sub-block files, and the data sub-block files comprise point coordinate information and data table field information;
the file processing module (3) is used for respectively carrying out cyclic data processing on the obtained plurality of sub-block files with data according to the attribute information to obtain a plurality of range line files of the sub-blocks with data, wherein the data in the range line files of the sub-blocks with data comprises survey delimiting data, survey area data, land classification area data, boundary point result data, block area data and boundary point coordinate data, and the file processing 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, wherein the data-free total block file only contains point coordinate information and no data table field information; 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 sub-block file and a range line file of a non-data sub-block respectively; a file intersection unit (34) for intersecting the range line file of the non-data sub-parcel of each coding project area with the corresponding sub-parcel file with data to obtain a plurality of range line files of the sub-parcel with data;
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.
5. The python-based survey delimitation report generation system of claim 4, wherein the attribute information includes parcel ownership unit information, parcel ownership property information, and parcel category information.
6. The python-based survey delimitation report generation system according to claim 4, 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.
7. 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-3.
8. 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-3.
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 CN114238239A (en) 2022-03-25
CN114238239B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115081401A (en) * 2022-07-12 2022-09-20 国核电力规划设计研究院有限公司 Geological survey report generation method and device and electronic equipment

Family Cites Families (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
CN108388620B (en) * 2018-02-11 2021-07-27 珠海市测绘院 Land approval surveying and mapping 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

Also Published As

Publication number Publication date
CN114238239A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US20170186225A1 (en) Method and apparatus for generating a composite indexable linear data structure to permit selection of map elements based on linear elements
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
CN114238239B (en) Survey delimitation report generation method and system based on python
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
CN107679406B (en) Processing method, device and equipment of high-precision electronic map and computer readable storage medium
CN106844642B (en) Method for calculating population density in road network grid based on GIS
CN113222540A (en) Management system of ecological protection red line
Yu et al. A heuristic approach to the generalization of complex building groups in urban villages
Abdelmoty et al. Towards maintaining consistency of spatial databases
CN110502595A (en) A method of picking up longitude and latitude information from planning map
CN103280152A (en) Building coding method based on longitude and latitude coordinate conversion code
CN112287005B (en) Data processing method, device, server and medium
Sutanta et al. Issues and challenges in developing geocoded address in Indonesia
CN115827803A (en) Data display method and device, terminal equipment and storage medium
CN113946643A (en) Topographic map data processing method and device, readable medium and electronic equipment
Wang et al. A propagating update method of multi-represented vector map data based on spatial objective similarity and unified geographic entity code
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
Chen et al. Application of data fusion in the production and updating of spatial data
CN116992851A (en) Water body change investigation document batch generation method based on remote sensing data
US20220282992A1 (en) Method and apparatus for generating electronic map, electronic device and storage medium
RU2706465C1 (en) Method of determining location, coordinates of points, geometrical and semantic characteristics of cartographic objects in interactive mode when operating with a traditional card in conditions of absence of communication for transmitting digital data
CN113723681A (en) Path selection method and device, electronic equipment and readable 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