Persisting Locations

29 views
Skip to first unread message

Torsten Grote

unread,
Oct 6, 2017, 12:29:08 PM10/6/17
to public-transport...@googlegroups.com
Hi,

I wonder what is the recommended best practice to persist Location
objects. With Transportr, I run into issues where sometimes providers
seem to change the Location#id, so they don't recognize IDs I had stored
in the past anymore.

When constructing Location objects from stored data, should I leave the
ID out or what is best here?

Kind Regards,
Torsten

Andreas Schildbach

unread,
Oct 6, 2017, 12:39:24 PM10/6/17
to public-transport...@googlegroups.com
This is -- as far as I know -- an unsolved problem. Station names
change, too. Yes, it's a pain!
Reply all
Reply to author
Forward
0 new messages