简体   繁体   English

如何使用Java处理来自OpenStreetMap的地图数据?

[英]How to process map data from OpenStreetMap with Java?

I'm developing an Java application which, given a list of street names, must get a route and information about each street name, as the city or cities where each street is located. 我正在开发一个Java应用程序,该应用程序给出了街道名称列表,必须获取有关每个街道名称的路线和信息,例如每个街道所在的城市。 This is a preprocessing, made in a desktop, for an Android application. 这是在桌面上对Android应用程序进行的预处理。

For that I must to process data from some map source like OSM. 为此,我必须处理来自某些地图源(如OSM)的数据。 I need to easily access data from streets and some other points programmatically to select my desired data. 我需要通过编程轻松地从街道和其他一些点访问数据,以选择所需的数据。

I need to do it with Java. 我需要用Java来做。 Is there some Java library for this? 是否有一些Java库?

The OSM wiki has a large list of routing software and libraries . OSM Wiki包含大量的路由软件和库 Some of them use Java, for example GraphHopper . 其中一些使用Java,例如GraphHopper Also don't forget to take a look at the various online and offline routers to get some inspiration. 另外,别忘了看一下各种在线离线路由器以获取灵感。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM