With GEOT-4666 we are going to add support to PostGIS DB create/drop on imagemosaic (no more needs to pre-create a postgis db when using a mosaic).
We should add a couple of lines in the documentation to explain how it works. Special notes are required about Postgresql/Postgis versions. On Postgresql 9.1 with PostGIS 2 no additional configuration setting is required. With lower version, you should add this parameter within the datastore.properties
create\ database\ params=WITH\ TEMPLATE\=template_postgis (Specifying the proper postgis template... in this example: template_postgis).
|