You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_photon_ is an open source geocoder built for [OpenStreetMap](https://openstreetmap.org) data. It is based on [elasticsearch](http://elasticsearch.org/) - an efficient, powerful and highly scalable search platform.
6
6
@@ -33,7 +33,7 @@ photon software is open source and licensed under [Apache License, Version 2.0](
33
33
34
34
### Installation
35
35
36
-
photon requires java, at least version 11.
36
+
photon requires Java, at least version 11.
37
37
38
38
Download the search index (72G GB compressed, 159GB uncompressed as of 2023-10-26, worldwide coverage, languages: English, German, French and local name). The search index is updated weekly and thankfully provided by [GraphHopper](https://www.graphhopper.com/) with the support of [lonvia](https://github.com/lonvia).
39
39
Now get the latest version of photon from [the releases](https://github.com/komoot/photon/releases).
photon uses [maven](https://maven.apache.org/) for building. To build the package from source make sure you have a JDK and maven installed. Then run:
51
+
photon uses [gradle](https://gradle.org) for building. To build the package
52
+
from source make sure you have a JDK installed. Then run:
52
53
53
54
```
54
-
mvn package
55
+
./gradlew build
55
56
```
56
57
58
+
This will build and test photon. The final jar cn be found in `build/libs`.
59
+
57
60
### Usage
58
61
59
62
Start photon with the following command:
@@ -68,7 +71,7 @@ Check the URL `http://localhost:2322/api?q=berlin` to see if photon is running w
68
71
69
72
To enable CORS (cross-site requests), use `-cors-any` to allow any origin or `-cors-origin` with a specific origin as the argument. By default, CORS support is disabled.
70
73
71
-
Discover more of photon's feature with its usage `java -jar photon-*.jar -h`. The available options are as follows:
74
+
Discover more of photon's featurse with its usage `java -jar photon-*.jar -h`. The available options are as follows:
0 commit comments