/[projects]/dao/DaoAdresseVedligehold/src/main/java/dk/daoas/adressevedligehold/afstandandenrute/OSRMHelper.java |
Parent Directory | Revision Log | Patch
revision 2907 by torben, Wed Feb 3 18:45:33 2016 UTC | revision 2908 by torben, Wed Feb 3 21:31:51 2016 UTC | |
---|---|---|
# | Line 19 public class OSRMHelper { | Line 19 public class OSRMHelper { |
19 | ||
20 | Gson gson = new Gson(); | Gson gson = new Gson(); |
21 | ||
22 | final int port = 5000; | final static int PORT = 5000; |
23 | final String base_url = "http://" + ServiceConfig.getInstance().osrmHost + ":" + port; | final String base_url = "http://" + ServiceConfig.getInstance().osrmHost + ":" + PORT; |
24 | ||
25 | ||
26 | public Address getNearestTableHttp(Address a1, Collection<Address> haystack) throws Exception { | public Address getNearestTableHttp(Address a1, Collection<Address> haystack) throws Exception { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |