Text this: Optimizing context-based location extraction by tuning open-source LLMs with RAG