public function __construct(PostgreSqlPlatform $platform, $isPostGis2 = true)
{
$this->platform = $platform;
$this->isPostGis2 = $isPostGis2;
$this->spatialColumnSqlGenerator = new SpatialColumnSqlGenerator($platform);
$this->spatialIndexSqlGenerator = new SpatialIndexSqlGenerator($platform);
}