Disclosure of Invention
The invention aims to provide a public facility data processing method which can accurately and conveniently calculate the coverage rate of public facility service.
To solve the above technical problem, as an aspect of the present invention, there is provided a method for processing utility data, including the steps of:
s1: based on the geographic entity data, finding one or more public facilities and one or more types of building blocks in a designated area;
s2: acquiring the entity doors of the public facilities and the construction plots, and establishing the affiliation relationship between the public facilities and the construction plots and the corresponding entity doors;
s3: calculating paths from all entity doors of the construction plots to all entity doors of the public facilities according to the road network model;
s4: screening out paths smaller than a preset distance, and finding out a construction land covered by the service based on the affiliation relationship between the construction land and the entity door corresponding to the construction land;
s5: the areas of all the construction sites are acquired, and the service coverage of the utility in the specified area is calculated based on the areas of the construction sites covered by the service screened in step S4.
According to an example embodiment of the present invention, the designated area includes a circular area with a center of a public facility and a radius of a designated length, a designated street jurisdiction, an administrative district, or a city.
According to an example embodiment of the present invention, each type of building block comprises one or more building blocks.
According to an example embodiment of the present invention, the geographical entity data comprises public facilities and construction plots of the real geographical location, each having a unique coded identity.
Public facilities refer to buildings, sites, equipment, etc. provided by governments or other social organizations for use or enjoyment by the public of society, including greenfield and square, cultural, educational, sports, medical health, social welfare, public service facilities, commercial services, recreational health, etc. types of construction sites.
According to an example embodiment of the present invention, the public facilities include, but are not limited to, park greens, public service facilities, fire stations, couriers, refuge grounds, stock stores.
The public service facilities include, but are not limited to, schools, public toilets, hospitals, bus stations, shopping malls.
The construction land parcel refers to a land parcel for building buildings and structures, is used for urban and rural residences and public facilities, industrial and mining land, infrastructure land, tourism land, military land and the like, pays a certain investment (land development and construction cost), and provides land parcels for various constructions by engineering means. The infrastructure land comprises the infrastructure land such as energy, traffic, water conservancy communication and the like.
The categories of the construction plots include, but are not limited to, residential quarters, schools, hospitals, commercial districts.
According to an example embodiment of the present invention, the attributes of each utility include one or more entity doors, area information, and location information; the attributes of each construction parcel include one or more entity doors, area information, and location information.
According to an exemplary embodiment of the present invention, in step S3, the road network model is constructed based on road entity data.
According to an exemplary embodiment of the present invention, in step S4, the predetermined distance is obtained by using formula 1:
s ═ V × T (formula 1)
Wherein S is a predetermined distance and has a unit of m; v is walking speed, and the unit is m/min; t is walking time in min.
According to an exemplary embodiment of the invention, the predetermined walking time is 5-15 min.
According to an exemplary embodiment of the present invention, in step S5, the method for calculating the service coverage rate adopts formula 2:
wherein, P is the service coverage rate; rSieveThe area of the construction land covered by the service selected in the step S4 is expressed by m2;RGeneral assemblyFor all areas of the building block, the unit is m2。
As a second aspect of the present invention, there is provided a processing system of public utility data, comprising:
the system comprises an entity information module and a service information module, wherein the entity information module comprises one or more public facilities and one or more types of construction land parcels in a specified area, the attribute of each public facility comprises one or more entity doors, area information and position information corresponding to the public facility, each type of construction land parcel comprises one or more construction land parcels, and the attribute of each construction land parcel comprises one or more entity doors, area information and position information corresponding to the construction land parcel;
the road network model module comprises a road network for connecting public facilities and construction plots;
the route calculation module is used for calculating the routes from all the entity doors of the construction plots to all the entity doors of the public facilities;
the preset distance setting module is used for setting a preset distance;
the construction land parcel screening module is used for screening out paths smaller than a preset distance and finding out a construction land parcel covered by the service based on the affiliation relationship between the construction land parcel and the entity door corresponding to the construction land parcel;
and the coverage rate calculation module is used for calculating the service coverage rate of the public facility in the designated area according to the screened area of the construction land parcel covered by the service.
According to an exemplary embodiment of the present invention, the predetermined distance setting module is configured to calculate the predetermined distance based on a predetermined walking time and a walking speed.
As a third aspect of the present invention, there is provided an electronic apparatus comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of processing the utility data.
As a fourth aspect of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the processing method of utility data.
According to the invention, based on the geographic data and the road network of the entity, the public facilities and the construction land blocks are objectified to have the attributes of area, position, entity door and the like, and the residential districts which can be reached by walking within the preset time are screened out according to the paths between the entity doors, so that the coverage rate of the public facilities can be accurately calculated, and more accurate auxiliary decision support is provided for the planning and development of cities.
Detailed Description
The following detailed description of embodiments of the invention, but the invention can be practiced in many different ways, as defined and covered by the claims.
As a first embodiment of the present invention, there is provided a processing system of utility data, as shown in fig. 4, including: the system comprises an entity information module 1, a road network model module 2, a path calculation module 3, a preset distance setting module 4, a construction land parcel screening module 5 and a coverage rate calculation module 6.
The entity information module 1 includes one or more public facilities within a specified area, and one or more types of construction sites.
Public facilities refer to buildings, sites, equipment, etc. provided by governments or other social organizations for use or enjoyment by the public of society, including greenfield and square, cultural, educational, sports, medical health, social welfare, public service facilities, commercial services, recreational health, etc. types of construction sites.
The construction land parcel refers to a land parcel for building buildings and structures, is used for urban and rural residences and public facilities, industrial and mining land, infrastructure land, tourism land, military land and the like, pays a certain investment (land development and construction cost), and provides land parcels for various constructions by engineering means. The infrastructure land comprises the infrastructure land such as energy, traffic, water conservancy communication and the like.
The public facilities and the construction plots correspond to real geographic entities, and the attributes of each public facility include one or more entity doors, area information and position information corresponding to the public facility; each type of construction land parcel comprises one or more construction land parcels, and the attribute of each construction land parcel comprises one or more entity doors, area information and position information corresponding to the construction land parcel. Each utility and each construction site have unique coded identities that make them unique. Public facilities refer to buildings, sites, equipment, etc. provided by governments or other social organizations for use or enjoyment by the public, and facilities that can meet people's public needs and public space options, including but not limited to: park greenbelts, public service facilities, fire stations, dispatching centers, refuge sites and material storage libraries. Public service facilities include, but are not limited to, schools, public restrooms, hospitals, bus stations, shopping malls, and the like. The types of construction plots include, but are not limited to, residential quarters, schools, hospitals, commercial districts, etc., and within a given area, there are one or more same types of construction plots.
The road network model module 2 includes a road network connecting public facilities and construction plots, and is established based on road entities.
The path calculation module 3 is connected to the entity information module 1 and the road network model module 2, and is configured to calculate paths from all entity doors of the construction site to all entity doors of the public facility.
The predetermined distance setting module 4 is for setting a predetermined distance according to a predetermined walking time and walking speed.
The construction land parcel screening module 5 is connected with the path calculation module 3 and the predetermined distance setting module 4, and is used for screening out paths smaller than the predetermined distance and finding out the construction land parcels covered by the service based on the affiliation relationship between the construction land parcels and the entity doors corresponding to the construction land parcels.
And the coverage rate calculation module 6 is used for calculating the service coverage rate of the public facility in the designated area according to the screened area of the construction land parcel covered by the service.
As a second embodiment of the present invention, there is provided a processing method of utility data using the processing system of the first embodiment. As shown in fig. 5, the steps of the method are as follows:
s1: one or more utilities, and one or more types of construction sites are located within the designated area based on the geographic entity data.
Based on the surveying and mapping data of the surveying and mapping administration department, the materialization processing of the urban public facilities is carried out, and the official property, the standard type, the authority and the consistency of the data can be effectively guaranteed.
The designated area is a circular area with the public facility as the center and the designated length as the radius. When the reachability coverage calculation is carried out on the public facility by referring to relevant standard specifications such as 'urban residential area planning design standard' (GB50180-2018), the threshold value of the walking reachable distance of the public facility is determined. If the distance is long, the residents can choose to go out by bicycle or bus, and the walking effect can be achieved without practical application significance. According to the research, walking distances corresponding to five minutes, ten minutes and fifteen minutes are 300m, 500m and 800m respectively. By combining the domestic and foreign research results and field research and analysis of the daily travel behavior habits of residents, when the walking travel time is more than 15 minutes, the people are not convenient to walk out. Preferably, 500m is used as the threshold of the walking reachable distance, that is, the walking path distance is less than or equal to 500m, which is reachable by walking, and the walking path distance is greater than 500m, which is unreachable by walking. In practical operation, different path distances may be determined according to different times, not limited to 500 m.
Public facilities are facilities provided by governments or other social organizations, used or enjoyed by the public in society, such as buildings, sites, facilities and the like, which can meet public needs of people and public space choices, and include: park greenbelts, public service facilities, fire stations, dispatching centers, refuge sites and material storage libraries. Public service facilities include schools, public toilets, hospitals, bus stations, and shopping malls. Public service facilities include schools, public toilets, hospitals, bus stations, and shopping malls. The types of the construction plots comprise residential areas and commercial areas, and one or more construction plots of the same type are arranged in a specified area. The public facility in this embodiment is a park green space, and as shown in fig. 6, a circle is drawn by taking a center point of a park P as a center and taking a threshold value of a walking reachable distance of 500m as a radius, the park P has three types of construction plots within a service radius, namely, a cell, a school and a hospital, and the cells have 10 cells, namely, a cell a1, a cell a2, a cell A3, a cell a4, a cell a5, a cell a6, a cell a7, a cell A8, a cell a9 and a cell a 10; the number of schools is 3, namely school B1, school B2 and school B3; the number of hospitals is 3, namely hospital C1, hospital C2 and hospital C3. In this embodiment, three types of construction plots are taken as an example, but not limited to this, only one type of construction plots may be selected for calculation, for example, a cell; more types of construction plots may also be selected for calculation.
Each public facility and each construction land are taken as an entity, each entity is endowed with a geographic entity code (ID) capable of representing a unique identity of the entity, and the uniqueness and the accuracy of the path are ensured when the path is calculated. The materialized (objectified) public facilities and the construction land blocks have space information, the attributes of each public facility and each construction land block comprise position information, area information and entity door information, and the accurate coverage rate of the public facilities can be calculated according to the information; the attributes of each public facility and each construction land block further comprise thematic data such as population, daily average traffic, parking space number, time and the like, so that the whole system can be applied to calculation of space, time and thematic (such as calculation of accessibility, area, population, public facility coverage rate at different periods and the like), current information of the public facility can be acquired, and historical information of the public facility can be longitudinally compared, so that the system can be combined with other thematic data.
S2: and acquiring the entity doors of the public facilities and the construction plots, and establishing the affiliation relationship between the public facilities and the construction plots and the corresponding entity doors.
As shown in fig. 6, north is above fig. 6, there is one physical door of park P, 2 physical doors of cell a1, 1 physical door of cell a2, 2 physical doors of cell A3, 1 physical door of cell a4, 1 physical door of cell a5, 2 physical doors of cell a7, 2 physical doors of cell A8, 1 physical door of cell a9, 1 physical door of cell a10, 2 physical doors of school B1, 2 physical doors of school B2, 2 physical doors of hospital C1, and 1 physical door of hospital C2.
Establishing an attribution relationship according to each entity and the entity door corresponding to the entity, as shown in fig. 7, taking a cell a1 and a park P as an example, the entity door is indicated in a dashed box, the cell a1 includes a cell a 1-east door and a cell a 1-north door, and the two doors belong to a cell a 1; park P includes park P-Siemens, which belongs to park P.
S3: and calculating paths from all the entity doors of the construction plots to all the entity doors of the public facilities according to the road network model.
The road network model can establish road network data by self, and can also adopt road network service of a national geographic information public service platform sky map. A path is calculated from each physical gate of each construction site to each physical gate of each utility. Just because each entity has its uniqueness and each entity door has the public facilities or construction plots to which it belongs, the calculated path has uniqueness and the screened data is more accurate. The information of each route includes a construction site name, a construction site ID, a public facility name, a public facility ID, a departure gate, an arrival gate, mileage, and predicted walking time. The departure doors correspond to the entity doors of the construction plots, and the arrival doors correspond to the entity doors of the public facilities.
In fig. 6, the number of physical doors of the park P is 1, and it is only necessary to calculate a path from each physical door of each construction site to the physical door of the park P. Each physical door for each construction site may have multiple physical doors for the project to reach park P. For example, as shown in FIG. 6, cell A1 has 3 path plans to park P, the first plan is to walk from the north gate of cell A1 along the plan 1 path to the West gate of park P; the second solution is to walk from north gate of cell a1 to west gate of park P along solution 2 path; the third solution is to walk from the east door of the cell a1 to the gate of the park P along the solution 3 path; these 3 path schemes should all be calculated.
S4: and screening out paths smaller than a preset distance, and finding out the construction land parcel covered by the service based on the attribution relationship between the construction land parcel and the entity door corresponding to the construction land parcel.
The predetermined distance is set according to the predetermined walking time and walking speed, using equation 1:
s ═ V × T (formula 1)
Wherein S is a predetermined distance and has a unit of m; v is walking speed, and the unit is m/min; t is walking time in min.
The predetermined distance was calculated to be 500m with walking for 10 minutes as a limit.
And screening out paths smaller than 500m from all paths.
And finding out the construction plots covered by the service as a cell A1, a cell A2, a cell A4, a cell A5, a school B1, a school B2, a hospital C1 and a hospital C2 according to the attribution relationship between the entity door of the construction plot and the construction plot in the screened path. The cells a7, a cell A8, a cell a9, and a cell a10 that are closer to the park P in a straight line are regarded as inaccessible building blocks because the physical doors and the physical doors of the park P are far from each other. Cell A3, cell a6, school B3, and hospital C3 are not too close to park P in line, and are further away from physical doors, also considered inaccessible building blocks.
S5: the areas of all the building blocks are acquired, and the service coverage of the utility in the specified area is calculated based on the areas of the building blocks screened out in step S4 and covered by the service.
The calculation method of the service coverage rate adopts a formula 2:
where P is the service coverage, RSieveThe area of the building block covered by the service selected in the step S4 is expressed by m2;RGeneral assemblyIs the area of all building blocks and has the unit of m2。
The total coverage rate of the three types of building plots can be calculated, and one type of the three types of building plots can be selected for calculation. In the embodiment, the cells are screened out by adopting a respective calculation method for individual calculation.
The service coverage rate of the park P to the cell is calculated by formula 2 as follows:
if the background method is used, park P service coverage is 100%, but in practice, cells with an area of approximately 60% cannot be achieved.
In order to plan the city better, after the coverage rate is calculated, map visualization (as shown in fig. 6) is performed on the screened cells, schools and hospitals covered by the service and/or reachable path reports are generated.
As shown in fig. 8, the reachable path report records all reachable path details, such as cell name, cell ID, park name, park ID, cell departure gate, park arrival gate, mileage, estimated time, and other subject information. Wherein the cell ID and park ID are geoentity codes, uniquely identify the geographic spatial position and information of the cell and park, and link and associate various thematic data through code identification, such as residential cells with population larger than 1 ten thousand and area larger than 2000m2The residential area of (a).
For further analysis of residential cells, other characteristics of the cells may be screened, for example residential populations greater than 1 millionSmall area, area greater than 2000m2And then performing secondary map visualization and/or generating a secondary reachable path report according to the screened contents. The calculation result can be displayed on the upper graph, and can also be derived to support further business secondary calculation analysis for the report; in the process, the unique geographic entity codes are used for communicating the relation between the spatial data and the service data, and the result obtained after the service secondary calculation is completed is displayed on the graph again, so that the decoupling of the geographic calculation and the service calculation is realized. And the auxiliary decision support can be provided for urban planning and development more accurately.
As a third embodiment of the present invention, there is provided a processing method of utility data, which is the same as the processing method of the second embodiment except that:
1. the area designated as the area of a certain street administrative division, as shown in fig. 9, within the study boundary, there are 3 parks;
2. the construction land is only selected from the group of residential areas.
The following are obtained by calculation:
black reachable residential areas and gray unreachable residential areas can be distinguished visually and clearly through fig. 9, and in this way, coverage data required for city planning can be acquired conveniently and accurately.
As a fourth embodiment of the present invention, an electronic device is provided, as shown in fig. 10, the electronic device 10 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present invention.
As shown in FIG. 10, electronic device 10 is embodied in the form of a general purpose computing device. The components of the electronic device 10 may include, but are not limited to: at least one processing unit 101, at least one memory unit 102, a bus 103 connecting different system components (including the memory unit 102 and the processing unit 101), a display unit 104, and the like.
Wherein the storage unit stores program code executable by the processing unit 101 to cause the processing unit 101 to perform the steps according to the second and third embodiments of the present invention described in this specification. For example, the processing unit may perform the steps as described in fig. 5.
The memory unit 102 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)1021 and/or a cache memory unit 1022, and may further include a read only memory unit (ROM) 1023.
The memory unit 102 may also include a program/utility 1024 having a set (at least one) of program modules 1025, such program modules 1025 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 103 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 10 may also communicate with one or more external devices 10' (e.g., keyboard, pointing device, bluetooth device, etc.) such that a user can communicate with devices with which the electronic device 10 interacts, and/or any device (e.g., router, modem, etc.) with which the electronic device 10 can communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 105. Also, the electronic device 10 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 106. The network adapter 106 may communicate with other modules of the electronic device 10 via the bus 103. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 10, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
As a fifth embodiment of the present invention, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the method of processing utility data according to the second or third embodiment.
From the description of the fourth embodiment, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, as shown in fig. 11, the technical solution according to the embodiment of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above-mentioned methods of the embodiment of the present invention, such as the methods of the second embodiment and the third embodiment.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal, carrying readable program code, transmitted in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate transmission, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In waking involving a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of:
s1: finding one or more public facilities and one or more types of construction plots in a specified area based on the geographic entity data;
s2: acquiring entity doors of the public facilities and the construction plots, and establishing an attribution relationship between the public facilities and the construction plots and the corresponding entity doors;
s3: calculating paths from all entity doors of the construction plots to all entity doors of the public facilities according to the road network model;
s4: screening out paths smaller than a preset distance, and finding out a construction land covered by the service based on the affiliation relationship between the construction land and the entity door corresponding to the construction land;
s5: the areas of all the construction sites are acquired, and the service coverage of the utility in the specified area is calculated based on the areas of the construction sites covered by the service screened in step S4.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.