use .postgis directory and build URL with postgis