Commit graph

42 commits

Author SHA1 Message Date
Andreas Schildbach
2de9f14e4d LineDestination.equals(): Compare all fields of destination location. This works around a rare case of Hafas destinations having IDs of other locations. 2016-11-24 13:22:29 +01:00
Andreas Schildbach
c396ebe508 Location: Make sure type ANY cannot have ID. 2016-10-22 14:52:44 +02:00
Andreas Schildbach
1c2f21ac9f Add 'Markt' to names that need places in their unique form. 2016-09-24 12:07:44 +02:00
Andreas Schildbach
931dafb628 Switch to modern code format. Organize imports. No functional changes.
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Torsten Grote
4566bf3cfb Navitia: Find products for nearby stations 2016-05-23 15:57:51 +02:00
Andreas Schildbach
0994d31443 Add 'Schiffstation' to names that need places in their unique form. 2015-10-19 13:02:34 +02:00
Andreas Schildbach
29d853202c Add getLatAsDouble() and getLonAsDouble() to Point and Location. 2015-10-19 13:02:34 +02:00
Andreas Schildbach
27f60db22b Hafas: Parse products for stations. 2015-09-13 16:08:00 +02:00
Andreas Schildbach
eb533aafe0 Fix missing serialVersionUIDs. 2015-05-21 00:25:40 +02:00
Andreas Schildbach
4b65f0145c Introduce location type for plain coordinates. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
ca895596ba Outlaw empty strings in location IDs. 2015-03-12 13:20:55 +01:00
Andreas Schildbach
95d0a31675 Suppress warnings about missing serialVersionUIDs for the whole project. 2015-03-12 13:18:46 +01:00
Andreas Schildbach
5b3ceed733 Apply @Nullable annotation to NetworkProvider methods and DTOs. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
7cb4e8fb06 Apply preconditions on DTOs. 2015-02-10 13:46:38 +01:00
Andreas Schildbach
353e5815c7 Guava: Use MoreObjects.ToStringHelper to implement .toString(). 2015-01-29 00:33:38 +01:00
Andreas Schildbach
797448ef0e Guava: Use Objects.hashCode() to implement .hashCode(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
27d55413cb Guava: Use Objects.equal() to implement .equals(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
589cf69063 Fix rounding errors when parsing coordinates. Add location constructors that take a Point rather than lat and lon. 2015-01-28 23:52:50 +01:00
Andreas Schildbach
9e0ecf1251 A bit of exception message cosmetics. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
06a0d12b0f Update year of copyright. 2015-01-01 01:52:27 +01:00
Andreas Schildbach
d066f17807 Location.toString() handles null location names. 2014-08-29 10:03:20 +02:00
Andreas Schildbach
8adf98b98e Optionally disable sort by weight in JSON getstops (Hafas). 2014-08-26 16:43:56 +02:00
Andreas Schildbach
544fa018ca Make sure places without name cannot exist. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
ea4b5441e7 Add 'Zentrum' to names that need places in their unique form. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
7f9755d896 Added 'Bf' to names that need places in their unique form. 2014-07-05 19:50:17 +02:00
Andreas Schildbach
f60ed08767 ZOB (Zentraler Omnibusbahnhof) is a non-unique name. 2014-06-12 11:15:37 +02:00
Andreas Schildbach
1b987a6b72 Remove Location.toDebugString(), use toString() instead. 2014-05-15 15:25:41 +02:00
Andreas Schildbach
5910c13c75 Remove Location.assertId() as IDs are now strings. 2014-05-06 12:56:03 +02:00
Andreas Schildbach
d8f3dcaf6c Migrate location IDs from int to String. 2014-04-23 13:59:52 +02:00
Andreas Schildbach
ae00988db7 Fix false positives in Location.equals(). 2014-02-10 11:03:01 +01:00
Andreas Schildbach
23489327b1 Update year of copyright 2014-01-12 00:44:10 +01:00
Andreas Schildbach
75be137e40 Fix null string in Location.uniqueShortName() 2013-10-12 19:31:29 +02:00
Andreas Schildbach
95cce1eb4f handle 'Busbahnhof' when shortening names 2013-04-13 18:41:58 +02:00
Andreas Schildbach
36ff83f79c update year of copyright 2013-01-01 13:46:57 +01:00
Andreas Schildbach
c03fe78c78 support 'h2g-direct' binary format for hafas connections 2012-08-06 13:04:39 +02:00
Andreas Schildbach
611814cb88 fixed negative destination location ids 2012-05-14 15:46:43 +02:00
Andreas Schildbach
789cce3548 added 'Nord', 'Ost', 'Süd', 'West' to names that need places in their unique form 2012-04-18 12:53:03 +02:00
Andreas Schildbach
4db44b1630 adjust year of copyright 2012-03-12 14:15:41 +01:00
Andreas Schildbach
7aec8c20b7 use location id as unique short name as a last resort 2012-03-12 12:25:36 +01:00
Andreas Schildbach
c5e31bc1c7 handle 'Hbf' when shortening names 2012-03-02 17:28:57 +01:00
Andreas Schildbach
0443dfcef4 handle 'Hauptbahnhof' when shortening names 2012-03-02 16:52:42 +01:00
Andreas Schildbach
f80bba6934 sub-project for enabler 2012-02-23 14:03:41 +01:00
Renamed from src/de/schildbach/pte/dto/Location.java (Browse further)