Figuring out when a user will pass a landmark

Hi,

I have a project to write an application that will run on a Raspberry Pi. It will need to know when a user is on Highway X, traveling in direction Y and 30-60 seconds before reaching/passing landmark Z. I am completely new to mapping and I would appreciate any pointers and how to code such a project.

Sounds like homework to me.

You can start browsing the OSM wiki about “Routing” or “Software” …

Try to find programs that are opensource and that can display or at least record your position via a GPS signal.

Tell us whether the "landmarks " are self-defined by you? or are they already inside OSM data?