addition of the SQL for GIS data used to generate the JS