So, I have this document that allows me to see the current Network and the history we had. I did an integration with google maps that shows my history. Now I want to do something like, "If the Year = 2013, get the latitude and longitude from X database, if not, get from other Y database".