[go: up one dir, main page]

CN118609406B - A parking space status query method based on vector GIS data - Google Patents

A parking space status query method based on vector GIS data Download PDF

Info

Publication number
CN118609406B
CN118609406B CN202410698303.9A CN202410698303A CN118609406B CN 118609406 B CN118609406 B CN 118609406B CN 202410698303 A CN202410698303 A CN 202410698303A CN 118609406 B CN118609406 B CN 118609406B
Authority
CN
China
Prior art keywords
parking space
grid
map
vector
parking
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
CN202410698303.9A
Other languages
Chinese (zh)
Other versions
CN118609406A (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.)
Wuhan Hongxin Technology Service Co Ltd
Original Assignee
Wuhan Hongxin Technology Service 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 Wuhan Hongxin Technology Service Co Ltd filed Critical Wuhan Hongxin Technology Service Co Ltd
Priority to CN202410698303.9A priority Critical patent/CN118609406B/en
Publication of CN118609406A publication Critical patent/CN118609406A/en
Application granted granted Critical
Publication of CN118609406B publication Critical patent/CN118609406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/148Management of a network of parking areas
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/0969Systems involving transmission of navigation instructions to the vehicle having a display in the form of a map
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)

Abstract

The application discloses a parking space state query method based on vector GIS data, which comprises the steps of obtaining a grid map of a preset area, obtaining parking space state information of each parking space in the preset area, judging whether the corresponding parking space is occupied by a vehicle or not, mapping the parking space state information of each parking space to the grid map based on a label of each parking space, generating a first vector map with grids, and sending the first vector map to a first terminal in response to a query request of the first terminal for querying the parking space state. According to the application, each parking space is represented by vector GIS data, so that the visual effect of the state of the parking space is improved, a fine or simple vector diagram is called from a PostGIS database according to the display scale, and the problem of display deformity of the vector map is avoided.

Description

Parking space state query method based on vector GIS data
Technical Field
The invention relates to the technical field of intelligent parking, in particular to a parking space state query method based on vector GIS data.
Background
Along with the increase of urban parking demands, the intellectualization and visualization of a parking space management system become more and more important, and a traditional parking space management system only usually displays the occupation condition of a parking space, and needs to travel to the vicinity of the parking space to judge whether a vacant parking space exists in a visual range through the color of a display board or an indicator light, so that visual space layout information and detailed vector map display are lacked, and a user cannot find the vacant parking space conveniently.
At present, the mobile phone terminal equipment can solve the problem of visual display by loading a tile map and vector data in a mode of drawing the vector data, but due to the influence of processing capacity of the mobile phone terminal, real-time performance of drawing cannot be achieved, and the fact that the proportion of vector graphics is inconsistent with that of tiles and delay is caused generally leads to poor user experience, and meanwhile graphic distortion caused by drawing of vector graphics under a large proportion cannot be solved.
The related technology can also provide parking space information through the mode that the service end directly stacks PNG picture parking space state on grid map tile, but because the superposition of different colour parking space state, the circumstances of colour difference can appear, lead to a parking space picture probably to be correlated with several tiles simultaneously, the in-process that grid map tile and PNG picture stack needs to calculate the position of parking space in the tile, because the accuracy problem can't guarantee the result of calculating at every turn unanimously, the difference of a pixel can lead to the picture to overlap the back and appear the ghost phenomenon, influence user's use experience, lead to the user to be difficult to obtain accurate effectual parking space information according to the image.
Therefore, a way to improve the efficiency of parking space management and user experience is needed.
Disclosure of Invention
Aiming at least one defect or improvement requirement of the prior art, the invention provides a parking space state query method based on vector GIS data, which is used for solving the problems that the related technology is limited by the processing capacity of a mobile phone end, accurate parking space information cannot be displayed for a user, and vector map display deformity easily occurs.
In order to achieve the above object, according to a first aspect of the present invention, there is provided a parking space status query method based on vector GIS data, including:
Acquiring a grid map of a preset area;
The parking space state information of each parking space in the preset area is acquired and is used for judging whether the corresponding parking space is occupied by a vehicle or not;
Mapping the parking space state information of each parking space to the grid map based on the label of each parking space, and generating a first vector map with grids;
and responding to a query request of a first terminal for querying the parking space state, and sending the first vector map to the first terminal.
In one possible implementation manner, the acquiring the grid map of the preset area includes:
acquiring image information of the preset area, wherein the image information comprises each parking space in the preset area;
Aligning the image information with a preset coordinate system based on the coordinate information corresponding to each parking space;
And dividing the image information into a plurality of grids with equal sizes based on the preset coordinate system, and generating a first grid map.
In one possible implementation manner, after the dividing the image information into a plurality of grids with equal sizes based on the preset coordinate system, generating a first grid map, the method further includes:
Acquiring a coordinate range of each grid, and determining whether a parking space exists in the coordinate range of each grid;
if a parking space exists, dividing grids again according to the position coordinates of the parking space and the area of the parking space;
a second grid map is generated based on the grid after repartitioning.
In a possible implementation manner, the obtaining the parking space status information of each parking space in the preset area includes:
acquiring parking space state information of each parking space in a preset area at each interval of preset time intervals;
The responding to the inquiry request of inquiring the parking space state by the first terminal, the first vector map is sent to the first terminal, and the method comprises the following steps:
and determining parking space state information corresponding to the closest time of the query time according to the query time of the query request, and sending the parking space state information corresponding to the closest time to the first terminal.
In one possible implementation, determining a grid corresponding to each of the parking spaces based on the tag of the parking space;
mapping the parking space state information of each parking space onto the grid map based on the label of each parking space to generate a first vector map with grids, wherein the first vector map comprises
Generating a first layer based on the parking space state information of the parking space;
And aligning the first image layer with the grid map according to the coordinate of the parking space according to the mapping relation between the parking space and the grid, and superposing the first image layer and the grid map to generate the first vector map.
In one possible implementation, the method further includes:
generating a second layer based on the first vector map, wherein the position accuracy of the parking spaces in the second layer is higher than that of the first layer;
after the first vector map is sent to the first terminal, the method further comprises:
And responding to the zoom operation of the first terminal on the first vector map, and displaying a first layer or a second layer on the first terminal.
In one possible implementation manner, the displaying, on the first terminal, the first layer or the second layer in response to the scaling operation of the first terminal on the first vector map includes:
obtaining the scaling factor of the scaling operation;
And if the zoom ratio is larger than a preset zoom threshold, displaying the second image layer, otherwise, displaying the first image layer.
In a second aspect, the present application further provides a parking space status query device based on vector GIS data, including:
the map module is used for acquiring a grid map of a preset area;
The parking space information module is used for acquiring the parking space state information of each parking space in the preset area, wherein the parking space state information is used for judging whether the corresponding parking space is occupied by a vehicle or not;
The vector map module is used for mapping the parking space state information of each parking space to the grid map based on the label of each parking space, and generating a first vector map with grids;
And the sending module is used for responding to a query request of the first terminal for querying the parking space state and sending the first vector map to the first terminal.
According to a third aspect of the present invention there is also provided an electronic device comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program which, when executed by the processing unit, causes the processing unit to perform the steps of the method according to any of the embodiments described above.
According to a fourth aspect of the present invention there is also provided a computer readable storage medium storing a computer program executable by an access authentication device, the computer program, when run on the access authentication device, causing the access authentication device to perform the steps of the method according to any one of the embodiments described above.
In general, compared with the prior art, the technical scheme of the invention has the advantages that the fine or simple vector diagram is called from the PostGIS database according to the display scale, so that the problem of maldisplay of the vector map is avoided. The parking space state information is acquired in real time by using the Internet of things technology, so that the real-time performance and accuracy of parking space management are improved. The front end uses Leaflet and other open source map libraries, so that development cost and maintenance cost are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a parking space state query method based on vector GIS data according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a parking space state query device based on vector GIS data according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer readable storage medium according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The terms first, second, third and the like in the description and in the claims and in the above drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Note that, GIS is an abbreviation of geographic information system, which is collectively referred to as Geographic Information System.
As shown in fig. 1, a first embodiment of the present invention provides a parking space status query method based on vector GIS data, including:
Acquiring a grid map of a preset area;
The parking space state information of each parking space in the preset area is acquired and is used for judging whether the corresponding parking space is occupied by a vehicle or not;
Mapping the parking space state information of each parking space to the grid map based on the label of each parking space, and generating a first vector map with grids;
and responding to a query request of a first terminal for querying the parking space state, and sending the first vector map to the first terminal.
Specifically, the acquiring the grid map of the preset area includes:
And acquiring image information of the preset area, wherein the image information comprises each parking space in the preset area.
The preset area can be a ground parking lot or all or part of the area in the underground parking lot, wherein the image information of the ground parking lot can be obtained through satellite shooting, can also be obtained through unmanned aerial vehicle and other equipment, the pixel positions of the parking spaces in the image information can be determined through preprocessing the images, cutting the area and identifying the parking spaces, and for the underground parking lot, the map information of the parking lot can be obtained based on a management party or a design party of the underground parking lot, and the corresponding image information can be obtained through fitting after being collected by a plurality of image collecting devices.
Specifically, the image information is aligned with a preset coordinate system based on the coordinate information corresponding to each parking space, and the image information is divided into a plurality of grids with equal sizes based on the preset coordinate system, so that a first grid map is generated.
Specifically, pixel coordinates on the image information can be aligned with actual coordinates of the parking spaces with the same serial numbers based on serial numbers and corresponding coordinate information of each parking space, so that the image information and a preset coordinate system can be matched.
Specifically, the preset coordinate system may be set based on the parking lot, or longitude and latitude coordinates may be determined according to satellite image information, and for the underground parking lot, the coordinate system may be determined based on bluetooth, ultra wideband technology, or the like, which is not limited in the embodiment of the present application.
Specifically, the size and shape of the grid may be set with reference to the actual area of the parking space, for example, a rectangular sub-area greater than or equal to 5.5×2.5m of the standard parking space is selected as a grid, which is not limited in the embodiment of the present application.
In some embodiments, after dividing the image information into a plurality of grids with equal sizes based on the preset coordinate system to generate the first grid map, the grids may be further refined, where the step of refining includes:
And acquiring the coordinate range of each grid, and determining whether a parking space exists in the coordinate range of each grid.
Specifically, for a rectangular grid, the coordinate range of the grid, that is, the coordinates of four corner points of the grid, it can be determined whether the intersection point of the diagonal lines of any parking space falls within the range formed by the four corner points of the grid, and if any parking space falls within the range, the corresponding grid has the parking space.
Based on the determination, repartitioning the grid includes:
And if the parking space exists, the grids are reclassified according to the position coordinates of the parking space and the area of the parking space, and a second grid map is generated based on the reclassified grids.
Specifically, if the area range of one parking space coincides with a plurality of grids, merging the plurality of grids in the area range into one grid, if the area range of a plurality of parking spaces coincides with the same grid, acquiring coordinates of boundary lines of the parking spaces, and re-dividing the grids so that one grid corresponds to only one parking space.
Specifically, determining grids corresponding to the parking spaces based on the labels of each parking space;
mapping the parking space state information of each parking space onto the grid map based on the label of each parking space to generate a first vector map with grids, wherein the first vector map comprises
Generating a first layer based on the parking space state information of the parking space;
And aligning the first image layer with the grid map according to the coordinate of the parking space according to the mapping relation between the parking space and the grid, and superposing the first image layer and the grid map to generate the first vector map.
Specifically, a second layer is generated based on the first vector map, and the position accuracy of the parking spaces in the second layer is higher than that of the first layer;
after the first vector map is sent to the first terminal, the method further comprises:
And responding to the zoom operation of the first terminal on the first vector map, and displaying a first layer or a second layer on the first terminal.
Specifically, the first terminal may include, but is not limited to, a terminal device such as a personal computer, a mobile terminal, a navigator, a server, etc., and the user may initiate a request for viewing a map by clicking a key for viewing a parking space on the terminal, a manufacturer providing a parking space navigation service may feed back a grid map to a corresponding terminal, and the user may perform a zoom operation of zooming in or out based on the fed back grid map, so that a corresponding layer is fed back to the first terminal held by the user according to the zoom operation of the user.
Specifically, the responding to the scaling operation of the first terminal to the first vector map displays a first layer or a second layer on the first terminal, including:
obtaining the scaling factor of the scaling operation;
And if the zoom ratio is larger than a preset zoom threshold, displaying the second image layer, otherwise, displaying the first image layer.
For example, to determine whether a parking space near an entrance of a unit building is occupied, a user may perform a zoom operation of zooming in on a map at a corresponding location, where a zoom magnification is greater than a given preset zoom threshold, where a second layer with more feature information needs to be provided, and the second layer is fed back to a terminal of the user.
Optionally, the second layer may be intercepted according to a specific area enlarged by the user, so that only the information of the second layer in the specific area range is provided for the user, thereby further reducing the data transmission amount.
In some specific embodiments, the UI draws a parking lot picture according to CAD, wherein the parking lot picture contains information for each parking space, registers the parking lot picture as a TIF grid map with a coordinate system of WGS84 through QGIS, and creates two different levels of layers of the fine vector layer and the easy vector layer using a QGIS vector map editing tool based on the grid map of the parking lot WGS 84. The layers are loaded according to different levels of the map service to adapt to different display requirements. For each vector element, attributes such as a parking space ID, a parking space name, a parking space state and the like are added, so that each parking space is ensured to be represented by an independent vector element.
Illustratively, in the second layer, in order to enhance the sense of realism of the display effect, details of the license plate number, outline, window, rearview mirror, and the like of the vehicle are carefully drawn when drawing the parking space element. The vector vertexes and the characteristic information of the parking space elements reach 120, so that the display fineness is ensured. The more the number of vertices or features, the finer the display effect. After drawing, according to the specific conditions of the project, corresponding IDs, parking space names and parking space state values can be added for each parking space element. However, since the number of vertices of the refinement layer is large, when the map display level is less than 15, the vertices may overlap, resulting in GeoServer performing vector vertex thinning. This may distort the vector elements when displayed, affecting the visual effect. Therefore, the fine vector layer is mainly suitable for the case where the display level is 15 or more.
Specifically, the display level of the map is the zoom magnification/scale of the map.
It can be understood that navigation of the parking space can be realized based on the second layer, so that a user can directly find a route from the position to the target parking space, and the first layer only displays information of whether the parking space is occupied or not.
In some embodiments, the user may determine the position and number of the target parking space based on the information of the first layer, and implement a specific route to the parking space through fine positioning provided by the second layer, and implement recording of the parking space, so that the user is convenient to find the parked position.
It will be appreciated that the simplified vector layer, i.e. the first layer, is a simplified method in drawing the space elements, each space being represented by only one rectangle, with only 4 vertices per space element. After drawing, adding corresponding ID, parking space name and parking space state value for each parking space element according to the actual condition of the project, and the simplified display mode does not have more characteristic information in the second layer. Therefore, the first layer is mainly used for displaying information with smaller scale and lower zoom ratio.
It will be appreciated that the fine second layer complements the coarse first layer, together forming a complete vector map. QGIS support saving vector data to PostGIS database and after rendering, saving these vector map data to PostGIS database for subsequent use and management.
For example, for a parking space needing state monitoring, the geomagnetic equipment of the Internet of things is installed in the center of the parking space, so that the change of the state of the parking space can be captured in real time. The geomagnetic equipment transmits parking space state information to an Internet of things platform of an operator in real time through the Internet of things technology. Whenever a vehicle is driving into or out of a parking space, geomagnetic equipment can quickly sense and respond to state changes. In order to ensure that the parking space state on the internet of things platform of the operator is kept updated in real time, geomagnetic equipment can periodically synchronize state information of the geomagnetic equipment to the internet of things platform of the mobile operator, so that the accuracy and instantaneity of the parking space state are ensured.
As shown in fig. 2, the embodiment of the present application further provides a parking space status query device 20 based on vector GIS data, including:
A map module 201, configured to obtain a grid map of a preset area;
the parking space information module 202 is used for acquiring parking space state information of each parking space in the preset area, wherein the parking space state information is used for judging whether the corresponding parking space is occupied by a vehicle or not;
the vector map module 203 is configured to map, based on the label of each parking space, parking space state information of each parking space onto the grid map, and generate a first vector map with grids;
And the sending module 204 is configured to send the first vector map to the first terminal in response to a query request for querying the parking space state by the first terminal.
As shown in fig. 3, the third embodiment of the present invention further provides an electronic device 30, for example, including at least one processing unit 31 and at least one storage unit 32, where the storage unit 32 stores a computer program, and when the computer program is executed by the processing unit, the processing unit is caused to execute the steps of the method as described above, and the beneficial effects of the electronic device 30 provided in this embodiment are the same as those of the parking space state query method based on vector GIS data provided in the first embodiment.
As shown in fig. 4, the fourth embodiment of the present invention further provides a computer readable storage medium 40, on which a computer program is stored, which when executed by a processor, implements the steps of the method described above, and the beneficial effects of the computer readable storage medium 40 provided in this embodiment are the same as those of the parking space state query method based on vector GIS data provided in the first embodiment.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. The Memory includes a U disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, etc. which can store the program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be implemented by hardware associated with a program of instructions, which may be stored in a computer readable Memory, which may include a flash disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, etc.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
It will be readily appreciated by those skilled in the art that the foregoing description is merely a preferred embodiment of the invention and is not intended to limit the invention, but any modifications, equivalents, improvements or alternatives falling within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. The parking space state query method based on vector GIS data is characterized by comprising the following steps:
Acquiring a grid map of a preset area;
The parking space state information of each parking space in the preset area is acquired and is used for judging whether the corresponding parking space is occupied by a vehicle or not;
Mapping the parking space state information of each parking space to the grid map based on the label of each parking space, and generating a first vector map with grids;
responding to a query request of a first terminal for querying the parking space state, and sending the first vector map to the first terminal;
the acquiring the grid map of the preset area comprises the following steps:
acquiring image information of the preset area, wherein the image information comprises each parking space in the preset area;
Aligning the image information with a preset coordinate system based on the coordinate information corresponding to each parking space;
dividing the image information into a plurality of grids with equal sizes based on the preset coordinate system, and generating a first grid map;
Acquiring a coordinate range of each grid, and determining whether a parking space exists in the coordinate range of each grid;
If the area range of one parking place coincides with a plurality of grids, combining the grids in the area range into one grid, and if the area range of the plurality of parking places coincides with the same grid, acquiring coordinates of boundary lines of the parking places, and re-dividing the grids so that one grid corresponds to only one parking place;
a second grid map is generated based on the grid after repartitioning.
2. The method for inquiring the parking space state based on the vector GIS data according to claim 1, wherein the step of obtaining the parking space state information of each parking space in the preset area comprises the following steps:
acquiring parking space state information of each parking space in a preset area at each interval of preset time intervals;
The responding to the inquiry request of inquiring the parking space state by the first terminal, the first vector map is sent to the first terminal, and the method comprises the following steps:
and determining parking space state information corresponding to the closest time of the query time according to the query time of the query request, and sending the parking space state information corresponding to the closest time to the first terminal.
3. The method for inquiring the state of the parking spaces based on the vector GIS data according to claim 2, wherein grids corresponding to the parking spaces are determined based on labels of each parking space;
mapping the parking space state information of each parking space onto the grid map based on the label of each parking space to generate a first vector map with grids, wherein the first vector map comprises
Generating a first layer based on the parking space state information of the parking space;
And aligning the first image layer with the grid map according to the coordinate of the parking space according to the mapping relation between the parking space and the grid, and superposing the first image layer and the grid map to generate the first vector map.
4. The method for inquiring the parking space state based on the vector GIS data according to claim 3, wherein the method further comprises:
generating a second layer based on the first vector map, wherein the position accuracy of the parking spaces in the second layer is higher than that of the first layer;
after the first vector map is sent to the first terminal, the method further comprises:
And responding to the zoom operation of the first terminal on the first vector map, and displaying a first layer or a second layer on the first terminal.
5. The method for querying the parking space state based on the vector GIS data according to claim 4, wherein the responding to the scaling operation of the first terminal on the first vector map, displaying the first layer or the second layer on the first terminal, comprises:
obtaining the scaling factor of the scaling operation;
And if the zoom ratio is larger than a preset zoom threshold, displaying the second image layer, otherwise, displaying the first image layer.
6. Parking space state inquiry unit based on vector GIS data, characterized by comprising:
the map module is used for acquiring a grid map of a preset area;
The parking space information module is used for acquiring the parking space state information of each parking space in the preset area, wherein the parking space state information is used for judging whether the corresponding parking space is occupied by a vehicle or not;
The vector map module is used for mapping the parking space state information of each parking space to the grid map based on the label of each parking space, and generating a first vector map with grids;
The sending module is used for responding to a query request of a first terminal for querying the parking space state and sending the first vector map to the first terminal;
the acquiring the grid map of the preset area comprises the following steps:
acquiring image information of the preset area, wherein the image information comprises each parking space in the preset area;
Aligning the image information with a preset coordinate system based on the coordinate information corresponding to each parking space;
dividing the image information into a plurality of grids with equal sizes based on the preset coordinate system, and generating a first grid map;
Acquiring a coordinate range of each grid, and determining whether a parking space exists in the coordinate range of each grid;
If the area range of one parking place coincides with a plurality of grids, combining the grids in the area range into one grid, and if the area range of the plurality of parking places coincides with the same grid, acquiring coordinates of boundary lines of the parking places, and re-dividing the grids so that one grid corresponds to only one parking place;
a second grid map is generated based on the grid after repartitioning.
7. An electronic device comprising at least one processing unit, and at least one storage unit, wherein the storage unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of the method of any of claims 1-5.
8. A computer readable storage medium, characterized in that it stores a computer program executable by an access authentication device, which, when run on the access authentication device, causes the access authentication device to perform the steps of the method according to any of claims 1-5.
CN202410698303.9A 2024-05-31 2024-05-31 A parking space status query method based on vector GIS data Active CN118609406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410698303.9A CN118609406B (en) 2024-05-31 2024-05-31 A parking space status query method based on vector GIS data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410698303.9A CN118609406B (en) 2024-05-31 2024-05-31 A parking space status query method based on vector GIS data

Publications (2)

Publication Number Publication Date
CN118609406A CN118609406A (en) 2024-09-06
CN118609406B true CN118609406B (en) 2025-01-17

Family

ID=92560398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410698303.9A Active CN118609406B (en) 2024-05-31 2024-05-31 A parking space status query method based on vector GIS data

Country Status (1)

Country Link
CN (1) CN118609406B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383828A (en) * 2016-08-22 2017-02-08 四川九洲电器集团有限责任公司 Drawing method and electronic equipment
CN110473422A (en) * 2019-07-16 2019-11-19 盐城工学院 A kind of outdoor public areas ground parking position navigation device
CN112988935A (en) * 2021-03-15 2021-06-18 武汉虹信技术服务有限责任公司 Parking space display method based on tile map and application thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9396508B2 (en) * 2013-05-15 2016-07-19 Google Inc. Use of map data difference tiles to iteratively provide map data to a client device
DE102013011824A1 (en) * 2013-07-15 2015-01-15 Audi Ag Method for determining and updating a debit card in a parking area
DE102016205434A1 (en) * 2015-11-25 2017-06-01 Volkswagen Aktiengesellschaft Method and system for creating a lane-accurate occupancy map for lanes
CN111753036B (en) * 2020-06-19 2024-04-16 重庆大学 Intelligent garage map construction method based on grid map
CN112991808B (en) * 2020-12-29 2022-09-30 杭州海康威视数字技术股份有限公司 Parking space display method and device for parking area and electronic equipment
CN112800157B (en) * 2021-01-11 2022-08-19 武汉旭云智慧交通有限公司 Dynamic occupying grid model construction method and application architecture design method thereof
CN113076824B (en) * 2021-03-19 2024-05-14 上海欧菲智能车联科技有限公司 Parking space acquisition method and device, vehicle-mounted terminal and storage medium
CN117420567A (en) * 2022-07-11 2024-01-19 重庆兰德适普信息科技有限公司 Environment detection method and device and related products
DE102022208405A1 (en) * 2022-08-12 2024-02-15 Continental Autonomous Mobility Germany GmbH Method for determining a parking space and a target position of a vehicle in the parking space

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383828A (en) * 2016-08-22 2017-02-08 四川九洲电器集团有限责任公司 Drawing method and electronic equipment
CN110473422A (en) * 2019-07-16 2019-11-19 盐城工学院 A kind of outdoor public areas ground parking position navigation device
CN112988935A (en) * 2021-03-15 2021-06-18 武汉虹信技术服务有限责任公司 Parking space display method based on tile map and application thereof

Also Published As

Publication number Publication date
CN118609406A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
EP2975555B1 (en) Method and apparatus for displaying a point of interest
US20040212627A1 (en) Map data transmitting method, map data transmitting apparatus, information device and map data transmitting system
CN110457407B (en) Method and apparatus for processing point cloud data
CN112541049A (en) High-precision map processing method, device, equipment, storage medium and program product
CN111750891B (en) Method, computing device, and computer storage medium for information processing
CN108898678B (en) Augmented reality method and apparatus
CN113110462A (en) Obstacle information processing method and device and operating equipment
CN115795084A (en) Satellite remote sensing data processing method and device, electronic equipment and storage medium
CN111091497A (en) Map vector line and plane thinning method, intelligent terminal and storage medium
CN112182438A (en) Method and system for marking parking place primitives
CN118609406B (en) A parking space status query method based on vector GIS data
CN110967714A (en) Method for displaying vehicle position in non-uniform vector diagram mode
JP2017219996A (en) Population estimation system and population estimation method
CN117830475A (en) Method and medium for constructing aerial survey map of unmanned aerial vehicle
CN109446286B (en) Visualization method and device for highway road network map
JP4685286B2 (en) Information update processing device
CN116881209A (en) Visual resource management method and device and electronic equipment
CN117788726A (en) Map data rendering method and device, electronic equipment and storage medium
KR102467860B1 (en) A computer program for performing a method of diagnosing the safety of a facility stored in a computer-readable recording medium and a facility safety diagnosis system using the same
CN111767295B (en) Map data processing method, device, computing equipment and medium
US11190902B1 (en) System and methods for large-scale automated indoor map data georeferencing
CN115759952A (en) Ocean comprehensive management and control system, method, device, equipment and storage medium
CN108806311B (en) Vehicle positioning method and related equipment
CN116958915B (en) Target detection method, target detection device, electronic equipment and storage medium
US20240070939A1 (en) Determining a relationship between points-of-interest (poi) and parking lots

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