Towards a standard for SQL-based spatial query languages