Αποτελέσματα Αναζήτησης
21 Σεπ 2016 · Choose one that fits your needs (e.g. GraphHopper) and call it's API with your two cities. Then just parse the returned data (usually JSON or GPX). If you need the location (i.e. coordinates) for these cities then take a look at Nominatim or one of the other geocoders for OSM.
12 Δεκ 2012 · Java Example. Here is a simple java example how to access either the openstreetmap API or the overpass API from within Java. Note: The OSMNode class is missing getters and setters in order to shorten this example and they MUST BE CREATED BY YOU.
what is "read .osm file in java?"? Please describe with much more words what you would like to do. Also, how big a .osm file do you want to read? If it's relatively small then you can read the whole file in and process it as XML; if not then you may have to go tag-by-tag. Start reading at Frameworks in the OSM wiki.
8 Απρ 2021 · osmapi is a complete Java implementation of the API 0.6, including map data, traces, notes, changesets, user infos for clients. Download and more info on GitHub: https://github.com/westnordost/osmapi.
OSMAPI Java is a java library to interact with OpenStreetMap based data. It includes fast address searching, reverse geocoding, routing and OSM data manipulation. The API may be used in java applications as well as with Android apps.
9 Οκτ 2017 · This blog post contains a summary on how you can write your own Java classes to process OpenStreetMap (OSM) pbf files. PBF is a compression format, which is nowadays more or less the standard utilized for reading and writing OSM data quickly.
15 Ιουλ 2014 · GraphHopper (using OpenStreetMap Data) GraphHopper offers memory efficient algorithms in Java for routing on graphs. E.g. Dijkstra and A* but also optimized road routing algorithms like Contraction Hierarchies. It stands under the Apache License and is build on a large test suite. OpenStreetMap is directly supported from GraphHopper.