CN102426584B - Service system for obtaining accurate geographical position of vehicle and obtaining method thereof - Google Patents
Service system for obtaining accurate geographical position of vehicle and obtaining method thereof Download PDFInfo
- Publication number
- CN102426584B CN102426584B CN201110309368.2A CN201110309368A CN102426584B CN 102426584 B CN102426584 B CN 102426584B CN 201110309368 A CN201110309368 A CN 201110309368A CN 102426584 B CN102426584 B CN 102426584B
- Authority
- CN
- China
- Prior art keywords
- obtaining
- mapinfo
- information
- county
- database
- 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
Links
Landscapes
- Instructional Devices (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a service system for obtaining the accurate geographical position of a vehicle and an obtaining method thereof, which relate to the application of map data and reverse geographical position codes in an enterprise, in particular a method for establishing accurate vehicle geographical position information inquiry in the enterprise by utilizing MapInfo data and an OracleSpatial database. An operating system, a MapInfo geographic information system module and an Oracle 10g database are installed on a server, and an OracleSpatial module is installed on a database server. The obtaining method comprises the following steps: installing needed modules and data on the server, and storing the needed modules and the data; reading the data according to a coordinate uploaded by a vehicular terminal, calling a function, judging and storing information; according to the information in the step 1, calling the function, searching and storing; according to the information obtained in the step 2, calling the function, searching and storing; according to the information obtained in the step 3, finishing inquiry, and further returning a result; and according to the information obtained in the step 3, carrying out the inquiry and returning the result.
Description
Technical field
A kind of service system and acquisition methods thereof that obtains vehicle accurate geographic position of the present invention relates to map datum and oppositely geographical position encoded application in enterprise, and the especially a kind of MapInfo of utilization data, Oracle Spatial database are set up the method for accurate vehicle geographic location information query in enterprise.
Background technology
Along with increasing of each platform networking user in the enterprise that provides vehicle management and control to serve, accurate geographical location information when increasing user wishes to see Vehicle Driving Cycle, and existing platform management system can only provide the position specific to province, urban district at present, and can not be accurate near concrete road or mansion, hotel, thereby client's related needs just can not be met, platform management system also lacks competitiveness.
Continuous expansion along with business event, obtaining accurately the travel demand in geographic position of vehicle is mentioned by increasing user, but my company can only utilize traditional scheme of calling third party's Map Services API at present, the geography information of concrete province, city and region position is provided, want to obtain more detailed geographical location information, the relevant geographical position enquiring service that can only utilize *** to provide, but the service that *** provides at present has demonstration to the request number of times of every day, and can not meet the demand of my a large amount of request position information of company, and extendability is also poor, can only ask province, city and region's road relevant information, and can not ask to meet such as administration department's coding and road grade etc. the information that I corporate client requires, based on above reason, develop and meet the real-time geographic position requests service that enterprise requires and just seem particularly important.
Summary of the invention
The present invention is a kind of obtains the service system of vehicle accurate geographic position and the object of acquisition methods is to provide a kind of MapInfo of utilization data, Oracle Spatial database in enterprise, to set up accurate vehicle geographic location information query service system and method thereof for above-mentioned weak point.Have efficiency higher, data are feature more accurately.
A kind of service system and acquisition methods thereof that obtains vehicle accurate geographic position takes following technical scheme to realize: a kind of service system of obtaining vehicle accurate geographic position comprises server and database server, operating system, MapInfo Geographic Information System module and Oracle 10g (comprising Oracle Spatial module) database is installed on server, Oracle Spatial module is installed on database server.
Described operating system is windows server 2003 operating systems.
The service of obtaining vehicle geographic position also can be described as against geocoding against geocoding process normally according to the geographic coordinate of appointment, from spatial database, inquire respectively city title, zone name, street name and near the terrestrial reference at this coordinate place, then become a sufficient address to describe these information combination.
A kind of service system of obtaining vehicle accurate geographic position is when operation, according to the geographic coordinate of appointment, from Oracle Spatial module spatial database, inquire respectively city title, zone name, street name and near the terrestrial reference at this coordinate place, then become a sufficient address to describe these information combination.Province, city and region's area information of loading text form, by calling Window api function, create province, city and region's map, and load atural object, road-map-data, then inquire about respectively on this basis the city title at place, administrative coding, nearest atural object title, nearest road name, then according to concrete query type, sufficient address of these result combinations is described and returned to user.
A kind of method of obtaining vehicle accurate geographic position of the present invention comprises the following steps:
1) first Oracle 10g is installed on database server, wherein comprises Oracle Spatial module; Then by MapInfo Geographic Information System module, pour map datum into, utilizing MapX(MapX is the ActiveX control product with map analysis function formidably that MapInfo company provides to user) the Oracle Spatial instrument that provides, map datum is poured in Oracle Spatial, with MapInfo, derive map datum and province, city and region's area information simultaneously, with text txt file form, preserve.
2) geographic coordinate that MapInfo Geographic Information System module is uploaded according to car-mounted terminal GPS, read national each province area data, call the polygon scope at Window api function cycle criterion GPS point place, and preserve be positioned at polygonal province name information;
3) province's name information that MapInfo Geographic Information System module obtains according to step 2 is called the polygon scope that Windows api function is searched GPS point place within the scope of this province, and preserves be positioned at polygonal city title;
4) within the scope of the name information ,Gai city, city obtaining according to step 3, call the polygon scope that Windows api function is searched GPS point place, and preserve institute and be positioned at polygonal district/county title, and the administration in district/county coding; If only need obtain GPS, order the administrative coding of the city title that is positioned at or district/county, stop inquiry and directly returning results to user, need else if to inquire about nearest atural object and forward step 5 to, if need to inquire about nearest road, forward step 6 to;
5) within the scope of administrative coding ,Gai district, the district obtaining according to step 4/county, by institute's distance a little within the scope of GPSDian Yugai district relatively, find from the nearest atural object of this GPS point, preserve atural object name information, and finish inquire about and return results to user;
6) the administrative coding in the district obtaining according to step 4/county, within the scope of Gai district, utilize the mode that compares the mode of distance or inquire about Oracle Spatial database to search from the nearest road of this GPS point, preserve road name or category of roads information, and finish inquiry and return results to user.
Can be according to user the MapInfo Geographic Information System module with in above-mentioned steps need to be become to DLL control and Http server module with function package.
Step 2) geographic coordinate described in is metric longitude and latitude data.
MapInfo Geographic Information System module provides 2 kinds of data reading manners, from txt file reading manner with from Oracle Spatial database, reads mode.
The present invention creates province, city and region's map by calling Window api function, and load atural object, road-map-data, then inquire about respectively on this basis the city title at place, administrative coding, nearest atural object title, nearest road name, then according to concrete query type, sufficient address of these result combinations is described and returned to user.Utilize nucleus module Oracle Spatial in database Oracle10g to carry out the map datum of store M apInfo form, and under Visual Studio 2005 development environments, utilize C# to realize contrary geocoding algorithm, and be packaged into DLL control, and Http server calls web API is for other routine call
Implementation.Call method real-time of the present invention is high, p.s. at least can respective request over 100 times, its extendability is also good than traditional scheme, outside decapacitation request vehicle province, city and region road relevant location information, can also ask the extend informations such as the administrative coding in area, category of roads; The map datum that this can within a short period of time can compatible other map companies of family provides.
Accompanying drawing explanation
Below with reference to accompanying drawing, the invention will be further described:
Fig. 1 is the acquisition methods process flow diagram that obtains vehicle accurate geographic position of the present invention.
Embodiment
With reference to accompanying drawing 1, a kind of service system of obtaining vehicle accurate geographic position comprises server and database server, operating system, MapInfo Geographic Information System module and Oracle 10g (comprising Oracle Spatial module) database is installed on server, Oracle Spatial module is installed on database server.
Described operating system is windows server 2003 operating systems.
A kind of method of obtaining vehicle accurate geographic position of the present invention comprises the following steps:
1) first Oracle 10g is installed on database server, wherein comprises Oracle Spatial module; Then by MapInfo Geographic Information System module, pour map datum into, utilizing MapX(MapX is the ActiveX control product with map analysis function formidably that MapInfo company provides to user) the Oracle Spatial instrument that provides, map datum is poured in Oracle Spatial, with MapInfo, derive map datum and province, city and region's area information simultaneously, with text txt file form, preserve.
2) geographic coordinate that MapInfo Geographic Information System module is uploaded according to car-mounted terminal GPS, read national each province area data, call the polygon scope at Window api function cycle criterion GPS point place, and preserve be positioned at polygonal province name information;
3) province's name information that MapInfo Geographic Information System module obtains according to step 2 is called the polygon scope that Windows api function is searched GPS point place within the scope of this province, and preserves be positioned at polygonal city title;
4) within the scope of the name information ,Gai city, city obtaining according to step 3, call the polygon scope that Windows api function is searched GPS point place, and preserve institute and be positioned at polygonal district/county title, and the administration in district/county coding; If only need obtain GPS, order the administrative coding of the city title that is positioned at or district/county, stop inquiry and directly returning results to user, need else if to inquire about nearest atural object and forward step 5 to, if need to inquire about nearest road, forward step 6 to;
5) within the scope of administrative coding ,Gai district, the district obtaining according to step 4/county, by institute's distance a little within the scope of GPSDian Yugai district relatively, find from the nearest atural object of this GPS point, preserve atural object name information, and finish inquire about and return results to user;
6) the administrative coding in the district obtaining according to step 4/county, within the scope of Gai district, utilize the mode that compares the mode of distance or inquire about Oracle Spatial database to search from the nearest road of this GPS point, preserve road name or category of roads information, and finish inquiry and return results to user.
Can be according to user the MapInfo Geographic Information System module package with in above-mentioned steps need to be become to DLL control and Http server module.
Step 2) geographic coordinate described in is metric longitude and latitude data.
MapInfo Geographic Information System module provides 2 kinds of data reading manners, from txt file reading manner with from Oracle Spatial database, reads mode.
Claims (5)
1. a method of obtaining vehicle accurate geographic position of obtaining the service system of vehicle accurate geographic position, is characterized in that,
The described service system of obtaining vehicle accurate geographic position comprises server and database server, operating system, MapInfo Geographic Information System module and Oracle 10g database are installed on server, Oracle Spatial module is installed on database server;
The method of obtaining vehicle accurate geographic position comprises the following steps:
1) first Oracle 10g database is installed on database server, is wherein comprised Oracle Spatial module; Then by MapInfo Geographic Information System module, pour map datum into, the Oracle Spatial instrument that utilizes MapX to provide, map datum is imported in Oracle Spatial, with MapInfo, derive map datum and province, city and region's area information simultaneously, with text txt file form, preserve;
2) geographic coordinate that MapInfo Geographic Information System module is uploaded according to car-mounted terminal GPS, read national each province area data, call the polygon scope at Window api function cycle criterion GPS point place, and preserve be positioned at polygonal province name information;
3) province's name information that MapInfo Geographic Information System module obtains according to step 2 is called the polygon scope that Windows api function is searched GPS point place within the scope of this province, and preserves be positioned at polygonal city title;
4) within the scope of the name information ,Gai city, city obtaining according to step 3, call the polygon scope that Windows api function is searched GPS point place, and preserve institute and be positioned at polygonal district/county title, and the administration in district/county coding; If only need obtain GPS, order the administrative coding of the city title that is positioned at or district/county, stop inquiry and directly returning results to user, need else if to inquire about nearest atural object and forward step 5 to, if need to inquire about nearest road, forward step 6 to;
5) the administrative coding in the district obtaining according to step 4/county, within the scope of Gai Qu/ county by within the scope of GPSDian Yugai district/county relatively distance a little find from the nearest atural object of this GPS point, preserve atural object name information, and finish inquiry and return results to user;
6) the administrative coding in the district obtaining according to step 4/county, within the scope of Gai Qu/ county, utilize the mode that compares the mode of distance or inquire about Oracle Spatial database to search from the nearest road of this GPS point, preserve road name or category of roads information, and finish inquiry and return results to user.
2. the method for obtaining vehicle accurate geographic position of obtaining the service system of vehicle accurate geographic position according to claim 1, is characterized in that, described operating system is windows server 2003 operating systems.
3. the method for obtaining vehicle accurate geographic position according to claim 1, is characterized in that, the MapInfo Geographic Information System module package with in above-mentioned steps is become to DLL control and Http server module.
4. the method for obtaining vehicle accurate geographic position according to claim 1, is characterized in that, the geographic coordinate described in step 2 is metric longitude and latitude data.
5. the method for obtaining vehicle accurate geographic position according to claim 1, is characterized in that, MapInfo Geographic Information System module provides 2 kinds of data reading manners, from txt file reading manner with from Oracle Spatial database, reads mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110309368.2A CN102426584B (en) | 2011-10-13 | 2011-10-13 | Service system for obtaining accurate geographical position of vehicle and obtaining method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110309368.2A CN102426584B (en) | 2011-10-13 | 2011-10-13 | Service system for obtaining accurate geographical position of vehicle and obtaining method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102426584A CN102426584A (en) | 2012-04-25 |
CN102426584B true CN102426584B (en) | 2014-03-12 |
Family
ID=45960565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110309368.2A Active CN102426584B (en) | 2011-10-13 | 2011-10-13 | Service system for obtaining accurate geographical position of vehicle and obtaining method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102426584B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103065147B (en) * | 2012-12-25 | 2015-10-07 | 天泽信息产业股份有限公司 | A kind of vehicle monitoring method based on images match and recognition technology |
CN103530330B (en) * | 2013-09-29 | 2016-08-31 | 天泽信息产业股份有限公司 | A kind of processing method of inverse geocoding processing system |
CN106446047A (en) * | 2016-08-31 | 2017-02-22 | 成都数联铭品科技有限公司 | Enterprise geographic information query and display system |
CN107807759B (en) * | 2016-09-08 | 2021-06-15 | 菜鸟智能物流控股有限公司 | Address display method, device, equipment and user interface system |
CN108416651A (en) * | 2018-02-09 | 2018-08-17 | 北京天元创新科技有限公司 | A kind of recommendation method and system of communication service |
CN108647282A (en) * | 2018-05-03 | 2018-10-12 | 苏州朗动网络科技有限公司 | Corporation information query method, apparatus, computer equipment and readable storage medium storing program for executing |
CN109325082B (en) * | 2018-08-02 | 2021-04-09 | 武汉中海庭数据技术有限公司 | Log file intercepting method based on multi-source sensor |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1338720A (en) * | 2000-08-10 | 2002-03-06 | 神乎科技股份有限公司 | Geographic position information system |
CN102147257B (en) * | 2010-12-27 | 2013-07-10 | 北京数字冰雹信息技术有限公司 | Geographic information navigation system based on visual field of users |
-
2011
- 2011-10-13 CN CN201110309368.2A patent/CN102426584B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102426584A (en) | 2012-04-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102426584B (en) | Service system for obtaining accurate geographical position of vehicle and obtaining method thereof | |
CN101339042B (en) | Personalized dynamic road condition information creation and navigation system | |
CN107316098B (en) | Automobile leasing point addressing method based on user behavior analysis | |
US9043151B2 (en) | Large scale demand responsive transit framework | |
US7538690B1 (en) | Method of collecting parking availability information for a geographic database for use with a navigation system | |
US9443428B2 (en) | Providing guidance for locating street parking | |
US7516010B1 (en) | Method of operating a navigation system to provide parking availability information | |
CN102187178B (en) | For the method for green route selection, device and map data base | |
CN103530330B (en) | A kind of processing method of inverse geocoding processing system | |
CN103278833A (en) | Line recommendation system and method based on Beidou satellite/GPS (global positioning system) data | |
CN103884345A (en) | Interest point information collecting method, interest point information displaying method, interest point information collecting device, interest point information displaying device, and interest point retrieval system | |
CN102637358A (en) | Citizen-satisfaction-based public bicycle service system and scheduling and dispatching method | |
CN102711036B (en) | Positioning method, positioning engine and logistics information management system | |
CN105468631A (en) | Point-of-interest query method and apparatus | |
CN102364545A (en) | Method, device and system for inquiring road conditions | |
CN111829538A (en) | Traffic safety navigation method, storage medium and electronic equipment | |
CN102968499A (en) | Device for providing traffic information inquiry service, traffic information inquiry method, and system for providing traffic information inquiry service | |
WO2013144192A1 (en) | Digital location-based data methods and product | |
CN102779363A (en) | Method and system for calculating road bridge cost | |
CN101975579A (en) | Method and system for replaying vehicle track and vehicle-mounted monitoring device | |
CN101833551A (en) | GPS (Global Position System) electronic map controllable distribution and accurate increment updating technology | |
CN202648721U (en) | Vehicle fuel consumption monitoring system | |
CN110245774A (en) | A method of regular service route optimization is carried out according to employee's home address | |
Stojanović et al. | Web information system for transport telematics and fleet management | |
CN103839424B (en) | A kind of taxi empty navigational system and method based on recruiting car expectation value |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20120425 Assignee: JIANGSU SEA LEVEL DATA TECHNOLOGY Co.,Ltd. Assignor: TIANZE INFORMATION INDUSTRY Corp. Contract record no.: X2020320000015 Denomination of invention: Service system for obtaining accurate geographical position of vehicle and obtaining method thereof Granted publication date: 20140312 License type: Exclusive License Record date: 20200518 |
|
EE01 | Entry into force of recordation of patent licensing contract |