209 Commits

Author SHA1 Message Date
afischerdev
2682981da9 added export for corrected via points 2025-04-05 18:08:46 +02:00
Nitue
acbda6c3e7 RFC7230 compliant HTTP header delimiter
Changes HTTP header endings from LF to CRLF.

RFC7230 states that headers are separated by CRLF. Brouter currently
uses only LF. Most recipients probably accept LF only, but some are
strict about this.
2025-04-05 01:00:57 +03:00
afischerdev
a9da9464b7 enabled roundtrip for server 2025-01-24 13:56:47 +01:00
afischerdev
c8aab5d4db get elevation expanded, added get info 2025-01-13 17:53:21 +01:00
afischerdev
48d474d34c switched from system to java variable 2024-09-12 12:25:06 +02:00
afischerdev
7b70cc5a6f enable old server request 2024-09-05 11:13:22 +02:00
afischerdev
0b6500cdad
Merge pull request #700 from mjaschen/task/update-geojson-mime-type
Update MIME type for GeoJSON responses
2024-05-15 09:43:21 +02:00
Marcus Jaschen
4e858f5e49 ISO8601 compatible timestamps in log output
This fixes #699.

**Warning:** this change breaks with backward compatibility,
e.g. for log parsing tool chains.
2024-05-15 07:59:18 +02:00
Marcus Jaschen
6d7b8f0d77 Update MIME type for GeoJSON responses
The MIME type for GeoJSON registered with IANA is application/geo+json,
replacing the old value application/vnd.geo+json. The change was published
with RFC 7946 in 2016.

Example request:

`GET /brouter?lonlats=13.377485,52.516247%7C13.351221,52.515004&profile=trekking&alternativeidx=0&format=geojson HTTP/1.1`

Exampe response headers:

```
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Disposition: attachment; filename="brouter.geojson"
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/geo+json; charset=utf-8
```

References:

- https://www.iana.org/assignments/media-types/application/vnd.geo+json
- https://www.iana.org/assignments/media-types/application/geo+json
- https://datatracker.ietf.org/doc/html/rfc7946#section-12
2024-05-14 21:03:47 +02:00
Manuel Fuhr
47f58126e7 Add dependency on brouter-routing-app for distZip 2024-04-15 20:49:25 +02:00
Manuel Fuhr
13781fb1fc fixup! Upgrade to AGP 8.0 and Gradle 8.4 2024-04-06 00:28:57 +02:00
Manuel Fuhr
5d4065d141 Use conventions instead of cross-project configuration
gradle userguide suggests to avoid allprojects/subprojects and use conventions instead

https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration
2024-04-06 00:23:09 +02:00
Manuel Fuhr
b8929ab414 Global build ignore 2024-04-05 23:09:42 +02:00
Manuel Fuhr
c73a8cebb8 Enable PMD rule UnnecessaryBoxing and fix violations 2024-04-03 22:42:30 +02:00
Manuel Fuhr
dd896347a2 Fix newly detected violations from PMD 7 2024-04-03 22:42:30 +02:00
Manuel Fuhr
1573aa52e0 Upgrade to AGP 8.0 and Gradle 8.4 2024-04-03 22:36:30 +02:00
afischerdev
b9b629185a
Revert "App: Rerouting" 2024-03-08 12:16:13 +01:00
afischerdev
09248679db
Merge branch 'master' into rerouting 2024-03-03 18:20:44 +01:00
afischerdev
9c5b380105 enabled custum profiles on server 2024-02-06 17:02:31 +01:00
afischerdev
e5ecd14ce1 prepare rerouting 2024-01-19 16:37:29 +01:00
afischerdev
bf07e2e6d2 prepared CLI for raw testing 2024-01-18 18:39:13 +01:00
afischerdev
8a7fa9fa81 changes for engineMode 2 2023-11-21 13:26:05 +01:00
afischerdev
149b83056e updated output for server 2023-11-20 17:39:29 +01:00
afischerdev
c6473055f4
Merge pull request #634 from afischerdev/engine-mode
Update new parameter collector for BRouter app
2023-11-17 15:41:00 +01:00
afischerdev
890e7f9824 removed older param handling 2023-10-18 12:50:53 +02:00
afischerdev
3fae9246d6 add param collector and calls 2023-10-18 12:37:05 +02:00
afischerdev
5825047847 remove seed, added file param 2023-10-07 18:10:54 +02:00
afischerdev
5ed5259912 reworked command line start 2023-08-24 10:04:08 +02:00
afischerdev
2762744a84
Update build.gradle
Changed classifier  to archiveClassifier
2023-07-12 13:01:59 +02:00
Manuel Fuhr
d508337d7e Fix tests with elevation data 2023-05-22 13:54:14 +02:00
Manuel Fuhr
1b45d203f0 Use elevation data in mapcreator & route tests 2023-05-22 13:39:12 +02:00
afischerdev
fcab1a31fd
Merge branch 'master' into engine-mode 2023-05-21 11:14:00 +02:00
afischerdev
4e9d3d90eb re formatting entry point 2023-05-16 10:35:41 +02:00
Manuel Fuhr
28f205c1ad Enable PMD rule PrimitiveWrapperInstantiation and fix violations 2023-05-09 23:11:14 +02:00
Manuel Fuhr
7a6d3bd9d9 Enable PMD rule UseDiamondOperator and fix violations 2023-05-09 23:11:14 +02:00
afischerdev
3dffea1753 introducing engineMode for future use 2023-05-09 12:26:54 +02:00
moving-bits
79b1eda1ed Unify brackets for opening blocks with comments 2023-04-29 19:04:52 +02:00
afischerdev
d43edb311d update import of way point names 2023-04-22 12:46:35 +02:00
afischerdev
4d3edd0571 update interface list for server and app 2023-03-31 15:10:26 +02:00
afischerdev
49c146e0eb enable dist zip without apk 2023-03-30 10:17:46 +02:00
afischerdev
8a7e973bda add dependsOn to avoid warnings 2023-03-15 19:23:23 +01:00
afischerdev
23d55aa40c customize tests 2023-01-16 11:24:21 +01:00
afischerdev
b75a6cdab1 test add for misplaced pts 2023-01-09 19:00:02 +01:00
afischerdev
c03f21b72f test adjust 2023-01-09 18:35:35 +01:00
afischerdev
d39501bb04 add 3 direct routing samples 2022-12-05 11:53:23 +01:00
afischerdev
3e53659f18 add voicehint test 2022-11-24 20:13:36 +01:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
3b77f93c00 Enable PMD rule UnnecessaryReturn and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00